goodsDetail.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <view class="box">
  3. <view class="spwBox">
  4. <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  5. <swiper-item>
  6. <view class="swiper-item">
  7. <img mode="aspectFit" src="http://phone.66km.cn:8088/thFiles/C678448A-C874-4B42-9EAE-4F8F21D71D27.jpg" alt="" class="swiper-itemImg">
  8. </view>
  9. </swiper-item>
  10. <swiper-item>
  11. <view class="swiper-item">
  12. <img mode="aspectFit" src="http://phone.66km.cn:8088/thFiles/C678448A-C874-4B42-9EAE-4F8F21D71D27.jpg" alt="" class="swiper-itemImg">
  13. </view>
  14. </swiper-item>
  15. </swiper>
  16. </view>
  17. <view class="shopCont">
  18. <view class="shopCtop">
  19. <view class="goodsPrice">
  20. <view class="goodsPrice1">店庆价</view>
  21. <view class="goodsPrice2">¥</view>
  22. <view class="goodsPrice3">999</view>
  23. <view class="goodsPrice4">¥893</view>
  24. </view>
  25. <view class="Sold">已售 999</view>
  26. </view>
  27. <view class="goodsName">德国马牌 Continental 全新升级6 TechContct 过长长长长长长长长换行</view>
  28. <view class="goodsMd">这里展示商品卖点,如果后台没填则不展示</view>
  29. </view>
  30. <view class="modeBox">
  31. <view class="modeline">
  32. <view class="modelineLeft">配送方式</view>
  33. <view class="modeLineRight">到店取货</view>
  34. </view>
  35. <view class="modeline">
  36. <view class="modelineLeft">限购数量</view>
  37. <view class="modeLineRight">到店取货</view>
  38. </view>
  39. <view class="modeline">
  40. <view class="modelineLeft">售后服务</view>
  41. <view class="modeLineRight">到店取货</view>
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. components: {
  49. },
  50. data() {
  51. return {
  52. userInfo:'',
  53. }
  54. },
  55. onLoad() {
  56. this.userInfo = uni.getStorageSync("userInfo");
  57. //this.getOrderTimes()
  58. },
  59. methods: {
  60. }
  61. }
  62. </script>
  63. <style scoped lang="less">
  64. .box{
  65. background: #F4F5F7;
  66. min-height: 100vh;
  67. }
  68. .swiper{
  69. width: 750rpx;
  70. height: 700rpx;
  71. background: #FFFFFF;
  72. border-bottom: 1px solid #EEEEEE;
  73. }
  74. .swiper-item{
  75. width: 750rpx;
  76. height: 700rpx;
  77. }
  78. .swiper-itemImg{
  79. width: 750rpx;
  80. height: 700rpx;
  81. }
  82. .shopCtop{
  83. display: flex;
  84. padding: 20rpx 24rpx;
  85. justify-content: space-between;
  86. background: #FFFFFF;
  87. }
  88. .goodsPrice{
  89. display: flex;
  90. }
  91. .goodsPrice1{
  92. font-size: 24rpx;
  93. font-weight: 400;
  94. color: #F03B3B;
  95. padding-top: 14rpx;
  96. }
  97. .goodsPrice2{
  98. font-size: 28rpx;
  99. font-weight: 400;
  100. color: #F03B3B;
  101. padding-top: 10rpx;
  102. padding-left: 14rpx;
  103. }
  104. .goodsPrice3{
  105. font-size:28rpx;
  106. font-weight: 400;
  107. color: #F03B3B;
  108. padding-right: 10rpx;
  109. }
  110. .goodsPrice3{
  111. font-size: 40rpx;
  112. font-weight: 400;
  113. color: #F03B3B;
  114. }
  115. .goodsPrice4{
  116. font-size: 24rpx;
  117. font-weight: 400;
  118. color: #999999;
  119. padding-top: 14rpx;
  120. }
  121. .Sold{
  122. font-weight: 400;
  123. color: #999999;
  124. font-size: 24rpx;
  125. padding-top: 10rpx;
  126. }
  127. .goodsName{
  128. font-size: 30rpx;
  129. line-height: 42rpx;
  130. font-weight: 500;
  131. color: #333333;
  132. padding: 20rpx 24rpx;
  133. }
  134. .goodsMd{
  135. font-weight: 400;
  136. color: #999999;
  137. font-size: 26rpx;
  138. padding: 0 24rpx;
  139. padding-bottom: 20rpx;
  140. }
  141. .shopCont{
  142. background: #FFFFFF;
  143. }
  144. .modeBox{
  145. margin-top:20rpx ;
  146. padding: 5rpx 0;
  147. background: #FFFFFF;
  148. }
  149. .modeline{
  150. display: flex;
  151. padding: 15rpx 24rpx;
  152. }
  153. .modelineLeft{
  154. color: #999999;
  155. font-size: 26rpx;
  156. width: 200rpx;
  157. }
  158. .modeLineRight{
  159. color: #333333;
  160. font-size: 26rpx;
  161. }
  162. </style>