Commit 3776d164 authored by Facius's avatar Facius

feat: 需求变更

parent 46eb4745
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
width="650rpx" width="650rpx"
:mask-close-able="flase" :mask-close-able="flase"
close-icon-color="#FFFFFF" close-icon-color="#FFFFFF"
height="86%"
> >
<view class="pop-view"> <view class="pop-view">
<image mode="widthFix" class="image-view" :src="backgroundImage"></image> <image mode="widthFix" class="image-view" :src="backgroundImage"></image>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<u-notice-bar <u-notice-bar
mode="vertical" mode="vertical"
type="none" type="none"
font-size="26" font-size="24"
:list="[noticeText]" :list="[noticeText]"
color="#FFFFFF" color="#FFFFFF"
:volume-icon="false" :volume-icon="false"
...@@ -175,32 +175,32 @@ export default { ...@@ -175,32 +175,32 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.top { .top {
width: 100%; width: 100%;
margin-left: 15rpx;
display: flex; display: flex;
align-items: center; align-items: center;
.notice-image { .notice-image {
width: 48rpx; width: 48rpx;
height: 48rpx; height: 48rpx;
} }
.avatar { // .avatar {
.avatar-list { // .avatar-list {
margin-left: -15rpx; // margin-left: -15rpx;
display: flex; // display: flex;
justify-content: flex-start; // justify-content: flex-start;
align-items: center; // align-items: center;
image { // image {
width: 44rpx; // width: 44rpx;
height: 44rpx; // height: 44rpx;
border: 2rpx solid #ccc; // border: 2rpx solid #ccc;
background: #fff; // background: #fff;
border-radius: 50%; // border-radius: 50%;
margin-right: 1px; // margin-right: 1px;
} // }
} // }
} // }
.notice { .notice {
flex: 1; flex: 1;
width: 100%; width: 100%;
margin-left: -6rpx;
} }
} }
</style> </style>
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
共 共
<text class="label-blue">{{ info.number || 0 }}</text <text class="label-blue">{{ info.number || 0 }}</text
>道精编试题,通过率 >道精编试题,通过率
<text class="label-blue">{{ info.pass || $u.random(95, 99) }}%</text> <text class="label-blue">{{
info.version || info.key || $u.random(95, 99) + '%'
}}</text>
</view> </view>
</view> </view>
<u-button <u-button
......
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
} }
.line-view { .line-view {
width: 2rpx; width: 2rpx;
background-color: #ffffff; background-color: #7993ff;
height: 70rpx; height: 70rpx;
} }
} }
......
...@@ -92,10 +92,10 @@ ...@@ -92,10 +92,10 @@
<view class="bottom-view"> <view class="bottom-view">
<image <image
class="bottom-image" class="bottom-image"
:src="mokaodashiImage" :src="slognImage"
@click="handleClickBlank" @click="handleClickBlank"
></image> ></image>
<view>想要轻松考过,首选模考大师</view> <!-- <view>想要轻松考过,首选模考大师</view> -->
</view> </view>
</view> </view>
<view class="experience-pop-view"> <view class="experience-pop-view">
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
return process.uniEnv.qn_base_url + 'quanbutiku.png' return process.uniEnv.qn_base_url + 'quanbutiku.png'
}, },
slognImage() { slognImage() {
return process.uniEnv.qn_base_url + 'slogn.png' return process.uniEnv.qn_base_url + 'slogn-h.png'
}, },
marks() { marks() {
return [ return [
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
this.data.questionWarehouse.echoMap.provinceId && this.data.questionWarehouse.echoMap.provinceId &&
this.data.questionWarehouse.echoMap.provinceId.fullName, this.data.questionWarehouse.echoMap.provinceId.fullName,
experience: this.canExperience, experience: this.canExperience,
pass: this.pass + '%', pass: this.data.questionWarehouse.version,
days: this.detail.totalDayCount || 0, days: this.detail.totalDayCount || 0,
today: this.detail.todayCount || 0, today: this.detail.todayCount || 0,
total: this.detail.totalCount || 0, total: this.detail.totalCount || 0,
...@@ -276,7 +276,6 @@ export default { ...@@ -276,7 +276,6 @@ export default {
this.selected = info this.selected = info
page.info = null page.info = null
this.isAdd = this.selected.isAdd this.isAdd = this.selected.isAdd
this.pass = this.$u.random(95, 99)
this.queryMyQuestionWarehouseDetail(this.selected.id) this.queryMyQuestionWarehouseDetail(this.selected.id)
} else { } else {
this.queryMyQuestionWarehouseDetail(this.info.id || 0) this.queryMyQuestionWarehouseDetail(this.info.id || 0)
...@@ -365,9 +364,6 @@ export default { ...@@ -365,9 +364,6 @@ export default {
var str = this.info.id ? 'selectedList' : 'selectCategory' var str = this.info.id ? 'selectedList' : 'selectCategory'
this.$u.route({ this.$u.route({
url: 'pages/learn/' + str, url: 'pages/learn/' + str,
params: {
pass: this.pass,
},
}) })
}, },
// 每日一练 // 每日一练
...@@ -666,8 +662,8 @@ export default { ...@@ -666,8 +662,8 @@ export default {
.detail-view { .detail-view {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
margin-top: 14rpx; margin-top: 22rpx;
margin-bottom: 36rpx; margin-bottom: 40rpx;
.detail-item { .detail-item {
color: #9ea5bb; color: #9ea5bb;
font-size: 28rpx; font-size: 28rpx;
...@@ -694,7 +690,7 @@ export default { ...@@ -694,7 +690,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin: 30rpx 0 160rpx 0; margin: 30rpx 0 140rpx 0;
.sub-content-item { .sub-content-item {
color: #5a6073; color: #5a6073;
font-size: 26rpx; font-size: 26rpx;
...@@ -759,9 +755,9 @@ export default { ...@@ -759,9 +755,9 @@ export default {
font-size: 26rpx; font-size: 26rpx;
color: #adbdd4; color: #adbdd4;
.bottom-image { .bottom-image {
width: 56rpx; width: 520rpx;
height: 56rpx; height: 28rpx;
margin-right: 14rpx; // margin-right: 14rpx;
} }
} }
} }
......
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
computed: { computed: {
kapianImage() { kapianImage() {
return process.uniEnv.qn_base_url + 'kapian.png' return process.uniEnv.qn_base_url + 'kapianlizi.png'
}, },
customStyle() { customStyle() {
return { return {
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
} }
}, },
kapianImage() { kapianImage() {
return process.uniEnv.qn_base_url + 'kapian.png' return process.uniEnv.qn_base_url + 'kapianlizi.png'
}, },
placeplaceholderStyle() { placeplaceholderStyle() {
return 'color:#9EA5BB;font-size:28rpx' return 'color:#9EA5BB;font-size:28rpx'
......
...@@ -260,7 +260,6 @@ export default { ...@@ -260,7 +260,6 @@ export default {
keys.sort() keys.sort()
for (let index = 0; index < keys.length; index++) { for (let index = 0; index < keys.length; index++) {
const ele = keys[index] const ele = keys[index]
console.log('ele', ele)
this.chartData.categories.push(ele.replace(/\-/g, '.')) this.chartData.categories.push(ele.replace(/\-/g, '.'))
this.chartData.series[0].data.push(res[ele].totalCount || '') this.chartData.series[0].data.push(res[ele].totalCount || '')
this.chartData.series[1].data.push(res[ele].rightCount || '') this.chartData.series[1].data.push(res[ele].rightCount || '')
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<view <view
v-for="(list, index) in items" v-for="(list, index) in items"
:key="index" :key="index"
class="label-list" class="label-list-content"
:style="{ :style="{
'min-height': 'min-height':
key == secondKey && index + 1 == list.length key == secondKey && index + 1 == list.length
...@@ -190,13 +190,22 @@ export default { ...@@ -190,13 +190,22 @@ export default {
background-size: 100% 520rpx; background-size: 100% 520rpx;
background-repeat: no-repeat; background-repeat: no-repeat;
.select-category-content { .select-category-content {
padding: 0 0 24rpx 24rpx; ::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
padding-bottom: 24rpx;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
position: relative; position: relative;
.label-list { .label-list {
margin-bottom: 20rpx; margin-bottom: 20rpx;
.label-list-content {
margin: 0 24rpx;
}
.label-title { .label-title {
font-size: 32rpx; font-size: 32rpx;
font-weight: bold; font-weight: bold;
...@@ -208,8 +217,10 @@ export default { ...@@ -208,8 +217,10 @@ export default {
} }
.label-content { .label-content {
flex-wrap: wrap;
display: flex;
justify-content: space-between;
.label-item { .label-item {
padding-right: 22rpx;
padding-bottom: 24rpx; padding-bottom: 24rpx;
flex-shrink: 0; flex-shrink: 0;
display: inline-block; display: inline-block;
......
...@@ -51,7 +51,6 @@ export default { ...@@ -51,7 +51,6 @@ export default {
return { return {
list: [], // 已选题库列表 list: [], // 已选题库列表
loading: true, loading: true,
currentPass: null,
} }
}, },
computed: { computed: {
...@@ -69,9 +68,6 @@ export default { ...@@ -69,9 +68,6 @@ export default {
}, },
}, },
onLoad(e) { onLoad(e) {
if (e && e.pass) {
this.currentPass = e.pass
}
this.loadList() // 获取已选题库列表 this.loadList() // 获取已选题库列表
}, },
methods: { methods: {
...@@ -99,9 +95,6 @@ export default { ...@@ -99,9 +95,6 @@ export default {
for (var item of res) { for (var item of res) {
if (item && item.echoMap && item.echoMap.questionWarehouseId) { if (item && item.echoMap && item.echoMap.questionWarehouseId) {
item.echoMap.questionWarehouseId.number = item.number item.echoMap.questionWarehouseId.number = item.number
if (item.questionWarehouseId == this.questionWarehouseId) {
item.echoMap.questionWarehouseId.pass = this.currentPass
}
} }
} }
this.list = res this.list = res
......
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