|
@@ -33,15 +33,17 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
-<!-- <view class="scrollBox" id="scrollBox">
|
|
|
+<view class="scrollBox" id="scrollBox">
|
|
|
<scroll-view scroll-x>
|
|
|
- <image src="/image/order/houwaitao.png" class="show" wx:for="{{5}}" wx:key="index"></image>
|
|
|
+ <image src="{{item.url}}" class="show" wx:for="{{bannerlist}}" wx:key="index"></image>
|
|
|
</scroll-view>
|
|
|
-</view> -->
|
|
|
+</view>
|
|
|
+
|
|
|
+<van-notice-bar wx:for="{{noticelist}}" wx:key="index" mode="closeable" left-icon="/image/icon/message.png" bind:close="closeNews" text="{{item.content}}" h/>
|
|
|
<!-- <van-notice-bar mode="closeable" left-icon="/image/icon/message.png" bind:close="closeNews" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" h/> -->
|
|
|
|
|
|
|
|
|
-<view class="contioner flex al-s" style="height: {{height}}px;">
|
|
|
+<view class="contioner flex al-s" style="height: {{height-(noticelist.length * 40)}}px;">
|
|
|
|
|
|
|
|
|
<view class="slidebar">
|
|
@@ -91,35 +93,32 @@
|
|
|
<van-icon name="plus" size="12" />
|
|
|
</view>
|
|
|
</view> -->
|
|
|
-
|
|
|
- <view wx:if="{{item.good_type == 1}}">
|
|
|
- <view class="btn-sky btn flex ju-c" wx:if="{{item.num == 0}}" bindtap="shoppingPlus" data-item="{{item}}">
|
|
|
- <van-icon name="plus" size="12" />
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="flex" wx:else>
|
|
|
- <view class="btn-border btn flex ju-c" bindtap="shoppingMinus" data-item="{{item}}">
|
|
|
- <van-icon name="minus" size="12" color="#191C27" />
|
|
|
- </view>
|
|
|
- <view class="nums">
|
|
|
- {{item.num}}
|
|
|
- </view>
|
|
|
- <view class="btn-sky btn flex ju-c" bindtap="shoppingPlus" data-item="{{item}}">
|
|
|
+ <view wx:if="{{worke.business_status==1}}">
|
|
|
+ <view wx:if="{{item.good_type == 1}}">
|
|
|
+ <view class="btn-sky btn flex ju-c" wx:if="{{item.num == 0}}" bindtap="shoppingPlus" data-item="{{item}}">
|
|
|
<van-icon name="plus" size="12" />
|
|
|
</view>
|
|
|
+
|
|
|
+ <view class="flex" wx:else>
|
|
|
+ <view class="btn-border btn flex ju-c" bindtap="shoppingMinus" data-item="{{item}}">
|
|
|
+ <van-icon name="minus" size="12" color="#191C27" />
|
|
|
+ </view>
|
|
|
+ <view class="nums">
|
|
|
+ {{item.num}}
|
|
|
+ </view>
|
|
|
+ <view class="btn-sky btn flex ju-c" bindtap="shoppingPlus" data-item="{{item}}">
|
|
|
+ <van-icon name="plus" size="12" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view wx:else>
|
|
|
- <view class="main8">
|
|
|
- <!-- bindtap="shoppingPlus" data-item="{{item}}" -->
|
|
|
- <text lines="1" class="word16" bindtap="getOrderone" data-gid="{{item.id}}">立即下单</text>
|
|
|
+ <view wx:else>
|
|
|
+ <view class="main8">
|
|
|
+ <!-- bindtap="shoppingPlus" data-item="{{item}}" -->
|
|
|
+ <text lines="1" class="word16" bindtap="getOrderone" data-gid="{{item.id}}">立即下单</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -129,7 +128,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
-<view class="footerBox flex ju-c" id="footerBar">
|
|
|
+<view class="footerBox flex ju-c" wx:if="{{worke.business_status==1}}" id="footerBar">
|
|
|
<view class="btnBox flex ju-b">
|
|
|
<view class="le flex" bindtap="btnShow">
|
|
|
<view class="box">
|