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

445 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
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.order_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">
  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. uni.setClipboardData({
  106. data: '测试'
  107. })
  108. }
  109. }
  110. };
  111. </script>
  112. <style scoped lang="scss">
  113. .equal-division-item {
  114. flex: 1 1 330rpx;
  115. border-radius: 10rpx;
  116. width: 330rpx;
  117. height: 396rpx;
  118. &:nth-child(2n){
  119. margin-left: 25rpx;
  120. }
  121. }
  122. .left-text-wrapper {
  123. width: 82rpx;
  124. }
  125. .page {
  126. background-color: #f6f6f6;
  127. width: 100%;
  128. overflow-y: auto;
  129. height: 100%;
  130. }
  131. .group_4 {
  132. padding-top: 2rpx;
  133. flex: 1 1 auto;
  134. overflow-y: auto;
  135. }
  136. .section_2 {
  137. padding: 40rpx 0;
  138. background-color: rgb(255, 255, 255);
  139. }
  140. .section_3 {
  141. margin-top: 30rpx;
  142. padding: 40rpx 32rpx;
  143. background-color: rgb(255, 255, 255);
  144. }
  145. .section_4 {
  146. margin-top: 30rpx;
  147. padding: 40rpx 34rpx;
  148. background-color: rgb(255, 255, 255);
  149. }
  150. .section_6 {
  151. margin-top: 30rpx;
  152. padding: 0 32rpx 16rpx;
  153. background-color: rgb(255, 255, 255);
  154. }
  155. .equal-division {
  156. margin-left: 32rpx;
  157. margin-right: 33rpx;
  158. }
  159. .group_6 {
  160. margin-top: 50rpx;
  161. }
  162. .group_7 {
  163. margin-top: 50rpx;
  164. }
  165. .group_8 {
  166. margin-top: 50rpx;
  167. }
  168. .section_5 {
  169. margin-right: 78rpx;
  170. margin-top: 6rpx;
  171. padding: 80rpx 0;
  172. background-image: url('https://qxk-img.leadfyy.com/qxk_app_images/pingfenkuang.png');
  173. background-position: 0px 0px;
  174. background-size: 100% 100%;
  175. background-repeat: no-repeat;
  176. width: 306rpx;
  177. height: 404rpx;
  178. }
  179. .group_16 {
  180. padding: 40rpx 0;
  181. }
  182. .image_7 {
  183. margin-left: 25rpx;
  184. }
  185. .text_2 {
  186. color: rgb(119, 119, 119);
  187. font-size: 32rpx;
  188. font-weight: 500;
  189. line-height: 44rpx;
  190. white-space: nowrap;
  191. }
  192. .text_3 {
  193. margin-left: 92rpx;
  194. color: rgb(51, 51, 51);
  195. font-size: 32rpx;
  196. font-weight: 500;
  197. line-height: 44rpx;
  198. white-space: nowrap;
  199. }
  200. .text_4 {
  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_5 {
  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_6 {
  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_7 {
  223. margin-left: 60rpx;
  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_8 {
  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_9 {
  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. .group_13 {
  246. margin-top: 50rpx;
  247. white-space: nowrap;
  248. }
  249. .group_14 {
  250. margin-top: 50rpx;
  251. white-space: nowrap;
  252. }
  253. .group_15 {
  254. margin-top: 50rpx;
  255. white-space: nowrap;
  256. }
  257. .text_20 {
  258. color: rgb(34, 34, 34);
  259. font-size: 120rpx;
  260. line-height: 168rpx;
  261. white-space: nowrap;
  262. }
  263. .text_21 {
  264. margin-top: 36rpx;
  265. color: rgb(34, 34, 34);
  266. font-size: 28rpx;
  267. font-weight: 500;
  268. line-height: 40rpx;
  269. white-space: nowrap;
  270. }
  271. .section_7 {
  272. border-radius: 10rpx;
  273. border: solid 2rpx rgb(246, 246, 246);
  274. }
  275. .button {
  276. margin-top: 40rpx;
  277. padding: 26rpx 0;
  278. color: rgb(255, 255, 255);
  279. font-size: 32rpx;
  280. font-weight: 600;
  281. line-height: 44rpx;
  282. white-space: nowrap;
  283. background-color: rgb(231, 162, 63);
  284. border-radius: 10rpx;
  285. }
  286. .group_11 {
  287. white-space: nowrap;
  288. }
  289. .group_12 {
  290. margin-top: 40rpx;
  291. white-space: nowrap;
  292. }
  293. .text_14 {
  294. color: rgb(119, 119, 119);
  295. font-size: 32rpx;
  296. font-weight: 500;
  297. line-height: 44rpx;
  298. }
  299. .text_15 {
  300. color: rgb(51, 51, 51);
  301. font-size: 32rpx;
  302. font-weight: 700;
  303. line-height: 44rpx;
  304. }
  305. .text_16 {
  306. color: rgb(119, 119, 119);
  307. font-size: 32rpx;
  308. font-weight: 500;
  309. line-height: 44rpx;
  310. }
  311. .text_17 {
  312. color: rgb(51, 51, 51);
  313. font-size: 32rpx;
  314. font-weight: 700;
  315. line-height: 44rpx;
  316. }
  317. .text_18 {
  318. color: rgb(119, 119, 119);
  319. font-size: 32rpx;
  320. font-weight: 500;
  321. line-height: 44rpx;
  322. }
  323. .text_19 {
  324. color: rgb(51, 51, 51);
  325. font-size: 32rpx;
  326. font-weight: 700;
  327. line-height: 44rpx;
  328. }
  329. .section_8 {
  330. padding: 20rpx 130rpx;
  331. color: rgb(85, 85, 85);
  332. font-size: 28rpx;
  333. font-weight: 500;
  334. line-height: 40rpx;
  335. white-space: nowrap;
  336. background-color: rgb(246, 246, 246);
  337. border-radius: 10rpx 10rpx 0px 0px;
  338. }
  339. .group_17 {
  340. padding: 16rpx 158rpx;
  341. color: rgb(51, 51, 51);
  342. font-size: 32rpx;
  343. font-weight: 600;
  344. line-height: 44rpx;
  345. white-space: nowrap;
  346. border-bottom: solid 2rpx rgb(246, 246, 246);
  347. }
  348. .group_18 {
  349. padding: 16rpx 150rpx;
  350. color: rgb(51, 51, 51);
  351. font-size: 32rpx;
  352. font-weight: 600;
  353. line-height: 44rpx;
  354. white-space: nowrap;
  355. border-bottom: solid 2rpx rgb(246, 246, 246);
  356. }
  357. .group_19 {
  358. padding: 16rpx 154rpx 0 162rpx;
  359. color: rgb(51, 51, 51);
  360. font-size: 32rpx;
  361. font-weight: 600;
  362. line-height: 44rpx;
  363. white-space: nowrap;
  364. position: relative;
  365. }
  366. .group_20 {
  367. margin-top: 14rpx;
  368. padding: 18rpx 150rpx 14rpx;
  369. color: rgb(51, 51, 51);
  370. font-size: 32rpx;
  371. font-weight: 600;
  372. line-height: 44rpx;
  373. white-space: nowrap;
  374. border-top: solid 2rpx rgb(246, 246, 246);
  375. border-bottom: solid 2rpx rgb(246, 246, 246);
  376. }
  377. .group_21 {
  378. padding: 16rpx 152rpx 16rpx 164rpx;
  379. color: rgb(51, 51, 51);
  380. font-size: 32rpx;
  381. font-weight: 600;
  382. line-height: 44rpx;
  383. white-space: nowrap;
  384. border-bottom: solid 2rpx rgb(246, 246, 246);
  385. }
  386. .group_22 {
  387. padding: 16rpx 134rpx 20rpx;
  388. color: rgb(51, 51, 51);
  389. font-size: 32rpx;
  390. font-weight: 600;
  391. line-height: 44rpx;
  392. white-space: nowrap;
  393. }
  394. .text_10 {
  395. color: rgb(119, 119, 119);
  396. font-size: 32rpx;
  397. font-weight: 500;
  398. line-height: 44rpx;
  399. }
  400. .text_11 {
  401. color: rgb(51, 51, 51);
  402. font-size: 32rpx;
  403. font-weight: 700;
  404. line-height: 44rpx;
  405. }
  406. .text_12 {
  407. color: rgb(119, 119, 119);
  408. font-size: 32rpx;
  409. font-weight: 500;
  410. line-height: 44rpx;
  411. }
  412. .text_13 {
  413. color: rgb(51, 51, 51);
  414. font-size: 32rpx;
  415. font-weight: 700;
  416. line-height: 44rpx;
  417. }
  418. .section_9 {
  419. align-self: center;
  420. background-color: rgb(255, 255, 255);
  421. width: 82rpx;
  422. height: 2rpx;
  423. }
  424. .text_25 {
  425. margin-right: 6rpx;
  426. }
  427. .text_27 {
  428. margin-right: 12rpx;
  429. }
  430. .text_35 {
  431. margin-right: 18rpx;
  432. }
  433. .image_8 {
  434. align-self: center;
  435. width: 20rpx;
  436. height: 22rpx;
  437. }
  438. .text_34 {
  439. margin-left: 8rpx;
  440. }
  441. </style>