porducthall.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. <template>
  2. <view class="container">
  3. <view class="carousel">
  4. <swiper indicator-dots :circular="true" duration="400">
  5. <!-- <swiper-item class="swiper-item" v-for="(item, index) in imgList" :key="index">
  6. <view class="image-wrapper"><image :src="item" class="loaded" mode="scaleToFill"></image></view>
  7. </swiper-item> -->
  8. </swiper>
  9. <view class="title flex">
  10. <view class="title-num">
  11. <text>¥</text>
  12. 1290
  13. </view>
  14. <view class="title-time">挂售时间:18:30-19:30</view>
  15. </view>
  16. </view>
  17. <view class="title-main flex">
  18. <view class="tm-left">
  19. <view class="tm-title clamp">趣豆商城挂售礼盒</view>
  20. <view class="tm-people flex">
  21. <image class="people-image" src="../../static/img/people.png" mode=""></image>
  22. <view class="people-name">归属人:李丹丹</view>
  23. </view>
  24. </view>
  25. <view class="tm-right flex">
  26. <view class="tmr-item">
  27. <image class="tmr-image" src="../../static/img/shua.png" mode=""></image>
  28. <view class="tmr-font">刷新倒计时</view>
  29. </view>
  30. <view class="tmr-item" @click="nav('/pages/hall/history')">
  31. <image class="tmr-image1" src="../../static/img/yuan.png" mode=""></image>
  32. <view class="tmr-font">溯源</view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="dz"></view>
  37. <view class="introduce">
  38. <view class="introduct-title">
  39. <image class="introduce-image" src="../../static/img/productIcon.png" mode=""></image>
  40. <view class="introduce-font">艺术品挂售交易平台</view>
  41. </view>
  42. <view class="introduct-main">
  43. <view class="im-item">
  44. <image class="im-image" src="../../static/img/jian.png" mode=""></image>
  45. <view class="im-font">大师作品</view>
  46. </view>
  47. <view class="im-item">
  48. <image class="im-image" src="../../static/img/zheng.png" mode=""></image>
  49. <view class="im-font">证书收藏</view>
  50. </view>
  51. <view class="im-item">
  52. <image class="im-image" src="../../static/img/gong.png" mode=""></image>
  53. <view class="im-font">自由交易</view>
  54. </view>
  55. </view>
  56. </view>
  57. <view class="dz"></view>
  58. <view class="explain">
  59. <view class="explain-title">商品挂售说明</view>
  60. <view class="explain-main">
  61. <view class="explainImage-box">
  62. <image class="explain-image-item" src="../../static/img/lc1.png" mode=""></image>
  63. <image class="explain-image-jiant" src="../../static/img/jingt.png" mode=""></image>
  64. <image class="explain-image-item" src="../../static/img/lc2.png" mode=""></image>
  65. <image class="explain-image-jiant" src="../../static/img/jingt.png" mode=""></image>
  66. <image class="explain-image-item" src="../../static/img/lc3.png" mode=""></image>
  67. <image class="explain-image-jiant" src="../../static/img/jingt.png" mode=""></image>
  68. <image class="explain-image-item" src="../../static/img/lc4.png" mode=""></image>
  69. </view>
  70. <view class="explainfont-box">
  71. <view class="explain-font-item">挂售商品</view>
  72. <view class="explain-font-item">支付货款</view>
  73. <view class="explain-font-item">卖家发货</view>
  74. <view class="explain-font-item">挂售/提货</view>
  75. </view>
  76. </view>
  77. </view>
  78. <view class="detail-desc">
  79. <view class="d-header"><text>商品详情</text></view>
  80. <!-- <rich-text class="detail-centent" :nodes="goodsObjact.description"></rich-text>
  81. <view :class="{ contentBottomHeight: goodsType == 1 || goodsType == 2, goodsBottom: goodsType == 0 }"></view> -->
  82. </view>
  83. <view class="bottom flex">
  84. <view class="bottom-item">
  85. <image class="bi-image" src="../../static/img/quan.png" mode=""></image>
  86. <view class="bottom-font">艺金券</view>
  87. <view class="bottom-num">200</view>
  88. </view>
  89. <view class="shu"></view>
  90. <view class="bottom-item" @click="openKf()">
  91. <image class="bi-image" src="../../static/img/kf.png" mode=""></image>
  92. <view class="bottom-font">联系</view>
  93. <view class="bottom-num">客服</view>
  94. </view>
  95. <view class="btn">立即购买</view>
  96. </view>
  97. <uni-popup ref="popupkf" type="center">
  98. <view class="popup-box">
  99. <view class="img"><image src="../../static/img/img009.png" mode=""></image></view>
  100. <view class="mian">
  101. <view class="delivery">
  102. <view class="title">已经为您定制专属客服</view>
  103. <image src="../../static/img/img010.png" mode=""></image>
  104. </view>
  105. <view class="nocancel">客服VX:{{ text }}</view>
  106. <view class="comfirm-box">
  107. <view class="cancel" @click="cancel">取消</view>
  108. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  109. </view>
  110. </view>
  111. </view>
  112. </uni-popup>
  113. </view>
  114. </template>
  115. <script>
  116. export default {
  117. data() {
  118. return {
  119. text:'123456',
  120. };
  121. },
  122. methods: {
  123. // 打开客服
  124. openKf() {
  125. this.$refs.popupkf.open();
  126. },
  127. // 关闭客服
  128. cancel() {
  129. this.$refs.popupkf.close();
  130. },
  131. nav(url) {
  132. uni.navigateTo({
  133. url
  134. })
  135. }
  136. }
  137. };
  138. </script>
  139. <style lang="less">
  140. .carousel {
  141. width: 750rpx;
  142. height: 710rpx;
  143. background: #000000;
  144. position: relative;
  145. .title {
  146. background: linear-gradient(90deg, #ef4e51 0%, #f4713b 100%);
  147. width: 750rpx;
  148. position: absolute;
  149. bottom: 0;
  150. padding: 30rpx;
  151. .title-num {
  152. font-size: 50rpx;
  153. font-family: PingFang SC;
  154. font-weight: bold;
  155. color: #ffffff;
  156. text {
  157. font-size: 30rpx;
  158. }
  159. }
  160. .title-time {
  161. font-size: 28rpx;
  162. font-family: PingFang SC;
  163. font-weight: bold;
  164. color: #ffffff;
  165. }
  166. }
  167. }
  168. .title-main {
  169. padding: 30rpx 30rpx 30rpx 22rpx;
  170. .tm-left {
  171. width: 50%;
  172. .tm-title {
  173. width: 100%;
  174. font-size: 30rpx;
  175. font-family: PingFang SC;
  176. font-weight: bold;
  177. color: #1d2023;
  178. }
  179. .tm-people {
  180. margin-top: 30rpx;
  181. justify-content: flex-start;
  182. .people-image {
  183. width: 22rpx;
  184. height: 22rpx;
  185. flex-shrink: 0;
  186. }
  187. .people-name {
  188. margin-left: 12rpx;
  189. font-size: 24rpx;
  190. font-family: PingFang SC;
  191. font-weight: 500;
  192. color: #333333;
  193. }
  194. }
  195. }
  196. .tm-right {
  197. justify-content: flex-end;
  198. .tmr-item {
  199. margin-left: 38rpx;
  200. display: flex;
  201. flex-direction: column;
  202. align-items: center;
  203. .tmr-image {
  204. width: 42rpx;
  205. height: 38rpx;
  206. }
  207. .tmr-image1 {
  208. width: 42rpx;
  209. height: 42rpx;
  210. }
  211. .tmr-font {
  212. margin-top: 16rpx;
  213. font-size: 24rpx;
  214. font-family: PingFang SC;
  215. font-weight: 500;
  216. color: #333333;
  217. }
  218. }
  219. }
  220. }
  221. .dz {
  222. width: 750rpx;
  223. height: 20rpx;
  224. background: #f8f6f6;
  225. }
  226. .introduce {
  227. padding: 40rpx 24rpx;
  228. .introduct-title {
  229. display: flex;
  230. align-items: center;
  231. .introduce-image {
  232. width: 36rpx;
  233. height: 36rpx;
  234. }
  235. .introduce-font {
  236. margin-left: 10rpx;
  237. font-size: 28rpx;
  238. font-family: PingFang SC;
  239. font-weight: bold;
  240. color: #333333;
  241. }
  242. }
  243. .introduct-main {
  244. display: flex;
  245. justify-content: space-between;
  246. margin-top: 26rpx;
  247. .im-item {
  248. display: flex;
  249. align-items: center;
  250. .im-image {
  251. width: 44rpx;
  252. height: 44rpx;
  253. }
  254. .im-font {
  255. margin-left: 6rpx;
  256. font-size: 28rpx;
  257. font-family: PingFang SC;
  258. font-weight: bold;
  259. color: #333333;
  260. }
  261. }
  262. }
  263. }
  264. .explain {
  265. padding: 40rpx 34rpx 46rpx 34rpx;
  266. .explain-title {
  267. font-size: 32rpx;
  268. font-family: PingFang SC;
  269. font-weight: bold;
  270. color: #333333;
  271. }
  272. .explain-main {
  273. margin-top: 52rpx;
  274. .explainImage-box {
  275. display: flex;
  276. justify-content: space-around;
  277. align-items: center;
  278. .explain-image-item {
  279. width: 42rpx;
  280. height: 40rpx;
  281. }
  282. .explain-image-jiant {
  283. width: 38rpx;
  284. height: 10rpx;
  285. }
  286. }
  287. .explainfont-box {
  288. margin-top: 20rpx;
  289. display: flex;
  290. justify-content: space-between;
  291. .explain-font-item {
  292. font-size: 28rpx;
  293. font-family: PingFang SC;
  294. font-weight: 500;
  295. color: #333333;
  296. }
  297. }
  298. }
  299. }
  300. .detail-desc {
  301. background: #fff;
  302. margin-top: 16rpx;
  303. /deep/ img {
  304. max-width: 100% !important;
  305. display: inline !important;
  306. }
  307. /deep/ div {
  308. max-width: 100% !important;
  309. }
  310. .d-header {
  311. display: flex;
  312. justify-content: center;
  313. align-items: center;
  314. height: 80rpx;
  315. font-size: 30rpx;
  316. color: #303133;
  317. position: relative;
  318. text {
  319. padding: 0 20rpx;
  320. background: #fff;
  321. position: relative;
  322. z-index: 1;
  323. }
  324. &:after {
  325. position: absolute;
  326. left: 50%;
  327. top: 50%;
  328. transform: translateX(-50%);
  329. width: 300rpx;
  330. height: 0;
  331. content: '';
  332. border-bottom: 1px solid #ccc;
  333. }
  334. }
  335. }
  336. .bottom {
  337. position: fixed;
  338. bottom: 0;
  339. background: #ffffff;
  340. width: 750rpx;
  341. height: 146rpx;
  342. justify-content: flex-start;
  343. .bottom-item {
  344. margin-left: 42rpx;
  345. display: flex;
  346. flex-direction: column;
  347. align-items: center;
  348. .bi-image {
  349. width: 38rpx;
  350. height: 34rpx;
  351. }
  352. .bottom-font {
  353. margin-top: 14rpx;
  354. font-size: 24rpx;
  355. font-family: PingFang SC;
  356. font-weight: bold;
  357. color: #333333;
  358. }
  359. .bottom-num {
  360. line-height: 1;
  361. font-size: 24rpx;
  362. font-family: PingFang SC;
  363. font-weight: bold;
  364. color: #333333;
  365. }
  366. }
  367. .shu {
  368. margin-left: 38rpx;
  369. width: 2px;
  370. height: 74rpx;
  371. background: #c0bfc0;
  372. }
  373. .btn {
  374. margin-left: 40rpx;
  375. width: 430rpx;
  376. height: 80rpx;
  377. background: #fd3b39;
  378. border-radius: 20rpx;
  379. text-align: center;
  380. font-size: 34rpx;
  381. font-family: PingFang SC;
  382. font-weight: bold;
  383. color: #ffffff;
  384. line-height: 80rpx;
  385. }
  386. }
  387. .popup-box {
  388. width: 522rpx;
  389. height: 605rpx;
  390. background-color: #ffffff;
  391. border-radius: 20rpx;
  392. position: relative;
  393. .img {
  394. position: relative;
  395. top: -56rpx;
  396. left: 0;
  397. width: 522rpx;
  398. height: 132rpx;
  399. display: flex;
  400. justify-content: center;
  401. image {
  402. border-radius: 20rpx 20rpx 0 0;
  403. width: 450rpx;
  404. height: 132rpx;
  405. }
  406. }
  407. .mian {
  408. margin-top: -44rpx;
  409. display: flex;
  410. flex-direction: column;
  411. align-items: center;
  412. // padding: 32rpx 32rpx;
  413. background-color: #ffffff;
  414. border-radius: 0 0 20rpx 20rpx;
  415. text-align: center;
  416. .delivery {
  417. font-size: 40rpx;
  418. color: #333333;
  419. display: flex;
  420. align-items: center;
  421. flex-direction: column;
  422. .title {
  423. }
  424. image {
  425. margin-top: 48rpx;
  426. width: 172rpx;
  427. height: 160rpx;
  428. }
  429. }
  430. .nocancel {
  431. font-size: 32rpx;
  432. color: #333333;
  433. margin-top: 14rpx;
  434. }
  435. .comfirm-box {
  436. margin-top: 52rpx;
  437. display: flex;
  438. // margin-bottom: 32rpx;
  439. // justify-content: space-around;
  440. .cancel {
  441. display: flex;
  442. align-items: center;
  443. justify-content: center;
  444. width: 197rpx;
  445. height: 74rpx;
  446. border: 1px solid #dcc786;
  447. border-radius: 38rpx;
  448. font-size: 32rpx;
  449. color: #605128;
  450. }
  451. .comfirm {
  452. margin-left: 32rpx;
  453. display: flex;
  454. align-items: center;
  455. justify-content: center;
  456. width: 197rpx;
  457. height: 74rpx;
  458. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  459. border-radius: 38px;
  460. font-size: 32rpx;
  461. color: #605128;
  462. }
  463. }
  464. }
  465. }
  466. </style>