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

483 lines
11 KiB

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