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
0dc5db95
Commit
0dc5db95
authored
Jul 09, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
321
parent
d88596f9
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
17 deletions
+30
-17
Cell.vue
src/components/common/Cell.vue
+1
-1
index.vue
src/components/common/Check/index.vue
+4
-3
index.vue
src/components/common/Input/index.vue
+6
-5
UserAgreement.vue
src/view/Auth/Login/UserAgreement.vue
+2
-1
index.vue
src/view/Auth/index.vue
+9
-2
form.vue
src/view/NFT/Create/form.vue
+1
-1
pick.vue
src/view/NFT/Create/pick.vue
+1
-1
upload.vue
src/view/NFT/Create/upload.vue
+6
-3
No files found.
src/components/common/Cell.vue
View file @
0dc5db95
...
...
@@ -170,7 +170,7 @@ export default Vue.extend({
},
methods
:
{
handleInput
(
e
:
any
)
{
const
temp
=
this
.
inputValue
;
//
const temp = this.inputValue;
const
value
=
e
.
target
.
value
as
string
;
this
.
inputValue
=
value
;
this
.
$emit
(
"cellOnChange"
,
Number
(
this
.
inputValue
));
...
...
src/components/common/Check/index.vue
View file @
0dc5db95
...
...
@@ -9,9 +9,10 @@
<
script
>
import
Vue
from
"vue"
;
const
notCheckedIcon
=
require
(
"@/assets/icons/not_checked_2.png"
);
const
checkedIcon
=
require
(
"@/assets/icons/checked.png"
);
import
notCheckedIcon
from
'@/assets/icons/not_checked_2.png'
import
checkedIcon
from
'@/assets/icons/checked.png'
// const notCheckedIcon = require("@/assets/icons/not_checked_2.png");
// const checkedIcon = require("@/assets/icons/checked.png");
export
default
Vue
.
extend
({
props
:
[
"checked"
],
...
...
src/components/common/Input/index.vue
View file @
0dc5db95
...
...
@@ -32,16 +32,17 @@
<
script
lang=
"ts"
>
import
Vue
,
{
PropType
}
from
"vue"
;
import
{
Field
,
Icon
}
from
"vant"
;
import
{
Field
}
from
"vant"
;
import
{
tType
}
from
"./types"
;
const
eyeOpenIcon
=
require
(
"@/assets/icons/eye_open.png"
);
const
eyeCloseIcon
=
require
(
"@/assets/icons/eye_close.png"
);
import
eyeOpenIcon
from
'@/assets/icons/eye_open.png'
import
eyeCloseIcon
from
'@/assets/icons/eye_close.png'
// const eyeOpenIcon = require("@/assets/icons/eye_open.png");
// const eyeCloseIcon = require("@/assets/icons/eye_close.png");
export
default
Vue
.
extend
({
components
:
{
Field
,
Icon
,
//
Icon,
},
props
:
{
type
:
{
...
...
src/view/Auth/Login/UserAgreement.vue
View file @
0dc5db95
...
...
@@ -9,7 +9,8 @@
<
script
lang=
"ts"
>
import
Vue
from
"vue"
;
const
closeIcon
=
require
(
"@/assets/icons/close_large.png"
);
import
closeIcon
from
'@/assets/icons/close_large.png'
// const closeIcon = require("@/assets/icons/close_large.png");
export
default
Vue
.
extend
({
props
:
[
"setOverlayShow"
],
...
...
src/view/Auth/index.vue
View file @
0dc5db95
...
...
@@ -52,14 +52,21 @@ export default Vue.extend({
async
loginByCodeFunc
(
phone
:
string
,
code
:
string
)
{
return
this
.
registerFunc
(
phone
,
code
);
},
async
loginByPwdFunc
(
phone
:
string
,
pwd
:
string
)
{},
async
loginByPwdFunc
(
phone
:
string
,
pwd
:
string
)
{
console
.
log
(
phone
,
pwd
);
},
async
setPwdFunc
(
phone
:
string
,
code
:
string
,
pwd
:
string
)
{
console
.
log
(
phone
,
code
,
pwd
);
this
.
$router
.
push
({
name
:
"Home"
,
});
return
1
;
},
async
modifyPwdFunc
(
phone
:
string
,
originalPwd
:
string
,
newPwd
:
string
)
{},
async
modifyPwdFunc
(
phone
:
string
,
originalPwd
:
string
,
newPwd
:
string
)
{
console
.
log
(
phone
,
originalPwd
,
newPwd
);
},
},
});
</
script
>
...
...
src/view/NFT/Create/form.vue
View file @
0dc5db95
...
...
@@ -312,7 +312,7 @@ export default Vue.extend({
}
if
(
mistake
)
return
;
}
else
if
(
this
.
currentStep
===
3
&&
val
===
1
)
{
const
ret
=
await
this
.
$service
.
nftService
.
publish
({
await
this
.
$service
.
nftService
.
publish
({
fileHash
:
this
.
fileHash
,
id
:
this
.
publish
.
id
,
wallet
:
this
.
publish
.
wallet
,
...
...
src/view/NFT/Create/pick.vue
View file @
0dc5db95
...
...
@@ -56,7 +56,7 @@ export default Vue.extend({
},
methods
:
{
tagOnclick
(
item
:
any
)
{
if
(
!!
this
.
picked
.
find
((
i
)
=>
i
.
id
===
item
.
id
))
{
if
(
this
.
picked
.
find
((
i
)
=>
i
.
id
===
item
.
id
))
{
this
.
picked
=
this
.
picked
.
filter
((
i
)
=>
i
.
id
!==
item
.
id
);
return
;
}
...
...
src/view/NFT/Create/upload.vue
View file @
0dc5db95
...
...
@@ -59,7 +59,7 @@
</
template
>
<
script
lang=
"ts"
>
import
{
Uploader
}
from
"vant"
;
import
Vue
from
"vue"
;
import
{
mapMutations
,
mapState
}
from
"vuex"
;
export
default
Vue
.
extend
({
...
...
@@ -69,7 +69,7 @@ export default Vue.extend({
components
:
{
"Layout-Child"
:
()
=>
import
(
"@/layout/Child.vue"
),
"app-btn"
:
()
=>
import
(
"@/components/common/Btn.vue"
),
Uploader
,
},
computed
:
{
...
mapState
(
"create"
,
[
"fileName"
]),
...
...
@@ -96,7 +96,10 @@ export default Vue.extend({
fileHash
:
ret
,
file
:
file
});
}
catch
(
err
)
{}
}
catch
(
err
)
{
console
.
log
(
err
);
}
},
},
});
...
...
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