certificate-page.vue 2.2 KB

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