porducthall.vue 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  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">
  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">
  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. </view>
  98. </template>
  99. <script>
  100. export default {
  101. data() {
  102. return {};
  103. },
  104. methods: {}
  105. };
  106. </script>
  107. <style lang="less">
  108. .carousel {
  109. width: 750rpx;
  110. height: 710rpx;
  111. background: #000000;
  112. position: relative;
  113. .title {
  114. background: linear-gradient(90deg, #ef4e51 0%, #f4713b 100%);
  115. width: 750rpx;
  116. position: absolute;
  117. bottom: 0;
  118. padding: 30rpx;
  119. .title-num {
  120. font-size: 50rpx;
  121. font-family: PingFang SC;
  122. font-weight: bold;
  123. color: #ffffff;
  124. text {
  125. font-size: 30rpx;
  126. }
  127. }
  128. .title-time {
  129. font-size: 28rpx;
  130. font-family: PingFang SC;
  131. font-weight: bold;
  132. color: #ffffff;
  133. }
  134. }
  135. }
  136. .title-main {
  137. padding: 30rpx 30rpx 30rpx 22rpx;
  138. .tm-left {
  139. width: 50%;
  140. .tm-title {
  141. width: 100%;
  142. font-size: 30rpx;
  143. font-family: PingFang SC;
  144. font-weight: bold;
  145. color: #1d2023;
  146. }
  147. .tm-people {
  148. margin-top: 30rpx;
  149. justify-content: flex-start;
  150. .people-image {
  151. width: 22rpx;
  152. height: 22rpx;
  153. flex-shrink: 0;
  154. }
  155. .people-name {
  156. margin-left: 12rpx;
  157. font-size: 24rpx;
  158. font-family: PingFang SC;
  159. font-weight: 500;
  160. color: #333333;
  161. }
  162. }
  163. }
  164. .tm-right {
  165. justify-content: flex-end;
  166. .tmr-item {
  167. margin-left: 38rpx;
  168. display: flex;
  169. flex-direction: column;
  170. align-items: center;
  171. .tmr-image {
  172. width: 42rpx;
  173. height: 38rpx;
  174. }
  175. .tmr-image1 {
  176. width: 42rpx;
  177. height: 42rpx;
  178. }
  179. .tmr-font {
  180. margin-top: 16rpx;
  181. font-size: 24rpx;
  182. font-family: PingFang SC;
  183. font-weight: 500;
  184. color: #333333;
  185. }
  186. }
  187. }
  188. }
  189. .dz {
  190. width: 750rpx;
  191. height: 20rpx;
  192. background: #f8f6f6;
  193. }
  194. .introduce {
  195. padding: 40rpx 24rpx;
  196. .introduct-title {
  197. display: flex;
  198. align-items: center;
  199. .introduce-image {
  200. width: 36rpx;
  201. height: 36rpx;
  202. }
  203. .introduce-font {
  204. margin-left: 10rpx;
  205. font-size: 28rpx;
  206. font-family: PingFang SC;
  207. font-weight: bold;
  208. color: #333333;
  209. }
  210. }
  211. .introduct-main {
  212. display: flex;
  213. justify-content: space-between;
  214. margin-top: 26rpx;
  215. .im-item {
  216. display: flex;
  217. align-items: center;
  218. .im-image {
  219. width: 44rpx;
  220. height: 44rpx;
  221. }
  222. .im-font {
  223. margin-left: 6rpx;
  224. font-size: 28rpx;
  225. font-family: PingFang SC;
  226. font-weight: bold;
  227. color: #333333;
  228. }
  229. }
  230. }
  231. }
  232. .explain {
  233. padding: 40rpx 34rpx 46rpx 34rpx;
  234. .explain-title {
  235. font-size: 32rpx;
  236. font-family: PingFang SC;
  237. font-weight: bold;
  238. color: #333333;
  239. }
  240. .explain-main {
  241. margin-top: 52rpx;
  242. .explainImage-box {
  243. display: flex;
  244. justify-content: space-around;
  245. align-items: center;
  246. .explain-image-item {
  247. width: 42rpx;
  248. height: 40rpx;
  249. }
  250. .explain-image-jiant {
  251. width: 38rpx;
  252. height: 10rpx;
  253. }
  254. }
  255. .explainfont-box {
  256. margin-top: 20rpx;
  257. display: flex;
  258. justify-content: space-between;
  259. .explain-font-item {
  260. font-size: 28rpx;
  261. font-family: PingFang SC;
  262. font-weight: 500;
  263. color: #333333;
  264. }
  265. }
  266. }
  267. }
  268. .detail-desc {
  269. background: #fff;
  270. margin-top: 16rpx;
  271. /deep/ img {
  272. max-width: 100% !important;
  273. display: inline !important;
  274. }
  275. /deep/ div {
  276. max-width: 100% !important;
  277. }
  278. .d-header {
  279. display: flex;
  280. justify-content: center;
  281. align-items: center;
  282. height: 80rpx;
  283. font-size: 30rpx;
  284. color: #303133;
  285. position: relative;
  286. text {
  287. padding: 0 20rpx;
  288. background: #fff;
  289. position: relative;
  290. z-index: 1;
  291. }
  292. &:after {
  293. position: absolute;
  294. left: 50%;
  295. top: 50%;
  296. transform: translateX(-50%);
  297. width: 300rpx;
  298. height: 0;
  299. content: '';
  300. border-bottom: 1px solid #ccc;
  301. }
  302. }
  303. }
  304. .bottom {
  305. position: fixed;
  306. bottom: 0;
  307. background: #ffffff;
  308. width: 750rpx;
  309. height: 146rpx;
  310. justify-content: flex-start;
  311. .bottom-item {
  312. margin-left: 42rpx;
  313. display: flex;
  314. flex-direction: column;
  315. align-items: center;
  316. .bi-image {
  317. width: 38rpx;
  318. height: 34rpx;
  319. }
  320. .bottom-font {
  321. margin-top: 14rpx;
  322. font-size: 24rpx;
  323. font-family: PingFang SC;
  324. font-weight: bold;
  325. color: #333333;
  326. }
  327. .bottom-num {
  328. line-height: 1;
  329. font-size: 24rpx;
  330. font-family: PingFang SC;
  331. font-weight: bold;
  332. color: #333333;
  333. }
  334. }
  335. .shu {
  336. margin-left: 38rpx;
  337. width: 2px;
  338. height: 74rpx;
  339. background: #c0bfc0;
  340. }
  341. .btn {
  342. margin-left: 40rpx;
  343. width: 430rpx;
  344. height: 80rpx;
  345. background: #fd3b39;
  346. border-radius: 20rpx;
  347. text-align: center;
  348. font-size: 34rpx;
  349. font-family: PingFang SC;
  350. font-weight: bold;
  351. color: #ffffff;
  352. line-height: 80rpx;
  353. }
  354. }
  355. </style>