反馈添加图片展示,字段,帮助中心页面优化

version/0412
mujinxia 9 months ago
parent b7814ac0cb
commit 4a6af73b4f
  1. 25
      pages/news1/feedback.vue
  2. 14
      pages/news1/help.vue

@ -104,6 +104,11 @@
<u-read-more showHeight="160" textIndent="0" fontSize="26rpx" color="#9E9E9E" :toggle="true"
close-text="展开">
<rich-text :nodes="item.content"></rich-text>
<view v-if="item.file_path">
<u-upload width="180" height="180" max-count="1" :file-list="item.file_paths" :deletable="false">
</u-upload>
</view>
</u-read-more>
<view class="timefb" v-if="OrderType == 1">
<text>反馈人</text> {{ item.user_name }}
@ -165,7 +170,7 @@ import Config from '@/core/config'
import * as feedback from '@/api/feedback'
export default {
data() {
return {
return {
action: '',
header: '',
OrderType: 0,
@ -342,7 +347,19 @@ export default {
.then(res => {
if (res.status == 200) {
that.total = res.data.list.total
that.feedBackList = that.feedBackList.concat(res.data.list.data)
let end = res.data.list.data
end.map(itme=>{
if(itme.file_path){
itme.file_paths = []
let img_arr = itme.file_path.split(',')
img_arr.map(src=>{
itme.file_paths.push({
url:src
})
})
}
})
that.feedBackList = that.feedBackList.concat(end)
}
})
.catch(reject)
@ -566,7 +583,7 @@ page {
// width: calc(100% - 100rpx);
.fbFlag {
background: #FFFFFF;
border-radius: 3px;
border-radius: 3px;
padding: 5rpx;
border: 1px solid #FF4D4D;
font-size: 26rpx;
@ -594,7 +611,7 @@ page {
overflow: hidden;
text-overflow: ellipsis;
color: #000;
font-weight: bold;
font-weight: bold;
}
}

@ -90,11 +90,13 @@
border-radius: 20upx;
overflow: hidden;
padding: 20upx;
padding-bottom: 160rpx;
.helpTitle {
font-size: 32upx;
color: #000000;
padding: 20upx 0;
font-weight: bold;
// border-bottom: 3upx solid #dfdbdb;
}
@ -184,18 +186,15 @@
bottom: 0;
width: 100%;
background-color: #fff;
padding: 30rpx;
.btn {
height: 100upx;
margin: 10upx 30upx;
height: 100upx;
background: #FE6048;
border-radius: 28px 28px 28px 28px;
opacity: 1;
display: flex;
align-items: center;
justify-content: center;
align-items: center;
justify-content: center;
image {
width: 54upx;
height: auto;
@ -213,6 +212,7 @@
image {
width: 54upx;
height: auto;
margin-right: 100rpx;
}
text-align: center;
display: flex;

Loading…
Cancel
Save