Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
b02d0f01
Commit
b02d0f01
authored
May 14, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddd
parent
df84a8ba
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
65 deletions
+11
-65
index.wxss
business/pages/calendarclock/index.wxss
+2
-1
index.wxss
components/calendar/index.wxss
+1
-1
project.config.json
project.config.json
+1
-1
index.js
src/pages/readthemeindex/index.js
+7
-62
No files found.
business/pages/calendarclock/index.wxss
View file @
b02d0f01
...
...
@@ -151,10 +151,11 @@
background:rgba(101,184,244,1);
border-radius:50%;
color: #fff;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
padding-right: 5rpx;
line-height:1;
}
.header-box .weeks-box .btn-box{
width: 72rpx;
...
...
components/calendar/index.wxss
View file @
b02d0f01
...
...
@@ -81,7 +81,7 @@
.date-area {
/* height: 80rpx; */
padding: 0 2
2
4rpx;
padding: 0 2
1
4rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
...
...
project.config.json
View file @
b02d0f01
...
...
@@ -761,7 +761,7 @@
"id"
:
-1
,
"name"
:
"主题页面"
,
"pathName"
:
"src/pages/themeindex/index"
,
"query"
:
"id=364&tid=4240"
,
"query"
:
"id=364&tid=4240
"
,
"scene"
:
null
}
]
...
...
src/pages/readthemeindex/index.js
View file @
b02d0f01
...
...
@@ -168,6 +168,7 @@ Page({
})
}
wx
.
hideShareMenu
()
},
onReady
:
function
()
{
// Do something when page ready.
this
.
doAnimation
();
...
...
@@ -233,73 +234,17 @@ Page({
this
.
didAnimation
();
},
onPullDownRefresh
:
function
()
{
// Do something when pull down.
this
.
setData
({
hasmore
:
true
,
clockPage
:
1
,
})
this
.
themeDetail
();
this
.
clockListGet
(
'down'
);
//
this.setData({
//
hasmore: true,
//
clockPage: 1,
//
})
//
this.themeDetail();
//
this.clockListGet('down');
},
onReachBottom
:
function
()
{
// Do something when page reach bottom.
// this.clockListGet('up');
},
onShareAppMessage
:
function
(
option
)
{
// return custom share data when user share.
const
{
from
,
target
}
=
option
;
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
const
nickName
=
visitor
.
userInfo
&&
visitor
.
userInfo
.
nickName
||
''
;
let
shareObj
=
{
}
let
initShareObj
=
{
title
:
`我正在参加【
${
this
.
data
.
circleInfo
.
title
}
】的打卡`
,
path
:
`/src/pages/themeindex/index?id=
${
this
.
data
.
id
}
&tid=
${
this
.
data
.
tid
}
`
}
if
(
from
==
'menu'
)
{
shareObj
=
initShareObj
;
posterLog
({
poster_type
:
4
,
type
:
3
,
clock_circle_id
:
this
.
data
.
id
,
clock_subject_id
:
this
.
data
.
tid
})
}
else
if
(
from
==
'button'
)
{
if
(
!
target
.
dataset
.
info
)
{
shareObj
=
initShareObj
;
posterLog
({
poster_type
:
4
,
type
:
3
,
clock_circle_id
:
this
.
data
.
id
,
clock_subject_id
:
this
.
data
.
tid
})
}
else
{
const
{
target
:
{
dataset
:
{
info
}
}
}
=
option
;
posterLog
({
poster_type
:
6
,
type
:
3
,
clock_circle_id
:
this
.
data
.
id
,
clock_subject_id
:
this
.
data
.
themeSelect
.
id
,
clock_record_id
:
info
.
id
})
shareObj
=
{
title
:
`
${
info
.
school_student
.
nickname
}
的打卡详情`
,
path
:
`/src/pages/clockdetail/index?id=
${
this
.
data
.
id
}
&tid=
${
this
.
data
.
themeSelect
.
id
}
&cid=
${
info
.
id
}
`
}
}
}
return
{
title
:
shareObj
.
title
,
path
:
shareObj
.
path
,
}
},
userShow
()
{
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
...
...
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