signold.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. <!-- 签到界面 -->
  2. <template>
  3. <s-layout title="签到有礼">
  4. <s-empty v-if="state.loading" icon="/static/data-empty.png" text="签到活动还未开始" />
  5. <view v-if="state.loading" />
  6. <view class="sign-wrap" v-else-if="!state.loading">
  7. <!-- 签到日历 -->
  8. <view class="content-box calendar">
  9. <view class="sign-everyday ss-flex ss-col-center ss-row-between ss-p-x-30">
  10. <text class="sign-everyday-title">签到日历</text>
  11. <view class="sign-num-box">
  12. 已连续签到 <text class="sign-num">{{ state.signInfo.continuousDay }}</text> 天
  13. </view>
  14. </view>
  15. <view class="list acea-row row-between-wrapper" style="
  16. padding: 0 30rpx;
  17. height: 240rpx;
  18. display: flex;
  19. justify-content: space-between;
  20. align-items: center;
  21. ">
  22. <view class="item" v-for="(item, index) in state.signConfigList" :key="index">
  23. <view :class="
  24. (index === state.signConfigList.length ? 'reward' : '') +
  25. ' ' +
  26. (state.signInfo.continuousDay >= item.day ? 'rewardTxt' : '')
  27. ">
  28. 第{{ item.day }}天
  29. </view>
  30. <view class="venus" :class="
  31. (index + 1 === state.signConfigList.length ? 'reward' : '') +
  32. ' ' +
  33. (state.signInfo.continuousDay >= item.day ? 'venusSelect' : '')
  34. ">
  35. </view>
  36. <view class="num" :class="state.signInfo.continuousDay >= item.day ? 'on' : ''">
  37. + {{ item.point }}
  38. </view>
  39. </view>
  40. </view>
  41. <!-- 签到按钮 -->
  42. <view class="myDateTable">
  43. <view class="ss-flex ss-col-center ss-row-center sign-box ss-m-y-40">
  44. <button class="ss-reset-button sign-btn" v-if="!state.signInfo.todaySignIn" @tap="onSign">
  45. 签到
  46. </button>
  47. <button class="ss-reset-button already-btn" v-else disabled> 已签到 </button>
  48. </view>
  49. </view>
  50. </view>
  51. <!-- 签到说明 TODO @科举:这里改成【已累计签到】 -->
  52. <view class="bg-white ss-m-t-16 ss-p-t-30 ss-p-b-60 ss-p-x-40">
  53. <view class="activity-title ss-m-b-30">签到说明</view>
  54. <view class="activity-des">1、已累计签到{{state.signInfo.totalDay}}天</view>
  55. <view class="activity-des">
  56. 2、据说连续签到第 {{ state.maxDay }} 天可获得超额佣金,一定要坚持签到哦~~~
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 签到结果弹窗 -->
  61. <su-popup :show="state.showModel" type="center" round="10" :isMaskClick="false">
  62. <view class="model-box ss-flex-col">
  63. <view class="ss-m-t-56 ss-flex-col ss-col-center">
  64. <text class="cicon-check-round"></text>
  65. <view class="score-title">
  66. <text v-if="state.signResult.point">{{ state.signResult.point }} 佣金 </text>
  67. <text v-if="state.signResult.experience"> {{ state.signResult.experience }} 经验</text>
  68. </view>
  69. <view class="model-title ss-flex ss-col-center ss-m-t-22 ss-m-b-30">
  70. 已连续打卡 {{ state.signResult.day }} 天
  71. </view>
  72. </view>
  73. <view class="model-bg ss-flex-col ss-col-center ss-row-right">
  74. <view class="title ss-m-b-64">签到成功</view>
  75. <view class="ss-m-b-40">
  76. <button class="ss-reset-button confirm-btn" @tap="onConfirm">确认</button>
  77. </view>
  78. </view>
  79. </view>
  80. </su-popup>
  81. </s-layout>
  82. </template>
  83. <script setup>
  84. import sheep from '@/sheep';
  85. import {
  86. onReady
  87. } from '@dcloudio/uni-app';
  88. import {
  89. reactive
  90. } from 'vue';
  91. import SignInApi from '@/sheep/api/member/signin';
  92. const headerBg = sheep.$url.css('/static/img/shop/app/sign.png');
  93. const state = reactive({
  94. loading: true,
  95. signInfo: {}, // 签到信息
  96. signConfigList: [], // 签到配置列表
  97. maxDay: 0, // 最大的签到天数
  98. showModel: false, // 签到弹框
  99. signResult: {}, // 签到结果
  100. });
  101. // 发起签到
  102. async function onSign() {
  103. const {
  104. code,
  105. data
  106. } = await SignInApi.createSignInRecord();
  107. if (code !== 0) {
  108. return;
  109. }
  110. state.showModel = true;
  111. state.signResult = data;
  112. // 重新获得签到信息
  113. await getSignInfo();
  114. }
  115. // 签到确认刷新页面
  116. function onConfirm() {
  117. state.showModel = false;
  118. }
  119. // 获得个人签到统计
  120. async function getSignInfo() {
  121. const {
  122. code,
  123. data
  124. } = await SignInApi.getSignInRecordSummary();
  125. if (code !== 0) {
  126. return;
  127. }
  128. state.signInfo = data;
  129. state.loading = false;
  130. console.log(data)
  131. }
  132. // 获取签到配置
  133. async function getSignConfigList() {
  134. const {
  135. code,
  136. data
  137. } = await SignInApi.getSignInConfigList();
  138. if (code !== 0) {
  139. return;
  140. }
  141. state.signConfigList = data;
  142. if (data.length > 0) {
  143. state.maxDay = data[data.length - 1].day;
  144. }
  145. }
  146. onReady(() => {
  147. getSignInfo();
  148. getSignConfigList();
  149. });
  150. // TODO 非繁人:1)css 需要优化,例如说引入的图片;2)删除多余的样式
  151. </script>
  152. <style lang="scss" scoped>
  153. .header-box {
  154. border-top: 2rpx solid rgba(#dfdfdf, 0.5);
  155. }
  156. // 日历
  157. .calendar {
  158. background: #fff;
  159. .sign-everyday {
  160. height: 100rpx;
  161. background: rgba(255, 255, 255, 1);
  162. border: 2rpx solid rgba(223, 223, 223, 0.4);
  163. .sign-everyday-title {
  164. font-size: 32rpx;
  165. color: rgba(51, 51, 51, 1);
  166. font-weight: 500;
  167. }
  168. .sign-num-box {
  169. font-size: 26rpx;
  170. font-weight: 500;
  171. color: rgba(153, 153, 153, 1);
  172. .sign-num {
  173. font-size: 30rpx;
  174. font-weight: 600;
  175. color: #ff6000;
  176. padding: 0 10rpx;
  177. font-family: OPPOSANS;
  178. }
  179. }
  180. }
  181. // 年月日
  182. .bar {
  183. height: 100rpx;
  184. .date {
  185. font-size: 30rpx;
  186. font-family: OPPOSANS;
  187. font-weight: 500;
  188. color: #333333;
  189. line-height: normal;
  190. }
  191. }
  192. .cicon-back {
  193. margin-top: 6rpx;
  194. font-size: 30rpx;
  195. color: #c4c4c4;
  196. line-height: normal;
  197. }
  198. .cicon-forward {
  199. margin-top: 6rpx;
  200. font-size: 30rpx;
  201. color: #c4c4c4;
  202. line-height: normal;
  203. }
  204. // 星期
  205. .week {
  206. .week-item {
  207. font-size: 24rpx;
  208. font-weight: 500;
  209. color: rgba(153, 153, 153, 1);
  210. flex: 1;
  211. }
  212. }
  213. // 日历表
  214. .myDateTable {
  215. display: flex;
  216. flex-wrap: wrap;
  217. .dateCell {
  218. width: calc(750rpx / 7);
  219. height: 80rpx;
  220. font-size: 26rpx;
  221. font-weight: 400;
  222. color: rgba(51, 51, 51, 1);
  223. }
  224. }
  225. }
  226. .is-sign {
  227. width: 48rpx;
  228. height: 48rpx;
  229. position: relative;
  230. .is-sign-num {
  231. font-size: 24rpx;
  232. font-family: OPPOSANS;
  233. font-weight: 500;
  234. line-height: normal;
  235. }
  236. .is-sign-image {
  237. position: absolute;
  238. left: 0;
  239. top: 0;
  240. width: 48rpx;
  241. height: 48rpx;
  242. }
  243. }
  244. .cell-num {
  245. font-size: 24rpx;
  246. font-family: OPPOSANS;
  247. font-weight: 500;
  248. color: #333333;
  249. line-height: normal;
  250. }
  251. .cicon-title {
  252. position: absolute;
  253. right: -10rpx;
  254. top: -6rpx;
  255. font-size: 20rpx;
  256. color: red;
  257. }
  258. // 签到按钮
  259. .sign-box {
  260. height: 140rpx;
  261. width: 100%;
  262. .sign-btn {
  263. width: 710rpx;
  264. height: 80rpx;
  265. border-radius: 35rpx;
  266. font-size: 30rpx;
  267. font-weight: 500;
  268. box-shadow: 0 0.2em 0.5em rgba(#ff6000, 0.4);
  269. background: linear-gradient(90deg, #ff6000, #fe832a);
  270. color: #fff;
  271. }
  272. .already-btn {
  273. width: 710rpx;
  274. height: 80rpx;
  275. border-radius: 35rpx;
  276. font-size: 30rpx;
  277. font-weight: 500;
  278. }
  279. }
  280. .model-box {
  281. width: 520rpx;
  282. // height: 590rpx;
  283. background: linear-gradient(177deg, #ff6000 0%, #fe832a 100%);
  284. // background: linear-gradient(177deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
  285. border-radius: 10rpx;
  286. .cicon-check-round {
  287. font-size: 70rpx;
  288. color: #fff;
  289. }
  290. .score-title {
  291. font-size: 34rpx;
  292. font-family: OPPOSANS;
  293. font-weight: 500;
  294. color: #fcff00;
  295. }
  296. .model-title {
  297. font-size: 28rpx;
  298. font-weight: 500;
  299. color: #ffffff;
  300. }
  301. .model-bg {
  302. width: 520rpx;
  303. height: 344rpx;
  304. background-size: 100% 100%;
  305. background-image: v-bind(headerBg);
  306. background-repeat: no-repeat;
  307. border-radius: 0 0 10rpx 10rpx;
  308. .title {
  309. font-size: 34rpx;
  310. font-weight: bold;
  311. // color: var(--ui-BG-Main);
  312. color: #ff6000;
  313. }
  314. .subtitle {
  315. font-size: 26rpx;
  316. font-weight: 500;
  317. color: #999999;
  318. }
  319. .cancel-btn {
  320. width: 220rpx;
  321. height: 70rpx;
  322. border: 2rpx solid #ff6000;
  323. border-radius: 35rpx;
  324. font-size: 28rpx;
  325. font-weight: 500;
  326. color: #ff6000;
  327. line-height: normal;
  328. margin-right: 10rpx;
  329. }
  330. .confirm-btn {
  331. width: 220rpx;
  332. height: 70rpx;
  333. background: linear-gradient(90deg, #ff6000, #fe832a);
  334. box-shadow: 0 0.2em 0.5em rgba(#ff6000, 0.4);
  335. border-radius: 35rpx;
  336. font-size: 28rpx;
  337. font-weight: 500;
  338. color: #ffffff;
  339. line-height: normal;
  340. }
  341. }
  342. }
  343. //签到说明
  344. .activity-title {
  345. font-size: 32rpx;
  346. font-weight: 500;
  347. color: #333333;
  348. line-height: normal;
  349. }
  350. .activity-des {
  351. font-size: 26rpx;
  352. font-weight: 500;
  353. color: #666666;
  354. line-height: 40rpx;
  355. }
  356. .reward {
  357. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAAA4CAYAAAC1+AWFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowYWFmYjU3Mi03MGJhLTRiNDctOTI2Yi0zOThlZDkzZDkxMDkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUEyNzZEMjZEMDFCMTFFOEIzQzhEMjMxNjI1NENDQjciIHhtc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t {
  362. width: 74rpx;
  363. height: 32rpx;
  364. background-color: #f4b409;
  365. border-radius: 16rpx;
  366. font-size: 20rpx;
  367. color: #a57d3f;
  368. line-height: 32rpx;
  369. }
  370. .venusSelect {
  371. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowYWFmYjU3Mi03MGJhLTRiNDctOTI2Yi0zOThlZDkzZDkxMDkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzkwRkI4NEFEMDFCMTFFODhDNDdBMDVGOTBBN0U2NTQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzkwRkI4NDlEMDFCMTFFODhDNDdBMDVGOTB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/A8aOTg4YKenv/EBr8Nl5ZUO6jPJRGCg0dJie/d3WbPZlMpPMwpZsN0Y2sOVb7PcOzou22CGe3u7fB3J3Cd+udvvScG9soT0Kt13tAZj4UVRwHmWtZClcj+azX6vxx0GN8ECUFyHjnsEp+KlM8b3TBTKBCDqkA/SIFV20jCbO3duk8OIcgHF7G9ttbinVYFLcTBgeAAP+vc4mAkJVywLibARpZvOjWWA36rApYSI1+DSMhltkJPpRGIyJrXAZeWiWiCnk9kNU4RGl8m5MN1VLFzwWKobLm83kQtZbnMb8lgYJ2aIYH//3g73lEHQ5ECAXYUSu7QWZeCKqmoCcqSyPkQgd8lHbne3uSMRbWenSwNtU476BxtT9oJQOZ3OKKloq6SmmXBlyoZKb3nG4wnXyt1ul9261UkN9ggjvd497mDOz885KGN3pfvKg1OuixY15JCHh2/ymFjUms2AMqD9BFB/qwUQg5ZtrVY9b7H/LxtmZSCbaCr9KgGmpEeG6qpzM2tQBHudb5eKNLfKiUMzgAIyL6uRreHklB9qX4MDlQfLpHUV4AY6AB+rzl4ZyIqa+0aHiX6UlDTwMcK2CqQoEGmEE5+RfFK4N636vWjKh0Cp5ceS38k8JXko8yHQ7W7PXKBPBvYwGegNF4/q12g05mV7HXClqgs1ffEr+/LmaTIx0nCb+uI3U5M64Tadi5aBrBXORLKdB1k7nKndhID8GqUaErze/coEXJ1OJm9CY2bw3wr+FGAAoa6PIUihovYAAAAASUVORK5CYII=');
  375. background-repeat: no-repeat;
  376. background-size: 100% 100%;
  377. width: 56rpx;
  378. height: 56rpx;
  379. margin: 10rpx 0;
  380. }
  381. .num {
  382. font-size: 36rpx;
  383. font-family: 'Guildford Pro';
  384. }
  385. .item {
  386. align-items: center;
  387. justify-content: space-between;
  388. border-bottom: 1px solid #eee;
  389. height: 130rpx;
  390. }
  391. .reward {
  392. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAAA4CAYAAAC1+AWFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZS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aax6IA7DILDqJvZEBJ0O+br5hXlmxEU7eXKBJt2gnPEf2iIdNhlkEY1Gw6D6Opgshka40jcpK8dWUYXhN2mwEdCWEwsL1rFjTeV1EFosLp5ixv3BgwcMmsndueXlZV9L9UridqoafFwIYNKQ0509+3TU40WThpxtdXWFwzKrwWdxtykBrPFkb2dRdweApK1erxvDCltoP2IPv8eQGJbwiOK+4YxuCabS/jDNQgkINldDwSNhFVWBIaDJ/YatWlaqn4UWAYbqoTh8FZ8Fxlo0gdUOrg6LgxSxjsruIC5L+VyVUVNBYZmCMkYrMI0KLGrLxOMhzN9RlTqCEhUYjsfjI9MoPyAeKNMl1bgVzzmg6P+diWbd5BXUS3IFVbFV8XzWXBiwqGg+ac0+rESs6bGxU1I9nxVn4G9FnSylR1e13ElIpK0DzBQUb0hh3iS5nkZ7s3i0+zqHZdR0csmUoJBevJ0WVCaweLuYZjBRwFKC8jioH7OYZCawSLsGJLg5i/tswWwX79fp8wKE27cbKmDI/YRDwBHvFaBw7px0vUJEvxesHD7aLaBd5QPc4H+6jff87+I7yFnOq4DB7eMuTLvdYbfuFWEAzjnPryE3Zb9pzIPSUUzxtzvLJH9a4b+hqfPJvKB5zRsccidlv+awZvyzX11gOqDMVvU/9LPf0C15FKBmarOmACw3oPICSwb2OQlu4+Cxv8/yBCoPNitsAcdWDv9Vwb8CDACdCFE+P8dk8gAAAABJRU5ErkJggg==');
  393. width: 75rpx;
  394. height: 56rpx;
  395. }
  396. .on {
  397. background-color: #999 !important;
  398. }
  399. </style>