修复登录页面重复调用token导致token失效的bug
@@ -11,7 +11,7 @@ import router from '../router'
|
||||
// 基础配置
|
||||
const config = {
|
||||
apiUrl : 'https://api.gongli.vip/api/', // 正式环境
|
||||
// apiUrl : 'http://api.zh.shangkelian.cn/api/', // 大健康调试环境,目前没有任何数据无法正常显示,所以需要使用该环境,最后会删除
|
||||
// apiUrl : 'http://api.gl.shangkelian.cn/api/', // 测试
|
||||
timeout : 60000
|
||||
}
|
||||
|
||||
|
||||
1
gl-agent
@@ -45,9 +45,6 @@
|
||||
isShowParent: false
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.$store.commit('setToken', '')
|
||||
},
|
||||
methods: {
|
||||
// 获取验证码
|
||||
getPhoneCode() {
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<image src="../../static/life/icon_04.png" mode="widthFix"></image>
|
||||
我的订单
|
||||
</view>
|
||||
<view class="other-subtitle">{{order.all || '暂无订单'}}</view>
|
||||
<view class="other-subtitle">{{order.all === 0 ? '暂无订单': '订单数量' + order.all}}</view>
|
||||
<image class="other-back" src="../../static/life/icon_09.png"></image>
|
||||
</view>
|
||||
<!-- <view class="life-flex-item other" @click="onToast('共力好友暂未开放尽情期待')">
|
||||
|
||||
@@ -87,21 +87,9 @@
|
||||
refunds({
|
||||
page: this.page
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
if (res.page.current === 1) {
|
||||
this.array = []
|
||||
}
|
||||
// let ordersArr = res.data.map(val => {
|
||||
// return {
|
||||
// no: val.order_no,
|
||||
// cover: val.items[0].sku.cover,
|
||||
// name: val.items[0].sku.goods_name,
|
||||
// price: val.total,
|
||||
// sum: val.items[0].qty,
|
||||
// stateText: val.state,
|
||||
// cans: val.can
|
||||
// }
|
||||
// })
|
||||
}
|
||||
uni.stopPullDownRefresh();
|
||||
this.array = this.array.concat(res.data);
|
||||
this.status = res.page.has_more ? 'loadmore' : 'nomore';
|
||||
|
||||
@@ -23,7 +23,7 @@ export default new Vuex.Store({
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
setToken(state, tokenString) {
|
||||
setToken(state, tokenString) {
|
||||
state.token = tokenString
|
||||
uni.setStorageSync('token', tokenString)
|
||||
},
|
||||
|
||||
1
unpackage/debug/.roid.ins
Normal file
@@ -0,0 +1 @@
|
||||
installed
|
||||
BIN
unpackage/debug/android_debug.apk
Normal file
0
unpackage/dist/build/.automator/app-plus/.automator.json
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappchooselocation.js
vendored
Normal file
BIN
unpackage/dist/build/app-plus/__uniapperror.png
vendored
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
1
unpackage/dist/build/app-plus/__uniappes6.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappopenlocation.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniapppicker.js
vendored
Normal file
8
unpackage/dist/build/app-plus/__uniappquill.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappquillimageresize.js
vendored
Normal file
1
unpackage/dist/build/app-plus/__uniappscan.js
vendored
Normal file
BIN
unpackage/dist/build/app-plus/__uniappsuccess.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
25
unpackage/dist/build/app-plus/__uniappview.html
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<script>
|
||||
var __UniViewStartTime__ = Date.now();
|
||||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
|
||||
CSS.supports('top: constant(a)'))
|
||||
document.write(
|
||||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
||||
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||
</script>
|
||||
<title>View</title>
|
||||
<link rel="stylesheet" href="view.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script src="__uniappes6.js"></script>
|
||||
<script src="view.umd.min.js"></script>
|
||||
<script src="app-view.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
8
unpackage/dist/build/app-plus/app-config-service.js
vendored
Normal file
1
unpackage/dist/build/app-plus/app-config.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]);
|
||||
14
unpackage/dist/build/app-plus/app-service.js
vendored
Normal file
1
unpackage/dist/build/app-plus/app-view.js
vendored
Normal file
1
unpackage/dist/build/app-plus/manifest.json
vendored
Normal file
BIN
unpackage/dist/build/app-plus/static/background/supplier_back.png
vendored
Normal file
|
After Width: | Height: | Size: 581 KiB |
BIN
unpackage/dist/build/app-plus/static/background/wallet-code-background.png
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/back.png
vendored
Normal file
|
After Width: | Height: | Size: 413 B |
BIN
unpackage/dist/build/app-plus/static/icon/checked-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/goods_row.png
vendored
Normal file
|
After Width: | Height: | Size: 686 B |
BIN
unpackage/dist/build/app-plus/static/icon/helper.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/icon-back.png
vendored
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/icon-exchange.png
vendored
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/icon-money.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/logs-null.png
vendored
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/null-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/reset-info.png
vendored
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
unpackage/dist/build/app-plus/static/icon/share_icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/share_icon_01.png
vendored
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/share_icon_02.png
vendored
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/sign_btn.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/unchecked-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/userCloes.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/app-plus/static/icon/vip.png
vendored
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
49
unpackage/dist/build/app-plus/static/iconfont.css
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 2869797 */
|
||||
src: url('@/static/iconfont.ttf');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-jia:before {
|
||||
content: "\e60a";
|
||||
}
|
||||
|
||||
.icon-dui:before {
|
||||
content: "\e609";
|
||||
}
|
||||
|
||||
.icon-gengduo2:before {
|
||||
content: "\e608";
|
||||
}
|
||||
|
||||
.icon-gengduo:before {
|
||||
content: "\e607";
|
||||
}
|
||||
|
||||
.icon-saoma:before {
|
||||
content: "\e605";
|
||||
}
|
||||
|
||||
.icon-tuandui:before {
|
||||
content: "\e606";
|
||||
}
|
||||
|
||||
.icon-sousuo:before {
|
||||
content: "\e603";
|
||||
}
|
||||
|
||||
.icon-pinglun:before {
|
||||
content: "\e601";
|
||||
}
|
||||
|
||||
.icon-shezhi:before {
|
||||
content: "\e602";
|
||||
}
|
||||
|
||||
BIN
unpackage/dist/build/app-plus/static/iconfont.ttf
vendored
Normal file
BIN
unpackage/dist/build/app-plus/static/img/code_back.png
vendored
Normal file
|
After Width: | Height: | Size: 361 KiB |
BIN
unpackage/dist/build/app-plus/static/img/house_back.jpg
vendored
Normal file
|
After Width: | Height: | Size: 234 KiB |
BIN
unpackage/dist/build/app-plus/static/img/team_00.png
vendored
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
unpackage/dist/build/app-plus/static/img/team_back.jpg
vendored
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
unpackage/dist/build/app-plus/static/img/text_back.jpg
vendored
Normal file
|
After Width: | Height: | Size: 105 KiB |
BIN
unpackage/dist/build/app-plus/static/life/back.png
vendored
Normal file
|
After Width: | Height: | Size: 709 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_01.png
vendored
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_02.png
vendored
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_03.png
vendored
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_04.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_05.png
vendored
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_06.png
vendored
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_07.png
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_08.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_09.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
unpackage/dist/build/app-plus/static/life/icon_10.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
unpackage/dist/build/app-plus/static/login/auth_bg.png
vendored
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
unpackage/dist/build/app-plus/static/role/1.png
vendored
Normal file
|
After Width: | Height: | Size: 112 KiB |
BIN
unpackage/dist/build/app-plus/static/role/10.png
vendored
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
unpackage/dist/build/app-plus/static/role/11.png
vendored
Normal file
|
After Width: | Height: | Size: 111 KiB |
BIN
unpackage/dist/build/app-plus/static/role/2.png
vendored
Normal file
|
After Width: | Height: | Size: 130 KiB |
BIN
unpackage/dist/build/app-plus/static/role/3.png
vendored
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
unpackage/dist/build/app-plus/static/role/4.png
vendored
Normal file
|
After Width: | Height: | Size: 118 KiB |
BIN
unpackage/dist/build/app-plus/static/role/5.png
vendored
Normal file
|
After Width: | Height: | Size: 123 KiB |
BIN
unpackage/dist/build/app-plus/static/role/7.png
vendored
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
unpackage/dist/build/app-plus/static/role/8.png
vendored
Normal file
|
After Width: | Height: | Size: 140 KiB |
BIN
unpackage/dist/build/app-plus/static/role/9.png
vendored
Normal file
|
After Width: | Height: | Size: 121 KiB |
BIN
unpackage/dist/build/app-plus/static/role/role_icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
unpackage/dist/build/app-plus/static/store/store_icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
unpackage/dist/build/app-plus/static/store/store_icon_01.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_00.png
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_01.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_02.png
vendored
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_03.png
vendored
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_04.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_show_00.png
vendored
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_show_01.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_show_02.png
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_show_03.png
vendored
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
unpackage/dist/build/app-plus/static/tabBar/tabBar_show_04.png
vendored
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
unpackage/dist/build/app-plus/static/user/cover.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
unpackage/dist/build/app-plus/static/user/feedback-upd.png
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
unpackage/dist/build/app-plus/static/user/icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/app-plus/static/user/icon_01.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
unpackage/dist/build/app-plus/static/user/icon_02.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/app-plus/static/user/icon_06.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
unpackage/dist/build/app-plus/static/user/icon_07.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
unpackage/dist/build/app-plus/static/user/order_icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 722 B |
BIN
unpackage/dist/build/app-plus/static/user/order_icon_01.png
vendored
Normal file
|
After Width: | Height: | Size: 1012 B |
BIN
unpackage/dist/build/app-plus/static/user/order_icon_02.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
unpackage/dist/build/app-plus/static/user/order_icon_03.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
unpackage/dist/build/app-plus/static/user/order_icon_04.png
vendored
Normal file
|
After Width: | Height: | Size: 984 B |
BIN
unpackage/dist/build/app-plus/static/user/order_icon_05.png
vendored
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
unpackage/dist/build/app-plus/static/user/userIcon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |