优化
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
-->
|
||||
<template>
|
||||
<view class="introduce">
|
||||
<view class="intro-history" @click="info.is_answer?'toResult':''">{{info.is_answer?'测评记录':'暂未测评'}}</view>
|
||||
<view class="intro-history" v-if="info.is_answer" @click="toResult">测评记录</view>
|
||||
<view class="intro-history" v-else @click="toResult">暂未测评</view>
|
||||
<view class="intro-content">
|
||||
<view class="intro-title">{{ info.title }}</view>
|
||||
<u-read-more class="intro-des" :toggle="true" showHeight="140" ref="uReadMore" :shadowStyle="shadowStyle" color="#34ce98" textIndent="0">
|
||||
@@ -50,7 +51,8 @@ export default {
|
||||
url: `/pages/evaluation/index?id=${this.$Route.query.id}`
|
||||
});
|
||||
},
|
||||
toResult(item) {
|
||||
toResult() {
|
||||
console.log('点击了测试')
|
||||
uni.navigateTo({
|
||||
url: `/pages/evaluation/result?id=${this.$Route.query.id}`
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user