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: '张三' }], data: [{ name: '张三' }],
addShow: false, addShow: false,
content: '', content: '',
flag: false,
} }
}, },
computed: { computed: {
@@ -81,12 +82,35 @@ export default {
onLoad() {}, onLoad() {},
onShow() {}, onShow() {},
methods: { methods: {
close() { save() {
this.content = '' 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() { relieveError() {},
console.log(22)
close() {
this.content = ''
}, },
toAddRecord() { toAddRecord() {
@@ -113,7 +137,7 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.ErrorDetail { .ErrorDetail {
background: #f5f5f5; background: #f3f6f9;
padding-bottom: 142px; padding-bottom: 142px;
.top { .top {
padding: 32px 52px 40px 48px; padding: 32px 52px 40px 48px;
@@ -209,7 +233,7 @@ export default {
} }
} }
.emptyWrap { .emptyWrap {
background: #f5f5f5; background: #f3f6f9;
margin-top: 0; margin-top: 0;
} }
} }

View File

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

View File

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

View File

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