|
|
@@ -137,7 +137,7 @@ Page({
|
|
|
item.carouselMediaList.push({
|
|
|
type: "video",
|
|
|
src: item.itemVideoFirst,
|
|
|
- poster: item.photo || item.itemImgFirst,
|
|
|
+ poster: item.photo || item.itemImgFirst,
|
|
|
// title: "操作视频",
|
|
|
});
|
|
|
}
|
|
|
@@ -451,7 +451,7 @@ Page({
|
|
|
this.setData({
|
|
|
statusList: arr2,
|
|
|
});
|
|
|
- if(!data?.healthAnalysisReportId){
|
|
|
+ if (!data?.healthAnalysisReportId) {
|
|
|
this.setData({
|
|
|
isShowComplete: true,
|
|
|
});
|
|
|
@@ -805,6 +805,18 @@ Page({
|
|
|
});
|
|
|
wx.setStorageSync("showGuideActive", 1);
|
|
|
wx.setStorageSync("isAnalysis", 3);
|
|
|
-
|
|
|
+ },
|
|
|
+ isGoPunchcard(e: any) {
|
|
|
+ const { id, signintime } = e.currentTarget.dataset;
|
|
|
+ // 已经打卡了
|
|
|
+ console.log("signinTime=>>>",signintime);
|
|
|
+ if (signintime) {
|
|
|
+ // 已打卡 跳转到打卡页面
|
|
|
+ wx.navigateTo({
|
|
|
+ url: `/module/article/pages/punch-card/punch-card?id=${id}`,
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ // todo 打卡
|
|
|
+ }
|
|
|
},
|
|
|
});
|