|
@@ -4,22 +4,22 @@
|
|
|
<!-- 建议 -->
|
|
|
<view class="firstView">
|
|
|
<view class="title">您的问题或建议</view>
|
|
|
- <view>
|
|
|
- <textarea placeholder-style="color:#999999" placeholder="输入个人意见反馈" v-model="exeContent"
|
|
|
+
|
|
|
+ <textarea placeholder-style="color:#999999" placeholder="输入个人意见反馈" v-model="exeContent"
|
|
|
class="textareaCont" maxlength="-1" auto-height="true" @confirm="feedDone" />
|
|
|
- </view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
<!-- 图片 -->
|
|
|
<view class="secondView">
|
|
|
<view class="title">上传图片</view>
|
|
|
<view class="imgBox">
|
|
|
- <view class="imgLine" v-for="(img,imgindex) in imgArr">
|
|
|
- <image :class="{img4:(imgindex+1)%4==0}" :src="img" mode="" class="itemImg"></image>
|
|
|
+ <view :class="{img4:(imgindex+1)%4==0}" class="imgLine" v-for="(img,imgindex) in imgArr">
|
|
|
+ <image :src="img" mode="" class="itemImg"></image>
|
|
|
<image src="../../static/img/icon_del_red.png" mode="" class="delImg" @click="delimg(imgindex)">
|
|
|
</image>
|
|
|
</view>
|
|
|
- <view class="imgLine" @click="uploadImg">
|
|
|
+ <view class="img4" @click="uploadImg">
|
|
|
<image src="../../static/img/btn_pic.png" mode="" class="itemImg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -95,7 +95,8 @@
|
|
|
|
|
|
console.log(JSON.parse(uploadFileRes.data).data);
|
|
|
that.imgArr = that.imgArr.concat(JSON.parse(
|
|
|
- uploadFileRes.data).data);
|
|
|
+ uploadFileRes.data).data);
|
|
|
+ console.log('imgArr--',that.imgArr);
|
|
|
}
|
|
|
});
|
|
|
})
|
|
@@ -186,7 +187,8 @@
|
|
|
.firstView,
|
|
|
.secondView {
|
|
|
background-color: #FFFFFF;
|
|
|
- border-radius: 10rpx;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ padding: 20rpx;
|
|
|
}
|
|
|
|
|
|
.firstView {
|
|
@@ -196,38 +198,38 @@
|
|
|
.title {
|
|
|
font-size: 30rpx;
|
|
|
color: #3C3C3C;
|
|
|
- padding: 20rpx;
|
|
|
+ padding-bottom: 20rpx;
|
|
|
}
|
|
|
|
|
|
.textareaCont {
|
|
|
- padding: 20rpx;
|
|
|
min-height: 150rpx;
|
|
|
- width: 95%;
|
|
|
+ width: 100%;
|
|
|
+ color: #3C3C3C;
|
|
|
+ font-size: 28rpx;
|
|
|
}
|
|
|
|
|
|
|
|
|
.imgBox {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
- padding: 20rpx;
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.imgLine {
|
|
|
position: relative;
|
|
|
- margin-right: 10rpx;
|
|
|
+ margin-right: 20.6rpx;
|
|
|
+ }
|
|
|
+ .img4{
|
|
|
+ margin-right: 0rpx;
|
|
|
}
|
|
|
|
|
|
.itemImg {
|
|
|
width: 150rpx;
|
|
|
height: 150rpx;
|
|
|
- margin-right: 5rpx;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
- /* .img4 {
|
|
|
- margin-right: 20rpx;
|
|
|
-
|
|
|
- } */
|
|
|
|
|
|
.delImg {
|
|
|
width: 32rpx;
|