bug
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="AppMailList">
|
<div class="AppMailList">
|
||||||
<AiTopFixed>
|
<AiTopFixed>
|
||||||
<div class="area-content">
|
<div class="header-top">
|
||||||
<AiAreaPicker :areaId="user.areaId" :value="areaId" @select="areaSelect" :name.sync="areaName">
|
<div>区域选择</div>
|
||||||
<img src="./img/local-icon.png" alt="">
|
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName">
|
||||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||||
<span v-else>请选择</span>
|
<span v-else>请选择</span>
|
||||||
<u-icon name="arrow-down" color="#666" size="24"/>
|
<u-icon name="arrow-right" color="#666" size="24" style="margin-left:4px;" />
|
||||||
</AiAreaPicker>
|
</AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
</AiTopFixed>
|
</AiTopFixed>
|
||||||
@@ -110,19 +110,12 @@ export default {
|
|||||||
::v-deep .fixed{
|
::v-deep .fixed{
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
.area-content {
|
.header-top {
|
||||||
width: 100%;
|
display: flex;
|
||||||
line-height: 64px;
|
background: #fff;
|
||||||
|
justify-content: space-between;
|
||||||
img {
|
align-items: center;
|
||||||
width: 42px;
|
padding-top: 16px;
|
||||||
vertical-align: middle;
|
|
||||||
margin-right: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.u-icon {
|
|
||||||
margin-left: 6px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// background-color: #F3F6F9;
|
// background-color: #F3F6F9;
|
||||||
.list-content{
|
.list-content{
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<u-form-item label="图片(最多9张)" prop="files" class="avatars" label-position="top">
|
<u-form-item label="图片(最多9张)" prop="files" class="avatars" label-position="top">
|
||||||
<AiUploader :def.sync="forms.files" multiple placeholder="上传图片" :limit="9"
|
<AiUploader :def.sync="forms.files" multiple placeholder="上传图片" :limit="9"
|
||||||
action="/admin/file/add2"></AiUploader>
|
action="/admin/file/add2" v-if="!isHideCoverimg"></AiUploader>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -64,7 +64,8 @@ export default {
|
|||||||
areaIdProps: '',
|
areaIdProps: '',
|
||||||
moduleId: '',
|
moduleId: '',
|
||||||
listName: '',
|
listName: '',
|
||||||
selectList: []
|
selectList: [],
|
||||||
|
isHideCoverimg: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {...mapState(['user'])},
|
computed: {...mapState(['user'])},
|
||||||
@@ -79,6 +80,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.listName = o.listName
|
this.listName = o.listName
|
||||||
this.getType()
|
this.getType()
|
||||||
|
this.getModuleInfo()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = this.listName
|
document.title = this.listName
|
||||||
@@ -87,6 +89,13 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getModuleInfo () {
|
||||||
|
this.instance.post(`/app/appcontentmoduleinfo/queryDetailById?id=${this.$route.query.moduleId}`).then(res => {
|
||||||
|
if (res.code === 0) {
|
||||||
|
this.isHideCoverimg = res.data.styleType === '0'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getDetail() {
|
getDetail() {
|
||||||
this.$http.post(`/app/appcontentinfo/queryDetailById?id=${this.id}`).then((res) => {
|
this.$http.post(`/app/appcontentinfo/queryDetailById?id=${this.id}`).then((res) => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user