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

version/0412
mujinxia 9 months ago
parent b7814ac0cb
commit 4a6af73b4f
  1. 19
      pages/news1/feedback.vue
  2. 8
      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 }}
@ -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)

@ -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;
background: #FE6048;
border-radius: 28px 28px 28px 28px;
opacity: 1;
display: flex;
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