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
42937986
Commit
42937986
authored
Jul 15, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
312
parent
cd259232
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
Cell.vue
src/components/common/Cell.vue
+11
-10
common.ts
src/service/common.ts
+0
-1
index.vue
src/view/Home/index.vue
+1
-0
index.vue
src/view/NFT/Detail/index.vue
+0
-1
Contact.vue
src/view/Other/Contact.vue
+0
-0
index.vue
src/view/Other/Notify/index.vue
+0
-0
index.vue
src/view/User/Security/index.vue
+0
-0
No files found.
src/components/common/Cell.vue
View file @
42937986
...
@@ -11,17 +11,17 @@
...
@@ -11,17 +11,17 @@
<div
class=
"px-2 text-sm text-font-dark-blue"
>
<div
class=
"px-2 text-sm text-font-dark-blue"
>
{{
text
}}
{{
text
}}
</div>
</div>
<app-icon
<app-icon
v-if=
"labelIcon"
v-if=
"labelIcon"
:name=
"labelIcon"
:name=
"labelIcon"
color=
"#ED6F6F"
color=
"#ED6F6F"
@
click
.
native=
"$emit('clickIcon')"
@
click
.
native=
"$emit('clickIcon')"
size=
"18px"
size=
"18px"
></app-icon>
></app-icon>
</div>
</div>
<div
class=
"right flex items-center overflow-hidden"
>
<div
class=
"right flex
items-center overflow-hidden"
>
<div
v-if=
"type == 'click'"
@
click=
"eventEmit(type)"
>
<div
v-if=
"type == 'click'"
@
click=
"eventEmit(type)"
>
<div
class=
"flex items-center
flex-row-reverse
"
>
<div
class=
"flex items-center "
>
<div
class=
"text-sm"
>
{{
value
}}
</div>
<div
class=
"text-sm"
>
{{
value
}}
</div>
<app-icon
v-if=
"icon"
:name=
"icon"
class=
"self-center"
></app-icon>
<app-icon
v-if=
"icon"
:name=
"icon"
class=
"self-center"
></app-icon>
</div>
</div>
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
@
input=
"cellOnChange"
@
input=
"cellOnChange"
/>
/>
</div>
</div>
<input
<input
v-if=
"type === 'input-num'"
v-if=
"type === 'input-num'"
:value=
"inputValue"
:value=
"inputValue"
...
@@ -198,7 +199,7 @@ export default Vue.extend({
...
@@ -198,7 +199,7 @@ export default Vue.extend({
handleClickCopy
()
{
handleClickCopy
()
{
const
btn
=
this
.
$refs
.
btn
as
HTMLElement
;
const
btn
=
this
.
$refs
.
btn
as
HTMLElement
;
new
Clipboard
(
btn
);
new
Clipboard
(
btn
);
this
.
$toast
(
'复制成功'
)
this
.
$toast
(
"复制成功"
);
},
},
onCancel
()
{},
onCancel
()
{},
onSelect
(
value
:
any
)
{
onSelect
(
value
:
any
)
{
...
...
src/service/common.ts
View file @
42937986
...
@@ -5,5 +5,4 @@ export class Common extends Service {
...
@@ -5,5 +5,4 @@ export class Common extends Service {
super
()
super
()
}
}
}
}
src/view/Home/index.vue
View file @
42937986
...
@@ -38,6 +38,7 @@ import Vue from 'vue';
...
@@ -38,6 +38,7 @@ import Vue from 'vue';
import
{
Badge
}
from
'vant'
;
import
{
Badge
}
from
'vant'
;
import
{
Empty
}
from
'vant'
;
import
{
Empty
}
from
'vant'
;
import
{
BreedingRhombusSpinner
}
from
'epic-spinners'
import
{
BreedingRhombusSpinner
}
from
'epic-spinners'
Vue
.
use
(
Empty
);
Vue
.
use
(
Empty
);
Vue
.
use
(
Badge
)
Vue
.
use
(
Badge
)
export
default
Vue
.
extend
({
export
default
Vue
.
extend
({
...
...
src/view/NFT/Detail/index.vue
View file @
42937986
...
@@ -161,7 +161,6 @@ export default Vue.extend({
...
@@ -161,7 +161,6 @@ export default Vue.extend({
},
},
async
created
()
{
async
created
()
{
this
.
nftData
=
await
this
.
$service
.
nftService
.
getNFTdetail
(
parseInt
(
this
.
id
))
this
.
nftData
=
await
this
.
$service
.
nftService
.
getNFTdetail
(
parseInt
(
this
.
id
))
console
.
log
(
this
.
nftData
.
wallet
);
this
.
nftData
.
wallet
==
this
.
user
.
wallet
?
this
.
isOwner
=
true
:
this
.
isOwner
=
false
this
.
nftData
.
wallet
==
this
.
user
.
wallet
?
this
.
isOwner
=
true
:
this
.
isOwner
=
false
await
this
.
setMyCollection
()
await
this
.
setMyCollection
()
},
},
...
...
src/view/Other/Contact.vue
0 → 100644
View file @
42937986
src/view/Other/Notify/index.vue
0 → 100644
View file @
42937986
src/view/User/Security/index.vue
0 → 100644
View file @
42937986
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