|
@@ -3,8 +3,8 @@
|
|
|
<view class="shop-type_box">
|
|
<view class="shop-type_box">
|
|
|
<view v-for="item in categoryData" :key="item.id" :class="[categoryId===item.id?'active':'']" @click="changeCategory(item)" > {{item.categoryName}} </view>
|
|
<view v-for="item in categoryData" :key="item.id" :class="[categoryId===item.id?'active':'']" @click="changeCategory(item)" > {{item.categoryName}} </view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
- <scroll-view lower-threshold="20" @scrolltolower="reachBottom" class="shop-show_box" :scroll-y="true">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view class="shop-show_box">
|
|
|
<view v-for="item in list.data" :key="item.id" class="show-shop_box">
|
|
<view v-for="item in list.data" :key="item.id" class="show-shop_box">
|
|
|
<view class="item-detail" @click="popAddModelFn(item)">
|
|
<view class="item-detail" @click="popAddModelFn(item)">
|
|
|
<image class="img" :src="item.cover" mode="scaleToFill" ></image>
|
|
<image class="img" :src="item.cover" mode="scaleToFill" ></image>
|
|
@@ -16,8 +16,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
<slot name="footer"></slot>
|
|
<slot name="footer"></slot>
|
|
|
|
|
|
|
|
<!-- 开单选花材输入数量和金额 -->
|
|
<!-- 开单选花材输入数量和金额 -->
|
|
@@ -111,12 +111,7 @@ export default {
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
& .shop-show_box{
|
|
& .shop-show_box{
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
& .show-shop_box{
|
|
& .show-shop_box{
|
|
|
- width: 82upx;
|
|
|
|
|
- height: 82upx;
|
|
|
|
|
- background:red;
|
|
|
|
|
& .item-detail{
|
|
& .item-detail{
|
|
|
position: relative;
|
|
position: relative;
|
|
|
margin-right: 9upx;
|
|
margin-right: 9upx;
|