猫妈狗爸伴宠师小程序前端代码
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.

226 lines
4.9 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <!-- <div>订单详情</div> -->
  3. <view class="box box-size">
  4. <view class="top box-size" :style="{ borderRadius: '16rpx' }">
  5. <view class="top_left box-size">
  6. <view>
  7. 本单客户支付金额
  8. <view class="vertically_center text1">
  9. ¥ 45
  10. </view>
  11. </view>
  12. X
  13. <view>
  14. 您的分成比例
  15. <view class="vertically_center text1">
  16. 20%
  17. </view>
  18. </view>
  19. =
  20. <view>
  21. 本单酬劳
  22. <view class="vertically_center text1">
  23. ¥ 9
  24. </view>
  25. </view>
  26. </view>
  27. <view class="top_bottom">
  28. 订单为系统派发请确认订单信息后再抢单
  29. </view>
  30. <view class="top-button" :style="{ borderRadius: '27rpx' }">
  31. 系统派单
  32. </view>
  33. </view>
  34. <view class="information box-size" :style="{ borderRadius: '16rpx' }">
  35. <view class="form-title">
  36. 基本信息
  37. </view>
  38. <view class="line1">
  39. </view>
  40. <view class="time">
  41. <view>
  42. 服务日期
  43. </view>
  44. <view class="">
  45. 12-012-08
  46. </view>
  47. </view>
  48. <view class="line1">
  49. </view>
  50. <view class="time">
  51. <view>
  52. 服务地址
  53. </view>
  54. <view class="">
  55. 重庆市南岸区长嘉汇18栋9-2
  56. </view>
  57. </view>
  58. </view>
  59. <view class="service box-size" :style="{ borderRadius: '8rpx' }">
  60. <view class="horizontal_distribution service_top">
  61. <view class="form-title">
  62. 服务内容和酬劳
  63. </view>
  64. <view class="text2 flex">
  65. 查看宠物信息
  66. <u-icon name="arrow-right-double" color="#F5F5F5" size="10"></u-icon>
  67. </view>
  68. </view>
  69. <view class="line1">
  70. </view>
  71. <view class="pet_information box-size">
  72. <view class="flex pet_item box-size">
  73. <view class="img" :style="{borderRadius:'100rpx'}">
  74. <image
  75. src="https://k.sinaimg.cn/n/sinakd20118/751/w690h861/20240406/8eda-d4d56e3bface126bd5806ff981a09314.jpg/w700d1q75cms.jpg"
  76. mode=""></image>
  77. </view>
  78. <view class="">
  79. <view class="flex name">
  80. <view class="name_text">
  81. 小咪
  82. </view>
  83. <image src="" mode=""></image>
  84. </view>
  85. 银渐层短毛猫小型猫
  86. </view>
  87. </view>
  88. <view class="pet- level">
  89. 12-14
  90. <text>专业喂养</text>
  91. 上门1次
  92. </view>
  93. <view class="pet- level">
  94. 12-15
  95. <text>专业喂养</text>
  96. 上门1次
  97. </view>
  98. </view>
  99. <view class="line1">
  100. </view>
  101. <view class="flex money_total">
  102. <view>
  103. 合计
  104. </view>
  105. <view class="money_text">
  106. ¥&nbsp;455
  107. </view>
  108. </view>
  109. </view>
  110. <view class="other_information box-size">
  111. <view class="form-title">
  112. 其他信息
  113. </view>
  114. <view class="line1">
  115. </view>
  116. <view class="horizontal_distribution text3">
  117. <view>
  118. 订单编号
  119. </view>
  120. <view>
  121. fe34521532513256
  122. </view>
  123. </view>
  124. <view class="line1">
  125. </view>
  126. <view class="horizontal_distribution text3">
  127. <view>
  128. 下单时间
  129. </view>
  130. <view>
  131. 2024-12-45 12:32:41
  132. </view>
  133. </view>
  134. <view class="line1">
  135. </view>
  136. <view class="horizontal_distribution text3">
  137. <view>
  138. 支付时间
  139. </view>
  140. <view>
  141. 2024-12-45 12:32:41
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="bottom">
  147. <view class="bottom_button level" :style="{ borderRadius: '41rpx' }">
  148. 立即抢单
  149. </view>
  150. </view>
  151. <!-- <view>
  152. <u-popup :show="show" mode="center" @close="close" @open="open">
  153. <view class="success">
  154. <view class="pop_top">
  155. </view>
  156. <u--text text="请立即添加服务顾问,并提供订单编码" size="12rpx" color="#707070" align="center"></u--text>
  157. <view class="pop_image">
  158. <u--image src="https://xxx.com/album/1.jpg" shape="square" width="100rpx"
  159. height="100rpx"></u--image>
  160. </view>
  161. <view class="code" :style="{ borderRadius: '6rpx' }">
  162. </view>
  163. <view class="copy" :style="{ borderRadius: '40rpx' }">
  164. <u--text text="复制订单编号" size="12rpx" color="#FFFFFF" align="center"
  165. line-height="50rpx"></u--text>
  166. </view>
  167. <view class="cancel" :style="{ borderRadius: '50rpx' }">
  168. <u-icon name="close-circle" color="#707070" size="40"></u-icon>
  169. </view>
  170. </view>
  171. </u-popup>
  172. <u-button @click="show = true">打开</u-button>
  173. </view> -->
  174. </template>
  175. <script>
  176. export default {
  177. data() {
  178. return {
  179. show: false
  180. }
  181. },
  182. methods: {
  183. open() {
  184. // console.log('open');
  185. },
  186. close() {
  187. this.show = false
  188. // console.log('close');
  189. }
  190. }
  191. }
  192. // export default {
  193. // data() {
  194. // return {
  195. // value: ''
  196. // }
  197. // },
  198. // methods: {
  199. // change(e) {
  200. // console.log('change', e);
  201. // }
  202. // }
  203. // }
  204. </script>
  205. <style scoped lang="scss">
  206. @import "index";
  207. .line1 {
  208. position: relative;
  209. margin: 10rpx 0 20rpx 0;
  210. &::before {
  211. position: absolute;
  212. top: 10rpx;
  213. left: -10rpx;
  214. content: "";
  215. width: 690rpx;
  216. height: 0.5rpx;
  217. background-color: #EFEFEF;
  218. // background-color: red;
  219. }
  220. }
  221. </style>