1 line
27 KiB
Plaintext
1 line
27 KiB
Plaintext
|
{"version":3,"file":"sign.js","sources":["../../../../../../src/modules/mall/app/sign.vue","../../../../../../uniPage:/bW9kdWxlc1xtYWxsXGFwcFxzaWduLnZ1ZQ"],"sourcesContent":["<!-- 签到界面 -->\r\n<template>\r\n <s-layout title=\"签到有礼\">\r\n <s-empty v-if=\"state.loading\" icon=\"/static/data-empty.png\" text=\"签到活动还未开始\" />\r\n <view v-if=\"state.loading\" />\r\n <view class=\"sign-wrap\" v-else-if=\"!state.loading\">\r\n <!-- 签到日历 -->\r\n <view class=\"content-box calendar\">\r\n <view class=\"sign-everyday ss-flex ss-col-center ss-row-between ss-p-x-30\">\r\n <text class=\"sign-everyday-title\">签到日历</text>\r\n <view class=\"sign-num-box\">\r\n 已连续签到\r\n <text class=\"sign-num\">{{ state.signInfo.continuousDay }}</text>\r\n 天\r\n </view>\r\n </view>\r\n <view\r\n class=\"list acea-row row-between-wrapper\"\r\n style=\"\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n height: 240rpx;\r\n padding: 0 30rpx;\r\n \"\r\n >\r\n <view class=\"item\" v-for=\"(item, index) in state.signConfigList\" :key=\"index\">\r\n <view\r\n :class=\"\r\n (index === state.signConfigList.length ? 'reward' : '') +\r\n ' ' +\r\n (state.signInfo.continuousDay >= item.day ? 'rewardTxt' : '')\r\n \"\r\n >\r\n 第{{ item.day }}天\r\n </view>\r\n <view\r\n class=\"venus\"\r\n :class=\"\r\n (index + 1 === state.signConfigList.length ? 'reward' : '') +\r\n ' ' +\r\n (state.signInfo.continuousDay >= item.day ? 'venusSelect' : '')\r\n \"\r\n ></view>\r\n <view class=\"num\" :class=\"state.signInfo.continuousDay >= item.day ? 'on' : ''\">\r\n + {{ item.point }}\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- 签到按钮 -->\r\n <view class=\"myDateTable\">\r\n <view class=\"ss-flex ss-col-center ss-row-center sign-box ss-m-y-40\">\r\n <button\r\n class=\"ss-reset-button sign-btn\"\r\n v-if=\"!state.signInfo.todaySignIn\"\r\n @tap=\"onSign\"\r\n >\r\n 签到\r\n </button>\r\n <button class=\"ss-reset-button already-btn\" v-else disabled>已签到</button>\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- 签到说明 TODO @科举:这里改成【已累计签到】 -->\r\n <view class=\"bg-white ss-m-t-16 ss-p-t-30 ss-p-b-60 ss-p-x-40\">\r\n <view class=\"activity-title ss-m-b-30\">签到说明</view>\r\n <view class=\"activity-des\">1、已累计签到{{ state.signInfo.totalDay }}天</view>\r\n <view class=\"activity-des\">\r\n 2、据说连续签到第 {{ state.maxDay }} 天可获得超额积分,一定要坚持签到哦~~~\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- 签到结果弹窗 -->\r\n <su-popup :show=\"state.showModel\" type=\"center\" round=\"10\" :isMaskClick=\"false\">\r\n <view class=\"model-box ss-flex-col\">\r\n <view class=\"ss-m-t-56 ss-flex-col ss-col-center\">\r\n <text class=\"cicon-check-round\"></text>\r\n <view class=\"score-title\">\r\n <text v-if=\"state.signResult.point\">{{ state.signResult.point }} 积分</text>\r\n <text v-if=\"state.signResult.experience\">{{ state.signResult.experience }} 经验</text>\r\n </view>\r\n <view class=\"model-title ss-flex ss-col-center ss-m-t-22 ss-m-b-30\">\r\n 已连续打卡 {{ state.signResult.day }} 天\r\n </view>\r\n </view>\r\n <view class=\"model-bg ss-flex-col ss-col-center ss-row-right\">\r\n <view class=\"title s
|