From 26c2e044dcf5a006d81237dab62c02a153e408cc Mon Sep 17 00:00:00 2001 From: cmxdd <86407334@qq.com> Date: Tue, 11 Aug 2020 20:37:54 +0800 Subject: [PATCH] fixed bug --- components/order-item/testlist.vue | 16 +++++++++++++--- pages/index/details.vue | 8 +++++--- pages/index/index.vue | 27 +++++++-------------------- pages/release/video.vue | 14 +++++++++++--- static/image/home/chat.png | Bin 723 -> 5137 bytes 5 files changed, 36 insertions(+), 29 deletions(-) diff --git a/components/order-item/testlist.vue b/components/order-item/testlist.vue index 03f967d..a5bd6aa 100644 --- a/components/order-item/testlist.vue +++ b/components/order-item/testlist.vue @@ -2,14 +2,16 @@ - + + + {{info.goods_try_id}} + 待处理订单 已接单订单 已拒绝订单 已完成订单 - {{info.goods_name}} 共{{info.goods_try_num}}件商品 @@ -67,7 +69,15 @@ export default { display: flex; flex-direction: column; align-items: flex-start; - justify-content: center; + justify-content: space-between; + .box{ + width: 100%; + display: flex; + font-size: 24rpx; + } + .boxid{ + flex: 1; + } .status { align-self: flex-end; font-size: 26rpx; diff --git a/pages/index/details.vue b/pages/index/details.vue index d12e47c..283ccc1 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -105,7 +105,8 @@ 确认 - + + - - + @@ -410,15 +397,15 @@ export default { } .complaint { margin: 0 30rpx; - padding: 75rpx 30rpx; + padding: 100rpx 20rpx; background-color: #ffffff; .select-container { display: flex; align-items: center; - margin-bottom: 60rpx; + margin-bottom: 100rpx; .title { - width: 180rpx; - font-size: 30rpx; + width: 150rpx; + font-size: 26rpx; color: rgba(51, 51, 51, 1); margin-right: 20rpx; text-align: right; @@ -456,8 +443,8 @@ export default { box-sizing: border-box; display: flex; .title { - width: 180rpx; - font-size: 30rpx; + width: 150rpx; + font-size: 26rpx; text-align: right; color: rgba(51, 51, 51, 1); margin-right: 20rpx; diff --git a/pages/release/video.vue b/pages/release/video.vue index 5aae2f2..b240598 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -113,7 +113,8 @@ export default { selectarr: [], //选中标签 tagcontent: '', //新建标签名字 selectvideo: '', //视频名字 - videostate: false //视频状态 + videostate: false, //视频状态 + progress:0 }; }, onLoad() { @@ -238,7 +239,7 @@ export default { let url = this.action; let that = this; uni.showLoading({ - title:"上传中!" + title:'上传中'+that.progress+'%' }) uni.chooseVideo({ count: 1, @@ -246,7 +247,7 @@ export default { success: function(res) { that.src = res.tempFilePath; const tempFilePaths = res.tempFilePath; - uni.uploadFile({ + const uploadTask = uni.uploadFile({ url: url, //仅为示例,非真实的接口地址 filePath: tempFilePaths, name: 'article_video', @@ -268,6 +269,13 @@ export default { console.log(error); } }); + uploadTask.onProgressUpdate((res) => { + console.log("上传进度",res.progress) + that.progress = res.progress + // 测试条件,取消上传任务。 + if (res.progress == 100) { + } + }); } }); }, diff --git a/static/image/home/chat.png b/static/image/home/chat.png index 15e0ca68d913e3b0976a56c76e4bb54ac6b17ce8..b70f0ee2552bcfb7377b263132260e360c2e8e8e 100644 GIT binary patch literal 5137 zcmV+s6z=PZP)OQ+MFbax2hrczn@ zx7_>voqO&%-}Aj!ID}0>xRDgq$EC=$Wbj+_q%uQ^btvM7;d~w5)gd|JkT%P>8p=f3Z=n!Hz z7|~js8v?!-TrFx~$soj6fn)%OYCF(|(1O?PsBA;D36*9kAAcrVI(Kxzl(E9)-c z|9~}kT?K9xk-Uofw~*2nnrM~>Fe~hL8xVkkuel>Xl2}KhdKSXzIL4qH1q=<-3(5Dp zw|hUJ9br4L9o6Oln7UWNFTt~zZKYKM0aCvK3R5YSJ`tj`AU+duXMv6ZIj$Q(3ZQMl zzaXukMRT$coUBLC@JqtqT<}K_A(BBcfODYctEz1t?*05=RjU!V1l1Q&`C9<3Sie#3 zS!eI;Q|lK%Ix&A7QG6b%=i}Tsl;c3_K+Ml{Z5u$}LSz$azx@W3W}LR7bRbcC@H=IY ztY0aJGvM-w3`Vsc(Rz>(VDI6C0N&oM2)YGfJ+PEm|BCWFRfArYhUOi8L8wmvX#+zk zq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