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

447 lines
10 KiB

  1. <template>
  2. <view class="flex-col page">
  3. <view class="flex-col group_4">
  4. <view class="flex-col section_2">
  5. <view class="flex-row equal-division">
  6. <!-- todo 评卡详情图 -->
  7. <image
  8. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497793576171527.png"
  9. class="equal-division-item"
  10. />
  11. <image
  12. src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497793686883881.png"
  13. class="equal-division-item image_7"
  14. />
  15. </view>
  16. </view>
  17. <view class="flex-col section_3">
  18. <view class="flex-row">
  19. <text class="text_2">编号</text>
  20. <text class="text_3">{{ details.order.order_num }}</text>
  21. </view>
  22. <view class="flex-row group_6">
  23. <text class="text_4">系列</text>
  24. <text class="text_5">{{ details.order.card_series }}</text>
  25. </view>
  26. <view class="flex-row group_7">
  27. <text class="text_6">子系列</text>
  28. <text class="text_7">{{ details.order.sub_card_series }}</text>
  29. </view>
  30. <view class="flex-row group_8">
  31. <text class="text_8">发行商</text>
  32. <text class="text_9">{{ details.order.publisher }}</text>
  33. </view>
  34. </view>
  35. <view class="justify-between section_4">
  36. <view class="flex-col">
  37. <view class="flex-col items-center">
  38. <view class="group_11">
  39. <text class="text_10">居中分</text>
  40. <text class="text_11">{{ details.order.center_s }}</text>
  41. </view>
  42. <view class="group_12">
  43. <text class="text_12">边框分</text>
  44. <text class="text_13">{{ details.order.border_s }}</text>
  45. </view>
  46. </view>
  47. <view class="group_13">
  48. <text class="text_14">表面分</text>
  49. <text class="text_15">{{ details.order.front }}</text>
  50. </view>
  51. <view class="group_14">
  52. <text class="text_16">签字分</text>
  53. <text class="text_17">{{ details.order.sign_s }}</text>
  54. </view>
  55. <view class="group_15">
  56. <text class="text_18">卡角分</text>
  57. <text class="text_19">{{ details.order.corner_s }}</text>
  58. </view>
  59. </view>
  60. <view class="flex-col items-center section_5">
  61. <text class="text_20">{{ details.order.total_s }}</text>
  62. <text class="text_21">总评分</text>
  63. </view>
  64. </view>
  65. <view class="flex-col section_6">
  66. <view class="flex-col group_16">
  67. <lf-table :Header="header" :Content="details.history" height="auto" width="686" :showNumber="false" v-if="$isRight(details.history)"></lf-table>
  68. <view class="flex-col items-center button" @click="setClipboardData">
  69. <text>复制拍卖链接</text>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </template>
  76. <script>
  77. import lfTable from '@/components/lf-table.vue';
  78. import { gradingDetail } from '@/service/grading.js'
  79. export default {
  80. components: {
  81. lfTable
  82. },
  83. data() {
  84. return {
  85. header: [{
  86. text: '评级',
  87. width: 343,
  88. key: 'title'
  89. },{
  90. text: '数量',
  91. width: 343,
  92. key: 'num'
  93. }],
  94. details: {},
  95. id: ''
  96. };
  97. },
  98. onLoad(options){
  99. this.id = options.id || 4; // todo 先写死id
  100. this.getGradingDetail();
  101. },
  102. methods: {
  103. async getGradingDetail(){
  104. let res = await gradingDetail(this.id);
  105. console.log("res", res);
  106. this.details = res.data.datas;
  107. },
  108. // 复制拍卖链接 todo
  109. setClipboardData(){
  110. uni.setClipboardData({
  111. data: '测试'
  112. })
  113. }
  114. }
  115. };
  116. </script>
  117. <style scoped lang="css">
  118. .equal-division-item {
  119. flex: 1 1 330rpx;
  120. border-radius: 10rpx;
  121. width: 330rpx;
  122. height: 396rpx;
  123. }
  124. .left-text-wrapper {
  125. width: 82rpx;
  126. }
  127. .page {
  128. background-color: #f6f6f6;
  129. width: 100%;
  130. overflow-y: auto;
  131. height: 100%;
  132. }
  133. .group_4 {
  134. padding-top: 2rpx;
  135. flex: 1 1 auto;
  136. overflow-y: auto;
  137. }
  138. .section_2 {
  139. padding: 40rpx 0;
  140. background-color: rgb(255, 255, 255);
  141. }
  142. .section_3 {
  143. margin-top: 30rpx;
  144. padding: 40rpx 32rpx;
  145. background-color: rgb(255, 255, 255);
  146. }
  147. .section_4 {
  148. margin-top: 30rpx;
  149. padding: 40rpx 34rpx;
  150. background-color: rgb(255, 255, 255);
  151. }
  152. .section_6 {
  153. margin-top: 30rpx;
  154. padding: 0 32rpx 16rpx;
  155. background-color: rgb(255, 255, 255);
  156. }
  157. .equal-division {
  158. margin-left: 32rpx;
  159. margin-right: 33rpx;
  160. }
  161. .group_6 {
  162. margin-top: 50rpx;
  163. }
  164. .group_7 {
  165. margin-top: 50rpx;
  166. }
  167. .group_8 {
  168. margin-top: 50rpx;
  169. }
  170. .section_5 {
  171. margin-right: 78rpx;
  172. margin-top: 6rpx;
  173. padding: 80rpx 0;
  174. background-image: url('https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/62677e395a7e3f03107ffc5f/62677e4a35a7e10011e93a80/16509497793713644030.png');
  175. background-position: 0px 0px;
  176. background-size: 100% 100%;
  177. background-repeat: no-repeat;
  178. width: 306rpx;
  179. height: 404rpx;
  180. }
  181. .group_16 {
  182. padding: 40rpx 0;
  183. }
  184. .image_7 {
  185. margin-left: 25rpx;
  186. }
  187. .text_2 {
  188. color: rgb(119, 119, 119);
  189. font-size: 32rpx;
  190. font-weight: 500;
  191. line-height: 44rpx;
  192. white-space: nowrap;
  193. }
  194. .text_3 {
  195. margin-left: 92rpx;
  196. color: rgb(51, 51, 51);
  197. font-size: 32rpx;
  198. font-weight: 500;
  199. line-height: 44rpx;
  200. white-space: nowrap;
  201. }
  202. .text_4 {
  203. color: rgb(119, 119, 119);
  204. font-size: 32rpx;
  205. font-weight: 500;
  206. line-height: 44rpx;
  207. white-space: nowrap;
  208. }
  209. .text_5 {
  210. margin-left: 92rpx;
  211. color: rgb(51, 51, 51);
  212. font-size: 32rpx;
  213. font-weight: 500;
  214. line-height: 44rpx;
  215. white-space: nowrap;
  216. }
  217. .text_6 {
  218. color: rgb(119, 119, 119);
  219. font-size: 32rpx;
  220. font-weight: 500;
  221. line-height: 44rpx;
  222. white-space: nowrap;
  223. }
  224. .text_7 {
  225. margin-left: 60rpx;
  226. color: rgb(51, 51, 51);
  227. font-size: 32rpx;
  228. font-weight: 500;
  229. line-height: 44rpx;
  230. white-space: nowrap;
  231. }
  232. .text_8 {
  233. color: rgb(119, 119, 119);
  234. font-size: 32rpx;
  235. font-weight: 500;
  236. line-height: 44rpx;
  237. white-space: nowrap;
  238. }
  239. .text_9 {
  240. margin-left: 60rpx;
  241. color: rgb(51, 51, 51);
  242. font-size: 32rpx;
  243. font-weight: 500;
  244. line-height: 44rpx;
  245. white-space: nowrap;
  246. }
  247. .group_13 {
  248. margin-top: 50rpx;
  249. white-space: nowrap;
  250. }
  251. .group_14 {
  252. margin-top: 50rpx;
  253. white-space: nowrap;
  254. }
  255. .group_15 {
  256. margin-top: 50rpx;
  257. white-space: nowrap;
  258. }
  259. .text_20 {
  260. color: rgb(34, 34, 34);
  261. font-size: 120rpx;
  262. line-height: 168rpx;
  263. white-space: nowrap;
  264. }
  265. .text_21 {
  266. margin-top: 36rpx;
  267. color: rgb(34, 34, 34);
  268. font-size: 28rpx;
  269. font-weight: 500;
  270. line-height: 40rpx;
  271. white-space: nowrap;
  272. }
  273. .section_7 {
  274. border-radius: 10rpx;
  275. border: solid 2rpx rgb(246, 246, 246);
  276. }
  277. .button {
  278. margin-top: 40rpx;
  279. padding: 26rpx 0;
  280. color: rgb(255, 255, 255);
  281. font-size: 32rpx;
  282. font-weight: 600;
  283. line-height: 44rpx;
  284. white-space: nowrap;
  285. background-color: rgb(231, 162, 63);
  286. border-radius: 10rpx;
  287. }
  288. .group_11 {
  289. white-space: nowrap;
  290. }
  291. .group_12 {
  292. margin-top: 40rpx;
  293. white-space: nowrap;
  294. }
  295. .text_14 {
  296. color: rgb(119, 119, 119);
  297. font-size: 32rpx;
  298. font-weight: 500;
  299. line-height: 44rpx;
  300. }
  301. .text_15 {
  302. color: rgb(51, 51, 51);
  303. font-size: 32rpx;
  304. font-weight: 700;
  305. line-height: 44rpx;
  306. }
  307. .text_16 {
  308. color: rgb(119, 119, 119);
  309. font-size: 32rpx;
  310. font-weight: 500;
  311. line-height: 44rpx;
  312. }
  313. .text_17 {
  314. color: rgb(51, 51, 51);
  315. font-size: 32rpx;
  316. font-weight: 700;
  317. line-height: 44rpx;
  318. }
  319. .text_18 {
  320. color: rgb(119, 119, 119);
  321. font-size: 32rpx;
  322. font-weight: 500;
  323. line-height: 44rpx;
  324. }
  325. .text_19 {
  326. color: rgb(51, 51, 51);
  327. font-size: 32rpx;
  328. font-weight: 700;
  329. line-height: 44rpx;
  330. }
  331. .section_8 {
  332. padding: 20rpx 130rpx;
  333. color: rgb(85, 85, 85);
  334. font-size: 28rpx;
  335. font-weight: 500;
  336. line-height: 40rpx;
  337. white-space: nowrap;
  338. background-color: rgb(246, 246, 246);
  339. border-radius: 10rpx 10rpx 0px 0px;
  340. }
  341. .group_17 {
  342. padding: 16rpx 158rpx;
  343. color: rgb(51, 51, 51);
  344. font-size: 32rpx;
  345. font-weight: 600;
  346. line-height: 44rpx;
  347. white-space: nowrap;
  348. border-bottom: solid 2rpx rgb(246, 246, 246);
  349. }
  350. .group_18 {
  351. padding: 16rpx 150rpx;
  352. color: rgb(51, 51, 51);
  353. font-size: 32rpx;
  354. font-weight: 600;
  355. line-height: 44rpx;
  356. white-space: nowrap;
  357. border-bottom: solid 2rpx rgb(246, 246, 246);
  358. }
  359. .group_19 {
  360. padding: 16rpx 154rpx 0 162rpx;
  361. color: rgb(51, 51, 51);
  362. font-size: 32rpx;
  363. font-weight: 600;
  364. line-height: 44rpx;
  365. white-space: nowrap;
  366. position: relative;
  367. }
  368. .group_20 {
  369. margin-top: 14rpx;
  370. padding: 18rpx 150rpx 14rpx;
  371. color: rgb(51, 51, 51);
  372. font-size: 32rpx;
  373. font-weight: 600;
  374. line-height: 44rpx;
  375. white-space: nowrap;
  376. border-top: solid 2rpx rgb(246, 246, 246);
  377. border-bottom: solid 2rpx rgb(246, 246, 246);
  378. }
  379. .group_21 {
  380. padding: 16rpx 152rpx 16rpx 164rpx;
  381. color: rgb(51, 51, 51);
  382. font-size: 32rpx;
  383. font-weight: 600;
  384. line-height: 44rpx;
  385. white-space: nowrap;
  386. border-bottom: solid 2rpx rgb(246, 246, 246);
  387. }
  388. .group_22 {
  389. padding: 16rpx 134rpx 20rpx;
  390. color: rgb(51, 51, 51);
  391. font-size: 32rpx;
  392. font-weight: 600;
  393. line-height: 44rpx;
  394. white-space: nowrap;
  395. }
  396. .text_10 {
  397. color: rgb(119, 119, 119);
  398. font-size: 32rpx;
  399. font-weight: 500;
  400. line-height: 44rpx;
  401. }
  402. .text_11 {
  403. color: rgb(51, 51, 51);
  404. font-size: 32rpx;
  405. font-weight: 700;
  406. line-height: 44rpx;
  407. }
  408. .text_12 {
  409. color: rgb(119, 119, 119);
  410. font-size: 32rpx;
  411. font-weight: 500;
  412. line-height: 44rpx;
  413. }
  414. .text_13 {
  415. color: rgb(51, 51, 51);
  416. font-size: 32rpx;
  417. font-weight: 700;
  418. line-height: 44rpx;
  419. }
  420. .section_9 {
  421. align-self: center;
  422. background-color: rgb(255, 255, 255);
  423. width: 82rpx;
  424. height: 2rpx;
  425. }
  426. .text_25 {
  427. margin-right: 6rpx;
  428. }
  429. .text_27 {
  430. margin-right: 12rpx;
  431. }
  432. .text_35 {
  433. margin-right: 18rpx;
  434. }
  435. .image_8 {
  436. align-self: center;
  437. width: 20rpx;
  438. height: 22rpx;
  439. }
  440. .text_34 {
  441. margin-left: 8rpx;
  442. }
  443. </style>