background

This commit is contained in:
花有清香月有阴
2022-01-10 17:08:12 +08:00
parent 3a336bc2e0
commit 3b28a05b45
4 changed files with 36 additions and 10 deletions

View File

@@ -72,6 +72,7 @@ export default {
data: [{ name: '张三' }],
addShow: false,
content: '',
flag: false,
}
},
computed: {
@@ -81,12 +82,35 @@ export default {
onLoad() {},
onShow() {},
methods: {
close() {
this.content = ''
save() {
if (this.flag) return
if (!this.content) {
return this.$u.toast('请输入异常情况记录')
}
this.$http
.post(`/app/appvillagediscussmessage/addOrUpdate`, {
// content: this.content,
// avatar: this.user.avatar,
// createUserId: this.user.id,
// createUserName: this.user.name,
// discussId: this.id,
})
.then((res) => {
if (res?.code == 0) {
this.$u.toast('新增记录成功')
this.flag = false
this.content = ''
this.addShow = false
// this.getDetail()
}
})
},
save() {
console.log(22)
relieveError() {},
close() {
this.content = ''
},
toAddRecord() {
@@ -113,7 +137,7 @@ export default {
<style scoped lang="scss">
.ErrorDetail {
background: #f5f5f5;
background: #f3f6f9;
padding-bottom: 142px;
.top {
padding: 32px 52px 40px 48px;
@@ -209,7 +233,7 @@ export default {
}
}
.emptyWrap {
background: #f5f5f5;
background: #f3f6f9;
margin-top: 0;
}
}

View File

@@ -207,7 +207,7 @@ export default {
.line1 {
height: 4px;
background: #f5f5f5;
background: #f3f6f9;
}
.middle {
@@ -228,13 +228,13 @@ export default {
.line2 {
height: 8px;
background: #f5f5f5;
background: #f3f6f9;
}
.bottom {
.line3 {
height: 4px;
background: #f5f5f5;
background: #f3f6f9;
}
.templates {

View File

@@ -93,7 +93,7 @@ export default {
<style scoped lang="scss">
.HealthDetail {
padding-bottom: 120px;
background: #f5f5f5;
background: #f3f6f9;
.top {
.templates {
display: flex;

View File

@@ -104,6 +104,7 @@ export default {
<style scoped lang="scss">
.UserDetail {
background: #f3f6f9;
.user-list {
margin-bottom: 24px;
.item {
@@ -183,6 +184,7 @@ export default {
}
}
.img-list {
padding-bottom: 48px;
img {
width: 320px;
height: 320px;