25954
This commit is contained in:
@@ -110,6 +110,19 @@ export default {
|
|||||||
|
|
||||||
mounted() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
getDetail() {
|
||||||
|
this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {
|
||||||
|
if (res?.data) {
|
||||||
|
// this.detail = res.data
|
||||||
|
// if (this.detail) {
|
||||||
|
// if (this.detail.url) {
|
||||||
|
// this.detail.url = JSON.parse(res.data.url || '[]')
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
if (this.flag) return
|
if (this.flag) return
|
||||||
|
|
||||||
|
|||||||
@@ -101,6 +101,8 @@
|
|||||||
<AiEmpty v-else />
|
<AiEmpty v-else />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="fixedBtns" v-if="this.current == 0 && detail.status == 0" @click="toAdd">编辑活动</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AiFixedBtn>
|
<AiFixedBtn>
|
||||||
@@ -192,6 +194,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
toAdd() {
|
||||||
|
uni.navigateTo({ url: `./Add?id=${this.id}` })
|
||||||
|
},
|
||||||
|
|
||||||
AddPosts() {
|
AddPosts() {
|
||||||
uni.navigateTo({ url: `./AddPosts?id=${this.id}` })
|
uni.navigateTo({ url: `./AddPosts?id=${this.id}` })
|
||||||
},
|
},
|
||||||
@@ -252,7 +258,7 @@ export default {
|
|||||||
background: #e4e4e4;
|
background: #e4e4e4;
|
||||||
}
|
}
|
||||||
.header-content {
|
.header-content {
|
||||||
// padding-bottom: 150px;
|
// padding-bottom: 80px;
|
||||||
.header-top {
|
.header-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 440px;
|
height: 440px;
|
||||||
@@ -317,7 +323,7 @@ export default {
|
|||||||
// background: #fff;
|
// background: #fff;
|
||||||
|
|
||||||
.content-details {
|
.content-details {
|
||||||
padding: 32px 32px 80px 32px;
|
padding: 32px 32px 130px 32px;
|
||||||
.font {
|
.font {
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
@@ -429,6 +435,19 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fixedBtns {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 112px;
|
||||||
|
line-height: 112px;
|
||||||
|
background: #1365dd;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 32px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.AiFixedBtn {
|
.AiFixedBtn {
|
||||||
|
|||||||
Reference in New Issue
Block a user