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

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