Commit 0481f7e7 by wangzhihui

fixed

1 parent ab601a94
/* packageEquity/pages/carQuotation/components/skuGoods/Goods.wxss */ /* packageEquity/pages/carQuotation/components/skuGoods/Goods.wxss */
.popclass{
position:fixed;
left:0;
right:0;
top:0;
bottom:0;
}
.title { .title {
width: 100%; width: 100%;
font-weight: 500; font-weight: 500;
......
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
<view class="title">确认需购买的商品</view> <view class="title">确认需购买的商品</view>
<view class="tips">温馨提示:请仔细确认当前售价,避免录错单</view> <view class="tips">温馨提示:请仔细确认当前售价,避免录错单</view>
<view class="goods"> <view class="goods">
<scroll-view scroll-y style="height:{{windowHight}}px;" enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="item-wrap {{i.active?'active':''}}" wx:for="{{goodsData.multipleSpecificationsGoods.skuGoodsList}}" wx:key="ind" wx:for-index="index" wx:for-item="i"> <view class="item-wrap {{i.active?'active':''}}" wx:for="{{goodsData.multipleSpecificationsGoods.skuGoodsList}}" wx:key="ind" wx:for-index="index" wx:for-item="i">
<view class="icon" catchtap="choose" data-index="{{index}}" data-item="{{i}}"> <view class="icon" catchtap="choose" data-index="{{index}}" data-item="{{i}}">
<block wx:if="{{i.active}}"> <block wx:if="{{i.active}}">
<image src="./images/radio.png" /> <image src="./images/radio.png" />
</block> </block>
...@@ -17,28 +16,27 @@ ...@@ -17,28 +16,27 @@
商品别名:{{i.goodsAlias}} 商品别名:{{i.goodsAlias}}
</view> </view>
<view class="bottom_box"> <view class="bottom_box">
<view class="left"> <view class="left">
<view class="name">{{goodsData.multipleSpecificationsGoods.baseGoodsName}}</view> <view class="name">{{goodsData.multipleSpecificationsGoods.baseGoodsName}}</view>
<view class="position" wx:if="{{ i.specificationStr }}">{{i.specificationStr}}</view> <view class="position" wx:if="{{ i.specificationStr }}">{{i.specificationStr}}</view>
</view> </view>
<view class="right"> <view class="right">
<view class="price-box"> <view class="price-box">
<text>¥</text> <text>¥</text>
<view class="price"> <view class="price">
<!-- {{i}} --> <!-- {{i}} -->
{{i.sellPrice}} {{i.sellPrice}}
</view> </view>
</view> </view>
<view style="display:flex;align-items: center;" wx:if="{{i.active&&sceneType==1}}">x <input type="number" catchtap="noScroll" class="input" value="{{i.count || 1}}" catchinput="input" bindblur="blur" data-index="{{index}}" data-item="{{i}}" /></view> <view style="display:flex;align-items: center;" wx:if="{{i.active&&sceneType==1}}" >x <input type="number" catchtap="noScroll"class="input" value="{{i.count || 1}}" catchinput="input" bindblur="blur" data-index="{{index}}" data-item="{{i}}" /></view>
<view class="count" catchtap="showPopup" wx:else data-show-name="goodsBox">x{{i.count||1}}</view> <view class="count" catchtap="showPopup" wx:else data-show-name="goodsBox">x{{i.count||1}}</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</scroll-view>
</view> </view>
<view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}"> <view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="cancel btn text-center" bind:tap="hidePopup">取消</view> <view class="cancel btn text-center" bind:tap="hidePopup">取消</view>
<view class="confirm btn text-center" bind:tap="confirm">确认</view> <view class="confirm btn text-center" bind:tap="confirm">确认</view>
</view> </view>
</van-popup> </van-popup>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!