certificate.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. // let link = 'https://www.nmpa.gov.cn/datasearch/search-info.html?nmpa=aWQ9NTk0NjAmaXRlbUlkPTJjOWJhMzg0NzU5Yzk1NzcwMTc1OWNjZmMwMmIwMzQz'
  39. this.$api.navigateTo(`/pages/service/certificate?id=${id}`)
  40. // this.$api.navigateTo(`/pages/h5/article/path?link=${link}`)
  41. }
  42. }
  43. }
  44. </script>
  45. <style lang="scss">
  46. .container-copyright {
  47. width: 100%;
  48. height: auto;
  49. float: left;
  50. box-sizing: border-box;
  51. padding: 24rpx;
  52. background-color: #f7f7f7;
  53. .copyright-titi{
  54. width: 100%;
  55. height: 56rpx;
  56. box-sizing: border-box;
  57. padding: 0 140rpx;
  58. position: relative;
  59. .copyright-line{
  60. width: 100%;
  61. height: 1px;
  62. background: #CECECE;
  63. margin-top: 25rpx;
  64. }
  65. .copyright-image{
  66. position: absolute;
  67. width: 215rpx;
  68. left: 50%;
  69. top:-22rpx;
  70. margin-left: -130rpx;
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. background-color: #f7f7f7;
  75. padding: 0 20rpx;
  76. .image {
  77. width: 54rpx;
  78. height: 46rpx;
  79. margin-right: 16rpx;
  80. }
  81. .text {
  82. font-size: 20rpx;
  83. color: #cccccc;
  84. }
  85. }
  86. }
  87. .copyright-cell{
  88. width: 100%;
  89. .copyright-cell-item{
  90. height: 55rpx;
  91. line-height: 55rpx;
  92. text-align: center;
  93. font-size: 24rpx;
  94. color: #999999;
  95. .icon-xiayibu{
  96. font-size: 22rpx;
  97. }
  98. }
  99. }
  100. }
  101. </style>