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.

210 lines
4.8 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">
  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">
  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. }
  77. }
  78. </script>
  79. <style lang="scss" scoped>
  80. .successful-page {
  81. position: relative;
  82. height: 100vh;
  83. padding: 20rpx;
  84. padding-bottom: 58px;
  85. background-color: #f5f5f5;
  86. .banner-image {
  87. width: 100%;
  88. background-color: #FFFFFF;
  89. }
  90. .content-card {
  91. .card-item {
  92. display: flex;
  93. align-items: center;
  94. padding: 30rpx 20rpx;
  95. margin: 20rpx;
  96. background-color: #FFFFFF;
  97. border-radius: 20rpx;
  98. position: relative;
  99. &::after {
  100. position: absolute;
  101. content: '';
  102. left: 40rpx;
  103. top: 62rpx;
  104. width: 40rpx;
  105. height: 40rpx;
  106. border-radius: 50%;
  107. background-color: #FFB13Faa;
  108. }
  109. &:first-child {
  110. .item-text {
  111. display: flex;
  112. flex-direction: column;
  113. justify-content: center;;
  114. align-items: center;
  115. .item-title {
  116. font-size: 28rpx;
  117. color: #333;
  118. font-weight: bold;
  119. display: block;
  120. }
  121. .code {
  122. padding: 20rpx 0;
  123. }
  124. }
  125. &::after {
  126. top: 190rpx;
  127. }
  128. }
  129. &:last-child {
  130. border-bottom: none;
  131. }
  132. .item-icon {
  133. width: 60rpx;
  134. height: 60rpx;
  135. margin-right: 20rpx;
  136. position: relative;
  137. z-index: 2;
  138. image {
  139. width: 100%;
  140. height: 100%;
  141. }
  142. }
  143. .item-text {
  144. flex: 1;
  145. line-height: 50rpx;
  146. .item-title {
  147. font-size: 28rpx;
  148. color: #333;
  149. font-weight: bold;
  150. display: block;
  151. }
  152. .item-desc {
  153. font-size: 24rpx;
  154. color: #999;
  155. display: block;
  156. margin-top: 6rpx;
  157. }
  158. }
  159. .item-action {
  160. .action-btn {
  161. padding: 16rpx 30rpx;
  162. background-color: #FFB13F;
  163. color: #FFFFFF;
  164. border-radius: 30rpx;
  165. font-size: 24rpx;
  166. }
  167. }
  168. }
  169. }
  170. .back-home {
  171. height: 116rpx;
  172. position: fixed;
  173. bottom: 0;
  174. width: calc(100% - 40rpx);
  175. display: flex;
  176. justify-content: center;
  177. align-items: center;
  178. .details-btn {
  179. width: 90%;
  180. border-radius: 40rpx;
  181. background: #FFB13F;
  182. font-size: 32rpx;
  183. color: #FFFFFF;
  184. }
  185. }
  186. }
  187. </style>