调整错误
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
<div class="form-info">
|
||||
<h2>文本选项</h2>
|
||||
<div class="form-info__wrapper">
|
||||
<textarea class="title" placeholder="请输入标题 (必填)" :maxlength="30" :auto-height="true" v-model="form.title"></textarea>
|
||||
<textarea class="title" placeholder="请输入标题 (必填)" :maxlength="30" :auto-height="true"
|
||||
v-model="form.title"></textarea>
|
||||
<textarea
|
||||
style="wdith: 100%"
|
||||
class="content"
|
||||
border="none"
|
||||
:clearable="false"
|
||||
@@ -33,14 +33,16 @@
|
||||
}"
|
||||
draggable=".components-item"
|
||||
:sort="true">
|
||||
<div class="components-item" v-for="(item, index) in targetList" :key="index" @click="toFiledSetting(item, index)">
|
||||
<div class="components-item" v-for="(item, index) in targetList" :key="index"
|
||||
@click="toFiledSetting(item, index)">
|
||||
<div class="components-item__title">
|
||||
<div class="components-item__title--left">
|
||||
<em :style="{opacity: item.required ? 1 : 0}">*</em>
|
||||
<i>{{ index + 1 }}.</i>
|
||||
<h2>{{ item.label }}</h2>
|
||||
</div>
|
||||
<image :src="`${$cdn}askform/sc1.png`" @click.stop="removeComponent(index)" @touchstart.stop="removeComponent(index)" />
|
||||
<image :src="`${$cdn}askform/sc1.png`" @click.stop="removeComponent(index)"
|
||||
@touchstart.stop="removeComponent(index)"/>
|
||||
</div>
|
||||
<div class="components-item__filed">
|
||||
<template v-if="(item.type === 'radio')">
|
||||
@@ -111,7 +113,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</u-popup>
|
||||
<AiBack custom @back="back"></AiBack>
|
||||
<AiBack custom @back="back"/>
|
||||
</div>
|
||||
<div class="detail" v-if="isShowConfig">
|
||||
<component
|
||||
@@ -131,11 +133,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiBack from "@/components/AiBack";
|
||||
import draggable from 'vuedraggable'
|
||||
import FiledConfig from './FiledConfig'
|
||||
import FormSetting from './FormSetting'
|
||||
import PreviewForm from './PreviewForm'
|
||||
import AiBack from "../../../components/AiBack";
|
||||
|
||||
export default {
|
||||
props: ['params'],
|
||||
@@ -442,6 +444,7 @@
|
||||
|
||||
.u-checkbox, .u-radio {
|
||||
display: block;
|
||||
|
||||
image {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
@@ -474,6 +477,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
flex: 1;
|
||||
color: #666;
|
||||
|
||||
@@ -83,14 +83,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiTopFixed from '@/components/AiTopFixed'
|
||||
import AiEmpty from '@/components/AiEmpty'
|
||||
import {mapActions} from 'vuex'
|
||||
import AiTopFixed from "../../../components/AiTopFixed";
|
||||
import AiEmpty from "../../../components/AiEmpty";
|
||||
|
||||
export default {
|
||||
name: 'formList',
|
||||
label: '表单列表',
|
||||
|
||||
components: {AiEmpty, AiTopFixed},
|
||||
data() {
|
||||
return {
|
||||
search: {
|
||||
@@ -106,12 +106,6 @@ export default {
|
||||
isShow: false
|
||||
}
|
||||
},
|
||||
|
||||
components: {
|
||||
AiEmpty,
|
||||
AiTopFixed
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact'])
|
||||
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType']).then(() => {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<script>
|
||||
import AddList from './AddList.vue'
|
||||
import List from './List.vue'
|
||||
import AiTabbar from '@/components/AiTabbar'
|
||||
import AiTabbar from "../../../components/AiTabbar";
|
||||
|
||||
export default {
|
||||
name: 'AppAskForm',
|
||||
@@ -24,8 +24,8 @@ export default {
|
||||
},
|
||||
|
||||
components: {
|
||||
AddList,
|
||||
AiTabbar,
|
||||
AddList,
|
||||
List
|
||||
},
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name:"emptyData",
|
||||
name: "AiEmpty",
|
||||
props: {
|
||||
description: {
|
||||
default: '暂无相关信息',
|
||||
@@ -24,11 +24,13 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.emptyImg {
|
||||
width: 400 rpx;
|
||||
height: 240 rpx;
|
||||
margin-top: 112px;
|
||||
}
|
||||
|
||||
.emptyText {
|
||||
font-size: 29 rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
|
||||
Reference in New Issue
Block a user