|
|
@@ -2,16 +2,16 @@
|
|
|
<view class="ezy-cjdc-xbb-page">
|
|
|
<view class="icon-title-navBar-box">
|
|
|
<view class="nav-bar-icon" @click="handleBack"></view>
|
|
|
- <view class="nav-bar-title">选择版本-L6</view>
|
|
|
+ <view class="nav-bar-title">选择版本-L{{ data.dengjiId }}</view>
|
|
|
</view>
|
|
|
<view class="ezy-page-body">
|
|
|
<view class="ezy-text-tab-box">
|
|
|
- <view class="text-item active" @click="data.isShangce = true">上册</view>
|
|
|
- <view class="text-item" @click="data.isShangce = false">下册</view>
|
|
|
+ <view class="text-item" @click="data.isShangce = true" :class="{active: data.isShangce}">上册</view>
|
|
|
+ <view class="text-item" @click="data.isShangce = false" :class="{active: !data.isShangce}">下册</view>
|
|
|
</view>
|
|
|
- <template v-if="data.isShangce">
|
|
|
+ <template v-if="data.isShangce" >
|
|
|
<template v-if="data.banbenList.length">
|
|
|
- <view class="xbb-list-box">
|
|
|
+ <view class="xbb-list-box" key="1">
|
|
|
<ezyActiveVue class="ezy-list-item-active xbb-item-box" v-for="item in data.banbenList" :key="item.id"
|
|
|
@aclick="handleSelect(item)">
|
|
|
<text class="xbb-item-text">{{item.name}}</text>
|
|
|
@@ -30,10 +30,10 @@
|
|
|
</template>
|
|
|
</template>
|
|
|
|
|
|
- <template v-else>
|
|
|
+ <template v-else >
|
|
|
<template v-if="data.banbenList2.length">
|
|
|
- <view class="xbb-list-box">
|
|
|
- <ezyActiveVue class="ezy-list-item-active xbb-item-box" v-for="item in data.banbenList" :key="item.id"
|
|
|
+ <view class="xbb-list-box" key="2">
|
|
|
+ <ezyActiveVue class="ezy-list-item-active xbb-item-box" v-for="item in data.banbenList2" :key="item.id"
|
|
|
@aclick="handleSelect(item)">
|
|
|
<text class="xbb-item-text">{{item.name}}</text>
|
|
|
<icon class="arrow-icon"></icon>
|