zhf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user