diff --git a/src/project/biaopin/AppFormReview/Add.vue b/src/project/biaopin/AppFormReview/Add.vue index fedcdd24..33167ee4 100644 --- a/src/project/biaopin/AppFormReview/Add.vue +++ b/src/project/biaopin/AppFormReview/Add.vue @@ -41,6 +41,7 @@ export default { files: [], lat: '', lng: '', + address: '', girdCode: '', girdName: '', girdId: '', @@ -102,6 +103,11 @@ export default { success: res => { this.forms.lng = res.longitude this.forms.lat = res.latitude + this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${res.latitude},${res.longitude}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => { + if (res.code === 0) { + this.forms.address = res.data.result.address + } + }) }, error: err => { console.log(err) diff --git a/src/project/biaopin/AppFormReview/AppFormReview.vue b/src/project/biaopin/AppFormReview/AppFormReview.vue index 34f4fca2..46aa3407 100644 --- a/src/project/biaopin/AppFormReview/AppFormReview.vue +++ b/src/project/biaopin/AppFormReview/AppFormReview.vue @@ -2,10 +2,6 @@ @@ -76,7 +52,6 @@ export default { current: 1, size: 10, pages: 0, - deletShow: false, tabs: [{name: '全部'}, {name: '我发布的'}], tabIndex: 0, searchGrid: {}, @@ -92,7 +67,7 @@ export default { onLoad() { this.searchGrid.girdId = this.user.girdId this.searchGrid.girdName = this.user.girdName - this.$dict.load(['wyGirdNewsType']).then(() => { + this.$dict.load(['wyGirdNewsType', 'auditStatus']).then(() => { this.typeList = this.$dict.getDict('wyGirdNewsType') this.typeList.unshift({dictName: '全部', dictValue: ''}) this.getList() @@ -148,22 +123,6 @@ export default { uni.navigateTo({url: `./Detail?id=${row.id}`}) }, - toDetele(item) { - this.deletShow = true - this.deletId = item.id - this.$refs?.[item.id]?.[0]?.handleClose() - }, - - delet() { - this.$http.post(`/app/appgirdnews/delete?id=${this.deletId}`).then((res) => { - if (res.code == 0) { - this.current = 1 - this.$u.toast('删除成功!') - this.getListInit() - } - }) - }, - handleSelectGird(v) { console.log(v) this.searchGrid = v @@ -261,116 +220,56 @@ export default { margin-bottom: 0!important; } - ::v-deep .AiCard { - background: #f3f6f9; - position: relative; - - .start { - background: #fff; - padding: 32px; + .user-list { + padding: 24px 32px 0 32px; + box-sizing: border-box; + .item { + width: 100%; + background: #FFF; border-radius: 16px; - - .titles { - width: 600px; - font-size: 32px; - font-weight: 500; - color: #333333; - margin-bottom: 16px; - line-height: 50px; - word-break: break-all; - } - - .item-content { - width: 100%; - word-break: break-all; - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-line-clamp: 3; - -webkit-box-orient: vertical; - font-size: 32px; - font-family: PingFangSC-Regular, PingFang SC; - color: #999; - line-height: 44px; - margin-bottom: 24px; - } - - .img-list { - margin-bottom: 24px; - - img { - width: calc(33% - 16px); - height: 204px; - margin: 0 16px 8px 0; + margin-bottom: 24px; + .item-top { + padding: 24px; + .title { + line-height: 48px; + font-family: PingFangSC-Medium; + font-weight: 500; + font-size: 34px; + color: #333; + margin-bottom: 12px; + word-break: break-all; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + } + .info { + line-height: 48px; + font-family: PingFangSC-Regular; + font-size: 26px; + color: #666; } } - - .flex { + .item-bottom { + padding: 18px 24px; + border-top: 1px solid #E4E5E6; display: flex; justify-content: space-between; - - .left { - .garydiv { - font-size: 28px; - color: #999999; - background: #eeeeee; - border-radius: 24px; - padding: 4px 16px; - } - - .times { - font-size: 28px; - color: #999999; - } - - .type { - display: inline-block; - padding: 0 16px; - line-height: 48px; - background: #EEE; - border-radius: 24px; - font-size: 24px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #999; - margin-right: 16px; - } - } - - .right { - font-size: 28px; + .time { + line-height: 48px; + font-family: PingFangSC-Regular; + font-size: 24px; color: #999; - - img { - width: 32px; - height: 32px; - vertical-align: middle; - margin-right: 8px; - } - - .font { - color: #4181ff; - } } - } - - .iconfont-iconMore { - position: absolute; - top: 42px; - right: 32px; - } - } - - .mask { - .moreMenu { - .menu { - text-align: center; - line-height: 80px; - width: 192px; - height: 80px; - font-size: 28px; - font-weight: 400; - color: #333333; + .status0{ + color: #FF883C; + } + .status1{ + color: #2EA222; + } + .status2{ + color: #F46; } } } diff --git a/src/project/biaopin/AppFormReview/Detail.vue b/src/project/biaopin/AppFormReview/Detail.vue index 984519c6..4112501b 100644 --- a/src/project/biaopin/AppFormReview/Detail.vue +++ b/src/project/biaopin/AppFormReview/Detail.vue @@ -1,32 +1,54 @@