update:NPS UI修改

This commit is contained in:
du.meimei
2025-03-16 11:07:22 +08:00
parent bb3808bbf9
commit 5fea34f1bb
9 changed files with 33 additions and 32 deletions

View File

@@ -87,7 +87,7 @@
:active="chooseQuestionId === element.id"
@update:element="updateElement"
/>
<!--图文-->
<!--NPS-->
<NPS
v-if="element.question_type === 106"
:element="computedElement(element)"

View File

@@ -260,8 +260,8 @@ const getSkipTypeText = (skipType) => {
const ls = [];
logics.map((item) => {
if (
item.skip_type === skipType
&& item.question_index === activeQuestion.value.question_index
item.skip_type === skipType &&
item.question_index === activeQuestion.value.question_index
) {
ls.push(item);
}
@@ -316,8 +316,8 @@ const updateConfig = (value) => {
.question-action-container {
font-size: 20px;
& .mobilefont{
font-size:18px;
& .mobilefont {
font-size: 18px;
}
& .van-icon + .van-icon {

View File

@@ -19,12 +19,12 @@
:key="optionIndex"
@click="chooseOption(item)"
>
<RateCharacter v-model="answerValue" :config="element.config"></RateCharacter>
<div class="tips">
<p>{{ element.config.prompt_left }}</p>
<p>{{ element.config.prompt_center }}</p>
<p>{{ element.config.prompt_right }}</p>
</div>
<RateCharacter v-model="answerValue" :config="element.config"></RateCharacter>
</div>
</div>
</template>
@@ -71,6 +71,6 @@ const chooseOption = (item) => {
.tips {
display: flex;
justify-content: space-between;
color: #bfbfbf;
color: #b8b8b8;
}
</style>

View File

@@ -5,6 +5,7 @@
:label="element.stem"
:required="element.config.is_required === 1"
label-align="top"
class="contenteditable-question-title"
>
<template #left-icon>
{{ index + 1 }}

View File

@@ -95,7 +95,7 @@ ul {
.rate_item {
margin: 0 3px;
margin-top: 5px;
padding: 0 7px;
padding: 0 6px;
border: 1px solid #ddd;
border-radius: 4px;
color: #666;

View File

@@ -9,7 +9,7 @@ import { onMounted, ref } from 'vue';
const contentShow = ref(false);
const show = ref(false);
onMounted(async() => {
onMounted(async () => {
contentShow.value = true;
// if (utils.getSessionStorage('xToken')) {
// const appToken = utils.getParameter('digitalYiliToken');

View File

@@ -96,9 +96,7 @@ onMounted(() => {
color: #000;
font-weight: bold;
font-size: 15px;
font-family:
PingFangSC,
'PingFang SC';
font-family: PingFangSC, 'PingFang SC';
}
}
@@ -114,8 +112,6 @@ onMounted(() => {
color: #000;
font-weight: 400;
font-size: 0.34rem;
//font-family: PingFangHK, PingFangHK;
}
}
</style>

View File

@@ -20,7 +20,7 @@ const marketList = ref([]);
const active = ref(null);
const marketInfo = ref([]);
const getTableList = async() => {
const getTableList = async () => {
const res = await getListScene();
if (res.data.code === 0) {
res.data.data.forEach((item) => {
@@ -32,7 +32,7 @@ const getTableList = async() => {
getMarketInfo(marketList.value[0]);
}
};
const getMarketInfo = async(item) => {
const getMarketInfo = async (item) => {
const code = marketList.value.filter((market, index) => item === index)[0].code;
const params = {
page: 1,

View File

@@ -601,34 +601,38 @@ onMounted(async () => {
//font-size: 12px;
}
}
::v-deep .van-popup--bottom.van-popup--round {
background-color: #f2f2f2 !important;
}
.setting_title {
font-family:
PingFangSC,
PingFang SC;
font-weight: bold;
font-size: 19px;
color: #000000;
.setting_title {
color: #000;
font-weight: bold;
font-style: normal;
font-size: 19px;
font-family: PingFangSC, 'PingFang SC';
line-height: 26px;
text-align: left;
font-style: normal;
}
.setting_group {
padding: 10px;
background-color: #f2f2f2;
}
.setting_block {
border-radius: 12px;
}
.border-top {
border-radius: 12px 12px 0 0;
}
.border-bottom {
border-radius: 0 0 12px 12px;
}
.result-cell {
margin: 10px 5px;
padding: 5px;