Commit edeefe41 authored by Facius's avatar Facius

fix: 去掉测试代码

parent 67820d3b
<template> <template>
<view class="question-bank-cell"> <view class="question-bank-cell">
<view class="label-normal"> <view class="label-normal">
<view>{{ info.label || info.title }}</view> <view class="title-view">{{ info.label || info.title }}</view>
<view class="type-view" v-if="!isAdd">{{
provinceName + '-' + examTypeText
}}</view>
<view class="label-text"> <view class="label-text">
共 共
<text class="label-blue">{{ info.number || 0 }}</text <text class="label-blue">{{ info.number || 0 }}</text
...@@ -40,6 +43,16 @@ export default { ...@@ -40,6 +43,16 @@ export default {
return {} return {}
}, },
computed: { computed: {
examTypeText() {
return this.info.echoMap && this.info.echoMap.type
},
provinceName() {
return (
this.info.echoMap &&
this.info.echoMap.provinceId &&
this.info.echoMap.provinceId.fullName
)
},
isAdd() { isAdd() {
return this.type == 'add' return this.type == 'add'
}, },
...@@ -90,12 +103,20 @@ export default { ...@@ -90,12 +103,20 @@ export default {
align-items: center; align-items: center;
.label-normal { .label-normal {
width: 470rpx; width: 470rpx;
word-break: break-all;
.title-view {
font-size: 36rpx; font-size: 36rpx;
color: #191c27; color: #191c27;
font-weight: bold; font-weight: bold;
word-break: break-all; margin-bottom: 12rpx;
}
.type-view {
font-size: 28rpx;
color: #5a6073;
font-weight: bold;
}
.label-text { .label-text {
margin-top: 24rpx; margin-top: 12rpx;
font-size: 26rpx; font-size: 26rpx;
color: #5a6073; color: #5a6073;
.label-blue { .label-blue {
......
...@@ -172,22 +172,6 @@ export default { ...@@ -172,22 +172,6 @@ export default {
for (var item of res) { for (var item of res) {
if (item.parentId == data.id) { if (item.parentId == data.id) {
this.labels[key2][i].push(item) this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
this.labels[key2][i].push(item)
} }
} }
} }
......
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