Commit f83df022 authored by 黄奎's avatar 黄奎

提交

parent f51ab1fa
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<!-- 内容 --> <!-- 内容 -->
<!-- <u-popup mode="top" length="auto" v-model="mask"> --> <!-- <u-popup mode="top" length="auto" v-model="mask"> -->
<scroll-view scroll-y="true" style="max-height: 300rpx;" v-show="mask"> <scroll-view scroll-y="true" style="max-height: 300rpx;" v-show="mask">
<view class="drop-down-content" > <view class="drop-down-content">
<!-- 年级不限 --> <!-- 年级不限 -->
<view v-show="classification==0" class="content-box" @click="content()" :style="{ <view v-show="classification==0" class="content-box" @click="content()" :style="{
color: index ? mainColor : '', color: index ? mainColor : '',
...@@ -22,31 +22,31 @@ ...@@ -22,31 +22,31 @@
}"> }">
<view class="content-tetx">不限</view> <view class="content-tetx">不限</view>
</view> </view>
<!-- 类型不限 --> <!-- 类型不限 -->
<view v-show="classification==1" class="content-box" @click="content33()" :style="{ <view v-show="classification==1" class="content-box" @click="content33()" :style="{
color: indexx ? mainColor : '', color: indexx ? mainColor : '',
'border-color': indexx == i ? 'mainColor' : '#F0F0F0', 'border-color': indexx == i ? 'mainColor' : '#F0F0F0',
}"> }">
<view class="content-tetx">不限</view> <view class="content-tetx">不限</view>
</view> </view>
<!-- 年级内容 --> <!-- 年级内容 -->
<view class="content-box" v-show="classification==0" :style="{ <view class="content-box" v-show="classification==0" :style="{
color: index22 == i ? mainColor : '', color: index22 == i ? mainColor : '',
'border-color': index22 == i ? 'mainColor' : '#F0F0F0', 'border-color': index22 == i ? 'mainColor' : '#F0F0F0',
}" v-for="(item, i) in d" :key='i' @click="content2(item,i)"> }" v-for="(item, i) in d" :key='i' @click="content2(item,i)">
<view class="content-tetx">{{item.Name}}</view> <view class="content-tetx">{{item.Name}}</view>
</view> </view>
<!-- 类型内容 --> <!-- 类型内容 -->
<view class="content-box" v-show="classification==1" :style="{ <view class="content-box" v-show="classification==1" :style="{
color: index2 == i ? mainColor : '', color: index2 == i ? mainColor : '',
'border-color': index2 == i ? 'mainColor' : '#F0F0F0', 'border-color': index2 == i ? 'mainColor' : '#F0F0F0',
}" v-for="(item, i) in subjectslist" @click="content3(item,i)"> }" v-for="(item, i) in subjectslist" @click="content3(item,i)">
<view class="content-tetx">{{item.CateName}}</view> <view class="content-tetx">{{item.CateName}}</view>
</view>
</view> </view>
</view>
</scroll-view> </scroll-view>
<!-- </u-popup> --> <!-- </u-popup> -->
<!-- 内容 --> <!-- 内容 -->
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</view> </view>
<!-- 新加div --> <!-- 新加div -->
<template v-if="u&&u.TenantId==27"> <template v-if="u&&u.TenantId==27">
<view class="Teachers"> <view class="Teachers">
<view class="portrait-box"> <view class="portrait-box">
<image v-if="cx.edudata.TeacherIcon" class="portrait" mode="aspectFit" <image v-if="cx.edudata.TeacherIcon" class="portrait" mode="aspectFit"
:src="cx.edudata.TeacherIcon" /> :src="cx.edudata.TeacherIcon" />
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<view class="vip2" :style="{ color: mainColor }"> <view class="vip2" :style="{ color: mainColor }">
{{ cx.price_content }} {{ cx.price_content }}
</view> </view>
<div @click.stop="showSkuHandler(cx)" class="right"> <div @click.stop="showSkuHandler(cx)" class="right">
<!-- todo 点击加入购物车--> <!-- todo 点击加入购物车-->
<u-icon name="cart-circle-o" size="44" :color="mainColor" /> <u-icon name="cart-circle-o" size="44" :color="mainColor" />
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
</view> </view>
</view> </view>
</template> </template>
</div> </div>
<u-divider v-if="isover" :margin-top="20" :margin-bottom="20">没有更多商品了</u-divider> <u-divider v-if="isover" :margin-top="20" :margin-bottom="20">没有更多商品了</u-divider>
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
auth auth
}, },
created() { created() {
this.u = uni.getStorageSync('mall_UserInfo'); this.u = uni.getStorageSync('mall_UserInfo');
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.activeStyle = `background:${this.mainColor};`; this.activeStyle = `background:${this.mainColor};`;
this.IsEducation = uni.getStorageSync('basedata') ? this.IsEducation = uni.getStorageSync('basedata') ?
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
this.init() this.init()
this.mask = false this.mask = false
this.classification = -1 this.classification = -1
this.Theclass[1].name = '类型' this.Theclass[1].name = '类型'
} }
}, },
// 年级内容 // 年级内容
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment