This commit is contained in:
@fawn-nine
2024-09-20 16:19:52 +08:00
parent a0efe173da
commit eec954c991
5 changed files with 296 additions and 85 deletions

View File

@@ -105,13 +105,15 @@
</view>
</view>
</view>
<view class="welc">
<text>欢迎留下你的见解</text>
<text v-if="classList.length > 0" class="className1" @click="gotoClass(classList[0])" >提交到{{classList[0].title}}</text>
</view>
<view class="flex_box flex_center " style="align-items: center;">
<text class="btn" @click="showBlank()">写见解</text>
</view>
<template v-if="classList.length > 0 && classList[0].state == '1'">
<view class="welc">
<text>欢迎留下你的见解</text>
<text class="className1" @click="gotoClass(classList[0])" >提交到{{classList[0].title}}</text>
</view>
<view class="flex_box flex_center " style="align-items: center;">
<text class="btn" @click="showBlank()">写见解</text>
</view>
</template>
</view>
</view>
<view class="" v-else>