approve_data.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <template>
  2. <view class="approve_box">
  3. <view class="data">
  4. <view class="left">
  5. <image src="../../static/other/approve.png" mode=""></image>
  6. </view>
  7. <view class="right">
  8. <view class="top">
  9. 签约商家
  10. </view>
  11. <view class="bottom">
  12. sda
  13. </view>
  14. </view>
  15. </view>
  16. <view class="data">
  17. <view class="left">
  18. <image src="../../static/other/approve.png" mode=""></image>
  19. </view>
  20. <view class="right">
  21. <view class="top">
  22. 实名认证已通过
  23. </view>
  24. <view class="bottom">
  25. 所有商户签约入驻平台时,身份信息均已通过核验
  26. </view>
  27. </view>
  28. </view>
  29. <view class="data">
  30. <view class="left">
  31. <image src="../../static/other/approve.png" mode=""></image>
  32. </view>
  33. <view class="right">
  34. <view class="top">
  35. 健康证认证
  36. </view>
  37. <view class="bottom">
  38. 该商户健康体检合格,并在平台已认证通过
  39. </view>
  40. </view>
  41. </view>
  42. <view class="data">
  43. <view class="left">
  44. <image src="../../static/other/approve.png" mode=""></image>
  45. </view>
  46. <view class="right">
  47. <view class="top">
  48. 该店铺已在平台完成市场主体登记认证
  49. </view>
  50. <view class="bottom">
  51. 根据相关法律法规要求,经营者相关资质信息公示如下
  52. </view>
  53. </view>
  54. </view>
  55. <view class="credential">
  56. <view class="title">
  57. 所属商家资质
  58. </view>
  59. <view class="img">
  60. <image :src="$globalData.publicUrl + businessLicense" mode=""></image>
  61. <image src="../../static/other/mask.png" mode="" class="mask"></image>
  62. </view>
  63. </view>
  64. <view class="credential">
  65. <view class="title">
  66. 从业资格证书
  67. </view>
  68. <view class="img">
  69. <image :src="$globalData.publicUrl + certification" mode=""></image>
  70. <image src="../../static/other/mask.png" mode="" class="mask"></image>
  71. </view>
  72. </view>
  73. </view>
  74. </template>
  75. <script>
  76. import {
  77. engineerDetails,
  78. addOrder,
  79. addCollect,
  80. cancleCollect
  81. } from '../../api/index.js'
  82. export default{
  83. data(){
  84. return{
  85. businessLicense:'',//营业执照
  86. certification:''//资格证
  87. }
  88. },
  89. methods:{
  90. getDetails(id) {
  91. const cId = {
  92. id: id,
  93. cOpenId: uni.getStorageSync('wx_copenid')
  94. }
  95. engineerDetails(cId).then(res => {
  96. this.businessLicense = res.data.data.businessLicense
  97. this.certification = res.data.data.certification
  98. // if (res.data.data) {
  99. // res.data.data.cImgList.forEach(item => {
  100. // this.swiper.push(this.public + item)
  101. // })
  102. // var prolist = res.data.data.projects
  103. // prolist.forEach(element => {
  104. // element.number = 0
  105. // });
  106. // this.details = res.data.data
  107. // this.projects = prolist
  108. // if (res.data.data.comments) {
  109. // this.comList = res.data.data.comments.slice(0,3)
  110. // } else {
  111. // this.comList = []
  112. // }
  113. // }
  114. })
  115. },
  116. },
  117. onLoad(options){
  118. this.getDetails(options.id)
  119. },
  120. onShow() {
  121. }
  122. }
  123. </script>
  124. <style lang="scss" scoped>
  125. .approve_box{
  126. width: 100vw;
  127. height: 100%;
  128. // overflow-y: auto;
  129. // background: radial-gradient(circle, #b1fffc, #fcfdff);
  130. background: linear-gradient(to bottom right, #fcfdff, #b1fffc);
  131. padding: 20rpx;
  132. box-sizing: border-box;
  133. overflow-y: auto;
  134. .data{
  135. width: 100%;
  136. height: 150rpx;
  137. background-color: #fff;
  138. border-radius: 16rpx;
  139. display: flex;
  140. align-items: center;
  141. padding: 20rpx;
  142. box-sizing: border-box;
  143. margin-bottom: 20rpx;
  144. .left{
  145. margin-right: 20rpx;
  146. image{
  147. width: 50rpx;
  148. height: 50rpx;
  149. }
  150. }
  151. .right{
  152. height: 80%;
  153. display: flex;
  154. flex-direction: column;
  155. justify-content: space-between;
  156. .top{
  157. font-size: 34rpx;
  158. font-weight: 700;
  159. }
  160. .bottom{
  161. font-size: 26rpx;
  162. color: #666;
  163. }
  164. }
  165. }
  166. .credential{
  167. width: 100%;
  168. height: auto;
  169. padding: 20rpx;
  170. box-sizing: border-box;
  171. background-color: #fff;
  172. border-radius: 16rpx;
  173. margin-bottom: 20rpx;
  174. .title{
  175. font-weight: 700;
  176. }
  177. .img{
  178. width: 100%;
  179. height: 200px;
  180. position: relative;
  181. margin-top: 10rpx;
  182. border-radius: 20rpx;
  183. overflow: hidden;
  184. image{
  185. width: 100%;
  186. height: 100%;
  187. }
  188. .mask{
  189. position: absolute;
  190. top: 0;
  191. left: 0;
  192. }
  193. }
  194. }
  195. }
  196. </style>