|
|
@@ -17,7 +17,7 @@
|
|
|
<view style="width: 160px;margin: 0 auto;"><u-tabs :list="list" item-width="150" font-size="24" bar-width="110" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
|
|
|
</view>
|
|
|
<u-line color="#D6D6DB" />
|
|
|
- <view class="menuSel">
|
|
|
+ <view class="menuSel" v-show="current==0">
|
|
|
<scroll-view class="r_sliper" scroll-x="true" >
|
|
|
<view v-for="(item,index) in array" :key="index" style="margin-right: 20rpx;display:inline-block">
|
|
|
<view :class="menuIndex==index?'r_t1':'r_t2'" @click="cMenu(index)">
|
|
|
@@ -26,22 +26,51 @@
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
+ <view class="menuSel" v-show="current==1">
|
|
|
+ <scroll-view class="r_sliper" scroll-x="true" >
|
|
|
+ <view v-for="(item,index) in array" :key="index" style="margin-right: 20rpx;display:inline-block">
|
|
|
+ <view :class="menuIndex1==index?'r_t1':'r_t2'" @click="cMenu1(index)">
|
|
|
+ {{item}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="listBox">
|
|
|
- <navigator url="/pages2/course/detail" v-for="(item,index) in array" :key="index" >
|
|
|
- <view class="itemBox">
|
|
|
- <image src="/static/login_bg.jpg" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
|
|
|
- <view style="display: flex;margin-top: 13rpx;">
|
|
|
- <view class="yearTag">2020</view>
|
|
|
- <view class="titleTag">2020年二建建筑工程管理与实务(实务专题班)</view>
|
|
|
+ <view v-show="current==0">
|
|
|
+ <view class="listBox">
|
|
|
+ <navigator url="/pages2/course/detail" v-for="(item,index) in array" :key="index" >
|
|
|
+ <view class="itemBox">
|
|
|
+ <image src="/static/login_bg.jpg" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
|
|
|
+ <view style="display: flex;margin-top: 13rpx;">
|
|
|
+ <view class="yearTag">2020</view>
|
|
|
+ <view class="titleTag">2020年二建建筑工程管理与实务(实务专题班)</view>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
|
|
|
+ <view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
|
|
|
+ 共 <text class="blackFont">6</text> 科 <text class="blackFont">120</text> 节 <text class="blackFont">60</text> 学时</view>
|
|
|
+ <view class="priceTag">¥ 999.00</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
|
|
|
- <view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
|
|
|
- 共 <text class="blackFont">6</text> 科 <text class="blackFont">120</text> 节 <text class="blackFont">60</text> 学时</view>
|
|
|
- <view class="priceTag">¥ 999.00</view>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view v-show="current==1">
|
|
|
+ <view class="listBox">
|
|
|
+ <navigator url="/pages2/bank/detail" v-for="(item,index) in array" :key="index" >
|
|
|
+ <view class="itemBox">
|
|
|
+ <image src="/static/login_bg.jpg" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
|
|
|
+ <view style="display: flex;margin-top: 13rpx;">
|
|
|
+ <view class="yearTag">2020</view>
|
|
|
+ <view class="titleTag">2020年二建建筑工程管理与实务(实务专题班)</view>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
|
|
|
+ <view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
|
|
|
+ 共 <text class="blackFont">6</text> 张卷 <text class="blackFont">120</text>道题 </view>
|
|
|
+ <view class="priceTag">¥ 999.00</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -66,7 +95,8 @@ export default {
|
|
|
],
|
|
|
array:['全部','建设工程施工管理','机电全科','机电工程管理与实','机电全科','全科'],
|
|
|
current:0,
|
|
|
- menuIndex:0
|
|
|
+ menuIndex:0,
|
|
|
+ menuIndex1:0
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh(){
|
|
|
@@ -83,6 +113,9 @@ export default {
|
|
|
cMenu(index){
|
|
|
this.menuIndex = index;
|
|
|
},
|
|
|
+ cMenu1(index){
|
|
|
+ this.menuIndex1 = index;
|
|
|
+ },
|
|
|
change(index){
|
|
|
this.current = index;
|
|
|
}
|