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

446 lines
10 KiB

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