This commit is contained in:
2025-02-25 11:27:48 +08:00
parent f42c8c52d0
commit 99f09efc0f
3 changed files with 36 additions and 12 deletions
@@ -223,6 +223,11 @@ layout("/mobile/platform.html"){
<van-col span="16" v-if="wor.wsm">
{{ wor.wsm }}
</van-col>
<van span="24" v-if="wor.files&&wor.files.length>0">
<div v-for="file in wor.files">
<div @click="fileClick(file)"> {{file.filename}}</div>
</div>
</van>
</van-row>
</div>
</div>
@@ -304,6 +309,9 @@ layout("/mobile/platform.html"){
}
},
methods: {
fileClick(file){
preview(file.filename, file.id)
},
async getQuestionData() {
const resp = await $.get('/mobile/question/h5/questionInfo/' + this.id)
this.questionData = resp.data