111
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
<view style="width: 22%;display: flex;flex-direction: column;overflow-y: auto;padding-top: 10px;">
|
<view style="width: 22%;display: flex;flex-direction: column;overflow-y: auto;padding-top: 10px;">
|
||||||
|
|
||||||
<view style="width: 100%;display: flex;flex-direction: column; ">
|
<view style="width: 100%;display: flex;flex-direction: column; ">
|
||||||
<view v-for="(item,index) in data" @click="labelClick(index,item)"
|
<view v-for="(item,index) in data.typeVos" @click="labelClick(index,item)"
|
||||||
style="display: flex;flex-direction: column;justify-content: center;">
|
style="display: flex;flex-direction: column;justify-content: center;">
|
||||||
<text class="label" :class="{'label2':selectIndex==index}">{{item.name}}</text>
|
<text class="label" :class="{'label2':selectIndex==index}">{{item.name}}</text>
|
||||||
</view>
|
</view>
|
||||||
@@ -35,19 +35,17 @@
|
|||||||
|
|
||||||
<view style="display: flex;flex-direction: row;overflow-x: auto;">
|
<view style="display: flex;flex-direction: row;overflow-x: auto;">
|
||||||
|
|
||||||
<view v-for="(item,index) in 100"
|
<view v-for="(item,index2) in data.brandVos"
|
||||||
style="display: flex;flex-direction: column; justify-content: center;align-items: center;margin-right: 10px;"
|
style="display: flex;flex-direction: column; justify-content: center;align-items: center;margin-right: 10px;"
|
||||||
@click.stop="brandClick('0')">
|
@click.stop="brandClick(index2)">
|
||||||
|
|
||||||
<image src="https://supervise.yxtsoft.com/lpk/image/family_icon.png" mode="aspectFill"
|
<image src="https://supervise.yxtsoft.com/lpk/image/family_icon.png" mode="aspectFill"
|
||||||
:class="brandType=='0'?'top_img1':'top_img2'"
|
:class="selectIndex2 == index2?'top_img1':'top_img2'"
|
||||||
style="width: 60px;height:60px;border-radius: 50%;padding:5px;"></image>
|
style="width: 60px;height:60px;border-radius: 50%;padding:5px;"></image>
|
||||||
|
|
||||||
<text :class="brandType=='0'?'top_text1':'top_text2'">百姓菜窖</text>
|
<text :class="selectIndex2 == index2?'top_text1':'top_text2'">{{item.brandName}}</text>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -225,6 +223,7 @@
|
|||||||
data: [],
|
data: [],
|
||||||
goods: [],
|
goods: [],
|
||||||
selectIndex: 0,
|
selectIndex: 0,
|
||||||
|
selectIndex2: 0,
|
||||||
initPrice: '0',
|
initPrice: '0',
|
||||||
initReduce: "0",
|
initReduce: "0",
|
||||||
initWeight: "0",
|
initWeight: "0",
|
||||||
|
|||||||
Reference in New Issue
Block a user