From f3eebd2f83cd6d12e3b714ac464f8717e0272e0f Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 24 Jun 2021 10:30:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/qfqk-android
---
pages/reported/reported.vue | 42 +++++++++++++++++++++++-------------------
1 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/pages/reported/reported.vue b/pages/reported/reported.vue
index 83fd7bc..7ec79f8 100644
--- a/pages/reported/reported.vue
+++ b/pages/reported/reported.vue
@@ -26,8 +26,8 @@
</view>
</view>
<seeImgs :imgs="[]" :videos="videos" @del="delVideo" :type="'videos'"></seeImgs>
- <view class="butb" @click="upData">
- 提交
+ <view class="form-btn">
+ <view class="butb" @click="upData">提交</view>
</view>
</view>
</template>
@@ -47,9 +47,7 @@
result:'',
place:"",
imgs: [],
- videos: [],
- // pathUrl:'http://s16s652780.51mypc.cn/api/blade-jfpts',
- pathUrl:'http://localhost:82',
+ videos: []
}
},
methods: {
@@ -73,8 +71,8 @@
result:this.result,
place:this.place,
status:1,
- tpaddress: '',
- spaddress: ''
+ tpaddress:"",
+ spaddress:""
};
if (this.imgs.length > 0) {
var i = this.imgs;
@@ -142,7 +140,7 @@
// 循环调用uni.uploadFile ,因微信小程序只支持单文件上传
for (var i = 0; i < tempFilePath.length; i++) {
uni.uploadFile({
- // url: 'https://web.byisf.com/api/depl/put-depl', //仅为示例,非真实的接口地址
+ // url: 'https://web.byisf.com/api/blade-jfpts/depl/put-depl', //仅为示例,非真实的接口地址
url: 'http://web.byisf.com:82/blade-jfpts/depl/put-depl',
filePath: tempFilePath[i],
name: 'file',
@@ -184,7 +182,7 @@
mask: true
})
uni.uploadFile({
- // url: 'https://web.byisf.com/api/depl/put-depl',
+ // url: 'https://web.byisf.com/api/blade-jfpts/depl/put-depl',
url: 'http://web.byisf.com:82/blade-jfpts/depl/put-depl',
filePath: tempFilePath,
name: 'file',
@@ -318,18 +316,24 @@
margin-left: 20px;
}
}
-
- .butb {
- margin: 2rem auto;
- width: 5.2rem;
- height: 5.2rem;
- // border: 1px solid rgb(46, 118, 228);
- border-radius: 3rem;
+
+ .form-btn{
+ margin-top: 2rem;
display: flex;
- align-items: center;
justify-content: center;
- color: #fff;
- background-image: linear-gradient(to bottom, #3CA7F4, #4D7CEE);
+
+ .butb {
+ margin-bottom: 4.5rem;
+ width: 5.2rem;
+ height: 5.2rem;
+ // border: 1px solid rgb(46, 118, 228);
+ border-radius: 3rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #fff;
+ background-image: linear-gradient(to bottom, #3CA7F4, #4D7CEE);
+ }
}
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3