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

470 lines
10 KiB

4 years ago
  1. <template>
  2. <view class="flex-col page">
  3. <view class="flex-col group_4">
  4. <view class="section_2 flex-col view_2">
  5. <view class="flex-row">
  6. <text class="text_3">鉴定结果</text>
  7. <text class="text_4">{{ order.num }}</text>
  8. </view>
  9. </view>
  10. <view class="section_2 flex-col view_3" v-for="(item, index) in order.sub_orders" :key="index">
  11. <view class="flex-row">
  12. <text class="text_19">评级编号</text>
  13. <text class="text_20" style="margin-left: 86rpx;">{{ item.series_num }}</text>
  14. </view>
  15. <view class="flex-row group_13">
  16. <text class="text_19">名称</text>
  17. <text class="text_20" style="margin-left: 142rpx;">{{ item.title }}</text>
  18. </view>
  19. <view class="flex-row group_13">
  20. <text class="text_19">分数</text>
  21. <text class="text_20" style="margin-left: 142rpx;">{{ item.score }}</text>
  22. </view>
  23. <view class="flex-row group_13">
  24. <text class="text_11">年份</text>
  25. <text class="text_12">{{ item.years }}</text>
  26. </view>
  27. <view class="flex-row group_10">
  28. <text class="text_13">发行商</text>
  29. <text class="text_14">{{ item.publisher }}</text>
  30. </view>
  31. <view class="flex-row group_11">
  32. <text class="text_15">卡片系列名称</text>
  33. <text class="text_16">{{ item.card_series }}</text>
  34. </view>
  35. <view class="flex-row group_12">
  36. <text class="text_17">边子系列名称</text>
  37. <text class="text_18">{{ item.sub_card_series }}</text>
  38. </view>
  39. <view class="flex-row group_13">
  40. <text class="text_19">卡片编码</text>
  41. <text class="text_20">{{ item.card_code }}</text>
  42. </view>
  43. <view class="flex-row group_13">
  44. <text class="text_19">居中分数</text>
  45. <text class="text_20">{{ item.center_s }}</text>
  46. </view>
  47. <view class="flex-row group_13">
  48. <text class="text_19">边框分数</text>
  49. <text class="text_20">{{ item.border_s }}</text>
  50. </view>
  51. <view class="flex-row group_13">
  52. <text class="text_19">卡角分数</text>
  53. <text class="text_20">{{ item.corner_s }}</text>
  54. </view>
  55. <view class="flex-row group_13">
  56. <text class="text_19">表面分数</text>
  57. <text class="text_20">{{ item.front_s }}</text>
  58. </view>
  59. <view class="flex-row group_13">
  60. <text class="text_19">签字分数</text>
  61. <text class="text_20">{{ item.sign_s }}</text>
  62. </view>
  63. <view class="flex-row group_13">
  64. <text class="text_19">鉴定结果</text>
  65. <!-- <text class="text_20">{{ ['不正常','正常'][item.result_type] }}</text> -->
  66. <text class="text_20">{{ item.result_type_text }}</text>
  67. </view>
  68. <view class="flex-row group_13 centerItem">
  69. <text class="text_19">平台显示</text>
  70. <!-- <text class="text_20">{{ ['不正常','正常'][item.result_type] }}</text> -->
  71. <u-switch style="margin-left: 18rpx;" activeColor="#e7a23f"></u-switch>
  72. </view>
  73. <view class="flex-row group_13 centerItem">
  74. <text class="text_19">拍卖链接</text>
  75. <!-- <text class="text_20">{{ ['不正常','正常'][item.result_type] }}</text> -->
  76. <u-input v-model="couponText" placeholder="非必填,请输入优惠券码"></u-input>
  77. </view>
  78. <view class="flex-col group_20" v-if="item.images">
  79. <view class="flex-row">
  80. <image v-for="(img, index_img) in itemImages(item.images_url)" :key="img"
  81. :src="img"
  82. class="equal-division-item"
  83. @click="previewImage(img)"
  84. />
  85. </view>
  86. <view class="section_5"> </view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </template>
  92. <script>
  93. import { gradingDetail } from '@/service/grading.js'
  94. export default {
  95. data() {
  96. return {
  97. id: '',
  98. order: {}
  99. };
  100. },
  101. onLoad(options){
  102. this.id = options.id;
  103. this.getViewGradingDetail();
  104. },
  105. methods: {
  106. async getViewGradingDetail(){
  107. let res = await gradingDetail(this.id);
  108. console.log("res", res)
  109. this.order = res.data.datas.order;
  110. },
  111. itemImages(images){
  112. if(!images) return images
  113. let count = 3-images.length;
  114. if(count<=3){
  115. for(let i =0 ;i<count;i++)
  116. images.push(null)
  117. }
  118. return images;
  119. },
  120. previewImage(url){
  121. if(!url) return
  122. uni.previewImage({
  123. urls: [url],
  124. current: 0
  125. })
  126. }
  127. }
  128. };
  129. </script>
  130. <style scoped lang="scss">
  131. .section_2 {
  132. padding: 40rpx 32rpx;
  133. background-color: rgb(255, 255, 255);
  134. }
  135. .equal-division-item {
  136. flex: 1 1 210rpx;
  137. border-radius: 10rpx;
  138. width: 210rpx;
  139. height: 130rpx;
  140. }
  141. .page {
  142. background-color: #f6f6f6;
  143. width: 100%;
  144. overflow-y: auto;
  145. height: 100%;
  146. }
  147. .group_4 {
  148. padding-top: 2rpx;
  149. flex: 1 1 auto;
  150. overflow-y: auto;
  151. }
  152. .view_2 {
  153. color: rgb(51, 51, 51);
  154. font-size: 32rpx;
  155. font-weight: 500;
  156. line-height: 44rpx;
  157. white-space: nowrap;
  158. }
  159. .view_3 {
  160. margin-top: 30rpx;
  161. }
  162. .section_3 {
  163. margin-top: 30rpx;
  164. padding: 44rpx 32rpx 40rpx;
  165. background-color: rgb(255, 255, 255);
  166. }
  167. .section_4 {
  168. margin-top: 30rpx;
  169. padding: 40rpx 32rpx;
  170. background-color: rgb(255, 255, 255);
  171. margin-bottom: 30rpx;
  172. }
  173. .equal-division {
  174. margin-top: 30rpx;
  175. }
  176. .group_6 {
  177. margin-top: 50rpx;
  178. }
  179. .group_7 {
  180. margin-top: 50rpx;
  181. }
  182. .group_8 {
  183. margin-top: 50rpx;
  184. }
  185. .group_10 {
  186. margin-top: 40rpx;
  187. }
  188. .group_11 {
  189. margin-top: 40rpx;
  190. }
  191. .group_12 {
  192. margin-top: 40rpx;
  193. }
  194. .group_13 {
  195. margin-top: 40rpx;
  196. }
  197. .group_14 {
  198. margin-top: 40rpx;
  199. }
  200. .group_15 {
  201. margin-top: 40rpx;
  202. }
  203. .group_16 {
  204. margin-top: 40rpx;
  205. }
  206. .group_17 {
  207. margin-top: 40rpx;
  208. }
  209. .group_18 {
  210. margin-top: 40rpx;
  211. }
  212. .group_20 {
  213. margin-top: 40rpx;
  214. }
  215. .image_7 {
  216. margin-left: 28rpx;
  217. }
  218. .image_8 {
  219. margin-left: 28rpx;
  220. }
  221. .text_3 {
  222. color: rgb(119, 119, 119);
  223. font-size: 32rpx;
  224. font-weight: 500;
  225. line-height: 44rpx;
  226. white-space: nowrap;
  227. }
  228. .text_4 {
  229. margin-left: 10rpx;
  230. color: rgb(51, 51, 51);
  231. font-size: 32rpx;
  232. font-weight: 500;
  233. line-height: 44rpx;
  234. white-space: nowrap;
  235. }
  236. .text_5 {
  237. color: rgb(119, 119, 119);
  238. font-size: 32rpx;
  239. font-weight: 500;
  240. line-height: 44rpx;
  241. white-space: nowrap;
  242. }
  243. .text_6 {
  244. margin-left: 10rpx;
  245. color: rgb(51, 51, 51);
  246. font-size: 32rpx;
  247. font-weight: 500;
  248. line-height: 44rpx;
  249. white-space: nowrap;
  250. }
  251. .text_7 {
  252. color: rgb(119, 119, 119);
  253. font-size: 32rpx;
  254. font-weight: 500;
  255. line-height: 44rpx;
  256. white-space: nowrap;
  257. }
  258. .text_8 {
  259. margin-left: 74rpx;
  260. color: rgb(51, 51, 51);
  261. font-size: 32rpx;
  262. font-weight: 500;
  263. line-height: 44rpx;
  264. white-space: nowrap;
  265. }
  266. .text_9 {
  267. color: rgb(119, 119, 119);
  268. font-size: 32rpx;
  269. font-weight: 500;
  270. line-height: 44rpx;
  271. white-space: nowrap;
  272. }
  273. .text_10 {
  274. margin-left: 74rpx;
  275. color: rgb(51, 51, 51);
  276. font-size: 32rpx;
  277. font-weight: 500;
  278. line-height: 44rpx;
  279. white-space: nowrap;
  280. }
  281. .text_11 {
  282. color: rgb(119, 119, 119);
  283. font-size: 28rpx;
  284. font-weight: 500;
  285. line-height: 40rpx;
  286. white-space: nowrap;
  287. }
  288. .text_12 {
  289. margin-left: 132rpx;
  290. color: rgb(51, 51, 51);
  291. font-size: 28rpx;
  292. font-weight: 500;
  293. line-height: 40rpx;
  294. white-space: nowrap;
  295. }
  296. .text_13 {
  297. color: rgb(119, 119, 119);
  298. font-size: 28rpx;
  299. font-weight: 500;
  300. line-height: 40rpx;
  301. white-space: nowrap;
  302. }
  303. .text_14 {
  304. margin-left: 104rpx;
  305. color: rgb(51, 51, 51);
  306. font-size: 28rpx;
  307. font-weight: 500;
  308. line-height: 40rpx;
  309. white-space: nowrap;
  310. }
  311. .text_15 {
  312. color: rgb(119, 119, 119);
  313. font-size: 28rpx;
  314. font-weight: 500;
  315. line-height: 40rpx;
  316. white-space: nowrap;
  317. }
  318. .text_16 {
  319. margin-left: 20rpx;
  320. color: rgb(51, 51, 51);
  321. font-size: 28rpx;
  322. font-weight: 500;
  323. line-height: 40rpx;
  324. white-space: nowrap;
  325. }
  326. .text_17 {
  327. color: rgb(119, 119, 119);
  328. font-size: 28rpx;
  329. font-weight: 500;
  330. line-height: 40rpx;
  331. white-space: nowrap;
  332. }
  333. .text_18 {
  334. margin-left: 20rpx;
  335. color: rgb(51, 51, 51);
  336. font-size: 28rpx;
  337. font-weight: 500;
  338. line-height: 40rpx;
  339. white-space: nowrap;
  340. }
  341. .text_19 {
  342. color: rgb(119, 119, 119);
  343. font-size: 28rpx;
  344. font-weight: 500;
  345. line-height: 40rpx;
  346. white-space: nowrap;
  347. }
  348. .text_20 {
  349. margin-left: 76rpx;
  350. color: rgb(51, 51, 51);
  351. font-size: 28rpx;
  352. font-weight: 500;
  353. line-height: 40rpx;
  354. white-space: nowrap;
  355. }
  356. .text_21 {
  357. color: rgb(119, 119, 119);
  358. font-size: 28rpx;
  359. font-weight: 500;
  360. line-height: 40rpx;
  361. white-space: nowrap;
  362. }
  363. .text_22 {
  364. margin-left: 76rpx;
  365. color: rgb(51, 51, 51);
  366. font-size: 28rpx;
  367. font-weight: 500;
  368. line-height: 40rpx;
  369. white-space: nowrap;
  370. }
  371. .text_23 {
  372. color: rgb(119, 119, 119);
  373. font-size: 28rpx;
  374. font-weight: 500;
  375. line-height: 40rpx;
  376. white-space: nowrap;
  377. }
  378. .text_24 {
  379. margin-left: 76rpx;
  380. color: rgb(51, 51, 51);
  381. font-size: 28rpx;
  382. font-weight: 500;
  383. line-height: 40rpx;
  384. white-space: nowrap;
  385. }
  386. .text_25 {
  387. color: rgb(119, 119, 119);
  388. font-size: 28rpx;
  389. font-weight: 500;
  390. line-height: 40rpx;
  391. white-space: nowrap;
  392. }
  393. .text_26 {
  394. margin-left: 76rpx;
  395. color: rgb(51, 51, 51);
  396. font-size: 28rpx;
  397. font-weight: 500;
  398. line-height: 40rpx;
  399. white-space: nowrap;
  400. }
  401. .text_27 {
  402. color: rgb(119, 119, 119);
  403. font-size: 28rpx;
  404. font-weight: 500;
  405. line-height: 40rpx;
  406. white-space: nowrap;
  407. }
  408. .text_28 {
  409. margin-left: 76rpx;
  410. color: rgb(51, 51, 51);
  411. font-size: 28rpx;
  412. font-weight: 500;
  413. line-height: 40rpx;
  414. white-space: nowrap;
  415. }
  416. .text_29 {
  417. color: rgb(119, 119, 119);
  418. font-size: 28rpx;
  419. font-weight: 500;
  420. line-height: 40rpx;
  421. white-space: nowrap;
  422. }
  423. .text_30 {
  424. margin-left: 76rpx;
  425. color: rgb(51, 51, 51);
  426. font-size: 28rpx;
  427. font-weight: 500;
  428. line-height: 40rpx;
  429. white-space: nowrap;
  430. }
  431. .text_31 {
  432. color: rgb(119, 119, 119);
  433. font-size: 32rpx;
  434. font-weight: 500;
  435. line-height: 44rpx;
  436. white-space: nowrap;
  437. }
  438. .text_32 {
  439. margin-left: 10rpx;
  440. color: rgb(51, 51, 51);
  441. font-size: 32rpx;
  442. font-weight: 500;
  443. line-height: 44rpx;
  444. white-space: nowrap;
  445. }
  446. .section_5 {
  447. margin-top: 40rpx;
  448. align-self: center;
  449. border-radius: 4rpx;
  450. width: 196rpx;
  451. height: 8rpx;
  452. }
  453. .image_10 {
  454. margin-left: 28rpx;
  455. }
  456. .image_11 {
  457. margin-left: 28rpx;
  458. }
  459. .centerItem{
  460. align-items: center;
  461. }
  462. </style>