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
05f79193
Commit
05f79193
authored
Jul 22, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
321
parent
9fcd9963
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
+17
-6
Cell.vue
src/components/common/Cell.vue
+3
-2
form.vue
src/view/NFT/Create/form.vue
+3
-2
index.vue
src/view/NFT/Detail/index.vue
+1
-1
index.vue
src/view/NFT/Mynft/index.vue
+10
-1
No files found.
src/components/common/Cell.vue
View file @
05f79193
<
template
>
<div
class=
"cell flex justify-between py-3 px-2 overflow-hidden"
class=
"cell flex justify-between py-3 px-2
text-sm
overflow-hidden"
:class=
"
boxType === 'border'
? ' border-b border-font-gray border-opacity-25'
...
...
@@ -8,7 +8,7 @@
"
>
<div
class=
"left flex items-center flex-row-reverse"
>
<div
class=
"px-2
text-sm
text-font-dark-blue"
>
<div
class=
"px-2
pr-5 text-xs
text-font-dark-blue"
>
{{
text
}}
</div>
<app-icon
...
...
@@ -34,6 +34,7 @@
<input
v-model=
"inputValue"
type=
"text"
maxlength=
"16"
class=
"bg-transparent"
:placeholder=
"placeholder"
@
input=
"cellOnChange"
...
...
src/view/NFT/Create/form.vue
View file @
05f79193
...
...
@@ -44,8 +44,8 @@
v-model=
"createNFT.value_des"
name=
"des"
id=
"nft-des"
cols=
"
3
0"
maxlength=
"
10
00"
cols=
"
1
0"
maxlength=
"
5
00"
:placeholder=
"fromText.desPlaceholder"
rows=
"10"
class=
"
...
...
@@ -334,6 +334,7 @@ export default Vue.extend({
fileHash
:
""
,
fileName
:
""
,
file
:
undefined
,
coverName
:
''
});
},
computed
:
{
...
...
src/view/NFT/Detail/index.vue
View file @
05f79193
...
...
@@ -36,7 +36,7 @@
size=
"24px"
class=
"p-5 bg-table-light-blue shadow-md rounded-full"
></app-icon>
-->
<img
:src=
"i.icon"
alt=
""
>
<img
:src=
"i.icon"
alt=
""
@
click=
"appOnclick(i.action)"
>
</div>
<div
class=
"text-xs mt-3 text-font-white"
>
{{
i
.
text
}}
...
...
src/view/NFT/Mynft/index.vue
View file @
05f79193
...
...
@@ -6,7 +6,9 @@
>
<div
class=
"w-full flex items-start justify-between mb-12"
>
<div>
我的NFT(个)
</div>
<div></div>
<div>
<img
:src=
"qrcode"
class=
'w-14'
>
</div>
</div>
<div
class=
"flex items-end justify-between flex-wrap"
>
<div
class=
"text-3xl"
>
{{
balance
}}
</div>
...
...
@@ -48,6 +50,8 @@ export default Vue.extend({
listData
:
{},
currentCategory
:
1
,
balance
:
0
,
qrcode
:
''
,
srcData
:
''
as
any
};
},
async
created
()
{
...
...
@@ -55,6 +59,10 @@ export default Vue.extend({
},
async
mounted
()
{
let
data
=
await
this
.
$service
.
nftService
.
getMyList
();
this
.
qrcode
=
data
.
qrCode
;
console
.
log
(
this
.
qrcode
);
this
.
balance
=
data
.
size
;
await
this
.
$service
.
nftService
.
getMyList
(
this
.
currentCategory
)
...
...
@@ -76,6 +84,7 @@ export default Vue.extend({
this
.
listData
=
res
.
list
;
});
},
goDetail
(
id
:
any
)
{
this
.
$router
.
push
({
name
:
"Nftdetail"
,
params
:
{
id
:
id
}
});
},
...
...
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