detail.vue 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <template>
  2. <view class="page">
  3. <view class="p-header flex-col items-center">
  4. <image src="/static/odetail-status.png" class="image_4" />
  5. <!-- 进行中
  6. <text class="text_2">待取货</text>
  7. <view class="flex-col items-center text-wrapper"><text class="text_3">3154</text></view>
  8. -->
  9. <!-- 已完成 -->
  10. <text class="text_2">已完成</text>
  11. <text class="tips">
  12. 感谢您的支持,欢迎下次光临
  13. </text>
  14. </view>
  15. <view class="p-division"></view>
  16. <!-- 进行中 待取货 -->
  17. <view class="p-time flex-col">
  18. <text class="text_4">取货时间:今天15:00~22:00</text>
  19. <view class="group_8"><text class="text_5">请您在有效时间内来取货,超时将订单失效,且无法退款哦,具体请联系商家</text></view>
  20. </view>
  21. <view class="p-division"></view>
  22. <view class="p-shop flex-col">
  23. <view class="flex-row justify-between items-start">
  24. <view class="flex-row">
  25. <image src="/static/temp/pro.png" class="image_12" mode="aspectFill" />
  26. <view class="flex-col items-start group_15">
  27. <text class="text_7 clamp">幸福西饼万达店</text>
  28. <text class="text_8 clamp2">河东区万达广场1F东门入口</text>
  29. </view>
  30. </view>
  31. <view class="flex-row group_16">
  32. <view class="flex-col items-center image-wrapper"><image src="/static/mangd-loc.png" class="image_13" mode="aspectFill" /></view>
  33. <view class="section_5"><!--*--></view>
  34. <view class="flex-col items-center image-wrapper view_3"><image src="/static/mang-phone.png" class="image_14" mode="aspectFill" /></view>
  35. </view>
  36. </view>
  37. <view class="group_17">
  38. <text class="text_9">距离您</text>
  39. <text class="text_10">864m</text>
  40. </view>
  41. </view>
  42. <view class="p-pro ">
  43. <pro />
  44. <view class="p-border"></view>
  45. </view>
  46. <view class="p-price">
  47. <view class="price-wrap align-center justify-between">
  48. <text class="text_16">商品总价</text>
  49. <text class="text_17">¥80.40</text>
  50. </view>
  51. </view>
  52. <view class="p-total align-center justify-end">
  53. 共1件商品,合计¥80.40
  54. </view>
  55. <view class="p-division"></view>
  56. <view class="p-info flex-col">
  57. <text class="text_20">订单信息</text>
  58. <view class="flex-row group view_8">
  59. <text class="text_21">下单时间</text>
  60. <text class="text_22">07/25 14:35</text>
  61. </view>
  62. <view class="flex-row group view_8">
  63. <text class="text_21">取货码</text>
  64. <text class="text_22">3154</text>
  65. </view>
  66. <view class="flex-row group view_8">
  67. <text class="text_21">订单编号</text>
  68. <text class="text_22">0021215481102131202</text>
  69. </view>
  70. <view class="flex-row group view_8">
  71. <text class="text_21">备注信息</text>
  72. <text class="text_22">无</text>
  73. </view>
  74. </view>
  75. <!-- 进行中 -->
  76. <safe-area height="128rpx">
  77. <template v-slot:btn>
  78. <view class="btn-wrap align-center justify-end">
  79. <view class="btn">
  80. 申请退款
  81. </view>
  82. <view class="btn full">
  83. 确认收货
  84. </view>
  85. </view>
  86. </template>
  87. </safe-area>
  88. </view>
  89. </template>
  90. <script>
  91. import pro from './components/pro.vue'
  92. export default {
  93. components:{
  94. pro
  95. },
  96. data() {
  97. return {};
  98. }
  99. };
  100. </script>
  101. <style lang="scss">
  102. .p-header {
  103. padding: 94rpx 0 51rpx;
  104. .image_4 {
  105. width: 86rpx;
  106. height: 95rpx;
  107. }
  108. .text_2 {
  109. margin-top: 23rpx;
  110. color: #333333;
  111. font-size: 34rpx;
  112. font-family: PingFang;
  113. }
  114. .text-wrapper {
  115. margin-top: 23rpx;
  116. padding: 23rpx 20rpx 22rpx;
  117. background-color: #92b99c;
  118. border-radius: 10rpx;
  119. min-width: 180rpx;
  120. }
  121. .text_3 {
  122. color: #ffffff;
  123. font-size: 48rpx;
  124. font-family: PingFang;
  125. }
  126. .tips{
  127. margin-top: 23rpx;
  128. font-size: 24rpx;
  129. font-family: PingFang SC;
  130. font-weight: 500;
  131. color: #999999;
  132. line-height: 37rpx;
  133. text-align: center;
  134. height: 82rpx;
  135. }
  136. }
  137. .p-division {
  138. background-color: #0000000a;
  139. height: 16rpx;
  140. }
  141. .p-time {
  142. padding: 29rpx 41rpx 21.5rpx 42rpx;
  143. .text_4 {
  144. align-self: flex-start;
  145. color: #333333;
  146. font-size: 30rpx;
  147. font-family: PingFang;
  148. }
  149. .group_8 {
  150. margin-top: 12.5rpx;
  151. line-height: 37rpx;
  152. }
  153. .text_5 {
  154. color: #999999;
  155. font-size: 24rpx;
  156. font-family: PingFang;
  157. line-height: 37rpx;
  158. }
  159. }
  160. .p-shop {
  161. padding: 40rpx 30rpx 41rpx;
  162. border-bottom: 2rpx solid #eee;
  163. .image_12 {
  164. margin-top: 5rpx;
  165. width: 68rpx;
  166. height: 68rpx;
  167. border-radius: 68rpx;
  168. }
  169. .group_15 {
  170. margin-left: 16rpx;
  171. }
  172. .text_7 {
  173. color: #333333;
  174. font-size: 30rpx;
  175. font-family: PingFang;
  176. max-width: 420rpx;
  177. }
  178. .text_8 {
  179. margin-top: 20rpx;
  180. color: #999999;
  181. font-size: 24rpx;
  182. font-family: PingFang;
  183. max-width: 420rpx;
  184. line-height: 36rpx;
  185. }
  186. .group_16 {
  187. margin-right: 20rpx;
  188. margin-top: 37rpx;
  189. }
  190. .image-wrapper {
  191. align-self: center;
  192. width: 28rpx;
  193. }
  194. .image_13 {
  195. width: 28rpx;
  196. height: 33rpx;
  197. }
  198. .section_5 {
  199. margin-left: 41rpx;
  200. background-color: #0000001a;
  201. width: 1rpx;
  202. height: 65rpx;
  203. }
  204. .view_3 {
  205. margin-left: 40rpx;
  206. }
  207. .image_14 {
  208. width: 28rpx;
  209. height: 28rpx;
  210. }
  211. .group_17 {
  212. margin-left: 3rpx;
  213. align-self: flex-start;
  214. line-height: 23rpx;
  215. margin-top: 10rpx;
  216. }
  217. .text_9 {
  218. color: #999999;
  219. font-size: 24rpx;
  220. font-family: PingFang;
  221. line-height: 23rpx;
  222. }
  223. .text_10 {
  224. color: #92b99c;
  225. font-size: 24rpx;
  226. font-family: PingFang;
  227. line-height: 19rpx;
  228. }
  229. }
  230. .p-border{
  231. margin-top: 40rpx;
  232. border-bottom: 2rpx solid #eee;
  233. }
  234. .p-price {
  235. padding: 0 30rpx;
  236. .price-wrap{
  237. height: 109rpx;
  238. border-bottom: solid 2rpx #0000000a;
  239. }
  240. .text_16 {
  241. color: #333333;
  242. font-size: 30rpx;
  243. font-family: PingFang;
  244. }
  245. .text_17 {
  246. margin: 3rpx 0;
  247. color: #333333;
  248. font-size: 30rpx;
  249. font-family: PingFang;
  250. }
  251. }
  252. .p-total{
  253. height: 100rpx;
  254. font-size: 30rpx;
  255. font-family: PingFang SC;
  256. font-weight: 500;
  257. color: #333333;
  258. padding: 0 30rpx;
  259. }
  260. .p-info{
  261. padding: 40rpx 42rpx 47rpx;
  262. .text_20 {
  263. align-self: flex-start;
  264. color: #333333;
  265. font-size: 30rpx;
  266. font-family: PingFang;
  267. }
  268. .group {
  269. padding: 0 29rpx;
  270. }
  271. .view_8 {
  272. margin-top: 34rpx;
  273. }
  274. .text_21 {
  275. color: #999999;
  276. font-size: 28rpx;
  277. font-family: PingFang;
  278. width: 187rpx;
  279. flex-shrink: 0;
  280. line-height: 36rpx;
  281. }
  282. .text_22 {
  283. color: #999999;
  284. font-size: 28rpx;
  285. line-height: 36rpx;
  286. font-family: PingFang;
  287. }
  288. }
  289. .btn-wrap{
  290. height: 128rpx;
  291. background: #FFFFFF;
  292. box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(0,0,0,0.1);
  293. padding: 0 20rpx;
  294. .btn{
  295. width: 228rpx;
  296. height: 76rpx;
  297. border: 2rpx solid $base-color;
  298. border-radius: 38rpx;
  299. text-align: center;
  300. line-height: 72rpx;
  301. font-size: 30rpx;
  302. font-family: PingFang SC;
  303. font-weight: 500;
  304. color: $base-color;
  305. margin-left: 12rpx;
  306. &.full{
  307. color:#fff;
  308. border: none;
  309. background: $base-color;
  310. }
  311. }
  312. }
  313. </style>