Commit edeefe41 authored by Facius's avatar Facius

fix: 去掉测试代码

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