Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
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
hanpeng
wechat_lung
Commits
ee6015aa
Commit
ee6015aa
authored
Oct 25, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'肺癌论坛审批修改2'
parent
72e76072
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
myCardList.css
medtap_bbs_lung/css/myCardList.css
+4
-0
myCardList.js
medtap_bbs_lung/javaScript/myCardList.js
+10
-5
No files found.
medtap_bbs_lung/css/myCardList.css
View file @
ee6015aa
...
...
@@ -118,12 +118,16 @@ body {
font-size
:
0.25rem
;
color
:
#F8B15B
;
font-weight
:
600
;
border-top
:
1px
solid
#eee
;
margin-top
:
0.2rem
;
}
.show_refuseStr
{
padding-top
:
0.2rem
;
font-size
:
0.25rem
;
color
:
#F76C26
;
font-weight
:
600
;
border-top
:
1px
solid
#eee
;
margin-top
:
0.2rem
;
}
.show_refuseStr
span
{
font-size
:
0.25rem
;
...
...
medtap_bbs_lung/javaScript/myCardList.js
View file @
ee6015aa
...
...
@@ -4,6 +4,8 @@ define(['zepto', 'medtap'], function($, medtap) {
offset
:
1
,
hasMore
:
false
,
firstLoad
:
false
,
pageNum
:
1
,
pageSize
:
20
,
init
:
function
()
{
myCard
.
getUserInfo
();
myCard
.
getMyCard
();
...
...
@@ -70,7 +72,7 @@ define(['zepto', 'medtap'], function($, medtap) {
//滚动条到达底部
if
(
myCard
.
hasMore
==
true
)
{
var
type
=
''
if
(
$
(
'#
id
'
).
hasClass
(
'on'
))
{
if
(
$
(
'#
my
'
).
hasClass
(
'on'
))
{
myCard
.
firstLoad
=
true
;
myCard
.
offset
+=
1
;
myCard
.
getMyCard
();
...
...
@@ -78,8 +80,11 @@ define(['zepto', 'medtap'], function($, medtap) {
myCard
.
firstLoad
=
true
;
myCard
.
offset
+=
1
;
myCard
.
getMyCollect
();
}
else
if
(
$
(
'#reply'
).
hasClass
(
'on'
))
{
myCard
.
firstLoad
=
true
;
myCard
.
offset
+=
1
;
myCard
.
getMyReply
();
}
}
else
{
}
...
...
@@ -140,7 +145,7 @@ define(['zepto', 'medtap'], function($, medtap) {
offset
:
myCard
.
offset
},
success
:
function
(
res
)
{
console
.
log
(
'获取我的帖子数据'
,
res
)
//
console.log('获取我的帖子数据',res)
medtap
.
loading
(
0
);
if
(
res
.
success
==
true
)
{
var
list
=
res
.
content
.
list
;
...
...
@@ -189,7 +194,7 @@ define(['zepto', 'medtap'], function($, medtap) {
// 要显示的条件判断语句
switch
(
list
[
i
].
status
){
case
0
:
showStr
=
''
showStr
=
editIsshow
showBottom
=
waitStr
break
;
case
1
:
...
...
@@ -197,7 +202,7 @@ define(['zepto', 'medtap'], function($, medtap) {
showBottom
=
''
break
;
case
2
:
showStr
=
''
showStr
=
editIsshow
showBottom
=
'<div class="show_refuseStr">'
+
'<p>审核未通过: <span> '
+
list
[
i
].
rejectRemark
+
'</span> </p>'
+
'</div>'
...
...
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