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

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