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

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