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

457 lines
9.8 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-col group_20" v-if="item.images">
  69. <view class="flex-row">
  70. <image v-for="(img, index_img) in itemImages(item.images_url)" :key="img"
  71. :src="img"
  72. class="equal-division-item"
  73. @click="previewImage(img)"
  74. />
  75. </view>
  76. <view class="section_5"> </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </template>
  82. <script>
  83. import { gradingDetail } from '@/service/grading.js'
  84. export default {
  85. data() {
  86. return {
  87. id: '',
  88. order: {}
  89. };
  90. },
  91. onLoad(options){
  92. this.id = options.id;
  93. this.getViewGradingDetail();
  94. },
  95. methods: {
  96. async getViewGradingDetail(){
  97. let res = await gradingDetail(this.id);
  98. console.log("res", res)
  99. this.order = res.data.datas.order;
  100. },
  101. itemImages(images){
  102. if(!images) return images
  103. let count = 3-images.length;
  104. if(count<=3){
  105. for(let i =0 ;i<count;i++)
  106. images.push(null)
  107. }
  108. return images;
  109. },
  110. previewImage(url){
  111. if(!url) return
  112. uni.previewImage({
  113. urls: [url],
  114. current: 0
  115. })
  116. }
  117. }
  118. };
  119. </script>
  120. <style scoped lang="scss">
  121. .section_2 {
  122. padding: 40rpx 32rpx;
  123. background-color: rgb(255, 255, 255);
  124. }
  125. .equal-division-item {
  126. flex: 1 1 210rpx;
  127. border-radius: 10rpx;
  128. width: 210rpx;
  129. height: 130rpx;
  130. }
  131. .page {
  132. background-color: #f6f6f6;
  133. width: 100%;
  134. overflow-y: auto;
  135. height: 100%;
  136. }
  137. .group_4 {
  138. padding-top: 2rpx;
  139. flex: 1 1 auto;
  140. overflow-y: auto;
  141. }
  142. .view_2 {
  143. color: rgb(51, 51, 51);
  144. font-size: 32rpx;
  145. font-weight: 500;
  146. line-height: 44rpx;
  147. white-space: nowrap;
  148. }
  149. .view_3 {
  150. margin-top: 30rpx;
  151. }
  152. .section_3 {
  153. margin-top: 30rpx;
  154. padding: 44rpx 32rpx 40rpx;
  155. background-color: rgb(255, 255, 255);
  156. }
  157. .section_4 {
  158. margin-top: 30rpx;
  159. padding: 40rpx 32rpx;
  160. background-color: rgb(255, 255, 255);
  161. margin-bottom: 30rpx;
  162. }
  163. .equal-division {
  164. margin-top: 30rpx;
  165. }
  166. .group_6 {
  167. margin-top: 50rpx;
  168. }
  169. .group_7 {
  170. margin-top: 50rpx;
  171. }
  172. .group_8 {
  173. margin-top: 50rpx;
  174. }
  175. .group_10 {
  176. margin-top: 40rpx;
  177. }
  178. .group_11 {
  179. margin-top: 40rpx;
  180. }
  181. .group_12 {
  182. margin-top: 40rpx;
  183. }
  184. .group_13 {
  185. margin-top: 40rpx;
  186. }
  187. .group_14 {
  188. margin-top: 40rpx;
  189. }
  190. .group_15 {
  191. margin-top: 40rpx;
  192. }
  193. .group_16 {
  194. margin-top: 40rpx;
  195. }
  196. .group_17 {
  197. margin-top: 40rpx;
  198. }
  199. .group_18 {
  200. margin-top: 40rpx;
  201. }
  202. .group_20 {
  203. margin-top: 40rpx;
  204. }
  205. .image_7 {
  206. margin-left: 28rpx;
  207. }
  208. .image_8 {
  209. margin-left: 28rpx;
  210. }
  211. .text_3 {
  212. color: rgb(119, 119, 119);
  213. font-size: 32rpx;
  214. font-weight: 500;
  215. line-height: 44rpx;
  216. white-space: nowrap;
  217. }
  218. .text_4 {
  219. margin-left: 10rpx;
  220. color: rgb(51, 51, 51);
  221. font-size: 32rpx;
  222. font-weight: 500;
  223. line-height: 44rpx;
  224. white-space: nowrap;
  225. }
  226. .text_5 {
  227. color: rgb(119, 119, 119);
  228. font-size: 32rpx;
  229. font-weight: 500;
  230. line-height: 44rpx;
  231. white-space: nowrap;
  232. }
  233. .text_6 {
  234. margin-left: 10rpx;
  235. color: rgb(51, 51, 51);
  236. font-size: 32rpx;
  237. font-weight: 500;
  238. line-height: 44rpx;
  239. white-space: nowrap;
  240. }
  241. .text_7 {
  242. color: rgb(119, 119, 119);
  243. font-size: 32rpx;
  244. font-weight: 500;
  245. line-height: 44rpx;
  246. white-space: nowrap;
  247. }
  248. .text_8 {
  249. margin-left: 74rpx;
  250. color: rgb(51, 51, 51);
  251. font-size: 32rpx;
  252. font-weight: 500;
  253. line-height: 44rpx;
  254. white-space: nowrap;
  255. }
  256. .text_9 {
  257. color: rgb(119, 119, 119);
  258. font-size: 32rpx;
  259. font-weight: 500;
  260. line-height: 44rpx;
  261. white-space: nowrap;
  262. }
  263. .text_10 {
  264. margin-left: 74rpx;
  265. color: rgb(51, 51, 51);
  266. font-size: 32rpx;
  267. font-weight: 500;
  268. line-height: 44rpx;
  269. white-space: nowrap;
  270. }
  271. .text_11 {
  272. color: rgb(119, 119, 119);
  273. font-size: 28rpx;
  274. font-weight: 500;
  275. line-height: 40rpx;
  276. white-space: nowrap;
  277. }
  278. .text_12 {
  279. margin-left: 132rpx;
  280. color: rgb(51, 51, 51);
  281. font-size: 28rpx;
  282. font-weight: 500;
  283. line-height: 40rpx;
  284. white-space: nowrap;
  285. }
  286. .text_13 {
  287. color: rgb(119, 119, 119);
  288. font-size: 28rpx;
  289. font-weight: 500;
  290. line-height: 40rpx;
  291. white-space: nowrap;
  292. }
  293. .text_14 {
  294. margin-left: 104rpx;
  295. color: rgb(51, 51, 51);
  296. font-size: 28rpx;
  297. font-weight: 500;
  298. line-height: 40rpx;
  299. white-space: nowrap;
  300. }
  301. .text_15 {
  302. color: rgb(119, 119, 119);
  303. font-size: 28rpx;
  304. font-weight: 500;
  305. line-height: 40rpx;
  306. white-space: nowrap;
  307. }
  308. .text_16 {
  309. margin-left: 20rpx;
  310. color: rgb(51, 51, 51);
  311. font-size: 28rpx;
  312. font-weight: 500;
  313. line-height: 40rpx;
  314. white-space: nowrap;
  315. }
  316. .text_17 {
  317. color: rgb(119, 119, 119);
  318. font-size: 28rpx;
  319. font-weight: 500;
  320. line-height: 40rpx;
  321. white-space: nowrap;
  322. }
  323. .text_18 {
  324. margin-left: 20rpx;
  325. color: rgb(51, 51, 51);
  326. font-size: 28rpx;
  327. font-weight: 500;
  328. line-height: 40rpx;
  329. white-space: nowrap;
  330. }
  331. .text_19 {
  332. color: rgb(119, 119, 119);
  333. font-size: 28rpx;
  334. font-weight: 500;
  335. line-height: 40rpx;
  336. white-space: nowrap;
  337. }
  338. .text_20 {
  339. margin-left: 76rpx;
  340. color: rgb(51, 51, 51);
  341. font-size: 28rpx;
  342. font-weight: 500;
  343. line-height: 40rpx;
  344. white-space: nowrap;
  345. }
  346. .text_21 {
  347. color: rgb(119, 119, 119);
  348. font-size: 28rpx;
  349. font-weight: 500;
  350. line-height: 40rpx;
  351. white-space: nowrap;
  352. }
  353. .text_22 {
  354. margin-left: 76rpx;
  355. color: rgb(51, 51, 51);
  356. font-size: 28rpx;
  357. font-weight: 500;
  358. line-height: 40rpx;
  359. white-space: nowrap;
  360. }
  361. .text_23 {
  362. color: rgb(119, 119, 119);
  363. font-size: 28rpx;
  364. font-weight: 500;
  365. line-height: 40rpx;
  366. white-space: nowrap;
  367. }
  368. .text_24 {
  369. margin-left: 76rpx;
  370. color: rgb(51, 51, 51);
  371. font-size: 28rpx;
  372. font-weight: 500;
  373. line-height: 40rpx;
  374. white-space: nowrap;
  375. }
  376. .text_25 {
  377. color: rgb(119, 119, 119);
  378. font-size: 28rpx;
  379. font-weight: 500;
  380. line-height: 40rpx;
  381. white-space: nowrap;
  382. }
  383. .text_26 {
  384. margin-left: 76rpx;
  385. color: rgb(51, 51, 51);
  386. font-size: 28rpx;
  387. font-weight: 500;
  388. line-height: 40rpx;
  389. white-space: nowrap;
  390. }
  391. .text_27 {
  392. color: rgb(119, 119, 119);
  393. font-size: 28rpx;
  394. font-weight: 500;
  395. line-height: 40rpx;
  396. white-space: nowrap;
  397. }
  398. .text_28 {
  399. margin-left: 76rpx;
  400. color: rgb(51, 51, 51);
  401. font-size: 28rpx;
  402. font-weight: 500;
  403. line-height: 40rpx;
  404. white-space: nowrap;
  405. }
  406. .text_29 {
  407. color: rgb(119, 119, 119);
  408. font-size: 28rpx;
  409. font-weight: 500;
  410. line-height: 40rpx;
  411. white-space: nowrap;
  412. }
  413. .text_30 {
  414. margin-left: 76rpx;
  415. color: rgb(51, 51, 51);
  416. font-size: 28rpx;
  417. font-weight: 500;
  418. line-height: 40rpx;
  419. white-space: nowrap;
  420. }
  421. .text_31 {
  422. color: rgb(119, 119, 119);
  423. font-size: 32rpx;
  424. font-weight: 500;
  425. line-height: 44rpx;
  426. white-space: nowrap;
  427. }
  428. .text_32 {
  429. margin-left: 10rpx;
  430. color: rgb(51, 51, 51);
  431. font-size: 32rpx;
  432. font-weight: 500;
  433. line-height: 44rpx;
  434. white-space: nowrap;
  435. }
  436. .section_5 {
  437. margin-top: 40rpx;
  438. align-self: center;
  439. border-radius: 4rpx;
  440. width: 196rpx;
  441. height: 8rpx;
  442. }
  443. .image_10 {
  444. margin-left: 28rpx;
  445. }
  446. .image_11 {
  447. margin-left: 28rpx;
  448. }
  449. </style>