Browse Source

Merge branch 'master' of http://47.102.110.240:3000/yuxiangpei/jzmall_wx

zhangfufeng 1 month ago
parent
commit
ff038529ae
2 changed files with 514 additions and 494 deletions
  1. 511 491
      pages/index/index.js
  2. 3 3
      pages/index/index.wxml

File diff suppressed because it is too large
+ 511 - 491
pages/index/index.js


+ 3 - 3
pages/index/index.wxml

@@ -41,9 +41,9 @@
     <swiper class="banner" indicator-dots="{{banner.length>1?true:false}}"  autoplay="true" interval="3000" duration="1000" indicator-color="rgba(0, 192, 255, .2)" indicator-active-color="rgba(0, 192, 255)">
       <swiper-item wx:for="{{banner}}" wx:key="id">
         <block wx:if="{{item.link}}">
-          <navigator url="{{item.link}}">
-            <image mode="aspectFill" src="{{item.url}}"></image>
-          </navigator>
+          <!-- <navigator url="{{item.link}}" > -->
+            <image bind:tap="tbb" data-url="{{item.link}}" data-name="{{item.name}}" mode="aspectFill" src="{{item.url}}"></image>
+          <!-- </navigator> -->
         </block>
         <block wx:else>
           <image mode="aspectFill" src="{{item.url}}"></image>