This commit is contained in:
JyuHsin
2025-04-28 10:48:11 +08:00
parent ecb9a1e2de
commit 3626f12b29
4 changed files with 8 additions and 4 deletions
@@ -32,7 +32,7 @@ layout("/mobile/platform.html"){
text-overflow: ellipsis;
"
>
{{row.title}}
{{removeHTMLTag(row.title)}}
</div>
<div style="font-size: 13px; color: #606266">
开始时间:{{row.startTime}}
@@ -106,7 +106,7 @@ layout("/mobile/platform.html"){
<div id="app" v-cloak>
<van-nav-bar title="问卷调查" left-arrow @click-left="pjaxReplace('/mobile/index')" placeholder fixed></van-nav-bar>
<div class="container" :style="{'padding-bottom': answerRecord.isFinish ? 0 : '84px'}">
<h2 class="title">{{ activity.title }}</h2>
<h2 class="title" v-html="activity.title"></h2>
<div class="desc" v-html="activity.description"></div>
<div v-if="!isFinished">
<div v-for="(subject, index) in subjects" :key="index" class="subject">
@@ -34,7 +34,11 @@ layout("/layouts/platform.html"){
<el-table :data="tableData" ref="tableRef" @sort-change="pageOrder">
<el-table-column label="序号" width="50" type="index" :index="indexMethod"></el-table-column>
<el-table-column label="标题" prop="title" sortable></el-table-column>
<el-table-column label="标题" prop="title" sortable>
<template scope="{row}">
{{removeHTMLTag(row.title)}}
</template>
</el-table-column>
<el-table-column label="类型" prop="category" sortable width="200">
<template scope="{row}">
<dict-tag :options="dict.type.ACTIVITY_QSV_CATEGORY" :value="row.category"></dict-tag>
@@ -54,7 +54,7 @@ const activity = {
if (item.url) {
sublime.jumpPagePjax(item.url)
} else {
this.$refs.openQRCode.openCode(item.url, "该活动只支持手机端报名,请使用手机扫描二维码报名!")
this.$refs.openQRCode.openCode(item.h5Url, "该活动只支持手机端报名,请使用手机扫描二维码报名!")
}
}
},