Commit f83df022 authored by 黄奎's avatar 黄奎

提交

parent f51ab1fa
......@@ -14,7 +14,7 @@
<!-- 内容 -->
<!-- <u-popup mode="top" length="auto" v-model="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="{
color: index ? mainColor : '',
......@@ -22,31 +22,31 @@
}">
<view class="content-tetx">不限</view>
</view>
<!-- 类型不限 -->
<view v-show="classification==1" class="content-box" @click="content33()" :style="{
color: indexx ? mainColor : '',
'border-color': indexx == i ? 'mainColor' : '#F0F0F0',
}">
<view class="content-tetx">不限</view>
</view>
<view class="content-tetx">不限</view>
</view>
<!-- 年级内容 -->
<view class="content-box" v-show="classification==0" :style="{
<view class="content-box" v-show="classification==0" :style="{
color: index22 == i ? mainColor : '',
'border-color': index22 == i ? 'mainColor' : '#F0F0F0',
}" v-for="(item, i) in d" :key='i' @click="content2(item,i)">
<view class="content-tetx">{{item.Name}}</view>
</view>
<!-- 类型内容 -->
<view class="content-box" v-show="classification==1" :style="{
<view class="content-tetx">{{item.Name}}</view>
</view>
<!-- 类型内容 -->
<view class="content-box" v-show="classification==1" :style="{
color: index2 == i ? mainColor : '',
'border-color': index2 == i ? 'mainColor' : '#F0F0F0',
}" v-for="(item, i) in subjectslist" @click="content3(item,i)">
<view class="content-tetx">{{item.CateName}}</view>
</view>
<view class="content-tetx">{{item.CateName}}</view>
</view>
</view>
</scroll-view>
<!-- </u-popup> -->
<!-- 内容 -->
......@@ -125,7 +125,7 @@
</view>
<!-- 新加div -->
<template v-if="u&&u.TenantId==27">
<view class="Teachers">
<view class="Teachers">
<view class="portrait-box">
<image v-if="cx.edudata.TeacherIcon" class="portrait" mode="aspectFit"
:src="cx.edudata.TeacherIcon" />
......@@ -136,7 +136,7 @@
<view class="vip2" :style="{ color: mainColor }">
{{ cx.price_content }}
</view>
<div @click.stop="showSkuHandler(cx)" class="right">
<!-- todo 点击加入购物车-->
<u-icon name="cart-circle-o" size="44" :color="mainColor" />
......@@ -144,7 +144,7 @@
</view>
</view>
</template>
</div>
<u-divider v-if="isover" :margin-top="20" :margin-bottom="20">没有更多商品了</u-divider>
......@@ -230,7 +230,7 @@
auth
},
created() {
this.u = uni.getStorageSync('mall_UserInfo');
this.u = uni.getStorageSync('mall_UserInfo');
this.mainColor = this.$uiConfig.mainColor;
this.activeStyle = `background:${this.mainColor};`;
this.IsEducation = uni.getStorageSync('basedata') ?
......@@ -327,7 +327,7 @@
this.init()
this.mask = false
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