Commit b02d0f01 authored by sujie@126.com's avatar sujie@126.com

ddd

parent df84a8ba
......@@ -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;
......
......@@ -81,7 +81,7 @@
.date-area {
/* height: 80rpx; */
padding: 0 224rpx;
padding: 0 214rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
......
......@@ -761,7 +761,7 @@
"id": -1,
"name": "主题页面",
"pathName": "src/pages/themeindex/index",
"query": "id=364&tid=4240",
"query": "id=364&tid=4240 ",
"scene": null
}
]
......
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment