Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
NFT
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
NFT
Commits
f5d2a621
Commit
f5d2a621
authored
Jul 02, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f391cf34
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
36 additions
and
35 deletions
+36
-35
.gitignore
.gitignore
+2
-0
import-png.d.ts
src/import-png.d.ts
+3
-0
index.ts
src/router/index.ts
+4
-4
shimes-app.d.ts
src/shimes-app.d.ts
+7
-5
Login.vue
src/view/Auth/Login/Login.vue
+0
-0
LoginService.ts
src/view/Auth/Login/LoginService.ts
+0
-0
UserAgreement.vue
src/view/Auth/Login/UserAgreement.vue
+0
-0
index.vue
src/view/Auth/Login/components/CodeInput/index.vue
+0
-0
index.vue
src/view/Auth/Login/components/LoginButton/index.vue
+0
-0
index.vue
src/view/Auth/Login/components/PhoneInput/index.vue
+3
-10
const.ts
src/view/Auth/Login/const.ts
+0
-0
index.vue
src/view/Auth/Login/index.vue
+0
-0
types.ts
src/view/Auth/Login/types.ts
+0
-0
PwdFind.vue
src/view/Auth/PwdFind/PwdFind.vue
+6
-6
index.vue
src/view/Auth/PwdFind/index.vue
+0
-0
PwdModify.vue
src/view/Auth/PwdModify/PwdModify.vue
+4
-4
index.vue
src/view/Auth/PwdModify/index.vue
+0
-0
types.ts
src/view/Auth/PwdModify/types.ts
+0
-0
PwdSetting.vue
src/view/Auth/PwdSetting/PwdSetting.vue
+4
-4
index.vue
src/view/Auth/PwdSetting/index.vue
+3
-2
types.ts
src/view/Auth/PwdSetting/types.ts
+0
-0
No files found.
.gitignore
View file @
f5d2a621
...
@@ -3,3 +3,4 @@
...
@@ -3,3 +3,4 @@
.vscode
.vscode
package-lock.json
package-lock.json
dist/
dist/
/NFT/
\ No newline at end of file
src/import-png.d.ts
0 → 100644
View file @
f5d2a621
declare
module
'*.png'
;
declare
module
'*.jpg'
;
\ No newline at end of file
src/router/index.ts
View file @
f5d2a621
...
@@ -34,22 +34,22 @@ const routes: Array<RouteConfig> = [
...
@@ -34,22 +34,22 @@ const routes: Array<RouteConfig> = [
{
{
path
:
'/auth/Login'
,
path
:
'/auth/Login'
,
name
:
'Login'
,
name
:
'Login'
,
component
:
()
=>
import
(
"@/view/Login/index.vue"
)
component
:
()
=>
import
(
"@/view/
Auth/
Login/index.vue"
)
},
},
{
{
path
:
'/auth/PwdSetting'
,
path
:
'/auth/PwdSetting'
,
name
:
'PwdSetting'
,
name
:
'PwdSetting'
,
component
:
()
=>
import
(
"@/view/PwdSetting/index.vue"
)
component
:
()
=>
import
(
"@/view/
Auth/
PwdSetting/index.vue"
)
},
},
{
{
path
:
'/auth/PwdFind'
,
path
:
'/auth/PwdFind'
,
name
:
'PwdFind'
,
name
:
'PwdFind'
,
component
:
()
=>
import
(
"@/view/PwdFind/index.vue"
)
component
:
()
=>
import
(
"@/view/
Auth/
PwdFind/index.vue"
)
},
},
{
{
path
:
'/auth/PwdModify'
,
path
:
'/auth/PwdModify'
,
name
:
'PwdModify'
,
name
:
'PwdModify'
,
component
:
()
=>
import
(
"@/view/PwdModify/index.vue"
)
component
:
()
=>
import
(
"@/view/
Auth/
PwdModify/index.vue"
)
},
},
]
]
}
}
...
...
src/shimes-app.d.ts
View file @
f5d2a621
import
Vue
from
'vue'
import
Vue
from
'vue'
import
{
Service
}
from
'./service/index'
import
{
Service
}
from
'./service/index'
import
{
UserService
}
from
'./service/userService'
import
{
UserService
}
from
'./service/userService'
import
VueRouter
,
{
Route
}
from
'vue-router'
interface
ServiceType
{
interface
ServiceType
{
userService
:
UserService
userService
:
UserService
...
@@ -11,6 +11,7 @@ interface ServiceType {
...
@@ -11,6 +11,7 @@ interface ServiceType {
declare
module
'vue/types/vue'
{
declare
module
'vue/types/vue'
{
interface
Vue
{
interface
Vue
{
$service
:
ServiceType
$service
:
ServiceType
,
}
$router
:
VueRouter
}
}
}
\ No newline at end of file
src/view/Login/Login.vue
→
src/view/
Auth/
Login/Login.vue
View file @
f5d2a621
File moved
src/view/Login/LoginService.ts
→
src/view/
Auth/
Login/LoginService.ts
View file @
f5d2a621
File moved
src/view/Login/UserAgreement.vue
→
src/view/
Auth/
Login/UserAgreement.vue
View file @
f5d2a621
File moved
src/view/Login/components/CodeInput/index.vue
→
src/view/
Auth/
Login/components/CodeInput/index.vue
View file @
f5d2a621
File moved
src/view/Login/components/LoginButton/index.vue
→
src/view/
Auth/
Login/components/LoginButton/index.vue
View file @
f5d2a621
File moved
src/view/Login/components/PhoneInput/index.vue
→
src/view/
Auth/
Login/components/PhoneInput/index.vue
View file @
f5d2a621
...
@@ -61,21 +61,18 @@
...
@@ -61,21 +61,18 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
Vue
from
"vue"
;
import
Vue
from
"vue"
;
import
{
Field
,
Icon
}
from
"vant"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
LoginService
from
"../../LoginService"
;
import
LoginService
from
"../../LoginService"
;
import
{
iRememberPhonePwd
}
from
"../../types"
;
import
{
iRememberPhonePwd
}
from
"../../types"
;
const
eyeOpenIcon
=
require
(
"@/assets/icons/eye_open.png"
)
;
import
eyeOpenIcon
from
"@/assets/icons/eye_open.png"
;
const
eyeCloseIcon
=
require
(
"@/assets/icons/eye_close.png"
)
;
import
eyeCloseIcon
from
"@/assets/icons/eye_close.png"
;
const
arrowDownIcon
=
require
(
"@/assets/icons/arrow_down.png"
)
;
import
arrowDownIcon
from
"@/assets/icons/arrow_down.png"
;
let
NotCloseList
=
[]
as
Element
[];
let
NotCloseList
=
[]
as
Element
[];
export
default
Vue
.
extend
({
export
default
Vue
.
extend
({
components
:
{
components
:
{
Field
,
Icon
,
Input
,
Input
,
},
},
props
:
{
props
:
{
...
@@ -92,10 +89,6 @@ export default Vue.extend({
...
@@ -92,10 +89,6 @@ export default Vue.extend({
maxlength
:
Number
,
maxlength
:
Number
,
handlePhoneChange
:
Function
,
handlePhoneChange
:
Function
,
},
},
mounted
()
{
const
phoneInput
=
this
.
$refs
.
phoneInput
as
HTMLElement
;
// phoneInput.addEventListener("click");
},
data
()
{
data
()
{
return
{
return
{
showPwd
:
false
,
showPwd
:
false
,
...
...
src/view/Login/const.ts
→
src/view/
Auth/
Login/const.ts
View file @
f5d2a621
File moved
src/view/Login/index.vue
→
src/view/
Auth/
Login/index.vue
View file @
f5d2a621
File moved
src/view/Login/types.ts
→
src/view/
Auth/
Login/types.ts
View file @
f5d2a621
File moved
src/view/PwdFind/PwdFind.vue
→
src/view/
Auth/
PwdFind/PwdFind.vue
View file @
f5d2a621
...
@@ -42,13 +42,13 @@
...
@@ -42,13 +42,13 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
Vue
,
{
PropType
}
from
"vue"
;
import
Vue
,
{
PropType
}
from
"vue"
;
import
PhoneInput
from
"
@/view
/Login/components/PhoneInput/index.vue"
;
import
PhoneInput
from
"
..
/Login/components/PhoneInput/index.vue"
;
import
{
phoneConfig
,
codeConfig
,
pwdConfig
}
from
"
@/view
/Login/const"
;
import
{
phoneConfig
,
codeConfig
,
pwdConfig
}
from
"
..
/Login/const"
;
import
{
tSendSmsFunc
,
tSendVoiceFunc
}
from
"
@/view
/Login/types"
;
import
{
tSendSmsFunc
,
tSendVoiceFunc
}
from
"
..
/Login/types"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
LoginButton
from
"
@/view
/Login/components/LoginButton/index.vue"
;
import
LoginButton
from
"
..
/Login/components/LoginButton/index.vue"
;
import
CodeInput
from
"
@/view
/Login/components/CodeInput/index.vue"
;
import
CodeInput
from
"
..
/Login/components/CodeInput/index.vue"
;
import
{
tSetPwdFunc
}
from
"
@/view
/PwdSetting/types"
;
import
{
tSetPwdFunc
}
from
"
..
/PwdSetting/types"
;
export
default
Vue
.
extend
({
export
default
Vue
.
extend
({
components
:
{
components
:
{
...
...
src/view/PwdFind/index.vue
→
src/view/
Auth/
PwdFind/index.vue
View file @
f5d2a621
File moved
src/view/PwdModify/PwdModify.vue
→
src/view/
Auth/
PwdModify/PwdModify.vue
View file @
f5d2a621
...
@@ -59,11 +59,11 @@
...
@@ -59,11 +59,11 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
Vue
,
{
PropType
}
from
"vue"
;
import
Vue
,
{
PropType
}
from
"vue"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
{
pwdConfig
,
codeConfig
,
phoneConfig
}
from
"
@/view
/Login/const"
;
import
{
pwdConfig
,
codeConfig
,
phoneConfig
}
from
"
..
/Login/const"
;
import
LoginButton
from
"
@/view
/Login/components/LoginButton/index.vue"
;
import
LoginButton
from
"
..
/Login/components/LoginButton/index.vue"
;
import
{
tModifyPwdFunc
,
eModifyWay
}
from
"./types"
;
import
{
tModifyPwdFunc
,
eModifyWay
}
from
"./types"
;
import
{
tSendSmsFunc
,
tSendVoiceFunc
}
from
"
@/view
/Login/types"
;
import
{
tSendSmsFunc
,
tSendVoiceFunc
}
from
"
..
/Login/types"
;
import
CodeInput
from
"
@/view
/Login/components/CodeInput/index.vue"
;
import
CodeInput
from
"
..
/Login/components/CodeInput/index.vue"
;
export
default
Vue
.
extend
({
export
default
Vue
.
extend
({
props
:
{
props
:
{
phone
:
{
phone
:
{
...
...
src/view/PwdModify/index.vue
→
src/view/
Auth/
PwdModify/index.vue
View file @
f5d2a621
File moved
src/view/PwdModify/types.ts
→
src/view/
Auth/
PwdModify/types.ts
View file @
f5d2a621
File moved
src/view/PwdSetting/PwdSetting.vue
→
src/view/
Auth/
PwdSetting/PwdSetting.vue
View file @
f5d2a621
...
@@ -34,11 +34,11 @@
...
@@ -34,11 +34,11 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
Vue
,
{
PropType
}
from
"vue"
;
import
Vue
,
{
PropType
}
from
"vue"
;
import
CodeInput
from
"
@/view
/Login/components/CodeInput/index.vue"
;
import
CodeInput
from
"
..
/Login/components/CodeInput/index.vue"
;
import
{
codeConfig
,
phoneConfig
,
pwdConfig
}
from
"
@/view
/Login/const"
;
import
{
codeConfig
,
phoneConfig
,
pwdConfig
}
from
"
..
/Login/const"
;
import
{
tSendSmsFunc
,
tSendVoiceFunc
}
from
"
@/view
/Login/types"
;
import
{
tSendSmsFunc
,
tSendVoiceFunc
}
from
"
..
/Login/types"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
Input
from
"@/components/common/Input/index.vue"
;
import
LoginButton
from
"
@/view
/Login/components/LoginButton/index.vue"
;
import
LoginButton
from
"
..
/Login/components/LoginButton/index.vue"
;
import
{
tSetPwdFunc
}
from
"./types"
;
import
{
tSetPwdFunc
}
from
"./types"
;
export
default
Vue
.
extend
({
export
default
Vue
.
extend
({
...
...
src/view/PwdSetting/index.vue
→
src/view/
Auth/
PwdSetting/index.vue
View file @
f5d2a621
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
PwdSetting
from
"./PwdSetting.vue"
;
import
PwdSetting
from
"./PwdSetting.vue"
;
export
default
{
import
Vue
from
"vue"
;
export
default
Vue
.
extend
({
components
:
{
PwdSetting
},
components
:
{
PwdSetting
},
methods
:
{
methods
:
{
async
sendSmsFunc
(
phone
:
string
)
{
async
sendSmsFunc
(
phone
:
string
)
{
...
@@ -27,5 +28,5 @@ export default {
...
@@ -27,5 +28,5 @@ export default {
return
1
;
return
1
;
},
},
},
},
};
}
)
;
</
script
>
</
script
>
src/view/PwdSetting/types.ts
→
src/view/
Auth/
PwdSetting/types.ts
View file @
f5d2a621
File moved
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