diff --git a/src/views/Design/Index.vue b/src/views/Design/Index.vue index f2c084e..d15c052 100644 --- a/src/views/Design/Index.vue +++ b/src/views/Design/Index.vue @@ -52,8 +52,8 @@ - + { 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); } @@ -277,13 +277,13 @@ const getSkipTypeText = (skipType) => { const questionSetting = (type) => { switch (type) { - case 'before': - questionBeforeShow.value = true; + case 'before': + questionBeforeShow.value = true; - break; - case 'after': - questionBeforeShow.value = true; - break; + break; + case 'after': + questionBeforeShow.value = true; + break; } skipType.value = type === 'before' ? 1 : 0; }; @@ -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 { diff --git a/src/views/Design/components/Questions/NPS.vue b/src/views/Design/components/Questions/NPS.vue index 2c1407c..2e610f0 100644 --- a/src/views/Design/components/Questions/NPS.vue +++ b/src/views/Design/components/Questions/NPS.vue @@ -19,12 +19,12 @@ :key="optionIndex" @click="chooseOption(item)" > - {{ element.config.prompt_left }} {{ element.config.prompt_center }} {{ element.config.prompt_right }} + @@ -71,6 +71,6 @@ const chooseOption = (item) => { .tips { display: flex; justify-content: space-between; - color: #bfbfbf; + color: #b8b8b8; } diff --git a/src/views/Design/components/Questions/Rate.vue b/src/views/Design/components/Questions/Rate.vue index 8d69a0c..0ced0a8 100644 --- a/src/views/Design/components/Questions/Rate.vue +++ b/src/views/Design/components/Questions/Rate.vue @@ -5,6 +5,7 @@ :label="element.stem" :required="element.config.is_required === 1" label-align="top" + class="contenteditable-question-title" > {{ index + 1 }} diff --git a/src/views/Design/components/Questions/RateCharacter.vue b/src/views/Design/components/Questions/RateCharacter.vue index 866ad19..19c8ddd 100644 --- a/src/views/Design/components/Questions/RateCharacter.vue +++ b/src/views/Design/components/Questions/RateCharacter.vue @@ -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; diff --git a/src/views/Home/components/CreateSurvey/Index.vue b/src/views/Home/components/CreateSurvey/Index.vue index ddd9517..4a9cabd 100644 --- a/src/views/Home/components/CreateSurvey/Index.vue +++ b/src/views/Home/components/CreateSurvey/Index.vue @@ -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; } } diff --git a/src/views/Home/components/Market/Index.vue b/src/views/Home/components/Market/Index.vue index 61763be..20b3389 100644 --- a/src/views/Home/components/Market/Index.vue +++ b/src/views/Home/components/Market/Index.vue @@ -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, diff --git a/src/views/Survey/views/Create/Index.vue b/src/views/Survey/views/Create/Index.vue index 6b962ff..468ec17 100644 --- a/src/views/Survey/views/Create/Index.vue +++ b/src/views/Survey/views/Create/Index.vue @@ -97,16 +97,12 @@ - - - - 保存 预览 - 投放设置 + + 投放设置 + 立即投放 @@ -114,12 +110,12 @@ - + - 设置 + 投放设置 - - + + - + - + @@ -224,7 +221,7 @@ - + 次 - + { button { padding: 3px 20px; border: none; + border-radius: 10px; background-color: #70b937; color: #fff; - border-radius: 10px; font-weight: bold; } @@ -605,6 +602,37 @@ onMounted(async () => { } } +::v-deep .van-popup--bottom.van-popup--round { + background-color: #f2f2f2 !important; +} + +.setting_title { + color: #000; + font-weight: bold; + font-style: normal; + font-size: 19px; + font-family: PingFangSC, 'PingFang SC'; + line-height: 26px; + text-align: left; +} + +.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; @@ -700,22 +728,25 @@ onMounted(async () => { font-size: 12px; } } + ::v-deep .van-button--plain.van-button--primary { - color: #4b4b59; + padding: 13px 15px; border: 1px solid #f0f0f0; - background-color: #fff; - font-weight: bold; - padding: 13px 15px; border-radius: 10px; + background-color: #fff; + color: #4b4b59; + font-weight: bold; } + ::v-deep .van-button--plain.van-button--success { - color: #70b937; - border: 1px solid #70b937; - background-color: #fff; - font-weight: bold; padding: 13px 15px; + border: 1px solid #70b937; border-radius: 10px; + background-color: #fff; + color: #70b937; + font-weight: bold; } + .survey-action { position: fixed; bottom: 0;
{{ element.config.prompt_left }}
{{ element.config.prompt_center }}
{{ element.config.prompt_right }}