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
3c80252b
Commit
3c80252b
authored
Jul 14, 2021
by
hanfeng zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main' of gitlab.33.cn:HF_web/NFT
parents
21650c3b
d44246ce
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
45 additions
and
20 deletions
+45
-20
checked.png
src/assets/icons/checked.png
+0
-0
Cell.vue
src/components/common/Cell.vue
+2
-1
Steps.vue
src/components/common/Steps.vue
+3
-3
Service.ts
src/service/Service.ts
+1
-1
style.less
src/style.less
+18
-2
index.vue
src/view/Auth/Login/components/LoginButton/index.vue
+2
-2
index.vue
src/view/Auth/Login/index.vue
+1
-1
form.vue
src/view/NFT/Create/form.vue
+11
-6
upload.vue
src/view/NFT/Create/upload.vue
+1
-1
index.vue
src/view/User/index.vue
+6
-3
No files found.
src/assets/icons/checked.png
View replaced file @
21650c3b
View file @
3c80252b
569 Bytes
|
W:
|
H:
1.04 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/common/Cell.vue
View file @
3c80252b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
"
"
>
>
<div
class=
"left flex items-center flex-row-reverse"
>
<div
class=
"left flex items-center flex-row-reverse"
>
<div
class=
"px-2 text-
xs
text-font-dark-blue"
>
<div
class=
"px-2 text-
sm
text-font-dark-blue"
>
{{
text
}}
{{
text
}}
</div>
</div>
<app-icon
<app-icon
...
@@ -198,6 +198,7 @@ export default Vue.extend({
...
@@ -198,6 +198,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
(
'复制成功'
)
},
},
onCancel
()
{},
onCancel
()
{},
onSelect
(
value
:
any
)
{
onSelect
(
value
:
any
)
{
...
...
src/components/common/Steps.vue
View file @
3c80252b
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
<div
class=
"step-item flex flex-col content-center relative mr-5 items-center"
v-for=
"(i,index) in data"
:key=
"index"
<div
class=
"step-item flex flex-col content-center relative mr-5 items-center"
v-for=
"(i,index) in data"
:key=
"index"
:class=
"currentStep
<
index
+
1
?'
step-item
'
:
'
step-item-actived
'"
:class=
"currentStep
<
index
+
1
?'
step-item
'
:
'
step-item-actived
'"
>
>
<div
class=
"cycle relative items-center rounded-full z-10"
:class=
"currentStep
<
index
+
1
?'
bg-font-gray
bg-opacity-20
'
:
'
bg-
green-300
bg-opacity-80
'"
>
<div
class=
"cycle relative items-center rounded-full z-10"
:class=
"currentStep
<
index
+
1
?'
bg-font-gray
bg-opacity-20
'
:
'
bg-
font-blue
bg-opacity-80
'"
>
<div
class=
"center-child"
v-if=
"currentStep
<
index
+
1
"
>
{{
index
+
1
}}
</div>
<div
class=
"center-child"
v-if=
"currentStep
<
index
+
1
"
>
{{
index
+
1
}}
</div>
<div
class=
"center-child"
v-else-if=
"currentStep=== index+1"
>
{{
index
+
1
}}
</div>
<div
class=
"center-child"
v-else-if=
"currentStep=== index+1"
>
{{
index
+
1
}}
</div>
<div
class=
"center-child"
v-else
>
<div
class=
"center-child"
v-else
>
<app-icon
name=
'icon-comfirm'
></app-icon>
<app-icon
name=
'icon-comfirm'
></app-icon>
</div>
</div>
</div>
</div>
<div
class=
'text-sm mt-2'
>
<div
class=
'text-sm mt-2'
:class=
"currentStep
<
index
+
1
?'
text-font-gray
bg-opacity-20
'
:
'
text-font-blue
bg-opacity-80
'"
>
{{
i
.
text
}}
{{
i
.
text
}}
</div>
</div>
</div>
</div>
...
@@ -86,7 +86,7 @@ export default Vue.extend({
...
@@ -86,7 +86,7 @@ export default Vue.extend({
width: 24px;
width: 24px;
height:2px;
height:2px;
border-radius: 3px;
border-radius: 3px;
background-color:
rgba(110, 231, 183,0.8)
;
background-color:
#0078FF
;
position: absolute;
position: absolute;
top: 34%;
top: 34%;
left: 120%;
left: 120%;
...
...
src/service/Service.ts
View file @
3c80252b
...
@@ -35,7 +35,7 @@ export class Service {
...
@@ -35,7 +35,7 @@ export class Service {
router
.
push
(
''
)
router
.
push
(
''
)
})
})
}
}
Toast
.
fail
(
ret
.
message
)
Toast
.
fail
(
typeof
ret
.
data
===
"string"
?
ret
.
data
:
ret
.
message
)
throw
new
Error
(
ret
.
message
)
throw
new
Error
(
ret
.
message
)
}
}
}
}
...
...
src/style.less
View file @
3c80252b
...
@@ -97,4 +97,20 @@ body{
...
@@ -97,4 +97,20 @@ body{
font-weight: 500;
font-weight: 500;
color: #0078FF;
color: #0078FF;
}
}
}
}
\ No newline at end of file
.van-popup{
.van-action-sheet__gap{
background-color: #131934;
}
.van-action-sheet__item,.van-action-sheet__cancel{
background-color: #1D2649;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #EEF1F6;
}
.van-action-sheet__cancel:active, .van-action-sheet__item:active{
background-color: #394267;
}
}
\ No newline at end of file
src/view/Auth/Login/components/LoginButton/index.vue
View file @
3c80252b
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
@
btnClicked=
"handleCliCkBtn"
@
btnClicked=
"handleCliCkBtn"
border=
"border-0"
border=
"border-0"
:class=
"[
:class=
"[
disabled ? '
darkBtn
' : 'bg-font-blue',
disabled ? '
text-font-white bg-font-blue filter grayscale
' : 'bg-font-blue',
disabled ? '
darkBtn
' : ' text-white ',
disabled ? '
text-font-white bg-font-blue filter grayscale
' : ' text-white ',
loading ? 'opacity-75': '',
loading ? 'opacity-75': '',
]"
]"
>
>
...
...
src/view/Auth/Login/index.vue
View file @
3c80252b
<
template
>
<
template
>
<div
class=
"px-5"
>
<div
class=
"px-5"
>
<Login
<Login
title=
"欢迎来到
乐映
"
title=
"欢迎来到
一幕
"
:accountStatusCheckFunc=
"accountStatusCheckFunc"
:accountStatusCheckFunc=
"accountStatusCheckFunc"
:sendSmsFunc=
"sendSmsFunc"
:sendSmsFunc=
"sendSmsFunc"
:registerFunc=
"registerFunc"
:registerFunc=
"registerFunc"
...
...
src/view/NFT/Create/form.vue
View file @
3c80252b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
v-model=
"createNFT.value_name"
v-model=
"createNFT.value_name"
type=
"input"
type=
"input"
text=
"剧本名称"
text=
"剧本名称"
:validate=
'
{maxLen:20}'
:validate=
"
{ maxLen: 20 }"
placeholder="请输入剧本名称"
placeholder="请输入剧本名称"
class="text-font-white my-3"
class="text-font-white my-3"
@cellOnChange="(v) => setCreateNFT({ value_name: v })"
@cellOnChange="(v) => setCreateNFT({ value_name: v })"
...
@@ -22,8 +22,9 @@
...
@@ -22,8 +22,9 @@
<app-cell
<app-cell
v-model=
"createNFT.value_publisher"
v-model=
"createNFT.value_publisher"
type=
"input"
type=
"input"
text=
"发行人"
text=
"剧本作者"
placeholder=
"请输入发行人名称"
:validate=
"
{ maxLen: 20 }"
placeholder="请输入剧本作者"
class="text-font-white my-3"
class="text-font-white my-3"
@cellOnChange="(v) => setCreateNFT({ value_publisher: v })"
@cellOnChange="(v) => setCreateNFT({ value_publisher: v })"
>
</app-cell>
>
</app-cell>
...
@@ -36,18 +37,21 @@
...
@@ -36,18 +37,21 @@
@
onClick=
"what"
@
onClick=
"what"
></app-cell>
></app-cell>
<div>
<div>
<div
class=
"
text-font-white my-2
"
>
剧本简介
</div>
<div
class=
"
my-4 text-font-gray text-sm ml-4
"
>
剧本简介
</div>
<textarea
<textarea
v-model=
"createNFT.value_des"
v-model=
"createNFT.value_des"
name=
"des"
name=
"des"
id=
"nft-des"
id=
"nft-des"
cols=
"30"
cols=
"30"
maxlength=
"1000"
placeholder=
"请输入剧本简介"
rows=
"10"
rows=
"10"
class=
"
class=
"
w-full
w-full
bg-font-gray bg-opacity-20
bg-font-gray bg-opacity-20
text-font-white
text-font-white
p-3
p-3
rounded-md
text-sm
text-sm
"
"
></textarea>
></textarea>
...
@@ -89,6 +93,7 @@
...
@@ -89,6 +93,7 @@
@
cellOnChange=
"(v) => (createNFT.archives = v)"
@
cellOnChange=
"(v) => (createNFT.archives = v)"
></app-cell>
></app-cell>
<app-cell
<app-cell
v-if=
"createNFT.archives === 1"
text=
"授权阅读"
text=
"授权阅读"
type=
"select"
type=
"select"
:selected=
"createNFT.grant"
:selected=
"createNFT.grant"
...
@@ -195,8 +200,8 @@ export default Vue.extend({
...
@@ -195,8 +200,8 @@ export default Vue.extend({
count
:
1
,
count
:
1
,
},
},
archivesList
:
[
archivesList
:
[
{
value
:
0
,
name
:
"
加密
存档"
},
{
value
:
0
,
name
:
"
不
存档"
},
{
value
:
1
,
name
:
"
不
存档"
},
{
value
:
1
,
name
:
"
加密
存档"
},
],
],
grantList
:
[
grantList
:
[
{
value
:
0
,
name
:
"不需要授权"
},
{
value
:
0
,
name
:
"不需要授权"
},
...
...
src/view/NFT/Create/upload.vue
View file @
3c80252b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
class=
"hidden"
class=
"hidden"
@
change=
"handleFileChange"
@
change=
"handleFileChange"
ref=
"inputFile"
ref=
"inputFile"
accept=
"
.
pdf"
accept=
"
application/
pdf"
/>
/>
<label
for=
"upload"
class=
"inline-block"
>
<label
for=
"upload"
class=
"inline-block"
>
<div
<div
...
...
src/view/User/index.vue
View file @
3c80252b
...
@@ -28,10 +28,13 @@ export default Vue.extend({
...
@@ -28,10 +28,13 @@ export default Vue.extend({
},
},
methods
:{
methods
:{
toggleDialog
(){
toggleDialog
(){
console
.
log
(
111
);
this
.
$dialog
.
alert
({
this
.
$dialog
.
alert
({
message
:
'Content'
,
message
:
'确定要退出登录吗'
,
}).
then
(()
=>
{
localStorage
.
clear
();
this
.
$router
.
push
({
name
:
'Login'
})
});
});
}
}
}
}
...
...
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