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
Hide 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
...
...
@@ -145,35 +145,35 @@
<!-- 报名限制 -->
<view
v-if=
'g.edu_data.ClassCondition.length>0'
>
<view
class=
"limit"
>
<view
v-if=
"ItemType1 && ItemType1.length > 0"
class=
"box-title"
>
<view
v-if=
"ItemType1 && ItemType1.length > 0"
class=
"box-title"
>
只允许以下学员报名
</view>
<text
v-for=
"(item, index) in ItemType1"
class=
"box-name"
>
{{ index + 1 }}:{{ item.ItemName }}。
{{ index + 1 }}:{{ item.ItemName }}。
</text>
<view
v-if=
"ItemType2 && ItemType2.length > 0"
class=
"box-title"
>
只允许以下年级学员报名
<view
v-if=
"ItemType2 && ItemType2.length > 0"
class=
"box-title"
>
只允许以下年级学员报名
</view>
<text
v-for=
"(item, index) in ItemType2"
class=
"box-name"
>
{{ index + 1 }}:{{ item.ItemName }}。
{{ index + 1 }}:{{ item.ItemName }}。
</text>
<view
v-if=
"ItemType3 && ItemType3.length > 0"
class=
"box-title"
>
<view
v-if=
"ItemType3 && ItemType3.length > 0"
class=
"box-title"
>
只允许曾报以下课程学员报名
</view>
<text
v-for=
"(item, index) in ItemType3"
class=
"box-name"
>
{{ index + 1 }}:{{ item.ItemName }}。
{{ index + 1 }}:{{ item.ItemName }}。
</text>
<view
v-if=
"ItemType4 && ItemType4.length > 0"
class=
"box-title"
>
<view
v-if=
"ItemType4 && ItemType4.length > 0"
class=
"box-title"
>
只允许曾报以下班级学员报名
</view>
<text
v-for=
"(item, index) in ItemType4"
class=
"box-name"
>
{{ index + 1 }}:{{ item.ItemName }}。
{{ index + 1 }}:{{ item.ItemName }}。
</text>
<view
v-if=
"ItemType5 && ItemType5.length > 0"
class=
"box-title"
>
<view
v-if=
"ItemType5 && ItemType5.length > 0"
class=
"box-title"
>
只允许以下考试成绩报名:
</view>
<text
v-for=
"(item, index) in ItemType5"
class=
"box-name"
>
{{ index + 1 }}:{{ item.ItemName }}({{item.LowScore}}-{{item.HighScore}})。
{{ index + 1 }}:{{ item.ItemName }}({{item.LowScore}}-{{item.HighScore}})。
</text>
</view>
</view>
...
...
@@ -1148,16 +1148,18 @@
</
script
>
<
style
>
.limit
{
.limit
{
margin-top
:
20
rpx
;
}
.box-title
{
font-weight
:
bold
;
font-weight
:
bold
;
}
.box-name
{
font-size
:
22
rpx
;
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