|
@@ -9,8 +9,7 @@
|
|
<view class="second">
|
|
<view class="second">
|
|
<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
|
|
<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
|
|
<view class="list-scroll-view">
|
|
<view class="list-scroll-view">
|
|
- <view class="list" v-for="(item,index) in list" :key="index"
|
|
|
|
- @tap="toCommon('pagesHome/order/detail')">
|
|
|
|
|
|
+ <view class="list" v-for="(item,index) in list" :key="index" @tap="toCommon('pagesHome/order/detail')">
|
|
<image class="image" :src="item.url" mode=""></image>
|
|
<image class="image" :src="item.url" mode=""></image>
|
|
<view class="name">
|
|
<view class="name">
|
|
{{item.name}}
|
|
{{item.name}}
|
|
@@ -40,20 +39,17 @@
|
|
<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
|
|
<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage">
|
|
<view class="list-scroll-view">
|
|
<view class="list-scroll-view">
|
|
<view class="second_1">
|
|
<view class="second_1">
|
|
- <view :class="['list',condActive==index?'activeList':'']"
|
|
|
|
- v-for="(item,index) in condList" :key="index" @tap="toCond(index,item)">
|
|
|
|
|
|
+ <view :class="['list',condActive==index?'activeList':'']" v-for="(item,index) in condList" :key="index" @tap="toCond(index,item)">
|
|
<view class="name">
|
|
<view class="name">
|
|
{{item.name}}
|
|
{{item.name}}
|
|
</view>
|
|
</view>
|
|
<view class="icon">
|
|
<view class="icon">
|
|
<view class="icon_1">
|
|
<view class="icon_1">
|
|
- <text :class="['iconfont',item.shangActive]"
|
|
|
|
- v-if="condActive==index&&shang==true"></text>
|
|
|
|
|
|
+ <text :class="['iconfont',item.shangActive]" v-if="condActive==index&&shang==true"></text>
|
|
<text :class="['iconfont',item.shang]" v-else></text>
|
|
<text :class="['iconfont',item.shang]" v-else></text>
|
|
</view>
|
|
</view>
|
|
<view class="icon_1">
|
|
<view class="icon_1">
|
|
- <text :class="['iconfont', item.xiaActive]"
|
|
|
|
- v-if="condActive==index&&xia==true"></text>
|
|
|
|
|
|
+ <text :class="['iconfont', item.xiaActive]" v-if="condActive==index&&xia==true"></text>
|
|
<text :class="['iconfont', item.xia]" v-else></text>
|
|
<text :class="['iconfont', item.xia]" v-else></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -61,8 +57,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="second_2">
|
|
<view class="second_2">
|
|
<view class="list" v-for="(item,index) in allList" :key="index">
|
|
<view class="list" v-for="(item,index) in allList" :key="index">
|
|
- <image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''"
|
|
|
|
- mode=""></image>
|
|
|
|
|
|
+ <image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''" mode=""></image>
|
|
<view class="sale" v-if="item.is_sale==true">
|
|
<view class="sale" v-if="item.is_sale==true">
|
|
<text>已售尽</text>
|
|
<text>已售尽</text>
|
|
</view>
|
|
</view>
|
|
@@ -325,6 +320,9 @@
|
|
barChange(index, item) {
|
|
barChange(index, item) {
|
|
const that = this;
|
|
const that = this;
|
|
that.$set(that, `barActive`, index);
|
|
that.$set(that, `barActive`, index);
|
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
|
+ title: item.name
|
|
|
|
+ });
|
|
},
|
|
},
|
|
// 公共跳转
|
|
// 公共跳转
|
|
toCommon(e) {
|
|
toCommon(e) {
|