shuishen
2022-02-18 7473eb735cf82bb88f43b263f9cc74e43fe8f5e3
pages/reported/reported.vue
@@ -35,9 +35,10 @@
         <input v-model="place" placeholder="请输入地址" />
      </view>
      <seeImgs :imgs="[]" :videos="videos" @del="delVideo" :type="'videos'"></seeImgs>
      <view class="form-btn">
      <!-- <view class="form-btn">
         <view class="butb" @click="upData">提交</view>
      </view>
      </view> -->
      <u-button class="butb" @click="upData">提交</u-button>
   </view>
</template>
@@ -162,7 +163,7 @@
                  for (var i = 0; i < tempFilePath.length; i++) {
                     uni.uploadFile({
                        // url: 'https://web.byisf.com/api/blade-jfpts/depl/put-depl', //仅为示例,非真实的接口地址
                        url: 'http://web.byisf.com:82/blade-jfpts/depl/put-depl',
                        url: that.$store.state.piAPI + '/depl/put-depl',
                        filePath: tempFilePath[i],
                        name: 'file',
                        formData: {
@@ -204,7 +205,7 @@
                  })
                  uni.uploadFile({
                     // url: 'https://web.byisf.com/api/blade-jfpts/depl/put-depl', 
                     url: 'http://web.byisf.com:82/blade-jfpts/depl/put-depl',
                     url: that.$store.state.piAPI + '/depl/put-depl',
                     filePath: tempFilePath,
                     name: 'file',
                     formData: {
@@ -333,7 +334,7 @@
         height: 15rem;
         display: flex;
         flex-direction: column;
         border-bottom: 1px solid rgba($color: #f3f3f3, $alpha: 0.7);
         // border-bottom: 1px solid rgba($color: #f3f3f3, $alpha: 0.7);
         .title {
            height: 100rpx;
@@ -344,7 +345,7 @@
         textarea {
            // background-color: #00BFFF;
            width: 100%;
            border: 1px solid #808080;
            // border: 1px solid #808080;
            line-height: 1.5;
            font-size: 14px;
            flex: 1;
@@ -389,26 +390,17 @@
         }
      }
      .form-btn {
         margin-top: 2rem;
         display: flex;
         justify-content: center;
         .butb {
            margin-bottom: 4.5rem;
            width: 100%;
            height: 3rem;
            // border: 1px solid rgb(46, 118, 228);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 600;
            font-size: 1.4rem;
            letter-spacing: 10px;
            background-image: linear-gradient(to bottom, #3CA7F4, #169BD5);
         }
      .butb {
         margin: 30rpx 50rpx 50rpx;
         border: none;
         width: 572rpx;
         height: 86rpx;
         line-height: 86rpx;
         box-sizing: border-box;
         border-radius: 15rpx;
         background-color: #103289;
         color: #ffffff;
      }
   }
</style>