|
@@ -2,21 +2,21 @@
|
|
|
<view class="je">
|
|
|
<view class="sheader" :style="'height:'+headerHeight+'px'">
|
|
|
<view class="sheader_a" @click="side">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/index_icon.png" class="sheader_b" mode=""></image>
|
|
|
+ <image src="https://ldc365.cn/assets/static/index_icon.png" class="sheader_b" mode=""></image>
|
|
|
<view class="title">宠365</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<u-popup v-model="show" mode="left" v-if="type">
|
|
|
<view class="indexa" :style="'top:'+headerHeight+'px'">
|
|
|
<view class="sheader_a" @click="side">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/index_icon.png" class="sheader_b" mode=""></image>
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/index_logo.png" class="sheader_img" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/index_icon.png" class="sheader_b" mode=""></image>
|
|
|
+ <image src="https://ldc365.cn/assets/static/index_logo.png" class="sheader_img" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexb">
|
|
|
<view class="indexc">
|
|
|
<image
|
|
|
- :src="hasLogin && userinfo.avatar ? userinfo.avatar :'http://pet.hdlkeji.com/assets/static/moren.png'"
|
|
|
+ :src="hasLogin && userinfo.avatar ? userinfo.avatar :'https://ldc365.cn/assets/static/moren.png'"
|
|
|
class="indexc_img" mode=""></image>
|
|
|
<view class="indexd" @click="GoLogin">
|
|
|
<view class="indexd_p">{{ hasLogin? (userinfo.nickname || '未设置昵称') : '立即登录' }}</view>
|
|
@@ -26,28 +26,28 @@
|
|
|
<view class="indexe">
|
|
|
<view class="indexe_a" @click="GoIndex">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/49.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/49.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">代办事项</view>
|
|
|
</view>
|
|
|
<view class="indexe_a" @click="GoOrder">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/50.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/50.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">订单管理</view>
|
|
|
</view>
|
|
|
<view class="indexe_a" @click="GoMarket">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/51.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/51.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">营销设置</view>
|
|
|
</view>
|
|
|
<view class="indexe_a" @click="GoDelivery">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/38.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/38.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">配送员管理</view>
|
|
@@ -68,14 +68,14 @@
|
|
|
<u-popup v-model="show" mode="left" v-if="!type">
|
|
|
<view class="indexa" :style="'top:'+headerHeight+'px'">
|
|
|
<view class="sheader_a" @click="side">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/index_icon.png" class="sheader_b" mode=""></image>
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/index_logo.png" class="sheader_img" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/index_icon.png" class="sheader_b" mode=""></image>
|
|
|
+ <image src="https://ldc365.cn/assets/static/index_logo.png" class="sheader_img" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexb">
|
|
|
<view class="indexc">
|
|
|
<image
|
|
|
- :src="hasLogin && userinfo.avatar ? userinfo.avatar :'http://pet.hdlkeji.com/assets/static/moren.png'"
|
|
|
+ :src="hasLogin && userinfo.avatar ? userinfo.avatar :'https://ldc365.cn/assets/static/moren.png'"
|
|
|
class="indexc_img" mode=""></image>
|
|
|
<view class="indexd" @click="GoLogin">
|
|
|
<view class="indexd_p">{{ hasLogin? (userinfo.nickname || '未设置昵称') : '立即登录' }}</view>
|
|
@@ -85,28 +85,28 @@
|
|
|
<view class="indexe">
|
|
|
<view class="indexe_a" @click="GoPassword">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/52.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/52.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">修改密码</view>
|
|
|
</view>
|
|
|
<view class="indexe_a" @click="GoWithdeawal">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/54.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/54.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">我的钱包</view>
|
|
|
</view>
|
|
|
<view class="indexe_a" @click="GoMine">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/56.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/56.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">完善资料</view>
|
|
|
</view>
|
|
|
<view class="indexe_a" @click="loginOut">
|
|
|
<view class="indexe_box">
|
|
|
- <image src="http://pet.hdlkeji.com/assets/static/1/55.png" class="indexe_icon" mode="">
|
|
|
+ <image src="https://ldc365.cn/assets/static/1/55.png" class="indexe_icon" mode="">
|
|
|
</image>
|
|
|
</view>
|
|
|
<view class="indexe_p">退出登录</view>
|
|
@@ -166,7 +166,7 @@
|
|
|
// 获取当前的配置
|
|
|
getAdminConfig(e) {
|
|
|
this.request('/admin_config/get_config', '', 'get').then(res => {
|
|
|
- if (res.data.order_way === 'manual') {
|
|
|
+ if (res.data.order_way === 'manual') {
|
|
|
console.log('手动派单')
|
|
|
this.checkIndex = "手动派单"
|
|
|
} else {
|
|
@@ -261,10 +261,10 @@
|
|
|
uni.navigateTo({
|
|
|
url: '../login/login'
|
|
|
})
|
|
|
- }else{
|
|
|
- uni.navigateTo({
|
|
|
- url:"/pages/mine/editMine"
|
|
|
- })
|
|
|
+ }else{
|
|
|
+ uni.navigateTo({
|
|
|
+ url:"/pages/mine/editMine"
|
|
|
+ })
|
|
|
}
|
|
|
this.show = false
|
|
|
},
|
|
@@ -276,27 +276,27 @@
|
|
|
this.userinfo = res.data
|
|
|
this.hasLogin = true
|
|
|
console.log(this.userinfo)
|
|
|
- }
|
|
|
- if (!res.data.wx_authed) {
|
|
|
- uni.login({
|
|
|
- provider: 'weixin',
|
|
|
- success: (code) => {
|
|
|
- console.log(code.code);
|
|
|
- this.request('/user/wx_auth', {
|
|
|
- code: code.code
|
|
|
- }, "GET")
|
|
|
- }
|
|
|
- })
|
|
|
+ }
|
|
|
+ if (!res.data.wx_authed) {
|
|
|
+ uni.login({
|
|
|
+ provider: 'weixin',
|
|
|
+ success: (code) => {
|
|
|
+ console.log(code.code);
|
|
|
+ this.request('/user/wx_auth', {
|
|
|
+ code: code.code
|
|
|
+ }, "GET")
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
});
|
|
|
},
|
|
|
side() {
|
|
|
- this.show = !this.show
|
|
|
- var token = getToken();
|
|
|
- if(token){
|
|
|
- this.GetUser()
|
|
|
- }
|
|
|
+ this.show = !this.show
|
|
|
+ var token = getToken();
|
|
|
+ if(token){
|
|
|
+ this.GetUser()
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
}
|
|
@@ -489,4 +489,4 @@
|
|
|
|
|
|
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|