certificate-page.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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-page',
  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. methods:{
  33. handleClick(id){// 跳转资质证书
  34. this.$api.navigateTo(`/pages/service/certificate?id=${id}`)
  35. }
  36. }
  37. }
  38. </script>
  39. <style lang="scss">
  40. page{
  41. background-color: #F7F7F7;
  42. }
  43. .container-copyright {
  44. width: 100%;
  45. height: auto;
  46. float: left;
  47. box-sizing: border-box;
  48. padding:300rpx 24rpx 24rpx 24rpx;
  49. background-color: #f7f7f7;
  50. .copyright-titi{
  51. width: 100%;
  52. height: 56rpx;
  53. box-sizing: border-box;
  54. padding: 0 140rpx;
  55. position: relative;
  56. margin-bottom: 30rpx;
  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: 24rpx;
  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>