'订单,个人信息更新等功能开发'

This commit is contained in:
unknown 2025-11-06 22:06:37 +08:00
parent a993e98d19
commit 6e4ac3b6f9
15 changed files with 7305 additions and 5380 deletions

View File

@ -1,5 +1,39 @@
var QQMapWX = require('@/common/qqmap-wx-jssdk.min.js') var QQMapWX = require('@/common/qqmap-wx-jssdk.min.js')
const util = { const util = {
openMap(address, latitude, longitude) {
var url = '';
// const address = accept_address; //地址
// const latitude = latitude;//纬度
// const longitude = longitude;//精度
url = 'geo:' + latitude + ',' + longitude + '?q=' + encodeURIComponent(address);
// geo:34.24710702460227,108.90977498072209?q=%E8%A5%BF%E5%AE%89%E5%B8%82%E8%B4%A2%E5%AF%8C%E4%B8%AD%E5%BF%83C%E5%BA%A71002
console.log(address,latitude,longitude)
if (uni.getSystemInfoSync().platform == 'android') {
plus.runtime.openURL(url);
} else {
plus.nativeUI.actionSheet({title:"选择地图应用",cancel:"取消",buttons:[{title:"Apple地图"},{title:"百度地图"},{title:"高德地图"},{title:"google地图"}]}, function(e){
console.log("e.index: " + e.index);
switch (e.index){
case 1:
url = `http://maps.apple.com/?q=${encodeURIComponent(address)}&ll=${latitude},${longitude}&spn=0.008766,0.019441`
break;
case 2:
url = `baidumap://map/marker?location=${latitude},${longitude}&title=DCloud&src=Hello%20uni-app`;
break;
case 3:
url = `iosamap://viewMap?sourceApplication=Hello%20uni-app&poiname=DCloud&lat=${latitude}&lon=${longitude}&dev=0`;
break;
case 4:
url = `comgooglemaps://?q=${encodeURIComponent(address)}&center=${latitude},${longitude}`;
break;
plus.runtime.openURL(url, function( e ){
plus.nativeUI.alert("未安装此地图");
});
}
})
}
},
getAddress(callBack) { getAddress(callBack) {
console.log('+++++++++++++++++') console.log('+++++++++++++++++')
/* #ifdef H5 */ /* #ifdef H5 */
@ -24,7 +58,7 @@ const util = {
} }
console.log(location,'fffffff') console.log(location,'fffffff')
const qqmapsdk = new QQMapWX({ const qqmapsdk = new QQMapWX({
key: 'GHNBZ-LUALS-RGKO2-6YTHN-PRVDV-D4BDT' key: 'EO2BZ-YGE33-NHJ3S-RCRUJ-WT47J-5DB3I'
}) })
qqmapsdk.reverseGeocoder({ qqmapsdk.reverseGeocoder({
location, location,

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="content2"> <view class="content2">
<u-upload :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple :maxCount="1"> <u-upload ref="uniUpload" :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple :maxCount="1">
<slot name="upLoadImg"></slot> <slot name="upLoadImg"></slot>
</u-upload> </u-upload>
</view> </view>
@ -23,6 +23,9 @@
}, },
methods: { methods: {
openUpload(){
this.$refs.uniUpload.chooseFile();
},
// //
deletePic(event) { deletePic(event) {
this[`fileList${event.name}`].splice(event.index, 1); this[`fileList${event.name}`].splice(event.index, 1);

View File

@ -243,7 +243,7 @@
} }
console.log(location,'fffffff') console.log(location,'fffffff')
const qqmapsdk = new QQMapWX({ const qqmapsdk = new QQMapWX({
key: 'GHNBZ-LUALS-RGKO2-6YTHN-PRVDV-D4BDT' key: 'EO2BZ-YGE33-NHJ3S-RCRUJ-WT47J-5DB3I'
}) })
qqmapsdk.reverseGeocoder({ qqmapsdk.reverseGeocoder({
location, location,

View File

@ -193,4 +193,5 @@ export const statistics = (data, callback) => post('api/recover/personmoney/stat
export const createPayment = (data, callback) => post('api/recover/person/createPayment', data, callback); export const createPayment = (data, callback) => post('api/recover/person/createPayment', data, callback);
export const reassignOrder = (data, callback) => post('api/recover/order/reassignOrder', data, callback); export const reassignOrder = (data, callback) => post('api/recover/order/reassignOrder', data, callback);
export const smsCode = (data, callback) => post('api/recover/person/send', data, callback); export const smsCode = (data, callback) => post('api/recover/person/send', data, callback);
export const hallnotice = (data, callback) => post('api/recover/person/hallnotice', data, callback);
export const indexInfo = (data, callback) => post('api/recover/config/index', data, callback);

View File

@ -217,6 +217,13 @@
"navigationBarTitleText": "信息编辑", "navigationBarTitleText": "信息编辑",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{
"path" : "pages/mine/detail",
"style" :
{
"navigationBarTitleText": "协议",
"enablePullDownRefresh": false
}
},{ },{
"path" : "pages/order/pay", "path" : "pages/order/pay",
"style" : "style" :

View File

@ -23,10 +23,10 @@
<view class="twoMenuBox"> <view class="twoMenuBox">
<view class="notice flex-center" > <view class="notice flex-center" >
<view class="notice-icon"> <view class="notice-icon">
<image class="icon " src="/static/img/news.png" mode=""></image> <image class="icon " :src="path+'/assets/img/icon/speaker.png'" mode=""></image>
</view> </view>
<view class="notice-row flex1" > <view class="notice-row flex1" >
<text class=" ">{{notice}}</text> <view class="tipText" style="">{{tipText}}</view>
</view> </view>
</view> </view>
<view class="flex-between" style="margin-top: 30rpx;"> <view class="flex-between" style="margin-top: 30rpx;">
@ -37,12 +37,12 @@
</view> </view>
</view> </view>
<view class="flex-center"> <view class="flex-center">
<view class="flex-center selectBox"> <view class="flex-center selectBox" @click="showType = !showType">
<view>全部需求</view> <view>{{typeText.name}}</view>
<u-icon name="arrow-down" color="#333333" size="12" style="margin-left: 13rpx;"></u-icon> <u-icon name="arrow-down" color="#333333" size="12" style="margin-left: 13rpx;"></u-icon>
</view> </view>
<view class="flex-center selectBox"> <view class="flex-center selectBox" @click="showDistance = !showDistance">
<view>距离最近</view> <view>{{distanceText.name}}</view>
<u-icon name="arrow-down" color="#333333" size="12" style="margin-left: 13rpx;"></u-icon> <u-icon name="arrow-down" color="#333333" size="12" style="margin-left: 13rpx;"></u-icon>
</view> </view>
</view> </view>
@ -61,7 +61,7 @@
</view> </view>
<view class="flex-between addressBox"> <view class="flex-between addressBox">
<view class="addressText">{{item.full_address}}</view> <view class="addressText">{{item.full_address}}</view>
<view class="addressBtn">导航</view> <view class="addressBtn" @click.stop="openMap(item)">导航</view>
</view> </view>
<view class="flex-between goodsWrap"> <view class="flex-between goodsWrap">
<view class="goodsBox1 flex-center" style="width: 40%;"> <view class="goodsBox1 flex-center" style="width: 40%;">
@ -94,8 +94,13 @@
</view> </view>
</view> </view>
</view> </view>
<view class="zanwuimg" v-if="qiangdanArr.length == 0">
<image src="../../static/img/null.png" mode="widthFix"></image>
<view>暂无相关订单</view>
</view>
<view class="flex-center noMore" v-show="page1==lastPage1">没有更多了</view> <view class="flex-center noMore" v-show="page1==lastPage1">没有更多了</view>
</view> </view>
<!-- 回收大堂 -->
<view class="menuBox2" v-show="menuNum == 2"> <view class="menuBox2" v-show="menuNum == 2">
<view class="navbar"> <view class="navbar">
<view v-for="item in tabAll" class="item" :class="[tabCur==item.id?'on':'']" @click="selectTab(item.id)"> <view v-for="item in tabAll" class="item" :class="[tabCur==item.id?'on':'']" @click="selectTab(item.id)">
@ -119,7 +124,7 @@
</view> </view>
<view class="flex-between addressBox"> <view class="flex-between addressBox">
<view class="addressText">{{item.accept_address}}</view> <view class="addressText">{{item.accept_address}}</view>
<view class="addressBtn">导航</view> <view class="addressBtn" @click.stop="openMap(item)">导航</view>
</view> </view>
<view class="flex-between goodsWrap"> <view class="flex-between goodsWrap">
<view class="goodsBox1 flex-center" style="width: 40%;"> <view class="goodsBox1 flex-center" style="width: 40%;">
@ -183,6 +188,10 @@
</view> </view>
</view> </view>
</view> </view>
<view class="zanwuimg" v-if="recycleList.length == 0">
<image src="../../static/img/null.png" mode="widthFix"></image>
<view>暂无相关订单</view>
</view>
<view class="flex-center noMore" v-show="page2==lastPage2">没有更多了</view> <view class="flex-center noMore" v-show="page2==lastPage2">没有更多了</view>
</view> </view>
<view style="height: 100rpx;"></view> <view style="height: 100rpx;"></view>
@ -245,13 +254,13 @@
</view> </view>
</view> </view>
</u-popup> --> </u-popup> -->
<u-popup :show="signInShow" @open="open" mode="center" :round="30"> <u-popup :show="signInShow" mode="center" :round="30">
<view class="popBoxOne"> <view class="popBoxOne">
<image :src="path+'/assets/img/icon/star1.png'" class="popOneImg"></image> <image :src="path+'/assets/img/icon/star1.png'" class="popOneImg"></image>
<text class="popOneText1">上门签到成功</text> <text class="popOneText1">上门签到成功</text>
<text class="popOneText2">上门服务请仔细核对回收货物</text> <text class="popOneText2">上门服务请仔细核对回收货物</text>
<text class="popOneText3">祝您与用户合作愉快~</text> <text class="popOneText3">祝您与用户合作愉快~</text>
<view class="popOneBtn flex-center">好的</view> <view class="popOneBtn flex-center" @click="signInShow = false">好的</view>
</view> </view>
</u-popup> </u-popup>
<u-popup :show="pop2Show" @click="pop2Show=false" mode="center" :round="30"> <u-popup :show="pop2Show" @click="pop2Show=false" mode="center" :round="30">
@ -348,6 +357,9 @@
<citySelect @back_city="back_city"></citySelect> <citySelect @back_city="back_city"></citySelect>
</view> </view>
</popup-layer> --> </popup-layer> -->
<u-picker :show="showType" :columns="[typelist]" keyName="name" @cancel="showType = false" @confirm="confirmType"></u-picker>
<u-picker :show="showDistance" :columns="[distanceArr]" keyName="name" @cancel="showDistance = false" @confirm="confirmDistance"></u-picker>
</view> </view>
</template> </template>
@ -366,6 +378,21 @@
jscode:'', jscode:'',
// limit:3, // limit:3,
typelist: [], typelist: [],
showType: false,
distanceArr: [{
name: '1km',
value: 1
},{
name: '2km',
value: 2
},{
name: '5km',
value: 5
},{
name: '10km',
value: 10
}],
showDistance: false,
banner:[], banner:[],
notice:'', notice:'',
indicatorDots: true, indicatorDots: true,
@ -438,7 +465,13 @@
page2: 1, page2: 1,
lastPage1: '', lastPage1: '',
lastPage2: '', lastPage2: '',
limit: 10 limit: 10,
tipText: '',
typeText: '',
distanceText: {
name: '1km',
value: 1
}
} }
}, },
components: { components: {
@ -481,7 +514,7 @@
}, },
onLoad() { onLoad() {
this.getauth() this.getauth()
this.hallnotice()
/* #ifdef H5 */ /* #ifdef H5 */
this.latitude = 32.199974 this.latitude = 32.199974
this.longitude = 118.715805 this.longitude = 118.715805
@ -496,7 +529,7 @@
// // uni.setStorageSync('city_name',res.city) // // uni.setStorageSync('city_name',res.city)
// }) // })
// this.recycleOrderList() // this.recycleOrderList()
// this.getdata() this.getdata()
// this.getquestion() // this.getquestion()
// this.recycleOrderList() // this.recycleOrderList()
// this.qiangdanlist() // this.qiangdanlist()
@ -539,6 +572,30 @@
} }
}, },
methods: { methods: {
openMap(res){
console.log(res)
util.openMap(res.accept_address,res.latitude,res.longitude)
},
confirmType(val){
console.log(val, 'dddddddddd')
this.showType = false
this.typeText = val.value[0]
this.qiangdanlist()
},
confirmDistance(val){
this.showDistance = false
this.distanceText = val.value[0]
this.qiangdanlist()
},
hallnotice(){
var _this = this;
_this.$api.hallnotice({},res=>{
if(res.code == '1'){
_this.tipText = res.data.item.text
}else{
}
})
},
moreClick(id){ moreClick(id){
this.$set(this.moreShow, id, this.moreShow[id]?false:true) this.$set(this.moreShow, id, this.moreShow[id]?false:true)
}, },
@ -573,16 +630,19 @@
} }
}, },
conformChangeOrder(){ conformChangeOrder(){
// var _this = this; var _this = this;
// _this.$api.reassignOrder({},res=>{ _this.$api.reassignOrder({
// if(res.code == '1'){ order_id: this.orderId,
// uni.showToast({ title: res.msg, icon: 'success' }) reason: this.notesText
},res=>{
if(res.code == '1'){
uni.showToast({ title: res.msg, icon: 'success' })
// }else{ }else{
// uni.showToast({ title: res.msg, icon: 'none' }) uni.showToast({ title: res.msg, icon: 'none' })
// } }
// }) })
}, },
toPay(item){ toPay(item){
uni.setStorageSync('orderDetail', item); uni.setStorageSync('orderDetail', item);
@ -665,8 +725,9 @@
_this.$api.setorder(data,res=>{ _this.$api.setorder(data,res=>{
if(res.code == '1'){ if(res.code == '1'){
_this.tabCur = 3; _this.tabCur = 3;
uni.showToast({ title: '签到成功' , icon: 'success' }) // uni.showToast({ title: '' , icon: 'success' })
// _this.recycleOrderList() // _this.recycleOrderList()
this.signInShow = true;
this.initFun(); this.initFun();
setTimeout(()=>{ setTimeout(()=>{
_this.menuNum = 2 _this.menuNum = 2
@ -683,7 +744,8 @@
_this.$api.setorder(data,res=>{ _this.$api.setorder(data,res=>{
if(res.code == '1'){ if(res.code == '1'){
_this.tabCur = 3; _this.tabCur = 3;
uni.showToast({ title: '签到成功' , icon: 'success' }) // uni.showToast({ title: '' , icon: 'success' })
this.signInShow = true;
// _this.recycleOrderList() // _this.recycleOrderList()
this.initFun(); this.initFun();
setTimeout(()=>{ setTimeout(()=>{
@ -804,14 +866,16 @@
page: this.page1, page: this.page1,
limit: this.limit, limit: this.limit,
longitude: this.longitude, longitude: this.longitude,
latitude: this.latitude latitude: this.latitude,
type_id: this.typeText.id,
distance: this.distanceText.value
} }
console.log(data,'mmmmmmmmmm---') console.log(data,'mmmmmmmmmm---')
this.$api.qiangdanlist(data,res=>{ this.$api.qiangdanlist(data,res=>{
if(res.code == '1'){ if(res.code == '1'){
this.qiangdanArr = this.qiangdanArr.concat(res.data.list.data) this.qiangdanArr = this.qiangdanArr.concat(res.data.list.data)
// this.recycleList = res.data.type // this.recycleList = res.data.type
this.lastPage1 = Math.ceil(res.data.total/this.limit) this.lastPage1 = res.data.list.last_page //Math.ceil(res.data.total/this.limit)
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
} }
}) })
@ -821,15 +885,15 @@
let data = { let data = {
status: status, status: status,
page: this.page2, page: this.page2,
limit: this.limit limit: this.limit,
// longitude: this.longitude, longitude: this.longitude,
// latitude: this.latitude latitude: this.latitude
} }
this.$api.recycleOrderList(data,res=>{ this.$api.recycleOrderList(data,res=>{
if(res.code == '1'){ if(res.code == '1'){
console.log(res.data.list,res.data.list.data,res.data.total,'dddd') console.log(res.data.list,res.data.list.data,res.data.total,'dddd')
this.recycleList = this.recycleList.concat(res.data.list) this.recycleList = this.recycleList.concat(res.data.list)
this.lastPage2 = Math.ceil(res.data.total/this.limit) this.lastPage2 = res.data.list.last_page //Math.ceil(res.data.total/this.limit)
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
} }
}) })
@ -847,10 +911,16 @@
} }
this.$api.indexpage(data,res=>{ this.$api.indexpage(data,res=>{
if(res.code == '1'){ if(res.code == '1'){
res.data.type.unshift({
name: '全部需求'
});
this.typeText = {
name: '全部需求'
}
this.typelist = res.data.type this.typelist = res.data.type
this.banner = res.data.banner // this.banner = res.data.banner
this.notice = res.data.notice // this.notice = res.data.notice
this.limit = res.data.nav_num // this.limit = res.data.nav_num
} }
}) })
}, },
@ -1154,8 +1224,27 @@
display: inline-block; display: inline-block;
font-size: 28rpx; font-size: 28rpx;
float: left; float: left;
padding-left: 60rpx;
font-weight: 500;
font-size: 26rpx;
color: #AB8475;
overflow: hidden;
// background: #000;
margin-left: 70rpx;
} }
.tipText{
animation: scrollLeftInfinite 10s linear infinite;
overflow: hidden;
// background: #fff;
}
@keyframes scrollLeftInfinite {
from {
transform: translateX(100%);
}
to {
transform: translateX(-100%);
}
}
.nav{ .nav{

View File

@ -105,7 +105,7 @@ export default {
} }
console.log(location,'fffffff') console.log(location,'fffffff')
const qqmapsdk = new QQMapWX({ const qqmapsdk = new QQMapWX({
key: 'GHNBZ-LUALS-RGKO2-6YTHN-PRVDV-D4BDT' key: 'EO2BZ-YGE33-NHJ3S-RCRUJ-WT47J-5DB3I'
}) })
qqmapsdk.reverseGeocoder({ qqmapsdk.reverseGeocoder({
location, location,

182
pages/mine/detail.vue Normal file
View File

@ -0,0 +1,182 @@
<template>
<view class="content">
<view class="title">{{info.title}}</view>
<!-- <view class="time">{{setDateFormat(articleDetail.publish_time)}}</view> -->
<view v-html="info.content">
</view>
</view>
</template>
<script>
import util from '../../common/util.js'
export default {
data() {
return {
articleDetail: {},
info: {},
type: ''
};
},
onLoad(e) {
console.log(e)
this.type = e.type
this.getdata()
this.getdata2()
},
methods: {
getdata(){
let data = {
}
this.$api.config(data,res=>{
if(res.code == '1'){
// this.info = res.data
// switch(this.type){
// case 'about':
// this.info.title = res.data.about_title
// this.info.content = res.data.about_text
// wx.setNavigationBarTitle({
// title:""
// });
// break;
// case 'userProt':
// this.info.title = res.data.xieyi_title
// this.info.content = res.data.xieyi
// wx.setNavigationBarTitle({
// title:""
// });
// break;
// case 'privacy':
// this.info.title = res.data.privacy_title
// this.info.content = res.data.privacy_content
// wx.setNavigationBarTitle({
// title:""
// });
// break;
// case 'recycleProt':
// this.info.title = res.data.recycleProt_title
// this.info.content = res.data.recycleProt_content
// wx.setNavigationBarTitle({
// title:""
// });
// break;
// }
}
})
},
getdata2(){
let data = {
}
this.$api.indexInfo(data,res=>{
if(res.code == '1'){
console.log(res.data.basic.list,'nnnnnnnnnn')
let arr = res.data.basic.list;
this.info = res.data
switch(this.type){
case 'about':
// this.info.title = res.data.about_title
// this.info.content = res.data.about_text
this.info.title = arr.find((item,index)=>item.name == 'about_title').value
this.info.content = arr.find((item,index)=>item.name == 'about_text').value
wx.setNavigationBarTitle({
title:"关于我们"
});
break;
case 'userProt':
// this.info.title = res.data.xieyi_title
// this.info.content = res.data.xieyi
this.info.title = arr.find((item,index)=>item.name == 'xieyi_title').value
this.info.content = arr.find((item,index)=>item.name == 'xieyi').value
wx.setNavigationBarTitle({
title:"用户协议"
});
break;
case 'privacy':
// this.info.title = res.data.privacy_title
// this.info.content = res.data.privacy_content
this.info.title = arr.find((item,index)=>item.name == 'privacy_title').value
this.info.content = arr.find((item,index)=>item.name == 'privacy_content').value
wx.setNavigationBarTitle({
title:"隐私政策"
});
break;
case 'recycleProt':
// this.info.title = res.data.recycleProt_title
// this.info.content = res.data.recycleProt_content
this.info.title = arr.find((item,index)=>item.name == 'recycleProt_title').value
this.info.content = arr.find((item,index)=>item.name == 'recycleProt_content').value
wx.setNavigationBarTitle({
title:"用户回收协议"
});
break;
}
}
})
}
}
};
</script>
<style lang="scss">
.content{
padding: 37rpx 37rpx;
border-top: 4rpx solid rgba(100,100,100,.1);
.title{
font-weight: bold;
font-size: 36rpx;
color: #282F38;
}
.time{
font-weight: 500;
font-size: 24rpx;
color: #999999;
margin-top: 18rpx;
margin-bottom: 40rpx;
}
}
.news_title{
border-bottom: 1px solid #eee;
padding: 20rpx 5%;
box-sizing: border-box;
overflow: hidden;
position: relative;
width: 100%; }
.news_title .title{
color: #333;
line-height: 50rpx;
}
.news_title .time{
color: #777;
margin-top: 20rpx;
}
.news_title .tag{
color: #e01f20;
}
.biaoti{
color: #777777;
height: 90rpx;
line-height: 90rpx;
margin-top: 20rpx; }
.biaoti image{width: 35rpx;margin-right: 10rpx; margin-bottom: -6rpx;}
.main{
line-height: 60rpx;}
.main .li{
display: flex;
justify-content: space-between;
}
.line{border:solid 3px #eee}.button-bottom {
padding: 15upx 26upx;
text-align: right;
display: block;
}
.button-bottom .btn {
margin-left: 20upx;
}
.ti{width:115px}
</style>

View File

@ -3,21 +3,24 @@
<view class="content-top"> <view class="content-top">
<view class='hs-box'> <view class='hs-box'>
<view class='hs-row user-head'> <view class='hs-row user-head'>
<view class='hs-row-hd'> <view class='hs-row-hd' style="font-size: 32rpx;">
头像 头像
</view> </view>
<view class='hs-row-ft flex-center'> <view class='hs-row-ft flex-center'>
<!-- <button class="avatar-wrapper" open-type="chooseAvatar" :disabled="disabled" @chooseavatar="onChooseAvatar"> <!-- <button class="avatar-wrapper" open-type="chooseAvatar" :disabled="disabled" @chooseavatar="onChooseAvatar">
<image class="avatar user-head-img" :src="avatar" mode="aspectFill"></image> <image class="avatar user-head-img" :src="avatar" mode="aspectFill"></image>
</button> --> </button> -->
<image class="avatar user-head-img" :src="avatar" mode="aspectFill"></image> <image @click="uploadImg" class="avatar user-head-img" :src="avatar" mode="aspectFill"></image>
<u-icon name="arrow-right" color="#282F38" size="14" style="margin-left: 19rpx;"></u-icon> <u-icon name="arrow-right" color="#282F38" size="14" style="margin-left: 19rpx;"></u-icon>
</view> </view>
</view> </view>
<view style="margin-top: 17rpx;" class="infoBox"> <view style="margin-top: 17rpx;" class="infoBox">
<view class='hs-list flex-between'> <view class='hs-list flex-between'>
<view class='hs-list-hd' style="width: 80px;">昵称</view> <view class='hs-list-hd' style="width: 80px;">昵称</view>
<view class="hs-list-right">{{nickname}}</view> <view class="flex-center">
<view class="hs-list-right">{{nickname}}</view>
<view class="updateBtn" @click="pop4Show = !pop4Show">修改</view>
</view>
<!-- <view class='hs-list-na'> <!-- <view class='hs-list-na'>
<input type="nickname" class="weui-input" v-model="nickname" :disabled="disabled" name="nickname" placeholder="请输入昵称" @blur="getnicheng" ></input> <input type="nickname" class="weui-input" v-model="nickname" :disabled="disabled" name="nickname" placeholder="请输入昵称" @blur="getnicheng" ></input>
</view> --> </view> -->
@ -49,25 +52,47 @@
<view class="escLogin" @click="escLogin">退出登录</view> <view class="escLogin" @click="escLogin">退出登录</view>
</view> </view>
</view> </view>
<img-upload ref="imgLoad" @imgList="imgList" style="width: 300rpx;height: 190rpx;display: none;">
</img-upload>
<!-- <view class="button-bottom"> <!-- <view class="button-bottom">
<button class="btn btn-success" @click="toAdd()" >保存</button> <button class="btn btn-success" @click="toAdd()" >保存</button>
</view> --> </view> -->
<u-popup :show="pop4Show" @close="pop4Show = false" mode="center" :round="30">
<view class="pop4Box">
<view class="flex-between" style="padding: 51rpx 55rpx 0;">
<text class="pop4Title">修改昵称</text>
<u-icon @click="pop4Show = false" name="close" color="#333333" size="16" bold></u-icon>
</view>
<view class="flex-center" style="margin-top: 39rpx;padding: 0 50rpx;">
<view style="width: 100rpx;">昵称</view>
<input v-model="newnickname" placeholder="请填写昵称" class="pop4Input" style="background: #EFEFEF;border: none" />
</view>
<view class="flex-center" style="margin-top: 55rpx;">
<view class="pop4Btn1" @click="pop4Show = false">取消</view>
<view class="pop4Btn2" @click="conformChangeOrder">确认</view>
</view>
</view>
</u-popup>
</view> </view>
</template> </template>
<script> <script>
import imgUpload from '@/components/imgUpload.vue'
export default { export default {
data() { data() {
return { return {
userinfo:{}, userinfo:{},
headflag:false, headflag:false,
nickname:'微信用户', nickname:'微信用户',
avatar:'/static/img/t2.png', newnickname: '',
avatar:'',
pop4Show: false
} }
}, },
components:{ components:{
imgUpload
}, },
onLoad() { onLoad() {
// this.getAgreement() // this.getAgreement()
@ -80,6 +105,35 @@
this.getauth() this.getauth()
}, },
methods: { methods: {
conformChangeOrder(){
this.$api.edituser({
nickname: this.newnickname
},res=>{
if(res.code == '1'){
this.nickname = this.newnickname
uni.showToast({ title: res.msg , icon: 'success' })
}else{
uni.showToast({ title: res.msg , icon: 'none' })
}
})
},
uploadImg() {
// this.$refs.uniUpload.open(); // open
this.$refs.imgLoad.openUpload()
},
imgList(res){
console.log(res,'hhhhhhhhh')
this.$api.edituser({
avatar: res
},res=>{
if(res.code == '1'){
this.avatar = this.path + res;
uni.showToast({ title: res.msg , icon: 'success' })
}else{
uni.showToast({ title: res.msg , icon: 'fail' })
}
})
},
escLogin(){ escLogin(){
this.$api.escLogin({},res=>{ this.$api.escLogin({},res=>{
if(res.code == '1'){ if(res.code == '1'){
@ -125,6 +179,7 @@
_this.avatar = res.data.user.avatar _this.avatar = res.data.user.avatar
} }
_this.nickname = res.data.user.nickname _this.nickname = res.data.user.nickname
_this.newnickname = res.data.user.nickname
_this.userinfo = res.data.user _this.userinfo = res.data.user
}else{ }else{
} }
@ -277,4 +332,59 @@
color: #282F38; color: #282F38;
margin-top: 20rpx; margin-top: 20rpx;
} }
.updateBtn{
height: 60rpx;
line-height: 60rpx;
border: 1rpx solid #F5F5FA;
background: #F5F5FA;
border-radius: 10rpx;
padding: 0 16rpx;
margin-left: 20rpx;
font-size: 26rpx;
}
.pop4Box{
width: 640rpx;
height: 380rpx;
background: #FFFFFF;
border-radius: 30rpx;
.pop4Title{
font-weight: bold;
font-size: 36rpx;
color: #000000;
}
.pop4Input{
// width: 560rpx;
flex: 1;
// height: 173rpx;
height: 70rpx;
padding-left: 20rpx;
background: #EFEFEF;
border-radius: 7rpx;
margin: 0rpx auto 0;
}
.pop4Btn1{
width: 260rpx;
height: 80rpx;
line-height: 80rpx;
background: #F6F6F6;
border-radius: 40rpx;
font-weight: 500;
font-size: 28rpx;
color: #333333;
text-align: center;
}
.pop4Btn2{
width: 260rpx;
height: 80rpx;
line-height: 80rpx;
background: #FB7D06;
border-radius: 40rpx;
font-weight: 500;
font-size: 28rpx;
color: #fff;
text-align: center;
margin-left: 20rpx;
}
}
</style> </style>

View File

@ -11,6 +11,7 @@
<image class="read-img" :src="avatar" mode="aspectFill"></image> <image class="read-img" :src="avatar" mode="aspectFill"></image>
<view class="flex-box" > <view class="flex-box" >
<view class="flex-box-text">{{nickname}}</view> <view class="flex-box-text">{{nickname}}</view>
<view>{{userPhone}}</view>
</view> </view>
</view> </view>
<view class="flex" v-else @click="gologin()"> <view class="flex" v-else @click="gologin()">
@ -329,7 +330,8 @@
eyeOpen: false, eyeOpen: false,
chargeShow: false, chargeShow: false,
chargeNum: '', chargeNum: '',
pop2Show: false pop2Show: false,
userPhone: ''
} }
}, },
components:{ components:{
@ -438,6 +440,7 @@
_this.user_money = res.data.user.money _this.user_money = res.data.user.money
_this.person_money = res.data.user.person_money _this.person_money = res.data.user.person_money
_this.person = res.data.person _this.person = res.data.person
_this.userPhone = this.maskMiddleFour(res.data.user.mobile);
uni.setStorageSync('personInfo', res.data.person); uni.setStorageSync('personInfo', res.data.person);
}else if(res.code == '0'){ }else if(res.code == '0'){
_this.avatar = '/static/img/t2.png'; _this.avatar = '/static/img/t2.png';
@ -448,6 +451,17 @@
} }
}) })
}, },
maskMiddleFour(str) {
console.log(str)
if(str){
// 84
str = str.toString().padStart(10, '0'); // 100
return str.slice(0, 4) + '****' + str.slice(-4);
}else{
return ''
}
},
gopage2(url){ gopage2(url){
var token = uni.getStorageSync('userToken'); var token = uni.getStorageSync('userToken');

View File

@ -82,7 +82,7 @@
<image :src="path+'/assets/img/icon/phone2.png'" class="btnIcon"></image> <image :src="path+'/assets/img/icon/phone2.png'" class="btnIcon"></image>
<text>联系用户</text> <text>联系用户</text>
</view> </view>
<view class="rightBtn flex-center"> <view class="rightBtn flex-center" @click="toNearbyStore">
<image :src="path+'/assets/img/icon/send2.png'" class="btnIcon"></image> <image :src="path+'/assets/img/icon/send2.png'" class="btnIcon"></image>
<text>导航地址</text> <text>导航地址</text>
</view> </view>
@ -227,27 +227,56 @@
</view> --> </view> -->
<view style="height:120px"></view> <view style="height:120px"></view>
</view> </view>
<view class="button-bottom" v-if="orderInfo.status==1 || orderInfo.status==2"> <view class="button-bottom" v-if="orderInfo.status==1 || orderInfo.status==2 || orderInfo.status==3">
<view class="tipBox">请先与客户确认上门服务时间哦~</view> <view class="tipBox">请先与客户确认上门服务时间哦~</view>
<view class="buttonEdit flex-center">改派</view> <view class="buttonEdit flex-center" @click="pop4Show = true" v-if="orderInfo.status == 2">改派</view>
<button class='btn flex-center' v-if="orderInfo.status == 1 || orderInfo.status == 2" @click="cancelOrder()">取消订单</button> <button class='btn flex-center' v-if="orderInfo.status == 1 || orderInfo.status == 2" @click="cancelOrder()">取消订单</button>
<view class="buttonType2 flex-center">上门签到</view> <view class="buttonType2 flex-center" @click.stop="signIn()" v-if="orderInfo.status == 2">上门签到</view>
<!-- <view class="buttonType2 flex-center">去付款</view> --> <view class="buttonType2 flex-center" v-if="orderInfo.status == 3" @click="toPay(orderInfo)">去付款</view>
</view> </view>
<u-popup :show="pop4Show" @close="pop4Show = false" mode="center" :round="30">
<view class="pop4Box">
<view class="flex-between" style="padding: 51rpx 55rpx 0;">
<text class="pop4Title">改派原因</text>
<u-icon @click="pop4Show = false" name="close" color="#333333" size="16" bold></u-icon>
</view>
<u--textarea v-model="notesText" placeholder="请填写改派原因" class="pop4Input" style="background: #EFEFEF;border: none"></u--textarea>
<view class="flex-center" style="margin-top: 55rpx;">
<view class="pop4Btn1" @click="pop4Show = false">取消改派</view>
<view class="pop4Btn2" @click="conformChangeOrder">确认改派</view>
</view>
</view>
</u-popup>
<u-popup :show="signInShow" mode="center" :round="30">
<view class="popBoxOne">
<image :src="path+'/assets/img/icon/star1.png'" class="popOneImg"></image>
<text class="popOneText1">上门签到成功</text>
<text class="popOneText2">上门服务请仔细核对回收货物</text>
<text class="popOneText3">祝您与用户合作愉快~</text>
<view class="popOneBtn flex-center" @click="signInShow = false">好的</view>
</view>
</u-popup>
<appointTime ref="timeRef" @checkTime="checkTime"></appointTime> <appointTime ref="timeRef" @checkTime="checkTime"></appointTime>
</view> </view>
</template> </template>
<script> <script>
import util from '../../common/util';
import appointTime from '@/components/appointTime.vue'; import appointTime from '@/components/appointTime.vue';
export default { export default {
data() { data() {
return { return {
order_id: '', order_id: '',
orderInfo: {}, orderInfo: {},
order_person_time: '' order_person_time: '',
pop4Show: false,
notesText: '',
signInShow: false
}; };
}, },
onShow() {
this.getOrderDetail();
},
onLoad(e) { onLoad(e) {
this.order_id = e.id; this.order_id = e.id;
this.getOrderDetail(); this.getOrderDetail();
@ -256,6 +285,111 @@ export default {
appointTime appointTime
}, },
methods: { methods: {
toPay(item){
uni.setStorageSync('orderDetail', item);
uni.navigateTo({
url:'/pages/order/pay?id=' + item.id
})
},
signIn(){
let _this = this;
let data = {
status: 3,
order_id: this.order_id
}
uni.getLocation({
type: 'wgs84',
geocode: true,
success: function (res) {
console.log('当前位置的经度:' + JSON.stringify(res));
console.log('当前位置的经度:' + res.longitude);
console.log('当前位置的纬度:' + res.latitude);
data.checkin_latitude = res.latitude
data.checkin_longitude = res.longitude
_this.$api.setorder(data,res=>{
if(res.code == '1'){
_this.tabCur = 3;
// uni.showToast({ title: '' , icon: 'success' })
this.signInShow = true;
setTimeout(()=>{
this.getOrderDetail()
},2000)
}else{
uni.showToast({ title: res.msg , icon: 'none' })
}
})
}
});
/* #ifdef H5 */
data.checkin_latitude = 32.202905;
data.checkin_longitude = 118.710193;
_this.$api.setorder(data,res=>{
if(res.code == '1'){
_this.tabCur = 3;
// uni.showToast({ title: '' , icon: 'success' })
this.signInShow = true;
setTimeout(()=>{
this.getOrderDetail()
},2000)
}else{
uni.showToast({ title: res.msg , icon: 'none' })
}
})
/* #endif */
},
conformChangeOrder(){
var _this = this;
_this.$api.reassignOrder({
order_id: this.order_id,
reason: this.notesText
},res=>{
if(res.code == '1'){
uni.showToast({ title: res.msg, icon: 'success' })
setTimeout(function() {
uni.navigateBack({
delta: 1
})
},2000);
}else{
uni.showToast({ title: res.msg, icon: 'none' })
}
})
},
toNearbyStore() {
util.openMap(this.orderInfo.accept_address,this.orderInfo.latitude,this.orderInfo.longitude)
// var url = '';
// const address = this.orderInfo.accept_address; //
// const latitude = this.orderInfo.latitude;//
// const longitude = this.orderInfo.longitude;//
// url = 'geo:' + latitude + ',' + longitude + '?q=' + encodeURIComponent(address);
// // geo:34.24710702460227,108.90977498072209?q=%E8%A5%BF%E5%AE%89%E5%B8%82%E8%B4%A2%E5%AF%8C%E4%B8%AD%E5%BF%83C%E5%BA%A71002
// console.log(address,latitude,longitude)
// if (uni.getSystemInfoSync().platform == 'android') {
// plus.runtime.openURL(url);
// } else {
// plus.nativeUI.actionSheet({title:"",cancel:"",buttons:[{title:"Apple"},{title:""},{title:""},{title:"google"}]}, function(e){
// console.log("e.index: " + e.index);
// switch (e.index){
// case 1:
// url = `http://maps.apple.com/?q=${encodeURIComponent(address)}&ll=${latitude},${longitude}&spn=0.008766,0.019441`
// break;
// case 2:
// url = `baidumap://map/marker?location=${latitude},${longitude}&title=DCloud&src=Hello%20uni-app`;
// break;
// case 3:
// url = `iosamap://viewMap?sourceApplication=Hello%20uni-app&poiname=DCloud&lat=${latitude}&lon=${longitude}&dev=0`;
// break;
// case 4:
// url = `comgooglemaps://?q=${encodeURIComponent(address)}&center=${latitude},${longitude}`;
// break;
// plus.runtime.openURL(url, function( e ){
// plus.nativeUI.alert("");
// });
// }
// })
// }
},
checkTime(val){ checkTime(val){
console.log(val,'kkkkkkk') console.log(val,'kkkkkkk')
let data = { let data = {
@ -267,10 +401,12 @@ export default {
if(res.code == '1'){ if(res.code == '1'){
uni.showToast({ title: res.msg , icon: 'success' }) uni.showToast({ title: res.msg , icon: 'success' })
this.order_person_time = val; this.order_person_time = val;
// this.recycleOrderList() // this.recycleOrderList()
// setTimeout(()=>{ setTimeout(()=>{
// this.menuNum = 2 // this.menuNum = 2
// },2000) this.getOrderDetail()
},2000)
}else{ }else{
uni.showToast({ title: res.msg , icon: 'none' }) uni.showToast({ title: res.msg , icon: 'none' })
} }
@ -333,12 +469,13 @@ export default {
let data = { let data = {
id: this.order_id id: this.order_id
} }
this.$api.cancelorder(data, res => { this.$api.cancelorder(data, res => {
if (res.code ==1) { if (res.code ==1) {
uni.showToast({ title: res.msg , icon: 'success' }) uni.showToast({ title: res.msg , icon: 'success' })
setTimeout(function() { setTimeout(function() {
this.getOrderDetail() uni.navigateBack({
delta: 1
})
},2000); },2000);
} else { } else {
uni.showToast({ title: res.msg , icon: 'none' }) uni.showToast({ title: res.msg , icon: 'none' })
@ -755,4 +892,92 @@ export default {
color: #FF8C27; color: #FF8C27;
background: #FFF8F3; background: #FFF8F3;
} }
.pop4Box{
width: 640rpx;
height: 480rpx;
background: #FFFFFF;
border-radius: 30rpx;
.pop4Title{
font-weight: bold;
font-size: 36rpx;
color: #000000;
}
.pop4Input{
width: 560rpx;
height: 173rpx;
background: #EFEFEF;
border-radius: 7rpx;
margin: 29rpx auto 0;
}
.pop4Btn1{
width: 260rpx;
height: 80rpx;
line-height: 80rpx;
background: #F6F6F6;
border-radius: 40rpx;
font-weight: 500;
font-size: 28rpx;
color: #333333;
text-align: center;
}
.pop4Btn2{
width: 260rpx;
height: 80rpx;
line-height: 80rpx;
background: #FB7D06;
border-radius: 40rpx;
font-weight: 500;
font-size: 28rpx;
color: #fff;
text-align: center;
margin-left: 20rpx;
}
}
.popBoxOne{
width: 520rpx;
height: 620rpx;
background: linear-gradient(0deg, #FFFFFF 0%, #FFF3EA 100%);
border-radius: 30rpx;
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
.popOneImg{
width: 429rpx;
height: 429rpx;
position: absolute;
top: -182rpx;
left: 0;
right: 0;
margin: 0 auto;
}
.popOneText1{
font-weight: bold;
font-size: 36rpx;
color: #181622;
margin-top: 205rpx;
}
.popOneText2{
font-weight: 500;
font-size: 26rpx;
color: #181622;
margin-top: 26rpx;
}
.popOneText3{
font-weight: 500;
font-size: 26rpx;
color: #181622;
}
.popOneBtn{
width: 260rpx;
height: 90rpx;
background: #FB8F0C;
border-radius: 45rpx;
font-weight: 500;
font-size: 28rpx;
color: #FFFFFF;
margin-top: 72rpx;
}
}
</style> </style>

View File

@ -5,7 +5,7 @@
<view class="moduleLabel">支付方式</view> <view class="moduleLabel">支付方式</view>
<view class="flex-between" style="margin-top: 46rpx;"> <view class="flex-between" style="margin-top: 46rpx;">
<view class="flex-center"> <view class="flex-center">
<image src="/static/img/41.png" class="icon1"></image> <image :src="path+'/assets/img/icon/offline.png'" class="icon1"></image>
<view class="text1">线下支付</view> <view class="text1">线下支付</view>
</view> </view>
<image v-if="radioType == '1'" :src="path+'/assets/img/icon/selected.png'" class="img1"></image> <image v-if="radioType == '1'" :src="path+'/assets/img/icon/selected.png'" class="img1"></image>
@ -13,7 +13,7 @@
</view> </view>
<view class="flex-between" style="margin-top: 46rpx;margin-bottom: 20rpx;"> <view class="flex-between" style="margin-top: 46rpx;margin-bottom: 20rpx;">
<view class="flex-center"> <view class="flex-center">
<image src="/static/img/41.png" class="icon1"></image> <image :src="path+'/assets/img/icon/online.png'" class="icon1"></image>
<view class="text1">线上支付</view> <view class="text1">线上支付</view>
</view> </view>
<image v-if="radioType == '2'" :src="path+'/assets/img/icon/selected.png'" class="img1"></image> <image v-if="radioType == '2'" :src="path+'/assets/img/icon/selected.png'" class="img1"></image>
@ -69,7 +69,7 @@
<image v-if="!isRead" @click="selectRead" :src="path+'/assets/img/icon/noSelected.png'"></image> <image v-if="!isRead" @click="selectRead" :src="path+'/assets/img/icon/noSelected.png'"></image>
<image v-else @click="selectRead" :src="path+'/assets/img/icon/selected.png'"></image> <image v-else @click="selectRead" :src="path+'/assets/img/icon/selected.png'"></image>
<text>我已阅读并同意</text> <text>我已阅读并同意</text>
<text class="protText" @click="toshow()">用户回收协议</text> <text class="protText" @click="linkDetail">用户回收协议</text>
</view> </view>
<!-- <view class="fsz28" @click="toshow()"> <!-- <view class="fsz28" @click="toshow()">
<view>下单即同意</view> <view>下单即同意</view>
@ -131,7 +131,8 @@
payment_vouchers: [], payment_vouchers: [],
goods_images: [], goods_images: [],
pay_password: '', pay_password: '',
show_key: false show_key: false,
path: this.path
} }
}, },
onShow() { onShow() {
@ -152,6 +153,11 @@
}, },
methods: { methods: {
linkDetail(){
uni.navigateTo({
url: '/pages/mine/detail?type=recycleProt'
})
},
hideFun(){ hideFun(){
this.show_key = false this.show_key = false
}, },
@ -174,7 +180,11 @@
this.isRead = !this.isRead this.isRead = !this.isRead
}, },
createOrder(){ createOrder(){
this.show_key = true if(this.isRead){
this.show_key = true
}else{
uni.showToast({ title: '请勾选用户回收协议' , icon: 'none' })
}
}, },
createPayment(){ createPayment(){
let data = { let data = {
@ -343,8 +353,8 @@
color: #282F38; color: #282F38;
} }
.icon1{ .icon1{
width: 26rpx; width: 42rpx;
height: 26rpx; height: 42rpx;
} }
.img1{ .img1{
width: 30rpx; width: 30rpx;

View File

@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[]; var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[]; var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/mine/mine","pages/mine/edituser","pages/type/type","pages/login/authorize","pages/login/login","pages/address/list","pages/address/detail","pages/about/about","pages/person/add","pages/person/edit","pages/person/orderlist","pages/person/qiangdan","pages/person/orderinfo","pages/order/order","pages/order/detail","pages/exchange/createorder","pages/exchange/orderdetail","pages/exchange/orderlist","pages/exchange/goodslist","pages/exchange/goodsdetail","pages/mine/point_list","pages/question/index","pages/mine/orderConfig","pages/mine/priceRecord","pages/mine/apply","pages/feedback/index","pages/mine/editInfo","pages/order/pay","pages/poster/sharePoster"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app1","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"tabBar":{"color":"#333333","selectedColor":"#00a73b","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","text":"首页","iconPath":"static/img/home.png","selectedIconPath":"static/img/home_select.png"},{"pagePath":"pages/order/order","text":"订单","iconPath":"static/img/order.png","selectedIconPath":"static/img/order_select.png"},{"pagePath":"pages/mine/mine","text":"我的","iconPath":"static/img/mine.png","selectedIconPath":"static/img/mine1.png"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"回收小程序","compilerVersion":"4.76","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; var __uniConfig = {"pages":["pages/index/index","pages/mine/mine","pages/mine/edituser","pages/type/type","pages/login/authorize","pages/login/login","pages/address/list","pages/address/detail","pages/about/about","pages/person/add","pages/person/edit","pages/person/orderlist","pages/person/qiangdan","pages/person/orderinfo","pages/order/order","pages/order/detail","pages/exchange/createorder","pages/exchange/orderdetail","pages/exchange/orderlist","pages/exchange/goodslist","pages/exchange/goodsdetail","pages/mine/point_list","pages/question/index","pages/mine/orderConfig","pages/mine/priceRecord","pages/mine/apply","pages/feedback/index","pages/mine/editInfo","pages/mine/detail","pages/order/pay","pages/poster/sharePoster"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app1","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"tabBar":{"color":"#333333","selectedColor":"#00a73b","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","text":"首页","iconPath":"static/img/home.png","selectedIconPath":"static/img/home_select.png"},{"pagePath":"pages/order/order","text":"订单","iconPath":"static/img/order.png","selectedIconPath":"static/img/order_select.png"},{"pagePath":"pages/mine/mine","text":"我的","iconPath":"static/img/mine.png","selectedIconPath":"static/img/mine1.png"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"回收小程序","compilerVersion":"4.76","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/mine/mine","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom"}},{"path":"/pages/mine/edituser","meta":{},"window":{"navigationBarTitleText":"用户信息","enablePullDownRefresh":false}},{"path":"/pages/type/type","meta":{},"window":{"navigationBarTitleText":"回收预约","enablePullDownRefresh":false}},{"path":"/pages/login/authorize","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/address/list","meta":{},"window":{"navigationBarTitleText":"地址管理"}},{"path":"/pages/address/detail","meta":{},"window":{"navigationBarTitleText":"修改地址"}},{"path":"/pages/about/about","meta":{},"window":{"navigationBarTitleText":"关于我们"}},{"path":"/pages/person/add","meta":{},"window":{"navigationBarTitleText":"成为回收员"}},{"path":"/pages/person/edit","meta":{},"window":{"navigationBarTitleText":"回收员信息"}},{"path":"/pages/person/orderlist","meta":{},"window":{"navigationBarTitleText":"回收员订单"}},{"path":"/pages/person/qiangdan","meta":{},"window":{"navigationBarTitleText":"抢单大厅","enablePullDownRefresh":false}},{"path":"/pages/person/orderinfo","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/order/order","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"用户订单","enablePullDownRefresh":false}},{"path":"/pages/order/detail","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/exchange/createorder","meta":{},"window":{"navigationBarTitleText":"兑换订单","enablePullDownRefresh":false}},{"path":"/pages/exchange/orderdetail","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/exchange/orderlist","meta":{},"window":{"navigationBarTitleText":"订单列表","enablePullDownRefresh":false}},{"path":"/pages/exchange/goodslist","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/exchange/goodsdetail","meta":{},"window":{"navigationBarTitleText":"详情","enablePullDownRefresh":false}},{"path":"/pages/mine/point_list","meta":{},"window":{"navigationBarTitleText":"积分明细","enablePullDownRefresh":false}},{"path":"/pages/question/index","meta":{},"window":{"navigationBarTitleText":"常见问题","enablePullDownRefresh":false}},{"path":"/pages/mine/orderConfig","meta":{},"window":{"navigationBarTitleText":"接单设置","enablePullDownRefresh":false}},{"path":"/pages/mine/priceRecord","meta":{},"window":{"navigationBarTitleText":"资金记录","enablePullDownRefresh":false}},{"path":"/pages/mine/apply","meta":{},"window":{"navigationBarTitleText":"代理加盟","enablePullDownRefresh":false}},{"path":"/pages/feedback/index","meta":{},"window":{"navigationBarTitleText":"意见反馈","enablePullDownRefresh":false}},{"path":"/pages/mine/editInfo","meta":{},"window":{"navigationBarTitleText":"信息编辑","enablePullDownRefresh":false}},{"path":"/pages/order/pay","meta":{},"window":{"navigationBarTitleText":"支付订单","enablePullDownRefresh":false}},{"path":"/pages/poster/sharePoster","meta":{},"window":{"navigationBarTitleText":"推广二维码","enablePullDownRefresh":false}}]; var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/mine/mine","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom"}},{"path":"/pages/mine/edituser","meta":{},"window":{"navigationBarTitleText":"用户信息","enablePullDownRefresh":false}},{"path":"/pages/type/type","meta":{},"window":{"navigationBarTitleText":"回收预约","enablePullDownRefresh":false}},{"path":"/pages/login/authorize","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/address/list","meta":{},"window":{"navigationBarTitleText":"地址管理"}},{"path":"/pages/address/detail","meta":{},"window":{"navigationBarTitleText":"修改地址"}},{"path":"/pages/about/about","meta":{},"window":{"navigationBarTitleText":"关于我们"}},{"path":"/pages/person/add","meta":{},"window":{"navigationBarTitleText":"成为回收员"}},{"path":"/pages/person/edit","meta":{},"window":{"navigationBarTitleText":"回收员信息"}},{"path":"/pages/person/orderlist","meta":{},"window":{"navigationBarTitleText":"回收员订单"}},{"path":"/pages/person/qiangdan","meta":{},"window":{"navigationBarTitleText":"抢单大厅","enablePullDownRefresh":false}},{"path":"/pages/person/orderinfo","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/order/order","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"用户订单","enablePullDownRefresh":false}},{"path":"/pages/order/detail","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/exchange/createorder","meta":{},"window":{"navigationBarTitleText":"兑换订单","enablePullDownRefresh":false}},{"path":"/pages/exchange/orderdetail","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/exchange/orderlist","meta":{},"window":{"navigationBarTitleText":"订单列表","enablePullDownRefresh":false}},{"path":"/pages/exchange/goodslist","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/exchange/goodsdetail","meta":{},"window":{"navigationBarTitleText":"详情","enablePullDownRefresh":false}},{"path":"/pages/mine/point_list","meta":{},"window":{"navigationBarTitleText":"积分明细","enablePullDownRefresh":false}},{"path":"/pages/question/index","meta":{},"window":{"navigationBarTitleText":"常见问题","enablePullDownRefresh":false}},{"path":"/pages/mine/orderConfig","meta":{},"window":{"navigationBarTitleText":"接单设置","enablePullDownRefresh":false}},{"path":"/pages/mine/priceRecord","meta":{},"window":{"navigationBarTitleText":"资金记录","enablePullDownRefresh":false}},{"path":"/pages/mine/apply","meta":{},"window":{"navigationBarTitleText":"代理加盟","enablePullDownRefresh":false}},{"path":"/pages/feedback/index","meta":{},"window":{"navigationBarTitleText":"意见反馈","enablePullDownRefresh":false}},{"path":"/pages/mine/editInfo","meta":{},"window":{"navigationBarTitleText":"信息编辑","enablePullDownRefresh":false}},{"path":"/pages/mine/detail","meta":{},"window":{"navigationBarTitleText":"协议","enablePullDownRefresh":false}},{"path":"/pages/order/pay","meta":{},"window":{"navigationBarTitleText":"支付订单","enablePullDownRefresh":false}},{"path":"/pages/poster/sharePoster","meta":{},"window":{"navigationBarTitleText":"推广二维码","enablePullDownRefresh":false}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long