球星卡微信小程序
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.

523 lines
13 KiB

  1. <template>
  2. <view class="flex-col page">
  3. <view class="flex-col group_4">
  4. <view class="flex-row section_2">
  5. <view class="flex-row group_5">
  6. <text class="text_2">发货单号</text>
  7. <text class="text_3">9847583947839743-1</text>
  8. </view>
  9. <text class="text_4">评级中</text>
  10. </view>
  11. <view class="section_3 flex-col">
  12. <view class="justify-between" @click="$url('/packages/sonpingDetail/viewDetail')">
  13. <view class="flex-row">
  14. <text class="text_5">明细</text>
  15. <text class="text_6">共3件</text>
  16. </view>
  17. <image
  18. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497780150582913.png"
  19. class="image_6"
  20. />
  21. </view>
  22. <view class="justify-between group_8" @click="$url('/packages/sonpingDetail/expenseDetail')">
  23. <view class="flex-row">
  24. <text class="text_7">费用</text>
  25. <text class="text_8">暂无</text>
  26. </view>
  27. <image
  28. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497780230366393.png"
  29. class="image_6"
  30. />
  31. </view>
  32. <view class="flex-col group_10" @click="$url('/packages/address/address')">
  33. <view class="justify-between">
  34. <view class="flex-row lf-flex">
  35. <view class="text_9">收货人</view>
  36. <view class="text_10">李丽丽</view>
  37. <view class="text_11">15273936409</view>
  38. </view>
  39. <image
  40. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497780269942998.png"
  41. class="image_6"
  42. />
  43. </view>
  44. <view class="text_12">北京北京市海淀区钻石大厦C座</view>
  45. </view>
  46. </view>
  47. <view class="section_3 flex-col">
  48. <view class="flex-col group_13" @click="$url('/packages/sonpingDetail/ratingTrajectory?id='+ id)">
  49. <view class="flex-row">
  50. <image
  51. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497775960694116.png"
  52. class="image_10"
  53. />
  54. <text class="text_13">收货确认您的包裹已收到请耐心等待</text>
  55. <image
  56. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497780327296781.png"
  57. class="image_6 image_11"
  58. />
  59. </view>
  60. <text class="text_14">2022-03-12 16:46</text>
  61. </view>
  62. <view class="flex-row group_15">
  63. <image
  64. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497777959592422.png"
  65. class="image_12"
  66. />
  67. <text class="text_15">温馨提示如需发票请在订单完成后一个月内到官网申请</text>
  68. </view>
  69. </view>
  70. <view class="flex-col section_4">
  71. <text class="text_16">送评信息</text>
  72. <view class="justify-between group_16" @click="$url('/packages/sonpingDetail/ratingTrajectory?id='+ id)">
  73. <view class="flex-row">
  74. <text class="text_17">寄送藏品</text>
  75. <text class="text_18">{{ details.order.express_type }}{{ details.order.express_numb }}</text>
  76. </view>
  77. <image
  78. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497780290849398.png"
  79. class="image_6"
  80. />
  81. </view>
  82. <view class="flex-row group_18">
  83. <text class="text_19">送评公司</text>
  84. <text class="text_20">{{ details.order.express_type }}</text>
  85. </view>
  86. <view class="flex-row group_19">
  87. <text class="text_21">送评人</text>
  88. <text class="text_22">{{ details.order.owner }}</text>
  89. </view>
  90. <view class="flex-row group_20">
  91. <text class="text_23">联系方式</text>
  92. <text class="text_24">{{ details.order.tel }}</text>
  93. </view>
  94. <view class="flex-row group_21">
  95. <text class="text_25">是否快评</text>
  96. <text class="text_26">{{ ['否','是'][details.order.is_fast] }}</text>
  97. </view>
  98. <view class="flex-row group_22">
  99. <text class="text_27">保价</text>
  100. <text class="text_28">¥</text>
  101. </view>
  102. <view class="flex-col group_23">
  103. <view class="flex-col">
  104. <view class="flex-row">
  105. <text class="text_29">打包照片</text>
  106. <text class="text_30">送评前请拍照可确保权益</text>
  107. </view>
  108. <view class="flex-row equal-division">
  109. <image
  110. mode="aspectFill"
  111. :src="item"
  112. class="equal-division-item image_14"
  113. v-for="(item, index) in showImages"
  114. :key="index"
  115. @click="previewImage(index)"
  116. />
  117. </view>
  118. </view>
  119. <view class="flex-col group_26">
  120. <view class="flex-col items-center text-wrapper" @click="$url('/packages/address/address?is_select=1')">
  121. <text>更改地址</text>
  122. </view>
  123. <view class="section_5"> </view>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. </view>
  129. </template>
  130. <script>
  131. import { gradingDetail } from '@/service/grading.js'
  132. export default {
  133. data() {
  134. return {
  135. address: {},
  136. id: '',
  137. details: {}
  138. };
  139. },
  140. watch: {
  141. address(){
  142. console.log("监听到改变,调取接口。。。。");
  143. }
  144. },
  145. computed: {
  146. showImages(){
  147. if(this.details.order && this.details.order.images){
  148. return this.details.order.images.split(',');
  149. }else{
  150. return []
  151. }
  152. }
  153. },
  154. onLoad(options){
  155. this.id = options.id;
  156. this.getGradingDetail();
  157. },
  158. methods: {
  159. async getGradingDetail(){
  160. let res = await gradingDetail(this.id);
  161. console.log("res", res);
  162. this.details = res.data.datas;
  163. },
  164. previewImage(current){
  165. uni.previewImage({
  166. urls: this.showImages,
  167. current: current
  168. })
  169. }
  170. }
  171. };
  172. </script>
  173. <style scoped lang="css">
  174. .section_3 {
  175. margin-top: 30rpx;
  176. padding: 40rpx 30rpx 40rpx 32rpx;
  177. background-color: rgb(255, 255, 255);
  178. }
  179. .image_6 {
  180. margin: 10rpx 0 8rpx;
  181. width: 16rpx;
  182. height: 26rpx;
  183. }
  184. .equal-division-item {
  185. margin-left: 28rpx;
  186. /* flex: 1 1 210rpx; */
  187. width: 80px;
  188. height: 80px;
  189. }
  190. .page {
  191. background-color: #f6f6f6;
  192. width: 100%;
  193. overflow-y: auto;
  194. height: 100%;
  195. }
  196. .group_4 {
  197. padding-top: 2rpx;
  198. flex: 1 1 auto;
  199. overflow-y: auto;
  200. }
  201. .section_2 {
  202. padding: 40rpx 32rpx;
  203. background-color: rgb(255, 255, 255);
  204. }
  205. .section_4 {
  206. margin-top: 30rpx;
  207. padding: 40rpx 30rpx 16rpx 32rpx;
  208. background-color: rgb(255, 255, 255);
  209. }
  210. .group_5 {
  211. flex: 1 1 auto;
  212. }
  213. .text_4 {
  214. margin-left: 40rpx;
  215. color: rgb(172, 205, 35);
  216. font-size: 32rpx;
  217. font-weight: 500;
  218. line-height: 44rpx;
  219. white-space: nowrap;
  220. }
  221. .group_8 {
  222. margin-top: 50rpx;
  223. }
  224. .group_10 {
  225. margin-top: 50rpx;
  226. }
  227. .group_13 {
  228. color: rgb(51, 51, 51);
  229. font-size: 32rpx;
  230. font-weight: 500;
  231. line-height: 44rpx;
  232. white-space: nowrap;
  233. }
  234. .group_15 {
  235. margin-top: 40rpx;
  236. color: rgb(153, 153, 153);
  237. font-size: 24rpx;
  238. font-weight: 500;
  239. line-height: 34rpx;
  240. white-space: nowrap;
  241. }
  242. .text_16 {
  243. color: rgb(51, 51, 51);
  244. font-size: 36rpx;
  245. font-weight: 600;
  246. line-height: 50rpx;
  247. white-space: nowrap;
  248. }
  249. .group_16 {
  250. margin-top: 40rpx;
  251. }
  252. .group_18 {
  253. margin-top: 50rpx;
  254. }
  255. .group_19 {
  256. margin-top: 50rpx;
  257. }
  258. .group_20 {
  259. margin-top: 50rpx;
  260. }
  261. .group_21 {
  262. margin-top: 50rpx;
  263. }
  264. .group_22 {
  265. margin-top: 50rpx;
  266. }
  267. .group_23 {
  268. margin-top: 50rpx;
  269. }
  270. .text_2 {
  271. color: rgb(119, 119, 119);
  272. font-size: 32rpx;
  273. font-weight: 500;
  274. line-height: 44rpx;
  275. white-space: nowrap;
  276. }
  277. .text_3 {
  278. margin-left: 10rpx;
  279. color: rgb(51, 51, 51);
  280. font-size: 32rpx;
  281. font-weight: 500;
  282. line-height: 44rpx;
  283. white-space: nowrap;
  284. }
  285. .text_12 {
  286. margin-top: 10rpx;
  287. align-self: center;
  288. color: rgb(51, 51, 51);
  289. font-size: 32rpx;
  290. font-weight: 500;
  291. line-height: 44rpx;
  292. width: 100%;
  293. box-sizing: border-box;
  294. padding-left: 160rpx;
  295. padding-right: 32rpx;
  296. }
  297. .text_14 {
  298. margin-left: 66rpx;
  299. }
  300. .image_12 {
  301. width: 30rpx;
  302. height: 30rpx;
  303. }
  304. .text_15 {
  305. margin-left: 10rpx;
  306. margin-right: 24rpx;
  307. }
  308. .text_19 {
  309. color: rgb(119, 119, 119);
  310. font-size: 32rpx;
  311. font-weight: 500;
  312. line-height: 44rpx;
  313. white-space: nowrap;
  314. }
  315. .text_20 {
  316. margin-left: 10rpx;
  317. color: rgb(51, 51, 51);
  318. font-size: 32rpx;
  319. font-weight: 500;
  320. line-height: 44rpx;
  321. white-space: nowrap;
  322. overflow:hidden;
  323. text-overflow:ellipsis;
  324. width: 522rpx;
  325. display: inline-block;
  326. }
  327. .text_21 {
  328. color: rgb(119, 119, 119);
  329. font-size: 32rpx;
  330. font-weight: 500;
  331. line-height: 44rpx;
  332. white-space: nowrap;
  333. }
  334. .text_22 {
  335. margin-left: 42rpx;
  336. color: rgb(51, 51, 51);
  337. font-size: 32rpx;
  338. font-weight: 500;
  339. line-height: 44rpx;
  340. white-space: nowrap;
  341. }
  342. .text_23 {
  343. color: rgb(119, 119, 119);
  344. font-size: 32rpx;
  345. font-weight: 500;
  346. line-height: 44rpx;
  347. white-space: nowrap;
  348. }
  349. .text_24 {
  350. margin-left: 10rpx;
  351. color: rgb(51, 51, 51);
  352. font-size: 32rpx;
  353. font-weight: 500;
  354. line-height: 44rpx;
  355. white-space: nowrap;
  356. }
  357. .text_25 {
  358. color: rgb(119, 119, 119);
  359. font-size: 32rpx;
  360. font-weight: 500;
  361. line-height: 44rpx;
  362. white-space: nowrap;
  363. }
  364. .text_26 {
  365. margin-left: 10rpx;
  366. color: rgb(51, 51, 51);
  367. font-size: 32rpx;
  368. font-weight: 500;
  369. line-height: 44rpx;
  370. white-space: nowrap;
  371. }
  372. .text_27 {
  373. color: rgb(119, 119, 119);
  374. font-size: 32rpx;
  375. font-weight: 500;
  376. line-height: 44rpx;
  377. white-space: nowrap;
  378. }
  379. .text_28 {
  380. margin-left: 74rpx;
  381. color: rgb(51, 51, 51);
  382. font-size: 32rpx;
  383. font-weight: 500;
  384. line-height: 44rpx;
  385. white-space: nowrap;
  386. }
  387. .group_26 {
  388. margin-top: 40rpx;
  389. padding: 0 2rpx;
  390. color: rgb(153, 153, 153);
  391. font-size: 28rpx;
  392. font-weight: 500;
  393. line-height: 40rpx;
  394. white-space: nowrap;
  395. }
  396. .text_5 {
  397. color: rgb(119, 119, 119);
  398. font-size: 32rpx;
  399. font-weight: 500;
  400. line-height: 44rpx;
  401. white-space: nowrap;
  402. }
  403. .text_6 {
  404. margin-left: 74rpx;
  405. color: rgb(51, 51, 51);
  406. font-size: 32rpx;
  407. font-weight: 500;
  408. line-height: 44rpx;
  409. white-space: nowrap;
  410. }
  411. .text_7 {
  412. color: rgb(119, 119, 119);
  413. font-size: 32rpx;
  414. font-weight: 500;
  415. line-height: 44rpx;
  416. white-space: nowrap;
  417. }
  418. .text_8 {
  419. margin-left: 74rpx;
  420. color: rgb(51, 51, 51);
  421. font-size: 32rpx;
  422. font-weight: 500;
  423. line-height: 44rpx;
  424. white-space: nowrap;
  425. }
  426. .image_10 {
  427. width: 56rpx;
  428. height: 56rpx;
  429. }
  430. .text_13 {
  431. margin-left: 10rpx;
  432. display: inline-block;
  433. width: 586rpx;
  434. white-space:nowrap;
  435. overflow:hidden;
  436. text-overflow:ellipsis;
  437. }
  438. .image_11 {
  439. margin-top: 10rpx;
  440. margin-bottom: 0;
  441. margin-left: 30rpx;
  442. margin-right: 0;
  443. }
  444. .text_17 {
  445. color: rgb(119, 119, 119);
  446. font-size: 32rpx;
  447. font-weight: 500;
  448. line-height: 44rpx;
  449. white-space: nowrap;
  450. }
  451. .text_18 {
  452. margin-left: 10rpx;
  453. color: rgb(51, 51, 51);
  454. font-size: 32rpx;
  455. font-weight: 500;
  456. line-height: 44rpx;
  457. white-space: nowrap;
  458. }
  459. .equal-division {
  460. margin-top: 20rpx;
  461. }
  462. .text-wrapper {
  463. padding: 10rpx 0;
  464. align-self: flex-end;
  465. border-radius: 32rpx;
  466. width: 160rpx;
  467. border: solid 2rpx rgb(153, 153, 153);
  468. }
  469. .section_5 {
  470. margin-top: 40rpx;
  471. align-self: center;
  472. border-radius: 4rpx;
  473. width: 196rpx;
  474. height: 8rpx;
  475. }
  476. .text_9 {
  477. color: rgb(119, 119, 119);
  478. font-size: 32rpx;
  479. font-weight: 500;
  480. line-height: 44rpx;
  481. white-space: nowrap;
  482. }
  483. .text_10 {
  484. margin-left: 42rpx;
  485. color: rgb(51, 51, 51);
  486. font-size: 32rpx;
  487. font-weight: 500;
  488. line-height: 44rpx;
  489. white-space: nowrap;
  490. max-width: 280rpx;
  491. overflow:hidden;
  492. text-overflow:ellipsis;
  493. }
  494. .text_11 {
  495. margin-left: 30rpx;
  496. color: rgb(51, 51, 51);
  497. font-size: 32rpx;
  498. font-weight: 500;
  499. line-height: 44rpx;
  500. white-space: nowrap;
  501. }
  502. .text_29 {
  503. color: rgb(119, 119, 119);
  504. font-size: 32rpx;
  505. font-weight: 500;
  506. line-height: 44rpx;
  507. white-space: nowrap;
  508. }
  509. .text_30 {
  510. margin-left: 20rpx;
  511. margin-top: 8rpx;
  512. color: rgb(153, 153, 153);
  513. font-size: 24rpx;
  514. font-weight: 500;
  515. line-height: 34rpx;
  516. white-space: nowrap;
  517. }
  518. .image_14 {
  519. margin-left: 0;
  520. }
  521. </style>