system-phone 1.2.21 → 1.2.22-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.gradle +1 -1
- package/package.json +1 -1
- package/src/assets/fonttype/fontAndroid.less +18 -0
- package/src/assets/fonttype/pingheicu.ttf +0 -0
- package/src/assets/fonttype/pingheiqian.ttf +0 -0
- package/src/assets/fonttype/pingheizhong.ttf +0 -0
- package/src/assets/fonttype/pingheizhun.ttf +0 -0
- package/src/assets/fonttype//350/213/271/346/226/271/351/273/221/344/275/223-/346/236/201/347/273/206-/347/256/200.ttf +0 -0
- package/src/assets/fonttype//350/213/271/346/226/271/351/273/221/344/275/223-/347/273/206-/347/256/200.ttf +0 -0
- package/src/components/LoginApp.vue +13 -8
- package/src/components/NavBottomV.vue +1 -1
- package/src/main.js +1 -1
- package/static/test.wasm +0 -0
- package/.npmignore +0 -9
- package/src/assets//347/273/264/344/277/256/345/267/245/345/215/225/347/253/226/345/261/2173.png +0 -0
- package/src/assets//347/275/256/346/215/242/351/200/232/346/260/224/347/253/226/345/261/2173.png +0 -0
- package/yarn.lock +0 -6399
package/build.gradle
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* 字体 */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: Pingfhs;
|
|
4
|
+
src: url("./pingheizhun.ttf");
|
|
5
|
+
}
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: Pingfzhs;
|
|
8
|
+
src: url("./pingheizhong.ttf");
|
|
9
|
+
}
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: Pingfzcs;
|
|
12
|
+
src: url("./pingheicu.ttf");
|
|
13
|
+
}
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: Pingfzqs;
|
|
16
|
+
src: url("./pingheiqian.ttf");
|
|
17
|
+
}
|
|
18
|
+
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<button type="button" id="login-button" @click.prevent="confirm()"><strong>登录</strong></button>
|
|
12
12
|
</p>
|
|
13
13
|
<div class="row">
|
|
14
|
-
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showsave"@click="showoff()">
|
|
15
|
-
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="
|
|
14
|
+
<img src="../assets/选中.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showsave == '1'"@click="showoff()">
|
|
15
|
+
<img src="../assets/未选.png" style="width: 20px;margin-bottom: 5px" alt="" v-if="showsave == '0'" @click="showon()">
|
|
16
16
|
<span class="text-left font">记住密码</span>
|
|
17
17
|
<p></p>
|
|
18
18
|
<span class="devicetext">设备码:{{deviceIemi}}</span>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
config:{},
|
|
73
73
|
ename: '',
|
|
74
74
|
password: '',
|
|
75
|
-
showsave:
|
|
75
|
+
showsave:'0',
|
|
76
76
|
deviceIemi:'无法获取该设备码,请联系管理员',
|
|
77
77
|
loginSafe:false,
|
|
78
78
|
margintop: document.documentElement.clientHeight * 0.1
|
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
ready () {
|
|
83
83
|
if(Vue.android) {
|
|
84
84
|
let userPp1 = this.$androidUtil.getPreference('login_user_cache')
|
|
85
|
+
let passwordshowsave = this.$androidUtil.getPreference('password_issave')
|
|
86
|
+
if(passwordshowsave){
|
|
87
|
+
this.showsave = passwordshowsave
|
|
88
|
+
}
|
|
85
89
|
if(userPp1){
|
|
86
90
|
console.log(`1返回值是:${userPp1}`)
|
|
87
91
|
userPp1 = userPp1.replace(/\'/g,'\"')
|
|
@@ -102,10 +106,10 @@
|
|
|
102
106
|
methods: {
|
|
103
107
|
// 记住密码选中/未选中
|
|
104
108
|
showoff(){
|
|
105
|
-
this.showsave =
|
|
109
|
+
this.showsave = '0'
|
|
106
110
|
},
|
|
107
111
|
showon(){
|
|
108
|
-
this.showsave =
|
|
112
|
+
this.showsave = '1'
|
|
109
113
|
},
|
|
110
114
|
async confirm() {
|
|
111
115
|
console.log('Vue.android:' + Vue.android)
|
|
@@ -148,6 +152,7 @@
|
|
|
148
152
|
this.$androidUtil.setPreference('login_user_cache', userStr)
|
|
149
153
|
this.$androidUtil.setPreference('f_repairman_id', Util.f.id)
|
|
150
154
|
this.$androidUtil.setPreference('f_repairman_name', Util.f.name)
|
|
155
|
+
this.$androidUtil.setPreference('password_issave', this.showsave)
|
|
151
156
|
}
|
|
152
157
|
Vue.$login = {jwt: ret.data.id}
|
|
153
158
|
// 获取参数
|
|
@@ -155,9 +160,9 @@
|
|
|
155
160
|
asyncReady(this,this.$androidUtil.getProxyUrl())
|
|
156
161
|
console.log('获取参数结束')
|
|
157
162
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
163
|
+
console.log('登陆验证成功时装载业务数据')
|
|
164
|
+
asyncLoadData()
|
|
165
|
+
console.log('装载业务数据结束')
|
|
161
166
|
|
|
162
167
|
this.$goto('nav-bottom')
|
|
163
168
|
}catch (e) {
|
package/src/main.js
CHANGED
|
@@ -9,7 +9,7 @@ systemphonegrid()
|
|
|
9
9
|
// systemphone()
|
|
10
10
|
require('./android-bootstrap/less/bootstrap.less')
|
|
11
11
|
require('./expandcssAndroid.less')
|
|
12
|
-
|
|
12
|
+
require('./assets/fonttype/fontAndroid.less')
|
|
13
13
|
|
|
14
14
|
Vue.config.silent = true
|
|
15
15
|
Vue.android = false
|
package/static/test.wasm
ADDED
|
Binary file
|
package/.npmignore
DELETED