This commit is contained in:
JyuHsin
2024-12-06 08:47:16 +08:00
parent 035b0a46c7
commit c957e2ddd4
20 changed files with 580 additions and 181 deletions
@@ -63,7 +63,7 @@ const onlineAnswer = {
<el-col :span="1" v-if="issue.row.fraction">
<span>({{issue.row.fraction}}分)</span>
</el-col>
<el-col :span="23">
<el-col :span="23" style="display: flex">
<span v-html="issue.row.iname"></span>
<span v-if="issue.row.itx===1" size="mini" style="font-weight: bold">
({{issue.row.iisdx ? '单选' : '多选'}})
@@ -74,7 +74,7 @@ const onlineAnswer = {
<div style="color: rgb(160,160,160)" v-html="issue.row.its"
v-if="!isNull(issue.row.its)"></div>
</el-row>
<el-row v-if="issue.row.itx==1">
<el-row>
<el-row v-for="wor,idx in issue.row.wors">
<el-row style="margin-top: 5px" v-if="wor.wimg">
<el-image
@@ -22,8 +22,7 @@ const batchInsert = {
<div style="height: 100%;width: 50%;overflow: auto;padding: 20px 10px 10px">
<div v-for="(issue,index) in issues" :key="index" style="margin-bottom: 10px">
<div style="display: flex">
<div>{{index+1}}、</div>
<div>{{issue.iname}}</div>
<div>{{index+1}}、{{issue.iname}}</div>
</div>
<div v-if="issue.wors">
<el-radio-group v-if="issue.iisdx">
@@ -539,7 +539,7 @@ layout("/layouts/platform.html"){
<div style="color: rgb(160,160,160)" v-html="issue.row.its"
v-if="!isNull(issue.row.its)"></div>
</el-row>
<el-row v-if="issue.row.itx==1">
<el-row v-if="issue.row.itx==1 || issue.row.itx==3">
<el-row v-for="wor,idx in issue.row.wors">
<el-row style="margin-top: 5px" v-if="wor.wimg">
<el-image
@@ -863,7 +863,7 @@ layout("/layouts/platform.html"){
:key="item.x"
:label="item.y"
:value="item.x"
v-for="item in [{x:1,y:'选择题'},{x:2,y:'填空题'}]">
v-for="item in [{x:1,y:'选择题'},{x:2,y:'填空题'},{x:3,y:'判断题'}]">
</el-option>
</el-select>
</div>
@@ -928,9 +928,9 @@ layout("/layouts/platform.html"){
</el-date-picker>
</el-row>
<template v-if="issueData[currentModifyIssueIndex].itx===1">
<template v-if="issueData[currentModifyIssueIndex].itx===1 || issueData[currentModifyIssueIndex].itx===3">
<vi-title2 title="选项设置"></vi-title2>
<el-row v-if="currentModifyIssue.itx==1">
<el-row v-if="currentModifyIssue.itx==1 || currentModifyIssue.itx==3">
<el-table :data="issueData[currentModifyIssueIndex].wors" border
style="width: 100%;margin-top: 10px;">
<el-table-column header-align="center" label="选项文字" property="wtxt">
@@ -942,6 +942,7 @@ layout("/layouts/platform.html"){
</template>
</el-table-column>
<el-table-column label="图片" align="center" header-align="center"
v-if="currentModifyIssue.itx==1"
width="150px">
<template slot-scope="scope">
<el-upload
@@ -967,6 +968,7 @@ layout("/layouts/platform.html"){
</template>
</el-table-column>
<el-table-column align="center" header-align="center" label="说明"
v-if="currentModifyIssue.itx==1"
property="wsm" width="250px">
<template slot-scope="scope">
<el-input
@@ -984,6 +986,7 @@ layout("/layouts/platform.html"){
</template>
</el-table-column>
<el-table-column align="center" header-align="center" label="链接"
v-if="currentModifyIssue.itx==1"
property="wlj" width="150px">
<template slot-scope="scope">
<el-input
@@ -1007,6 +1010,7 @@ layout("/layouts/platform.html"){
</template>
</el-table-column>-->
<el-table-column align="center" header-align="center" label="默认选中"
v-if="currentModifyIssue.itx==1"
property="wismr"
width="80px">
<template slot-scope="scope">
@@ -7,7 +7,7 @@ const activity = {
<div style="width: 100%">
<div style="background-color: #fff; position: relative; margin-bottom: 10px">
<div style="display: flex; justify-content: center; align-items: center">
<el-image :src="CREATE_PREVIEW_URL(item.cover.id)" alt="" fit="fill"
<el-image :src="'/file_server/fileStreamPreview?id='+item.cover.filepath" alt="" fit="fill"
style="margin: 3px 14px 0 0; width: 100px; height: 70px; border-radius: 8px">
<div slot="error" class="image-slot">
<i class="el-icon-picture-outline"></i>
@@ -39,7 +39,7 @@ const appModule = {
created() {
this.getEntranceModule()
setTimeout(() => {
this.id = headerNavBarVueApp.appModuleId
}, 100)
// this.id = headerNavBarVueApp.appModuleId
}, 400)
}
}
@@ -37,6 +37,7 @@ const quickEntry = {
})*/
},
menuClick(item) {
// location.href=item.url
sublime.jumpPagePjax(item.url)
}
},