You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

215 lines
4.9 KiB

  1. <template>
  2. <view class="successful-page">
  3. <view class="banner-image">
  4. <image src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/petServiceOrder/TopDetail.png" mode="widthFix" style="width: 100%;"></image>
  5. </view>
  6. <view class="content-card">
  7. <view class="card-item">
  8. <view class="item-icon">
  9. <image src="/pages_order/static/order/f.png" mode="aspectFit" :show-menu-by-longpress="true"></image>
  10. </view>
  11. <view class="item-text">
  12. <text class="item-title">请及时添加服务顾问的企业微信</text>
  13. <view class="code">
  14. <image src="https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/details/QR_Code.png"
  15. mode="aspectFit"
  16. style="width: 260rpx; height:260rpx"/>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="card-item">
  21. <view class="item-icon">
  22. <image src="/pages_order/static/order/f.png" mode="aspectFit"></image>
  23. </view>
  24. <view class="item-text">
  25. <text class="item-title">完善服务档案</text>
  26. <text class="item-desc">请上传宠物喂养要求及用品摆放位置</text>
  27. </view>
  28. <view class="item-action" @click="toPath('/pages/personalCenter/service')">
  29. <text class="action-btn">去完善</text>
  30. </view>
  31. </view>
  32. <view class="card-item">
  33. <view class="item-icon">
  34. <image src="/pages_order/static/order/f.png" mode="aspectFit"></image>
  35. </view>
  36. <view class="item-text">
  37. <text class="item-title">完善门锁信息</text>
  38. <text class="item-desc">请上传门锁及相应密码要求</text>
  39. </view>
  40. <view class="item-action" @click="toPath('/pages/personalCenter/lock')">
  41. <text class="action-btn">去完善</text>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="back-home">
  46. <button class="details-btn" @click="goHome">返回首页</button>
  47. </view>
  48. <Kefu></Kefu>
  49. </view>
  50. </template>
  51. <script>
  52. import Kefu from '@/pages/common/kefu.vue'
  53. export default {
  54. data() {
  55. return {
  56. };
  57. },
  58. components:{
  59. Kefu
  60. },
  61. methods: {
  62. goHome() {
  63. this.$globalData.itemPrice=[]
  64. this.$globalData.submitData = {}
  65. this.$globalData.newOrderData={
  66. currentAddress:{},
  67. currentPets:[],
  68. totalPrice:0,
  69. needPreFamiliarize:[]
  70. }
  71. // 清空页面栈
  72. uni.reLaunch({
  73. url: "/pages/index"
  74. });
  75. },
  76. toPath(url){
  77. uni.navigateTo({
  78. url
  79. })
  80. },
  81. }
  82. }
  83. </script>
  84. <style lang="scss" scoped>
  85. .successful-page {
  86. position: relative;
  87. height: 100vh;
  88. padding: 20rpx;
  89. padding-bottom: 58px;
  90. background-color: #f5f5f5;
  91. .banner-image {
  92. width: 100%;
  93. background-color: #FFFFFF;
  94. }
  95. .content-card {
  96. .card-item {
  97. display: flex;
  98. align-items: center;
  99. padding: 30rpx 20rpx;
  100. margin: 20rpx;
  101. background-color: #FFFFFF;
  102. border-radius: 20rpx;
  103. position: relative;
  104. &::after {
  105. position: absolute;
  106. content: '';
  107. left: 40rpx;
  108. top: 62rpx;
  109. width: 40rpx;
  110. height: 40rpx;
  111. border-radius: 50%;
  112. background-color: #FFB13Faa;
  113. }
  114. &:first-child {
  115. .item-text {
  116. display: flex;
  117. flex-direction: column;
  118. justify-content: center;
  119. //align-items: center;
  120. .item-title {
  121. font-size: 28rpx;
  122. color: #333;
  123. font-weight: bold;
  124. display: block;
  125. }
  126. .code {
  127. padding: 20rpx 0;
  128. }
  129. }
  130. &::after {
  131. top: 190rpx;
  132. }
  133. }
  134. &:last-child {
  135. border-bottom: none;
  136. }
  137. .item-icon {
  138. width: 60rpx;
  139. height: 60rpx;
  140. margin-right: 20rpx;
  141. position: relative;
  142. z-index: 2;
  143. image {
  144. width: 100%;
  145. height: 100%;
  146. }
  147. }
  148. .item-text {
  149. flex: 1;
  150. line-height: 50rpx;
  151. .item-title {
  152. font-size: 28rpx;
  153. color: #333;
  154. font-weight: bold;
  155. display: block;
  156. }
  157. .item-desc {
  158. font-size: 24rpx;
  159. color: #999;
  160. display: block;
  161. margin-top: 6rpx;
  162. }
  163. }
  164. .item-action {
  165. .action-btn {
  166. padding: 16rpx 30rpx;
  167. background-color: #FFB13F;
  168. color: #FFFFFF;
  169. border-radius: 30rpx;
  170. font-size: 24rpx;
  171. }
  172. }
  173. }
  174. }
  175. .back-home {
  176. height: 116rpx;
  177. position: fixed;
  178. bottom: 0;
  179. width: calc(100% - 40rpx);
  180. display: flex;
  181. justify-content: center;
  182. align-items: center;
  183. .details-btn {
  184. width: 90%;
  185. border-radius: 40rpx;
  186. background: #FFB13F;
  187. font-size: 32rpx;
  188. color: #FFFFFF;
  189. }
  190. }
  191. }
  192. </style>