certificate.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <!-- 资质证书 -->
  3. <view class="container-copyright">
  4. <view class="copyright-titi">
  5. <view class="copyright-line"></view>
  6. <view class="copyright-image">
  7. <image class="image" :src="staticUrl + '/icon/icon-logo@1x.png'"></image>
  8. <view class="text">资质证书</view>
  9. </view>
  10. </view>
  11. <view class="copyright-cell">
  12. <view class="copyright-cell-item" v-for="cell in certificates" :key="cell" @click="handleClick(cell.id)">
  13. {{ cell.name }}
  14. <text class="iconfont icon-xiayibu"></text>
  15. </view>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default{
  21. name:'certificate',
  22. data() {
  23. return{
  24. staticUrl: this.$Static,
  25. certificates:[
  26. {name:'中华人民共和国增值电信业务经营许',id:1},
  27. {name:'医疗器械网络交易服务第三方平台备案凭证',id:2},
  28. {name:'互联网药品信息服务资格证编号(粤)-非经营性-2021-0339',id:3},
  29. ]
  30. }
  31. },
  32. created(){
  33. },
  34. computed: {
  35. },
  36. methods:{
  37. handleClick(id){// 跳转资质证书
  38. this.$api.navigateTo(`/pages/service/certificate?id=${id}`)
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="scss">
  44. .container-copyright {
  45. width: 100%;
  46. height: auto;
  47. float: left;
  48. box-sizing: border-box;
  49. padding: 24rpx;
  50. background-color: #f7f7f7;
  51. .copyright-titi{
  52. width: 100%;
  53. height: 56rpx;
  54. box-sizing: border-box;
  55. padding: 0 140rpx;
  56. position: relative;
  57. .copyright-line{
  58. width: 100%;
  59. height: 1px;
  60. background: #CECECE;
  61. margin-top: 25rpx;
  62. }
  63. .copyright-image{
  64. position: absolute;
  65. width: 215rpx;
  66. left: 50%;
  67. top:-22rpx;
  68. margin-left: -130rpx;
  69. display: flex;
  70. justify-content: center;
  71. align-items: center;
  72. background-color: #f7f7f7;
  73. padding: 0 20rpx;
  74. .image {
  75. width: 70rpx;
  76. height: 68rpx;
  77. margin-right: 6rpx;
  78. }
  79. .text {
  80. font-size: 20rpx;
  81. color: #cccccc;
  82. }
  83. }
  84. }
  85. .copyright-cell{
  86. width: 100%;
  87. .copyright-cell-item{
  88. height: 55rpx;
  89. line-height: 55rpx;
  90. text-align: center;
  91. font-size: 24rpx;
  92. color: #999999;
  93. .icon-xiayibu{
  94. font-size: 22rpx;
  95. }
  96. }
  97. }
  98. }
  99. </style>