Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
5fdfcec0
Commit
5fdfcec0
authored
Jun 19, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 1.4.0
parents
e0397f10
0bc2bf4c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
wechatLogin.vue
src/views/Auth/components/wechatLogin.vue
+11
-6
Index.vue
src/views/TeamCenter/Index.vue
+1
-1
Index.vue
src/views/UserCenter/Index.vue
+1
-1
No files found.
src/views/Auth/components/wechatLogin.vue
View file @
5fdfcec0
<
template
>
<
template
>
<div
class=
"wechatLoginForm text-center q-mt-lg"
v-loading=
"qrLoading"
<div
class=
"wechatLoginForm text-center q-mt-lg"
style=
"position: relative;"
>
style=
"position: relative;"
>
<div
v-loading=
"qrLoading"
>
<img
:src=
"qrCode"
style=
"width: 164px;height: 164px;border: 1px solid #EBEBEB;border-radius: 12px;"
v-if=
"!qrLoading"
></img>
<img
:src=
"qrCode"
style=
"width: 164px;height: 164px;border: 1px solid #EBEBEB;border-radius: 12px;"
v-if=
"!qrLoading"
></img>
<QRCode
value=
"http://www.viitto.com"
style=
"width: 159px;height: 159px;border: 1px solid #EBEBEB;"
v-if=
"qrLoading"
></QRCode>
<QRCode
value=
"http://www.viitto.com"
style=
"width: 159px;height: 159px;border: 1px solid #EBEBEB;"
v-if=
"qrLoading"
></QRCode>
<div
v-if=
"!qrCode"
class=
"q-pt-md"
style=
"position: absolute;left: 0;right: 0;"
>
</div>
<div
v-if=
"!qrCode||loseEffect"
class=
"q-pt-md"
style=
"position: absolute;left: 0;right: 0;"
>
<el-icon
class=
"cursor-pointer"
>
<el-icon
class=
"cursor-pointer"
>
<RefreshRight
<RefreshRight
v-if=
"!RefreshLoading"
v-if=
"!RefreshLoading"
...
@@ -43,6 +45,8 @@ const props = defineProps({
...
@@ -43,6 +45,8 @@ const props = defineProps({
},
},
})
})
const
loseEffect
=
ref
(
false
)
const
beginTimerHandler
=
()
=>
{
const
beginTimerHandler
=
()
=>
{
queryTimer
.
value
=
setInterval
(
async
()
=>
{
queryTimer
.
value
=
setInterval
(
async
()
=>
{
...
@@ -67,6 +71,7 @@ const getQrcode = async (type:any) =>{
...
@@ -67,6 +71,7 @@ const getQrcode = async (type:any) =>{
beginTimerHandler
()
beginTimerHandler
()
scene_id
.
value
=
result
.
data
.
data
.
scene_id
scene_id
.
value
=
result
.
data
.
data
.
scene_id
}
}
loseEffect
.
value
=
false
}
}
qrLoading
.
value
=
false
qrLoading
.
value
=
false
if
(
type
)
RefreshLoading
.
value
=
false
if
(
type
)
RefreshLoading
.
value
=
false
...
@@ -84,8 +89,8 @@ const userLoginHandler = async ()=>{
...
@@ -84,8 +89,8 @@ const userLoginHandler = async ()=>{
location
.
href
=
'/space'
;
location
.
href
=
'/space'
;
}
else
if
(
result
.
status
==
'ERROR'
)
{
}
else
if
(
result
.
status
==
'ERROR'
)
{
stopTimerHandler
()
stopTimerHandler
()
qrCode
.
value
=
''
loseEffect
.
value
=
true
ElMessage
.
error
({
message
:
'
一
维码已失效,请重新获取'
})
ElMessage
.
error
({
message
:
'
二维码
维码已失效,请重新获取'
})
}
}
}
}
...
...
src/views/TeamCenter/Index.vue
View file @
5fdfcec0
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<span
class=
"title"
>
存储空间
</span>
<span
class=
"title"
>
存储空间
</span>
<div
class=
"text-small text-info q-mt-sm"
>
会员可以使用平台全部预设模板
</div>
<div
class=
"text-small text-info q-mt-sm"
>
会员可以使用平台全部预设模板
</div>
</div>
</div>
<el-button
type=
"info"
class=
"normal"
>
会员尊享
10G
空间
</el-button>
<el-button
type=
"info"
class=
"normal"
>
会员尊享
{{
TravelDesign
.
CloudTotsl
}}{{
TravelDesign
.
CloudTotallnit
}}
空间
</el-button>
</div>
</div>
<div
style=
"font-size: 14px;"
class=
"q-mt-xl"
>
<div
style=
"font-size: 14px;"
class=
"q-mt-xl"
>
<el-progress
:percentage=
"TravelDesign.storagePercent"
/>
<el-progress
:percentage=
"TravelDesign.storagePercent"
/>
...
...
src/views/UserCenter/Index.vue
View file @
5fdfcec0
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<span
class=
"title"
>
存储空间
</span>
<span
class=
"title"
>
存储空间
</span>
<div
class=
"text-small text-info q-mt-sm"
>
会员可以使用平台全部预设模板
</div>
<div
class=
"text-small text-info q-mt-sm"
>
会员可以使用平台全部预设模板
</div>
</div>
</div>
<el-button
type=
"info"
class=
"normal"
>
会员尊享
10G
空间
</el-button>
<el-button
type=
"info"
class=
"normal"
>
会员尊享
{{TravelDesign.CloudTotsl}}{{TravelDesign.CloudTotallnit}}
空间
</el-button>
</div>
</div>
<div
style=
"font-size: 14px;"
class=
"q-mt-xl"
>
<div
style=
"font-size: 14px;"
class=
"q-mt-xl"
>
<el-progress
:percentage=
"TravelDesign.storagePercent"
/>
<el-progress
:percentage=
"TravelDesign.storagePercent"
/>
...
...
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