Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
9b2b7c92
Commit
9b2b7c92
authored
Mar 07, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未审核赛事不显示小程序码
parent
a88afcfd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
13 deletions
+31
-13
CmptMapper.xml
.../com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptMapper.xml
+1
-0
Cmpt.java
...n/java/com/dlbridge/jadp/plugins/cmpt/dao/model/Cmpt.java
+2
-0
index.jsp
src/main/webapp/WEB-INF/views/cmpt/index.jsp
+28
-13
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptMapper.xml
View file @
9b2b7c92
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
is_day_rank isDayRank,
is_day_rank isDayRank,
is_week_rank isWeekRank,
is_week_rank isWeekRank,
is_month_rank isMonthRank,
is_month_rank isMonthRank,
cmpt_status cmptStatus,
is_year_rank isYearRank
is_year_rank isYearRank
FROM `gk_cmpt`
FROM `gk_cmpt`
WHERE cmpt_id = #{id} LIMIT 1
WHERE cmpt_id = #{id} LIMIT 1
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/model/Cmpt.java
View file @
9b2b7c92
...
@@ -45,4 +45,6 @@ public class Cmpt extends JaapRecord<Cmpt> {
...
@@ -45,4 +45,6 @@ public class Cmpt extends JaapRecord<Cmpt> {
private
int
enroll
;
private
int
enroll
;
private
int
cmptStatus
;
}
}
src/main/webapp/WEB-INF/views/cmpt/index.jsp
View file @
9b2b7c92
...
@@ -95,6 +95,13 @@
...
@@ -95,6 +95,13 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
}
}
.cmpt-status-div
{
width
:
100%
;
height
:
380px
;
background
:
white
;
justify-content
:
center
;
align-items
:
center
;
}
.warning
{
.warning
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -200,22 +207,30 @@
...
@@ -200,22 +207,30 @@
<div
class=
"title-sec"
>
<div
class=
"title-sec"
>
<h2
class=
"h3 title"
>
赛事小程序码
</h2>
<h2
class=
"h3 title"
>
赛事小程序码
</h2>
</div>
</div>
<div
class=
"flex flex-row"
>
<c:if
test=
"
${
cmpt
.
cmptStatus
==
2
}
"
>
<div
style=
"position: relative"
id=
"wx-logo"
>
<div
class=
"flex flex-row"
>
<img
class=
"qr-img"
src=
"/img/${cmpt.cmptId}"
alt=
""
>
<div
style=
"position: relative"
id=
"wx-logo"
>
<%-- <img src="${cmpt.logo}" class="wx-logo"
<img
class=
"qr-img"
src=
"/img/${cmpt.cmptId}"
alt=
""
>
onerror="this.src='${ctxStatic}/managerPagePhoto/insertManual.png'">--%>
<%-- <img src="${cmpt.logo}" class="wx-logo"
</div>
onerror="this.src='${ctxStatic}/managerPagePhoto/insertManual.png'">--%>
<div
class=
"flex flex-column download-sec"
>
<span
class=
"download-qr"
id=
"download"
>
下载小程序码
</span>
<div
class=
"flex flex-row"
>
<span
class=
"warning"
>
注
</span><span
class=
"tip-txt"
>
上传赛事logo后,将替换小程序码中的赛客LOGO
</span>
</div>
</div>
<div><span
class=
"tip-txt"
style=
"padding-left: 10px"
>
微信扫描小程序码直接进入小程序中赛事首页
</span>
<div
class=
"flex flex-column download-sec"
>
<span
class=
"download-qr"
id=
"download"
>
下载小程序码
</span>
<div
class=
"flex flex-row"
>
<span
class=
"warning"
>
注
</span>
<span
class=
"tip-txt"
>
上传赛事logo后,将替换小程序码中的赛客LOGO
</span>
</div>
<div><span
class=
"tip-txt"
style=
"padding-left: 10px"
>
微信扫描小程序码直接进入小程序中赛事首页
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</c:if>
<c:if
test=
"
${
cmpt
.
cmptStatus
==
0
}
"
>
<div
class=
"flex flex-row cmpt-status-div"
>
<span
class=
"tip-txt"
>
请联系管理员,赛事审核通过后下载小程序码
</span>
</div>
</c:if>
</div>
</div>
</div>
</div>
</section>
</section>
...
...
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