MrShi
2023-10-17 3452e25c5312f986cdfe2431c67ca5358c4ffc61
bicycle/pages/problemReporting/problemReporting.vue
@@ -27,7 +27,9 @@
               <view class="form_item_uplaod_list">
                  <image class="uploadImg" @click="uploadImg" src="@/static/icon/ic_upload@2x.png" mode="widthFix"></image>
                  <view class="form_item_uplaod_list_item" v-for="(item, index) in from.files" :key="index">
                     <image class="img" :src="item.url" mode="widthFix"></image>
                     <view class="images">
                        <image class="img" :src="item.url" mode="widthFix"></image>
                     </view>
                     <image class="close" @click="dele(index)" src="@/static/icon/ic_clean@2x1.png" mode="widthFix"></image>
                  </view>
               </view>
@@ -93,7 +95,8 @@
               files: [],
               info: '',
               contacts: '',
               phone: ''
               phone: '',
               typeId: ''
            },
            problemList: []
         };
@@ -117,7 +120,8 @@
            this.$u.api.onlineBike()
               .then(res => {
                  if (res.code === 200) {
                     this.binkeId = res.data
                     this.binkeId = res.data.bikeCode
                     this.from.typeId = res.data.paramId
                  }
               })
         },
@@ -138,7 +142,8 @@
               linkphone: this.from.phone,
               longitude: this.from.longitude,
               param: this.from.problemName,
               paramId: this.from.problemId
               paramId: this.from.problemId,
               typeId: this.from.typeId
            }).then(res => {
               if (res.code === 200) {
                  uni.showToast({ title: '上报成功', icon: 'success', duration: 2000 });
@@ -432,6 +437,7 @@
               image {
                  width: 40rpx;
                  height: 40rpx;
                  flex-shrink: 0;
               }
            }
         }
@@ -489,7 +495,7 @@
            .form_item_nr {
               width: 100%;
               display: flex;
               align-items: center;
               align-items: flex-start;
               justify-content: space-between;
               margin-top: 16rpx;
@@ -499,9 +505,9 @@
                  font-family: PingFangSC-Regular, PingFang SC;
                  font-weight: 400;
                  color: #666666;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                  // overflow: hidden;
                  // text-overflow: ellipsis;
                  // white-space: nowrap;
               }
               image {
@@ -540,10 +546,17 @@
                     &:last-child {
                        margin-right: 0 !important;
                     }
                     .img {
                        width: 100%;
                        height: 100%;
                     .images {
                        width: 150rpx;
                        height: 150rpx;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        overflow: hidden;
                        .img {
                           height: 100%;
                        }
                     }
                     .close {