index.wxml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!--
  2. - Copyright (C) 2018-2019
  3. - All rights reserved, Designed By www.joolun.com
  4. - 注意:
  5. - 本软件为www.joolun.com开发研制,项目使用请保留此说明
  6. -->
  7. <view class="cu-bar search bg-white fixed" style="box-shadow:none">
  8. <view class="search-form">
  9. <text class="cuIcon-search"></text>
  10. <navigator class="response" hover-class='none' url='/pages/base/search/index'>
  11. <input type="text" placeholder="请输入商品名"></input>
  12. </navigator>
  13. </view>
  14. </view>
  15. <view class="margin-top-bar bg-white">
  16. <navigator hover-class="none" url='/pages/goods/goods-detail/index?id=1442505794278191105'>
  17. <swiper class="screen-swiper square-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500" bindchange="change" indicator-color="#cccccc" indicator-active-color="#676767">
  18. <swiper-item wx:for="{{swiperData}}" wx:key="index" class="margin-top-sm">
  19. <image class="swiper-image" src="{{item}}"></image>
  20. </swiper-item>
  21. </swiper>
  22. </navigator>
  23. <view class="cu-list grid no-border justify-around">
  24. <navigator class="cu-item" hover-class="none" url='/pages/goods/goods-detail/index?id=1442505794278191105'>
  25. <image class="nav-image" src="/public/img/6-1.png"></image>
  26. <text class="text-black">iPhone</text>
  27. </navigator>
  28. <navigator class="cu-item" hover-class="none" url='/pages/goods/goods-detail/index?id=1442512382615416833'>
  29. <image class="nav-image" src="/public/img/6-2.png"></image>
  30. <text class="text-black">iPad</text>
  31. </navigator>
  32. <navigator class="cu-item" hover-class="none" url='/pages/goods/goods-detail/index?id=1442512958581436418'>
  33. <image class="nav-image" src="/public/img/6-3.png"></image>
  34. <text class="text-black">Mac</text>
  35. </navigator>
  36. <navigator class="cu-item" hover-class="none" url='/pages/goods/goods-detail/index?id=1442513594978988034'>
  37. <image class="nav-image" src="/public/img/6-4.png"></image>
  38. <text class="text-black">Watch</text>
  39. </navigator>
  40. <navigator class="cu-item" hover-class="none" url='/pages/goods/goods-detail/index?id=1442514202062548994'>
  41. <image class="nav-image" src="/public/img/6-5.png"></image>
  42. <text class="text-black">AirPods</text>
  43. </navigator>
  44. </view>
  45. <!-- 公告 -->
  46. <view class="adsec light bg-white margin-top-sm">
  47. <swiper class="swiper_container" autoplay="true" circular="true" interval="6000">
  48. <swiper-item>
  49. <view class="bg-white padding-left-sm text-black">
  50. <text class="cu-tag line-black text-bold">公告</text>
  51. <text class="details margin-left">再见2020,你好2021!</text>
  52. </view>
  53. </swiper-item>
  54. <swiper-item >
  55. <view class="bg-white padding-left-sm text-black">
  56. <text class="cu-tag line-black text-bold">注意</text>
  57. <text class="details margin-left">演示商城,不发货不退款</text>
  58. </view>
  59. </swiper-item>
  60. </swiper>
  61. </view>
  62. <navigator hover-class="none" url='/pages/goods/goods-detail/index?id=1442505794278191105'>
  63. <image class="margin-top-sm goods-image" src="https://joolun-base-test.oss-cn-zhangjiakou.aliyuncs.com/1/material/055f3304-13d1-43c8-8547-326cc3efc7fc.jpg"></image>
  64. <view class="flex justify-between margin-top-sm align-center padding-lr">
  65. <view class="text-black">RMB 7999 起</view>
  66. <view class="cu-btn round bg-gray text-white buy-now">购买</view>
  67. </view>
  68. </navigator>
  69. <navigator hover-class="none" url='/pages/goods/goods-detail/index?id=1442512050032275457'>
  70. <image class="margin-top-xl goods-image" src="https://joolun-base-test.oss-cn-zhangjiakou.aliyuncs.com/1/material/2f290591-8351-4be8-a9ab-6277d007b8c7.jpg"></image>
  71. <view class="flex justify-between margin-top-sm align-center padding-lr padding-bottom">
  72. <view class="text-black">RMB 3799 起</view>
  73. <view class="cu-btn round bg-gray text-white buy-now">购买</view>
  74. </view>
  75. </navigator>
  76. <!--<ad unit-id="{{config.adBannerID}}" wx:if="{{config.adEnable}}"></ad>-->
  77. <view class='wrapper bg-white margin-top-xl'>
  78. <view class="cu-bar text-black">
  79. <view class='action margin-left-sm'>
  80. <text class="text-xxl text-bold">热销单品</text>
  81. </view>
  82. <navigator hover-class="none" url='/pages/goods/goods-list/index?type=2' class='action'>
  83. 更多<text class='cuIcon-right'></text>
  84. </navigator>
  85. </view>
  86. <view class='wrapper-list bg-white radius'>
  87. <scroll-view class="scroll-view_x hot-goods" scroll-x>
  88. <block wx:for="{{goodsListHot}}" wx:key="index">
  89. <navigator hover-class="none" url='/pages/goods/goods-detail/index?id={{item.id}}' class='item'>
  90. <view class='text-cut text-bold text-xxl text-black margin-top-sm'>{{item.name}}</view>
  91. <view class='text-cut text-sm text-gray margin-top-sm'>{{item.sellPoint}}</view>
  92. <view class='img-box margin-top-xl'>
  93. <image src="{{item.picUrls[0] ? item.picUrls[0] : '/public/img/no_pic.png'}}"></image>
  94. </view>
  95. <view class="flex justify-between margin-top">
  96. <view class="text-df padding-top-sm"><text class="text-price">{{item.salesPrice}}</text> 起</view>
  97. <view class="cu-btn round shadow-blur text-white buy-now">购买</view>
  98. </view>
  99. </navigator>
  100. </block>
  101. </scroll-view>
  102. </view>
  103. </view>
  104. <view class="cu-bar">
  105. <view class='action'>
  106. <text class="text-xxl text-bold text-black">猜你喜欢</text>
  107. </view>
  108. </view>
  109. <goods-card goodsList="{{goodsList}}"/>
  110. <view class="cu-load bg-white {{loadmore?'loading':'over'}}"></view>
  111. </view>
  112. <ad unit-id="{{config.adBannerID}}" wx:if="{{config.adEnable}}"></ad>