Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
mallapp
Commits
2b080303
Commit
2b080303
authored
Nov 11, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转考试
parent
df074956
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
20 deletions
+27
-20
goods.vue
pages/goods/goods.vue
+17
-15
webbox.vue
pages/webbox/webbox.vue
+10
-5
No files found.
pages/goods/goods.vue
View file @
2b080303
...
...
@@ -1148,9 +1148,10 @@
</
script
>
<
style
>
.limit
{
.limit
{
margin-top
:
20
rpx
;
}
.box-title
{
font-weight
:
bold
;
}
...
...
@@ -1158,6 +1159,7 @@
.box-name
{
font-size
:
22
rpx
;
}
.the-top
{
position
:
absolute
;
top
:
82%
;
...
...
pages/webbox/webbox.vue
View file @
2b080303
<
template
>
<web-view
:src=
"url"
v-if=
"!showPhone"
></web-view>
<view
v-else
class=
"indexassembly"
>
<web-view
:src=
"url"
></web-view>
<
!--
<
view
v-else
class=
"indexassembly"
>
<u-popup
v-model=
"showPhone"
mode=
"center"
length=
"auto"
>
<view
style=
"width: 70vw;"
class=
"mask"
>
<view
...
...
@@ -21,9 +21,10 @@
</view>
</view>
</u-popup>
</view>
</view>
-->
</
template
>
<
script
>
export
default
{
data
()
{
return
{
...
...
@@ -45,15 +46,19 @@
this
.
getCode
()
},
onLoad
:
function
(
option
)
{
//option为object类型,会序列化上个页面传递的参数
this
.
url
=
decodeURIComponent
(
option
.
u
)
//
this.url = decodeURIComponent(option.u)
if
(
option
.
auth
||
option
.
limit
){
this
.
showPhone
=
true
if
(
option
.
limit
)
{
this
.
info
=
option
.
limit
// console.log('参数',this.info)
let
limiturls
=
`https://jj.kookaku.com?limit=
${
this
.
info
}
`
this
.
url
=
decodeURIComponent
(
limiturls
)
console
.
log
(
'要跳转的链接'
,
this
.
url
)
}
}
else
{
this
.
showPhone
=
false
this
.
url
=
decodeURIComponent
(
option
.
u
)
// this.showPhone =false
}
},
methods
:
{
...
...
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