Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-boss
Commits
0ccb4bbd
Commit
0ccb4bbd
authored
Nov 01, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
48603b68
11febdd1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
18 deletions
+22
-18
constants.js
miniprogram/config/constants.js
+14
-14
home.js
miniprogram/pages/home/home.js
+3
-2
home.ts
miniprogram/pages/home/home.ts
+1
-0
index.js
miniprogram/pages/index/index.js
+4
-2
No files found.
miniprogram/config/constants.js
View file @
0ccb4bbd
"use strict"
;
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
devUrl
=
{
exports
.
devUrl
=
{
SYSTEM_SERVER_URL
:
'http://ex-dev-dcxy-system-manage.168cad.top'
,
SYSTEM_SERVER_URL
:
'http
s
://ex-dev-dcxy-system-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http://ex-dev-dcxy-statistics-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http
s
://ex-dev-dcxy-statistics-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http://ex-dev-customer-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http
s
://ex-dev-customer-manage.168cad.top'
,
BASE_SERVER_URL
:
'http://ex-dev-dcxy-base-manage.168cad.top'
,
BASE_SERVER_URL
:
'http
s
://ex-dev-dcxy-base-manage.168cad.top'
,
};
};
exports
.
testUrl
=
{
exports
.
testUrl
=
{
SYSTEM_SERVER_URL
:
'http://ex-test-dcxy-system-manage.168cad.top'
,
SYSTEM_SERVER_URL
:
'http
s
://ex-test-dcxy-system-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http://ex-test-dcxy-statistics-manage.168cad.top'
,
STATISTICS_SERVER_URL
:
'http
s
://ex-test-dcxy-statistics-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http://ex-test-customer-manage.168cad.top'
,
CUSTOMER_SERVER_URL
:
'http
s
://ex-test-customer-manage.168cad.top'
,
BASE_SERVER_URL
:
'http://ex-test-dcxy-base-manage.168cad.top'
,
BASE_SERVER_URL
:
'http
s
://ex-test-dcxy-base-manage.168cad.top'
,
};
};
exports
.
masterUrl
=
{
exports
.
masterUrl
=
{
SYSTEM_SERVER_URL
:
'http://dcxy-system-manage.dcrym.com'
,
SYSTEM_SERVER_URL
:
'http
s
://dcxy-system-manage.dcrym.com'
,
STATISTICS_SERVER_URL
:
'http://dcxy-statistics-manage.dcrym.com'
,
STATISTICS_SERVER_URL
:
'http
s
://dcxy-statistics-manage.dcrym.com'
,
CUSTOMER_SERVER_URL
:
'http://dcxy-customer-manage.dcrym.com'
,
CUSTOMER_SERVER_URL
:
'http
s
://dcxy-customer-manage.dcrym.com'
,
BASE_SERVER_URL
:
'http://dcxy-base-manage.dcrym.com'
,
BASE_SERVER_URL
:
'http
s
://dcxy-base-manage.dcrym.com'
,
};
};
exports
.
successCode
=
1000
;
exports
.
successCode
=
1000
;
exports
.
logoutode
=
-
2
;
exports
.
logoutode
=
-
2
;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQWEsUUFBQSxNQUF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RVcmwgPSB7XG4gIFNZU1RFTV9TRVJWRVJfVVJMOiAnaHR0cHM6Ly9leC10ZXN0LWRjeHktc3lzdGVtLW1hbmFnZS4xNjhjYWQudG9wJyxcbiAgU1RBVElTVElDU19TRVJWRVJfVVJMOiAnaHR0cHM6Ly9leC10ZXN0LWRjeHktc3RhdGlzdGljcy1tYW5hZ2UuMTY4Y2FkLnRvcCcsXG4gIENVU1RPTUVSX1NFUlZFUl9VUkw6ICdodHRwczovL2V4LXRlc3QtY3VzdG9tZXItbWFuYWdlLjE2OGNhZC50b3AnLFxuICBCQVNFX1NFUlZFUl9VUkw6ICdodHRwczovL2V4LXRlc3QtZGN4eS1iYXNlLW1hbmFnZS4xNjhjYWQudG9wJyxcbn07XG5leHBvcnQgY29uc3QgbWFzdGVyVXJsID0ge1xuICBTWVNURU1fU0VSVkVSX1VSTDogJ2h0dHBzOi8vZGN4eS1zeXN0ZW0tbWFuYWdlLmRjcnltLmNvbScsXG4gIFNUQVRJU1RJQ1NfU0VSVkVSX1VSTDogJ2h0dHBzOi8vZGN4eS1zdGF0aXN0aWNzLW1hbmFnZS5kY3J5bS5jb20nLFxuICBDVVNUT01FUl9TRVJWRVJfVVJMOiAnaHR0cHM6Ly9kY3h5LWN1c3RvbWVyLW1hbmFnZS5kY3J5bS5jb20nLFxuICBCQVNFX1NFUlZFUl9VUkw6ICdodHRwczovL2RjeHktYmFzZS1tYW5hZ2UuZGNyeW0uY29tJyxcbn07XG5cbmV4cG9ydCBjb25zdCBzdWNjZXNzQ29kZSA9IDEwMDA7XG5leHBvcnQgY29uc3QgbG9nb3V0b2RlID0gLTI7XG4iXX0=
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/home/home.js
View file @
0ccb4bbd
...
@@ -163,10 +163,11 @@ Component({
...
@@ -163,10 +163,11 @@ Component({
wx
.
hideLoading
();
wx
.
hideLoading
();
wx
.
showToast
({
wx
.
showToast
({
title
:
err
.
errMsg
,
title
:
err
.
errMsg
,
icon
:
'none'
,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XMuZmV0Y2hSZWNoYXJnZURhdGEoKTtcbiAgICAgIGlmICh0eXBlb2YgdGhpcy5nZXRUYWJCYXIgPT09ICdmdW5jdGlvbicgJiYgdGhpcy5nZXRUYWJCYXIoKSkge1xuICAgICAgICB0aGlzLmdldFRhYkJhcigpLnNldERhdGEoe1xuICAgICAgICAgIHNlbGVjdGVkOiAwLFxuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9LFxuICB9LFxuICAvKipcbiAgICog6aG16Z2i55qE5Yid5aeL5pWw5o2uXG4gICAqL1xuICBkYXRhOiB7XG4gICAgdGltZVR5cGU6IDAsXG4gICAgZmV0Y2hlZDogZmFsc2UsXG4gICAgc2VydmljZUxpc3Q6IFtdLFxuICAgIHJlY2hhcmdlRGF0YToge1xuICAgICAgdGl0bGU6ICflhYXlgLzmgLvpop0nLFxuICAgICAgbnVtYmVyVHlwZTogJ3ByaWNlJyxcbiAgICAgIGNvdW50OiAwLFxuICAgIH0sXG4gICAgcmVjaGFyZ2VDb3VudDoge1xuICAgICAgdGl0bGU6ICflhYXlgLzmgLvnrJTmlbAnLFxuICAgICAgbnVtYmVyVHlwZTogJycsXG4gICAgICBjb3VudDogMCxcbiAgICB9LFxuICAgIG9ubGluZVJlY2hhcmdlRGF0YToge1xuICAgICAgdGl0bGU6ICfnur/kuIrlhYXlgLwnLFxuICAgICAgbnVtYmVyVHlwZTogJzEnLFxuICAgICAgY291bnQ6IDAsXG4gICAgICBwcmljZTogMCxcbiAgICB9LFxuICAgIG9mZmxpbmVSZWNoYXJnZURhdGE6IHtcbiAgICAgIHRpdGxlOiAn57q/5LiL5YWF5YC8JyxcbiAgICAgIG51bWJlclR5cGU6ICcxJyxcbiAgICAgIGNvdW50OiAwLFxuICAgICAgcHJpY2U6IDAsXG4gICAgfSxcbiAgICBjb21zdW1lckRhdGE6IHtcbiAgICAgIHRpdGxlOiAn5raI6LS55oC76aKdJyxcbiAgICAgIG51bWJlclR5cGU6ICdwcmljZScsXG4gICAgICBj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0aW1lVHlwZT86IG51bWJlcikge1xuICAgICAgaWYgKCF0aW1lVHlwZSkgdGltZVR5cGUgPSB0aGlzLmRhdGEudGltZVR5cGU7XG4gICAgICBjb25zdCB0b2RheSA9IGZvcm1hdFRpbWUobmV3IERhdGUoKSk7XG4gICAgICBsZXQgZGF0ZSA9IHRvZGF5LnNwbGl0KCcgJylbMF07XG4gICAgICBsZXQgZW50aXR5ID0ge1xuICAgICAgICB0aW1lVHlwZSxcbiAgICAgIH07XG4gICAgICBpZiAodGltZVR5cGUgPT09IDApIHtcbiAgICAgICAgZW50aXR5LmRhdGUgPSBkYXRlO1xuICAgICAgfSBlbHNlIGlmICh0aW1lVHlwZSA9PT0gMSkge1xuICAgICAgICBlbnRpdHkubW9udGggPSBkYXRlLnNsaWNlKDAsIDcpO1xuICAgICAgfSBlbHNlIGlmICh0aW1lVHlwZSA9PT0gMikge1xuICAgICAgICBlbnRpdHkueWVhciA9IGRhdGUuc2xpY2UoMCwgNCk7XG4gICAgICB9XG4gICAgICB3eC5zaG93TG9hZGluZyh7IHRpdGxlOiAnJyB9KTtcblxuICAgICAgbGV0IHJlY2hhcmdlRGF0YUZldGNoID0gc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9xdWVyeVJlY2hhcmdlT3JkZXJMaXN0VjInLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YTogZW50aXR5LFxuICAgICAgfSkudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zdCBkYXRhID0gcmVzLnJlY2hhcmdlT3JkZXJDb3VudFZvO1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgIGNvbnN0IHtcbiAgICAgICAgICAgIHJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgcmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgIHJlZnVuZENvdW50LFxuICAgICAgICAgICAgcmVmdW5kTW9uZXksXG4gICAgICAgICAgICBvZmZsaW5lUmVjaGFyZ2VNZW4sXG4gICAgICAgICAgICBvZmZsaW5lUmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgIG9ubGluZVJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgb25saW5lUmVjaGFyZ2VNb25leSxcbiAgICAgICAgICB9ID0gZGF0YTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgJ3JlY2hhcmdlRGF0YS5jb3VudCc6IHJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICAncmVjaGFyZ2VDb3VudC5jb3VudCc6IHJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgJ3JlZnVuZERhdGEuY291bnQnOiByZWZ1bmRNb25leSxcbiAgICAgICAgICAgICdyZWZ1bmRDb3VudC5jb3VudCc6IHJlZnVuZENvdW50LFxuICAgICAgICAgICAgJ29ubGluZVJlY2hhcmdlRGF0YS5wcmljZSc6IG9ubGluZVJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICAnb25saW5lUmVjaGFyZ2VEYXRhLmNvdW50Jzogb25saW5lUmVjaGFyZ2VNZW4sXG4gICAgICAgICAgICAnb2ZmbGluZVJlY2hhcmdlRGF0YS5wcmljZSc6IG9mZmxpbmVSZWNoYXJnZU1vbmV5LFxuICAgICAgICAgICAgJ29mZmxpbmVSZWNoYXJnZURhdGEuY291bnQnOiBvZmZsaW5lUmVjaGFyZ2VNZW4sXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICdyZWNoYXJnZURhdGEuY291bnQnOiAwLFxuICAgICAgICAgICAgJ3JlY2hhcmdlQ291bnQuY291bnQnOiAwLFxuICAgICAgICAgICAgJ3JlZnVuZERhdGEuY291bnQnOiAwLFxuICAgICAgICAgICAgJ3JlZnVuZENvdW50LmNvdW50JzogMCxcbiAgICAgICAgICAgICdvbmxpbmVSZWNoYXJnZURhdGEucHJp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A6IDAsXG4gICAgICAgICAgJ2NvbXN1bWVyQ291bnQuY291bnQnOlxuICAgICAgICAgICAgY29uc3VtZUNvdW50Vm8gJiYgY29uc3VtZUNvdW50Vm8ucGF5TWVuID8gY29uc3VtZUNvdW50Vm8ucGF5TWVuIDogMCxcbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgICAgIFByb21pc2UuYWxsKFtjb25zdW1lRGF0YUZldGNoLCByZWNoYXJnZURhdGFGZXRjaF0pXG4gICAgICAgIC50aGVuKCgpID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IGVyci5lcnJNc2csXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhvbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBa0Q7QUFDbEQseUNBQThDO0FBRzlDLFNBQVMsQ0FBQztJQUNSLFNBQVMsRUFBRTtRQUNULFFBQVE7WUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQzNDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksSUFBSSxDQUFDLGlCQUFpQixFQUFFLENBQUM7WUFDL0MsRUFBRSxDQUFDLENBQUMsT0FBTyxJQUFJ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aWNlJyxcbiAgICAgIGNvdW50OiAwLFxuICAgIH0sXG4gICAgcmVjaGFyZ2VDb3VudDoge1xuICAgICAgdGl0bGU6ICflhYXlgLzmgLvnrJTmlbAnLFxuICAgICAgbnVtYmVyVHlwZTogJycsXG4gICAgICBjb3VudDogMCxcbiAgICB9LFxuICAgIG9ubGluZVJlY2hhcmdlRGF0YToge1xuICAgICAgdGl0bGU6ICfnur/kuIrlhYXlgLwnLFxuICAgICAgbnVtYmVyVHlwZTogJzEnLFxuICAgICAgY291bnQ6IDAsXG4gICAgICBwcmljZTogMCxcbiAgICB9LFxuICAgIG9mZmxpbmVSZWNoYXJnZURhdGE6IHtcbiAgICAgIHRpdGxlOiAn57q/5LiL5YWF5YC8JyxcbiAgICAgIG51bWJlclR5cGU6ICcxJyxcbiAgICAgIGNvdW50OiAwLFxuICAgICAgcHJpY2U6IDAsXG4gICAgfSxcbiAgICBjb21zdW1lckRhdGE6IHtcbiAgICAgIHRpdGxlOiAn5raI6LS55oC76aKdJyxcbiAgICAgIG51bWJlclR5cGU6ICdwcmljZScsXG4gICAgICBjb3VudDogMCxcbiAgICB9LFxuICAgIGNvbXN1bWVyQ291bnQ6IHtcbiAgICAgIHRpdGxlOiAn5raI6LS55oC756yU5pWwJyxcbiAgICAgIG51bWJlclR5cGU6ICcnLFxuICAgICAgY291bnQ6IDAsXG4gICAgfSxcbiAgICByZWZ1bmREYXRhOiB7XG4gICAgICB0aXRsZTogJ+mAgOasvuaAu+minScsXG4gICAgICBudW1iZXJUeXBlOiAncHJpY2UnLFxuICAgICAgY291bnQ6IDAsXG4gICAgfSxcbiAgICByZWZ1bmRDb3VudDoge1xuICAgICAgdGl0bGU6ICfpgIDmrL7mgLvnrJTmlbAnLFxuICAgICAgbnVtYmVyVHlwZTogJycsXG4gICAgICBjb3VudDogMCxcbiAgICB9LFxuICAgIHRlc3REYXRhOiB7XG4gICAgICB0aXRsZTogJ+WFheWAvOaAu+minScsXG4gICAgICBudW1iZXJUeXBlOi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gICAgICBlbnRpdHkueWVhciA9IGRhdGUuc2xpY2UoMCwgNCk7XG4gICAgICB9XG4gICAgICB3eC5zaG93TG9hZGluZyh7IHRpdGxlOiAnJyB9KTtcblxuICAgICAgbGV0IHJlY2hhcmdlRGF0YUZldGNoID0gc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9xdWVyeVJlY2hhcmdlT3JkZXJMaXN0VjInLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YTogZW50aXR5LFxuICAgICAgfSkudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zdCBkYXRhID0gcmVzLnJlY2hhcmdlT3JkZXJDb3VudFZvO1xuICAgICAgICBpZiAoZGF0YSkge1xuICAgICAgICAgIGNvbnN0IHtcbiAgICAgICAgICAgIHJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgcmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgIHJlZnVuZENvdW50LFxuICAgICAgICAgICAgcmVmdW5kTW9uZXksXG4gICAgICAgICAgICBvZmZsaW5lUmVjaGFyZ2VNZW4sXG4gICAgICAgICAgICBvZmZsaW5lUmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgIG9ubGluZVJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgb25saW5lUmVjaGFyZ2VNb25leSxcbiAgICAgICAgICB9ID0gZGF0YTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgJ3JlY2hhcmdlRGF0YS5jb3VudCc6IHJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICAncmVjaGFyZ2VDb3VudC5jb3VudCc6IHJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgJ3JlZnVuZERhdGEuY291bnQnOiByZWZ1bmRNb25leSxcbiAgICAgICAgICAgICdyZWZ1bmRDb3VudC5jb3VudCc6IHJlZnVuZENvdW50LFxuICAgICAgICAgICAgJ29ubGluZVJlY2h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Y29uc3VtZUNvdW50Vm8sIGRhdGEgfSA9IHJlcztcbiAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICBzZXJ2aWNlTGlzdDogZGF0YS5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgICAgc2VydmljZUlkOiBpdGVtLnNlcnZpY2VJZCxcbiAgICAgICAgICAgIHRpdGxlOiBpdGVtLnNlcnZpY2VOYW1lLFxuICAgICAgICAgICAgbnVtYmVyVHlwZTogJzEnLFxuICAgICAgICAgICAgY291bnQ6IGl0ZW0ucGF5TWVuLFxuICAgICAgICAgICAgcHJpY2U6IGl0ZW0ucGF5YWJsZU1vbmV5LFxuICAgICAgICAgIH0pKSxcbiAgICAgICAgICAnY29tc3VtZXJEYXRhLmNvdW50JzpcbiAgICAgICAgICAgIGNvbnN1bWVDb3VudFZvICYmIGNvbnN1bWVDb3VudFZvLnBheWFibGVNb25leVxuICAgICAgICAgICAgICA/IGNvbnN1bWVDb3VudFZvLnBheWFibGVNb25leVxuICAgICAgICAgICAgICA6IDAsXG4gICAgICAgICAgJ2NvbXN1bWVyQ291bnQuY291bnQnOlxuICAgICAgICAgICAgY29uc3VtZUNvdW50Vm8gJiYgY29uc3VtZUNvdW50Vm8ucGF5TWVuID8gY29uc3VtZUNvdW50Vm8ucGF5TWVuIDogMCxcbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgICAgIFByb21pc2UuYWxsKFtjb25zdW1lRGF0YUZldGNoLCByZWNoYXJnZURhdGFGZXRjaF0pXG4gICAgICAgIC50aGVuKCgpID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IGVyci5lcnJNc2csXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/home/home.ts
View file @
0ccb4bbd
...
@@ -172,6 +172,7 @@ Component({
...
@@ -172,6 +172,7 @@ Component({
wx
.
hideLoading
();
wx
.
hideLoading
();
wx
.
showToast
({
wx
.
showToast
({
title
:
err
.
errMsg
,
title
:
err
.
errMsg
,
icon
:
'none'
,
});
});
console
.
log
(
err
);
console
.
log
(
err
);
});
});
...
...
miniprogram/pages/index/index.js
View file @
0ccb4bbd
...
@@ -24,12 +24,14 @@ Page({
...
@@ -24,12 +24,14 @@ Page({
if
(
!
account
)
{
if
(
!
account
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请输入账户'
,
title
:
'请输入账户'
,
icon
:
'none'
,
});
});
return
;
return
;
}
}
if
(
!
pwd
)
{
if
(
!
pwd
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请输入密码'
,
title
:
'请输入密码'
,
icon
:
'none'
,
});
});
return
;
return
;
}
}
...
@@ -151,4 +153,4 @@ Page({
...
@@ -151,4 +153,4 @@ Page({
var
_a
;
var
_a
;
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHlDQUE4QztBQUM5QyxJQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsYUFBYSxDQUFDLENBQUM7QUFHbkMsSUFBTSxHQUFHLEdBQUcsTUFBTSxFQUFVLENBQUM7QUFFN0IsSUFBSSxDQUFDO0lBQ0gsTUFBTTtRQUNKLEVBQUUsQ0FB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mVzLmRhdGEudmVyaWZ5Q29kZSxcbiAgICAgICAgICBjb29raWU6IHJlcy5oZWFkZXJbJ1NldC1Db29raWUnXSxcbiAgICAgICAgfTtcbiAgICAgIH0pXG4gICAgICAudGhlbigoeyBjb29raWUgfTogeyBjb2RlOiBzdHJpbmc7IGNvb2tpZTogc3RyaW5nIH0pID0+XG4gICAgICAgIHN5c3RlbUZldGNoKHtcbiAgICAgICAgICB1cmw6ICcvbG9naW4nLFxuICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgIGhlYWRlcjoge1xuICAgICAgICAgICAgY29va2llOiBjb29raWUsXG4gICAgICAgICAgfSxcbiAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICB0b2tlbjogYXBwLmdsb2JhbERhdGEudG9rZW4sXG4gICAgICAgICAgfSxcbiAgICAgICAgfSksXG4gICAgICApXG4gICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICBjb25zdCB7XG4gICAgICAgICAgZGF0YTogeyB1c2VySW5mbywgdXNlclJvbGVzIH0sXG4gICAgICAgIH0gPSByZXM7XG4gICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJJbmZvID0gdXNlckluZm87XG4gICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcztcbiAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgd3gucmVkaXJlY3RUbyh7XG4gICAgICAgICAgdXJsOiAnL3BhZ2VzL2hvbWVBbmRSZXBvcnQvaG9tZUFuZFJlcG9ydCcsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgfSxcbiAgbG9naW5IYW5kbGUoKSB7XG4gICAgY29uc29sZS5sb2coYXBwLmdsb2JhbERhdGEpO1xuICAgIGlmICh0aGlzLnZhbGlkYXRlTG9naW5EYXRhKCkpIHtcbiAgICAgIGNvbnN0IHsgYWNjb3VudCwgcHdkIH0gPSB0aGlzLmRhdGE7XG4gICAgICBjb25zb2xlLmxvZyhhY2NvdW50LCBwd2QpO1xuICAgICAgd3guc2hvd0xvYWRpbmcoeyB0aXRsZTogJycgfSk7XG4gICAgICBzeXN0ZW1GZXRjaCh7XG4gICAgICAgIHVybDogJy9sb2dpbi92ZXJpZnlDb2RlJyxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKChyZXM6IHd4LlJlcXVlc3RTdWNjZXNzQ2FsbGJhY2tSZXN1bHQpID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBjb2RlOiByZXMuZGF0YS52ZXJpZnlDb2RlLFxuICAgICAgICAgICAgY29va2llOiByZXMuaGVhZGVyWydTZXQtQ29va2llJ10sXG4gICAgICAgICAgfTtcbiAgICAgICAgfSlcbiAgICAgICAgLnRoZW4oKHsgY29kZSwgY29va2llIH06IHsgY29kZTogc3RyaW5nOyBjb29raWU6IHN0cmluZyB9KSA9PiB7XG4gICAgICAgICAgbGV0IG1peHB3ZCA9IG1kNShwd2QpO1xuICAgICAgICAgIHJldHVybiBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgICB1cmw6ICcvbG9naW4nLFxuICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICBoZWFkZXI6IHtcbiAgICAgICAgICAgICAgY29va2llOiBjb29raWUsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgZGF0YToge1xuICAgICAgICAgICAgICBhY2NvdW50LFxuICAgICAgICAgICAgICBwd2Q6IG1peHB3ZCxcbiAgICAgICAgICAgICAgdmFyaWZ5Q29kZTogY29kZSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCB7XG4gICAgICAgICAgICB0b2tlbixcbiAgICAgICAgICAgIGRhdGE6IHsgdXNlckluZm8sIHVzZXJSb2xlcyB9LFxuICAgICAgICAgIH0gPSByZXM7XG4gICAgICAgICAgYXBwLmdsb2JhbERhdGEudG9rZW4gPSB0b2tlbjtcbiAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VySW5mbyA9IHVzZXJJbmZvO1xuICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcztcbiAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgd3guc2V0U3RvcmFnZVN5bmMoJ3Rva2VuJywgdG9rZW4pO1xuICAgICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7fVxuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgd3gucmVkaXJlY3RUbyh7XG4gICAgICAgICAgICB1cmw6ICcvcGFnZXMvaG9tZUFuZFJlcG9ydC9ob21lQW5kUmVwb3J0JyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSk7XG4gICAgfVxuICAgIC8vIGZldGNoKClcbiAgICAvLyB3eC5yZWRpcmV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RoZW4oKHsgY29va2llIH06IHsgY29kZTogc3RyaW5nOyBjb29raWU6IHN0cmluZyB9KSA9PlxuICAgICAgICBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgdXJsOiAnL2xvZ2luJyxcbiAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgICBoZWFkZXI6IHtcbiAgICAgICAgICAgIGNvb2tpZTogY29va2llLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgZGF0YToge1xuICAgICAgICAgICAgdG9rZW46IGFwcC5nbG9iYWxEYXRhLnRva2VuLFxuICAgICAgICAgIH0sXG4gICAgICAgIH0pLFxuICAgICAgKVxuICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgY29uc3Qge1xuICAgICAgICAgIGRhdGE6IHsgdXNlckluZm8sIHVzZXJSb2xlcyB9LFxuICAgICAgICB9ID0gcmVzO1xuICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VySW5mbyA9IHVzZXJJbmZvO1xuICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VyUm9sZXMgPSB1c2VyUm9sZXM7XG4gICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxuICAgICAgICB9KTtcbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgIH0pO1xuICAgICAgfSk7XG4gIH0sXG4gIGxvZ2luSGFuZGxlKCkge1xuICAgIGNvbnNvbGUubG9nKGFwcC5nbG9iYWxEYXRhKTtcbiAgICBpZiAodGhpcy52YWxpZGF0ZUxvZ2luRGF0YSgpKSB7XG4gICAgICBjb25zdCB7IGFjY291bnQsIHB3ZCB9ID0gdGhpcy5kYXRhO1xuICAgICAgY29uc29sZS5sb2coYWNjb3VudCwgcHdkKTtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHsgdGl0bGU6ICcnIH0pO1xuICAgICAgc3lzdGVtRmV0Y2goe1xuICAgICAgICB1cmw6ICcvbG9naW4vdmVyaWZ5Q29kZScsXG4gICAgICB9KVxuICAgICAgICAudGhlbigocmVzOiB3eC5SZXF1ZXN0U3VjY2Vzc0NhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgY29kZTogcmVzLmRhdGEudmVyaWZ5Q29kZSxcbiAgICAgICAgICAgIGNvb2tpZTogcmVzLmhlYWRlclsnU2V0LUNvb2tpZSddLFxuICAgICAgICAgIH07XG4gICAgICAgIH0pXG4gICAgICAgIC50aGVuKCh7IGNvZGUsIGNvb2tpZSB9OiB7IGNvZGU6IHN0cmluZzsgY29va2llOiBzdHJpbmcgfSkgPT4ge1xuICAgICAgICAgIGxldCBtaXhwd2QgPSBtZDUocHdkKTtcbiAgICAgICAgICByZXR1cm4gc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgdXJsOiAnL2xvZ2luJyxcbiAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgaGVhZGVyOiB7XG4gICAgICAgICAgICAgIGNvb2tpZTogY29va2llLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgICAgYWNjb3VudCxcbiAgICAgICAgICAgICAgcHdkOiBtaXhwd2QsXG4gICAgICAgICAgICAgIHZhcmlmeUNvZGU6IGNvZGUsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgY29uc3Qge1xuICAgICAgICAgICAgdG9rZW4sXG4gICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcbiAgICAgICAgICB9ID0gcmVzO1xuICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnRva2VuID0gdG9rZW47XG4gICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcbiAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VyUm9sZXMgPSB1c2VyUm9sZXM7XG4gICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgIHd4LnNldFN0b3JhZ2VTeW5jKCd0b2tlbicsIHRva2VuKTtcbiAgICAgICAgICB9IGNhdGNoIChlcnJvcikge31cbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgICAgdXJsOiAnL3BhZ2VzL2hvbWVBbmRSZXBvcnQvaG9tZUFuZFJlcG9ydCcsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IGVyci5lcnJNc2csXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgIH1cbiAgICAvLyBmZXRjaCgpXG4gICAgLy8gd3gucmVkaXJlY3RUbyh7XG4gICAgLy8gICB1cmw6ICcvcGFnZXMvaG9tZS9ob21lJ1xuICAgIC8vIH0pXG4gIH0sXG4gIG5hbWVJbnB1dEhhbmRsZShlKSB7XG4gICAgY29uc3QgdmFsdWUgPSBlLmRldGFpbC52YWx1ZTtcbiAgICB0aGlzLnVwZGF0ZUlucHV0VmFsdWUoJ2FjY291bnQnLCB2YWx1ZSk7XG4gIH0sXG4gIHBhc3N3YXJkSW5vdXRIYW5kbGUoZSkge1xuICAgIGNvbnN0IHZhbHVlID0gZS5kZXRhaWwudmFsdWU7XG4gICAgdGhpcy51cGRhdGVJbnB1dFZhbHVlKCdwd2QnLCB2YWx1ZSk7XG4gIH0sXG4gIHVwZGF0ZUlucHV0VmFsdWUoa2V5OiBzdHJpbmcsIHZhbHVlOiBzdHJpbmcpIHtcbiAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgIFtrZXldOiB2YWx1ZSxcbiAgICB9KTtcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment