Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c2b24063
authored
Dec 10, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
6e4d01bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
13 deletions
packageStudyCenter/pages/studyCenter/studyCenter.js
packageStudyCenter/pages/studyCenter/studyCenter.sass
packageStudyCenter/pages/studyCenter/studyCenter.wxml
packageStudyCenter/pages/studyCenter/studyCenter.js
View file @
c2b2406
...
...
@@ -132,8 +132,12 @@ Page({
},
doAfterWebViewReturn
()
{
let
modal
=
this
.
selectComponent
(
'#examPopup'
)
modal
.
open
()
this
.
setData
({
examSubmitText
:
''
},
()
=>
{
let
modal
=
this
.
selectComponent
(
'#examPopup'
)
modal
.
open
()
})
},
// 北森考试结果查询
examHandleConfirm
()
{
...
...
@@ -151,7 +155,6 @@ Page({
if
(
code
==
0
)
{
if
(
data
)
{
this
.
examHandleCancel
()
this
.
setData
({
examSubmitText
:
''
})
// 查询是否有下一个考试
this
.
getExamInfo
()
this
.
getStaticData
(
true
)
...
...
packageStudyCenter/pages/studyCenter/studyCenter.sass
View file @
c2b2406
...
...
@@ -183,6 +183,26 @@ page {
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize40
)
;
position
:
relative
;
.placeholder-area
{
position
:
absolute
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
width
:
calc
(
100%
-
var
(
--
fontSize72
))
;
height
:
100%
;
pointer-events
:
none
;
z-index
:
1
;
.placeholder-text
{
color
:
#999EA8
;
font-size
:
var
(
--
fontSize28
)
;
margin-right
:
var
(
--
fontSize16
)
;
}
.search-icon
{
width
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
}
}
.input
{
text-align
:
center
;
width
:
calc
(
100%
-
var
(
--
fontSize72
))
;
...
...
@@ -191,14 +211,6 @@ page {
.input-placeholder
{
color
:
#999EA8
;
}
.search-icon
{
position
:
absolute
;
top
:
50%
;
transform
:
translateY
(
-50%
)
;
left
:
var
(
--
fontSize380
)
;
width
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
}
.search-clear
{
position
:
absolute
;
top
:
50%
;
...
...
packageStudyCenter/pages/studyCenter/studyCenter.wxml
View file @
c2b2406
...
...
@@ -81,15 +81,20 @@
<view class="title">全部课程</view>
<view class="search-box">
<view class="search-input">
<view class="placeholder-area" wx:if="{{!searchTitle}}">
<text class="placeholder-text">搜索课程</text>
<image
src="{{IMG_URL}}studyCenter/search-icon.png"
class="search-icon"
/>
</view>
<input
type="text"
placeholder="搜索课程"
class="input"
value="{{searchTitle}}"
placeholder-class="input-placeholder"
bindinput="searchInput"
bindconfirm="search" />
<image src="{{IMG_URL}}studyCenter/search-icon.png" wx:if="{{!searchTitle}}" class="search-icon" />
<block wx:if="{{ searchTitle }}">
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
</block>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment