|
@@ -17,30 +17,31 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
+ <view class="home-header">
|
|
|
|
+ <view bindtap="handleStore" class="current-store arrow arrow-down" wx:if="{{isMapShow == 1}}">{{ storeName }}</view>
|
|
|
|
+ <view class="current-store" wx:if="{{isMapShow == 0}}">{{ storeName }}</view>
|
|
|
|
+ </view>
|
|
<view class="search-header">
|
|
<view class="search-header">
|
|
<view class="input-box">
|
|
<view class="input-box">
|
|
<input name="input" class="keywrod" value="搜索商品" confirm-type="search" bindtap="goSearch" />
|
|
<input name="input" class="keywrod" value="搜索商品" confirm-type="search" bindtap="goSearch" />
|
|
</view>
|
|
</view>
|
|
- <image src="../../static/images/service-sao.png" class="search-icon-shop" bindtap="scanGoodsCode"></image>
|
|
|
|
- </view>
|
|
|
|
- <view class="home-header">
|
|
|
|
- <view bindtap="handleStore" class="current-store arrow arrow-down" wx:if="{{isMapShow == 1}}">{{ storeName }}</view>
|
|
|
|
- <view class="current-store" wx:if="{{isMapShow == 0}}">{{ storeName }}</view>
|
|
|
|
|
|
+ <image src="../../static/images/service-scan-code-gray-1.png" class="search-icon-shop" bindtap="scanGoodsCode"></image>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<swiper class="banner" indicator-dots="true" autoplay="true" interval="15000" duration="750">
|
|
<swiper class="banner" indicator-dots="true" autoplay="true" interval="15000" duration="750">
|
|
- <swiper-item wx:for="{{banner}}" wx:key="{{item.id}}">
|
|
|
|
- <scroll-view class='contents fade_in'>
|
|
|
|
- <navigator url="{{item.link}}">
|
|
|
|
- <image lazy-load='true' class="swiper-item" src="{{item.imageUrl}}?x-oss-process=image/resize,h_500" mode="aspectFill" background-size="cover"></image>
|
|
|
|
- </navigator>
|
|
|
|
- </scroll-view>
|
|
|
|
- </swiper-item>
|
|
|
|
- </swiper>
|
|
|
|
|
|
+ <swiper-item wx:for="{{banner}}" wx:key="{{item.id}}">
|
|
|
|
+ <scroll-view class='contents fade_in'>
|
|
|
|
+ <navigator url="{{item.link}}">
|
|
|
|
+ <image lazy-load='true' class="swiper-item" src="{{item.imageUrl}}?x-oss-process=image/resize,h_500" mode="aspectFill" background-size="cover"></image>
|
|
|
|
+ </navigator>
|
|
|
|
+ </scroll-view>
|
|
|
|
+ </swiper-item>
|
|
|
|
+ </swiper>
|
|
|
|
+
|
|
<view class="m-menu">
|
|
<view class="m-menu">
|
|
<navigator class="itemb" bindtap="goCatalog" data-goods-Biz-Type="00">
|
|
<navigator class="itemb" bindtap="goCatalog" data-goods-Biz-Type="00">
|
|
- <image src="../../static/images/service-bao.png" background-size="cover"></image>
|
|
|
|
- <text>保税仓</text>
|
|
|
|
|
|
+ <image src="../../static/images/service-cross-border.png" background-size="cover"></image>
|
|
|
|
+ <text>跨境购</text>
|
|
</navigator>
|
|
</navigator>
|
|
<!-- <navigator class="itemb" bindtap="goCatalog" data-goods-Biz-Type="02">
|
|
<!-- <navigator class="itemb" bindtap="goCatalog" data-goods-Biz-Type="02">
|
|
<image src="../../static/images/service-zs.png" background-size="cover"></image>
|
|
<image src="../../static/images/service-zs.png" background-size="cover"></image>
|
|
@@ -51,11 +52,11 @@
|
|
<text>现场速递</text>
|
|
<text>现场速递</text>
|
|
</navigator> -->
|
|
</navigator> -->
|
|
<navigator class="itemb" bindtap="goCatalog" data-goods-Biz-Type="11">
|
|
<navigator class="itemb" bindtap="goCatalog" data-goods-Biz-Type="11">
|
|
- <image src="../../static/images/service-ptsp.png" background-size="cover"></image>
|
|
|
|
|
|
+ <image src="../../static/images/service-general-goods.png" background-size="cover"></image>
|
|
<text>普通商品</text>
|
|
<text>普通商品</text>
|
|
</navigator>
|
|
</navigator>
|
|
<navigator class="itemb" bindtap="scanGoodsCode">
|
|
<navigator class="itemb" bindtap="scanGoodsCode">
|
|
- <image src="../../static/images/service-smgw.png" background-size="cover"></image>
|
|
|
|
|
|
+ <image src="../../static/images/service-scan-code.png" background-size="cover"></image>
|
|
<text>扫码购物</text>
|
|
<text>扫码购物</text>
|
|
</navigator>
|
|
</navigator>
|
|
<!-- <navigator class="itemb" bindtap="shows">
|
|
<!-- <navigator class="itemb" bindtap="shows">
|
|
@@ -164,17 +165,22 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
</view> -->
|
|
- <view class="a-section a-popular" wx:if="{{hotGoods.length > 0}}">
|
|
|
|
|
|
+ <view class="a-section a-center" wx:if="{{hotGoods.length > 0}}">
|
|
<view class="h">
|
|
<view class="h">
|
|
<view>
|
|
<view>
|
|
<navigator url="../hotGoods/hotGoods">
|
|
<navigator url="../hotGoods/hotGoods">
|
|
- <text class="txt">今日热销</text>
|
|
|
|
|
|
+ <text class="txt">精选商品</text>
|
|
|
|
+ </navigator>
|
|
|
|
+ </view>
|
|
|
|
+ <view>
|
|
|
|
+ <navigator url="../hotGoods/hotGoods">
|
|
|
|
+ <image class="more-1" src="../../static/images/service-more-grey-1.png"></image>
|
|
</navigator>
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="b">
|
|
<view class="b">
|
|
<view class="item" wx:for="{{hotGoods}}" wx:for-index="index" wx:for-item="item" wx:key="{{item.id}}">
|
|
<view class="item" wx:for="{{hotGoods}}" wx:for-index="index" wx:for-item="item" wx:key="{{item.id}}">
|
|
- <scroll-view class='contents fade_in'>
|
|
|
|
|
|
+ <view class='contents fade_in'>
|
|
<view class="c">
|
|
<view class="c">
|
|
<navigator url="/pages/goods/goods?id={{item.id}}&&storeId={{item.storeId}}&¶mView=hotGoods">
|
|
<navigator url="/pages/goods/goods?id={{item.id}}&&storeId={{item.storeId}}&¶mView=hotGoods">
|
|
<view class="left">
|
|
<view class="left">
|
|
@@ -206,7 +212,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </scroll-view>
|
|
|
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|