BUG 57
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<slot/>
|
<slot/>
|
||||||
</div>
|
</div>
|
||||||
<u-gap v-else height="112"/>
|
<u-gap v-else height="112"/>
|
||||||
<div class="fixed" @click="$emit('click')" :style="{background}">
|
<div class="fixed" @click="$u.debounce(()=> $emit('click'),500)" :style="{background}">
|
||||||
<slot v-if="$slots.default"/>
|
<slot v-if="$slots.default"/>
|
||||||
<div v-else class="text" :class="{circle}" v-text="text"/>
|
<div v-else class="text" :class="{circle}" v-text="text"/>
|
||||||
</div>
|
</div>
|
||||||
@@ -40,6 +40,7 @@ export default {
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
background: #1365DD;
|
background: #1365DD;
|
||||||
box-shadow: inset 0px 1px 0px 0px #EEEEEE;
|
box-shadow: inset 0px 1px 0px 0px #EEEEEE;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&.circle {
|
&.circle {
|
||||||
border-radius: 52px;
|
border-radius: 52px;
|
||||||
|
|||||||
@@ -39,14 +39,16 @@
|
|||||||
<AiUploader :def.sync="form.finishFiles" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"/>
|
<AiUploader :def.sync="form.finishFiles" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"/>
|
||||||
</AiItem>
|
</AiItem>
|
||||||
</AiGroup>
|
</AiGroup>
|
||||||
<div class="btn" @click="submit">上报</div>
|
<AiBottomBtn text="上报" @click="submit"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
import AiBottomBtn from "../../../components/AiBottomBtn";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: {AiBottomBtn},
|
||||||
appName: '新增事件',
|
appName: '新增事件',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -174,8 +176,7 @@ export default {
|
|||||||
finishFiles: this.form.finishFiles,
|
finishFiles: this.form.finishFiles,
|
||||||
groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label,
|
groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label,
|
||||||
eventStatus: this.form.opts == 0 ? '2' : '0',
|
eventStatus: this.form.opts == 0 ? '2' : '0',
|
||||||
})
|
}).then((res) => {
|
||||||
.then((res) => {
|
|
||||||
this.$u.toast('上报成功')
|
this.$u.toast('上报成功')
|
||||||
this.flag = false
|
this.flag = false
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
@@ -214,17 +215,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 120px;
|
|
||||||
background: #3975c6;
|
|
||||||
line-height: 120px;
|
|
||||||
text-align: center;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
::v-deep .ai-uploader .fileList .default {
|
::v-deep .ai-uploader .fileList .default {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
height: 160px;
|
height: 160px;
|
||||||
|
|||||||
Reference in New Issue
Block a user