css
This commit is contained in:
@@ -58,14 +58,16 @@ export default {
|
||||
mounted() {},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appmininotice/queryDetailById?id=${this.id}`).then((res) => {
|
||||
if (res?.data) {
|
||||
this.forms = res.data
|
||||
if (res.data.images) {
|
||||
this.forms.images = JSON.parse(res.data.images || '[]')
|
||||
if (this.id) {
|
||||
this.$http.post(`/app/appmininotice/queryDetailById?id=${this.id}`).then((res) => {
|
||||
if (res?.data) {
|
||||
this.forms = res.data
|
||||
if (res.data.images) {
|
||||
this.forms.images = JSON.parse(res.data.images || '[]')
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
submit() {
|
||||
@@ -113,11 +115,14 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
height: 100%;
|
||||
}
|
||||
.add {
|
||||
height: 100%;
|
||||
padding-bottom: 112px;
|
||||
|
||||
.header-description {
|
||||
padding-bottom: 112px;
|
||||
::v-deep .u-form {
|
||||
.u-form-item {
|
||||
padding: 0 45px !important;
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
<span>{{ item.createTime }}</span>
|
||||
</div>
|
||||
|
||||
<img :src="items.url" alt="" v-for="(items, i) in item.images" :key="i" />
|
||||
<div class="imgs">
|
||||
<img :src="items.url" alt="" v-for="(items, i) in item.images" :key="i" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template #menu>
|
||||
@@ -149,6 +151,9 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
uni-page-body {
|
||||
height: 100%;
|
||||
}
|
||||
.AppUniMsg {
|
||||
height: 100%;
|
||||
::v-deep .AiCard {
|
||||
@@ -163,13 +168,16 @@ export default {
|
||||
color: #333;
|
||||
font-family: 500;
|
||||
}
|
||||
img {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
img:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
.imgs {
|
||||
margin-top: 10px;
|
||||
img {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
img:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -189,6 +197,12 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.u-load-more-wrap {
|
||||
background: #f3f6f9 !important;
|
||||
margin: 0 !important;
|
||||
padding: 34px 0;
|
||||
}
|
||||
|
||||
.AiFixedBtn {
|
||||
.movableArea {
|
||||
.addBtn {
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
<div class="header-middle">
|
||||
<span class="contsnts">{{ data.content }}</span>
|
||||
|
||||
<img :src="item.url" alt="" v-for="(item, i) in data.images" :key="i" />
|
||||
<div class="imgs">
|
||||
<img :src="item.url" alt="" v-for="(item, i) in data.images" :key="i" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -82,10 +84,16 @@ uni-page-body {
|
||||
line-height: 1.5;
|
||||
word-break: break-all;
|
||||
}
|
||||
img {
|
||||
margin-top: 30px;
|
||||
width: 686px;
|
||||
height: 486px;
|
||||
.imgs {
|
||||
margin-top: 32px;
|
||||
img {
|
||||
width: 224px;
|
||||
height: 218px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
img:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user