Merge branch 'ui-fix-from-master' into uat

This commit is contained in:
王博冉
2022-11-16 23:53:21 +08:00
10 changed files with 44 additions and 25 deletions

View File

@@ -37,8 +37,9 @@
style="display: flex;align-items: center;"
@click.stop="clickEntrance">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/fenxiang.png')" />
<i class="iconfont icon-fenxiang2 mr-6"></i>
<!-- <img class="download_img"
:src="require('@/assets/img/fenxiang.png')" /> -->
</template>
分享
</a-button>
@@ -56,8 +57,9 @@
style="display: flex;align-items: center;"
@click="openPublishModal">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/fabu.png')" />
<i class="iconfont icon-fabu3 mr-6"></i>
<!-- <img class="download_img"
:src="require('@/assets/img/fabu.png')" /> -->
</template>
发布
</a-button>
@@ -67,8 +69,9 @@
@click.stop="toDownload"
v-if="showDownload&&showxiazai">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/download_center.png')" />
<!-- <img class="download_img"
:src="require('@/assets/img/download_center.png')" /> -->
<i class="iconfont icon-xiazaiqi mr-6"></i>
</template>
下载中心
</a-button>
@@ -81,8 +84,9 @@
style="display: flex;align-items: center;"
@click.stop="clickEntrance">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/fenxiang.png')" />
<i class="iconfont icon-fenxiang2 mr-6"></i>
<!-- <img class="download_img"
:src="require('@/assets/img/fenxiang.png')" /> -->
</template>
分享
</a-button>
@@ -92,8 +96,9 @@
@click.stop="toDownload"
v-if="showDownload">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/download_center.png')" />
<!-- <img class="download_img"
:src="require('@/assets/img/download_center.png')" /> -->
<i class="iconfont icon-xiazaiqi mr-6"></i>
</template>
下载中心
</a-button>
@@ -459,14 +464,14 @@ onMounted(() => {
}
.publish-btn {
margin-left: 10px;
height: 36px;
height: 32px;
line-height: 18px;
border-radius: 6px;
}
.download-btn {
margin-left: 32px;
// width: 88px;
height: 36px;
height: 32px;
line-height: 18px;
border-radius: 6px;
}
@@ -600,8 +605,8 @@ onMounted(() => {
transform: rotateY(180deg);
}
.download_img {
width: 24px;
height: 24px;
width: 16px;
height: 16px;
margin-right: 6px;
}
.click {
@@ -631,4 +636,7 @@ onMounted(() => {
background-color: #f5f5f5;
margin-right: 8px;
}
.mr-6 {
margin-right: 6px;
}
</style>

View File

@@ -111,7 +111,7 @@ const constantRoutes = [
},
{
path: 'answer-setting',
meta: { showPublish: true, showDownload: true },
meta: { showPublish: true, showDownload: false },
component: () => import(/* webpackChunkName: "planet" */ '../views/planetDesign/AnswerSetting.vue')
},
{

View File

@@ -35,7 +35,8 @@
v-show="isLogin && questionsData.survey?.status === 0"
>
<template #icon>
<i class="iconfont icon-Path" style="font-size: 18px; margin-right: 6px"></i>
<!-- <i class="iconfont icon-Path" style="font-size: 18px; margin-right: 6px"></i> -->
<i class="iconfont icon-fabu3" style="margin-right: 6px"></i>
</template>
发布
</a-button>
@@ -380,9 +381,11 @@ export default defineComponent({
.publish-btn {
margin-left: 32px;
width: 88px;
height: 36px;
height: 32px;
line-height: 18px;
border-radius: 6px;
display: flex;
align-items: center;
}
}

View File

@@ -775,6 +775,7 @@ export default defineComponent({
max-width: 120px;
padding: 0 5px;
margin: 0 5px;
margin-top: 5px;
display: inline-block;
border-width: 1px;
border-style: solid;

View File

@@ -61,7 +61,8 @@
@click="openPublishModal"
>
<template #icon>
<i class="iconfont icon-Path" style="font-size: 15px; margin-right: 6px"></i>
<!-- <i class="iconfont icon-Path" style="font-size: 15px; margin-right: 6px"></i> -->
<i class="iconfont icon-fabu3" style="margin-right: 6px"></i>
</template>
发布
</a-button>
@@ -509,8 +510,10 @@ export default {
}
.publish-btn {
// height: auto !important;
height: 36px;
height: 32px;
border-radius: 6px;
display: flex;
align-items: center;
}
.delivery-type {

View File

@@ -10,7 +10,8 @@
@click="openPublishModal"
>
<template #icon>
<i class="iconfont icon-Path" style="font-size: 15px; margin-right: 6px"></i>
<!-- <i class="iconfont icon-Path" style="font-size: 15px; margin-right: 6px"></i> -->
<i class="iconfont icon-fabu3" style="margin-right: 6px"></i>
</template>
发布
</a-button>
@@ -652,8 +653,10 @@ onMounted(() => {
</script>
<style lang="scss" scoped>
.publish-btn {
height: 36px;
height: 32px;
border-radius: 6px;
display: flex;
align-items: center;
}
.pulish-container {
height: calc(100vh - 150px);
@@ -834,6 +837,6 @@ onMounted(() => {
padding-left: 10px;
line-height: 32px;
border: 1px solid #d9d9d9;
border-radius: 2px;
border-radius: 4px;
}
</style>

View File

@@ -46,7 +46,7 @@
<div v-if="element.edit" class="choice-option-radio-btn">
<a-checkbox
:checked="Boolean(element.is_other)"
class="margin"
class="margin custom-checkbox"
@change="otherChange($event, element)"
><span style="color: #434343"
>设为其他项</span

View File

@@ -2,7 +2,7 @@
<div class="theme-left">
<div class="header">
<div>问卷皮肤</div>
<a-checkbox v-model:checked="headerImgInfo.checked" @change="handlerHeaderImg">带头图使用</a-checkbox>
<a-checkbox class="custom-checkbox" v-model:checked="headerImgInfo.checked" @change="handlerHeaderImg">带头图使用</a-checkbox>
</div>
<div class="line"></div>
<ul class="theme-ol">

View File

@@ -215,7 +215,7 @@
/>
</div>
<div v-else @change="handlerStatus(item.key, 'checked-box')">
<a-checkbox v-model:checked="item.checked">{{ item.label }}</a-checkbox>
<a-checkbox class="custom-checkbox" v-model:checked="item.checked">{{ item.label }}</a-checkbox>
</div>
</div>
</div>

View File

@@ -32,6 +32,7 @@
:disabled="route.query.start=='2'">同一用户只允许抽奖一次</a-checkbox>
<br /> -->
<a-checkbox
class="custom-checkbox"
v-model:checked="checked1"
@change="changecheckbox()"
:disabled="route.query.start == '2'"