goodsDetail.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <view class="content">
  3. <view class="uni-margin-wrap">
  4. <swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000"
  5. :duration="duration">
  6. <swiper-item>
  7. <view class="swiper-item">
  8. <image src="http://dmsphoto.66km.com.cn/thFiles/09DDEDF1-A34F-491F-A7F0-B51F64B8CEE9.jpg" mode="aspectFit" class="swiper-itemImg"></image>
  9. </view>
  10. </swiper-item>
  11. <swiper-item>
  12. <view class="swiper-item">
  13. <image src="http://dmsphoto.66km.com.cn/thFiles/E437A2DB-BB54-46AB-B8BA-EC44C84FE808.jpg" mode="aspectFit" class="swiper-itemImg"></image>
  14. </view>
  15. </swiper-item>
  16. <swiper-item>
  17. <view class="swiper-item">
  18. <image src="http://dmsphoto.66km.com.cn/thFiles/A9157023-4939-48B7-BB49-D9D8113EF953.jpg" mode="aspectFit" class="swiper-itemImg"></image>
  19. </view>
  20. </swiper-item>
  21. </swiper>
  22. </view>
  23. <view style="height: 30rpx;background: #F4F5F7;"></view>
  24. <view class="detail">
  25. <view class="datailTitle">商品详情</view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. components: {
  32. },
  33. data() {
  34. return {
  35. }
  36. },
  37. onLoad(opt) {
  38. },
  39. methods: {
  40. }
  41. }
  42. </script>
  43. <style scoped>
  44. .swiper-itemImg{
  45. width: 750rpx;
  46. height: 750rpx;
  47. }
  48. .uni-margin-wrap{
  49. height: 750rpx;
  50. }
  51. .swiper{
  52. height: 750rpx;
  53. }
  54. .datailTitle{
  55. font-weight: 500;
  56. color: #1A1A1A;
  57. line-height: 40rpx;
  58. padding: 32rpx 24rpx;
  59. font-size: 28rpx;
  60. }
  61. </style>