home.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. <template>
  2. <view class="tabPage" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <u-navbar bgColor="transparent">
  4. <view class="u-nav-slot" slot="left" style="display: flex;background-color: transparent;">
  5. <image :src="imgBase+'home_logo.png'" style="width: 375rpx;height: 54rpx;margin-left: 12rpx;"></image>
  6. </view>
  7. </u-navbar>
  8. <image class="topbg" :src="imgBase+'home_top_bg.png'" mode="widthFix"></image>
  9. <view class="lunbo">
  10. <u-swiper
  11. :list="bannarList"
  12. @change="e => current = e.current"
  13. @click="bannerClick"
  14. :autoplay="true"
  15. :interval="2000"
  16. :duration="200"
  17. :circular="true"
  18. imgMode="scaleToFill"
  19. height="368rpx"
  20. >
  21. <template #indicator>
  22. <view class="indicator adf">
  23. <view class="indicator__dot" v-for="(item, index) in bannarList" :key="index"
  24. :class="[index === current && 'indicator__dot--active']">
  25. </view>
  26. </view>
  27. </template>
  28. </u-swiper>
  29. </view>
  30. <view class="preill adfacjb">
  31. <view class="preill-box" @click="toTurn('/pagesHome/questionnaire?type=receive')">
  32. <view class="preill-box-title">我的PERILL评估:<span>{{perillPJ.sum||0}}</span></view>
  33. <view class="preill-box-state adfacjb">
  34. <view class="preill-box-state-pre adfac grey">我收到:<span>{{perillPJ.received||0}}</span></view>
  35. <view class="preill-box-state-pre adfac yellow">我创建:<span>{{perillPJ.created||0}}</span></view>
  36. </view>
  37. <view class="preill-box-progress">
  38. <view class="preill-box-progress-current pbp-yellow" :style="{'width':((perillPJ.received||0)/(perillPJ.sum||9999)*100)+'%'}"></view>
  39. </view>
  40. </view>
  41. <view class="preill-box" @click="toTurn('/pagesHome/report')">
  42. <view class="preill-box-title">我的PREILL报告:<span>{{perillBG.sum||0}}</span></view>
  43. <view class="preill-box-state adfacjb">
  44. <view class="preill-box-state-pre adfac green">我收到:<span>{{perillBG.received||0}}</span></view>
  45. <!-- <view class="preill-box-state-pre adfac grey">我发送:<span>{{perillBG.sent||0}}</span></view> -->
  46. <view class="preill-box-state-pre adfac grey">我生成:<span>{{perillBG.generated||0}}</span></view>
  47. </view>
  48. <view class="preill-box-progress">
  49. <view class="preill-box-progress-current pbp-green" :style="{'width':((perillBG.received||0)/(perillBG.sum||9999)*100)+'%'}"></view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="boxs adfacjb">
  54. <!-- <view class="boxs-pre bp1" @click="toTurn('/pages/dialog')"> -->
  55. <view class="boxs-pre bp1" @click="testShow=true">
  56. <view class="boxs-pre-title">AI教练对话</view>
  57. <!-- <view class="boxs-pre-tip adfac">点击开始<image :src="imgBase+'home_arrow_right.png'"></image></view> -->
  58. <view class="boxs-pre-tip adfac">即将上线,敬请期待</view>
  59. </view>
  60. <view class="boxs-pre bp2" @click="toTurn('/pagesHome/weixin')">
  61. <view class="boxs-pre-title">专业支持</view>
  62. <view class="boxs-pre-tip adfac">添加客服微信预约<image :src="imgBase+'home_arrow_right.png'"></image></view>
  63. </view>
  64. </view>
  65. <view class="common">
  66. <view class="common-title">常用功能</view>
  67. <view class="common-menu adf">
  68. <view class="common-menu-pre adffcac" @click="openHtml('PERILL团队发展动态评估系统介绍.html')">
  69. <image :src="imgBase+'home_img_pinggu.png'"></image>
  70. <text>PERILL团队发展动态评估介绍</text>
  71. </view>
  72. <view class="common-menu-pre adffcac" @click="openHtml('PERILL团队发展动态评估系统使用说明.html')">
  73. <image :src="imgBase+'home_img_baogao.png'"></image>
  74. <text>PERILL团队发展动态评估说明</text>
  75. </view>
  76. <view class="common-menu-pre adffcac" @click="toTurn('/pagesHome/questionnaire?type=create')">
  77. <image :src="imgBase+'home_img_guanli.png'"></image>
  78. <text>问卷管理</text>
  79. </view>
  80. <view class="common-menu-pre adffcac" @click="openHtml('PERILL常见问题与支持.html')">
  81. <image :src="imgBase+'home_img_qywx.png'" style="width: 74rpx;"></image>
  82. <text>常见问题与支持</text>
  83. </view>
  84. </view>
  85. </view>
  86. <view class="new-user-free adffcacjc" v-if="newUserFreeShow">
  87. <view class="new-user-free-box1">
  88. <view class="new-user-free-box1-text">PERILL评估</view>
  89. <view class="new-user-free-box1-text" style="margin-top: 8rpx;">个人版免费体验1次</view>
  90. </view>
  91. <view class="new-user-free-box2 adffcac">
  92. <view class="new-user-free-box2-price adfacjb">
  93. <view class="new-user-free-box2-price-left adffc">
  94. <view class="new-user-free-box2-price-left-title">仅限个人创建使用</view>
  95. <view class="new-user-free-box2-price-left-tip">领取后1年内有效</view>
  96. </view>
  97. <view class="new-user-free-box2-price-right adffcac">
  98. <view class="new-user-free-box2-price-right-top">1次</view>
  99. <view class="new-user-free-box2-price-right-bottom">原价699/次</view>
  100. </view>
  101. </view>
  102. <view class="new-user-free-box2-btn" @click="handleFree">免费体验</view>
  103. </view>
  104. <image class="new-user-free-close" :src="imgBase+'new_free_close.png'" @click="newUserFreeShow=false"></image>
  105. </view>
  106. <view class="kind-reminder adffcacjc" v-if="teamKindShow">
  107. <view class="kr-box adffcac">
  108. <image :src="imgBase+'remind_close.png'" @click="teamKindShow=false"></image>
  109. <view class="kr-title">温馨提示</view>
  110. <view class="kr-p" style="margin-top: 32rpx;">{{teamKindMsg}}</view>
  111. <view class="kr-btn" @click="teamKindShow=false">我知道了</view>
  112. </view>
  113. </view>
  114. <view class="kind-reminder adffcacjc" v-if="questionnaireKindShow">
  115. <view class="kr-box adffcac">
  116. <image :src="imgBase+'remind_close.png'" @click="questionnaireKindShow=false"></image>
  117. <view class="kr-title">温馨提示</view>
  118. <view class="kr-p" style="margin-top: 32rpx;">你有一份<span>“PERILL倍力团队六维评估(团队版)”</span>问卷待完成,请及时作答,</view>
  119. <view class="kr-p">以便我们为您提供精准分析。</view>
  120. <view class="kr-btn" @click="handleToFill">去填写</view>
  121. </view>
  122. </view>
  123. <view class="kind-reminder adffcacjc" v-if="testShow">
  124. <view class="kr-box adffcac">
  125. <view class="kr-title">温馨提示</view>
  126. <view class="kr-p" style="margin-top: 54rpx;">功能测试中,即将上线,敬请期待!</view>
  127. <view class="kr-btn" @click="testShow=false">确定</view>
  128. </view>
  129. </view>
  130. <Tabbar :tabbarIndex="0"></Tabbar>
  131. </view>
  132. </template>
  133. <script>
  134. import Tabbar from '@/components/CusTabbar/index.vue'
  135. export default {
  136. components:{ Tabbar },
  137. data(){
  138. return {
  139. current:0,
  140. perillPJ:null,
  141. perillBG:null,
  142. defaultBanner:this.$imgBase+'home_lb.png',
  143. bannerOrigin:[],
  144. bannarList:[],
  145. newUserFreeShow:false,
  146. teamKindShow:false,
  147. teamKindMsg:'',
  148. questionnaireKindShow:false,
  149. testShow:false
  150. }
  151. },
  152. onLoad(options) {
  153. this.getBannerList();
  154. if(options.q){
  155. try{
  156. const decodedUrl = decodeURIComponent(options.q);
  157. const codeMatch = decodedUrl.match(/type=([^&]+)/);
  158. const codeMatchId = decodedUrl.match(/shareUserId=([^&]+)/);
  159. const stationCode = codeMatch ? codeMatch[1] : null;
  160. const stationCodeId = codeMatchId ? codeMatchId[1] : null;
  161. if(stationCode) uni.setStorageSync('channelType',stationCode)
  162. if(stationCodeId){
  163. uni.setStorageSync('shareUserId',stationCodeId)
  164. uni.setStorageSync('channelType','Forward')
  165. }
  166. }catch(e){
  167. console.log(e,'e');
  168. }
  169. }
  170. if(options.shareType) uni.setStorageSync('channelType',options.shareType)
  171. if(options.shareUserId) uni.setStorageSync('shareUserId',options.shareUserId)
  172. if(options.shareTQId) uni.setStorageSync('shareTQId',options.shareTQId)
  173. if(options.shareTQId||uni.getStorageSync('shareTQId')){
  174. // if(uni.getStorageSync('userInfo')&&uni.getStorageSync('shareUserId')==JSON.parse(uni.getStorageSync('userInfo')).id) return
  175. // 邀请进来的并且已经登录的
  176. if(uni.getStorageSync('userInfo')){
  177. this.$api.get('/wx/queShareCheck',{
  178. channelType:uni.getStorageSync('channelType')||'',
  179. phone:JSON.parse(uni.getStorageSync('userInfo')).mobile||'',
  180. referrerId:uni.getStorageSync('shareUserId')||'',
  181. teamQuestionnaireId:uni.getStorageSync('shareTQId')||'',
  182. }).then(({data:res})=>{
  183. if(res.code!==0){
  184. this.teamKindMsg = res.msg||'';
  185. this.teamKindShow = true;
  186. }else if(res.code===0&&res.data==1) this.questionnaireKindShow = true;
  187. })
  188. }
  189. }
  190. if(uni.getStorageSync('token')){
  191. this.getPerillPJ();
  192. this.getPerillBG();
  193. }
  194. if(uni.getStorageSync('newUser')) this.newUserFreeShow = true;
  195. },
  196. methods:{
  197. openHtml(filename){
  198. uni.navigateTo({
  199. url:'/pages/webView?src='+encodeURIComponent(this.$htmlUrl(filename))
  200. })
  201. },
  202. getBannerList(){
  203. //space 广告位置: 1首页 2发布问卷
  204. //type 类型: 1 banner区 2弹框
  205. this.$api.get('/core/advertisement/manage/page',{
  206. space:1,
  207. type:1
  208. }).then(({data:res})=>{
  209. if(res.code!==0) return this.$showToast(res.msg)
  210. if(res.data&&res.data.length){
  211. const list = res.data.filter(l=>l.enable==1);
  212. this.bannerOrigin = list;
  213. this.bannarList = list.map(d=>d.fileUrl);
  214. } else this.bannarList = [this.defaultBanner]
  215. })
  216. },
  217. bannerClick(e){
  218. let banner = this.bannerOrigin[e];
  219. if(banner&&banner?.redirect){
  220. if(banner?.redirectType==1){//微信公众号
  221. uni.navigateTo({
  222. url:'/pages/webView?src='+banner?.redirect
  223. })
  224. }else if(banner?.redirectType==2){//微信小程序
  225. uni.navigateToMiniProgram({
  226. appId:banner?.redirect
  227. })
  228. }
  229. }
  230. },
  231. toTurn(url){
  232. if(!url) return
  233. const notloginurls = ['/pages/dialog','/pagesHome/weixin',];
  234. if(!notloginurls.includes(url)&&!this.isLogin()) return
  235. uni.navigateTo({
  236. url
  237. })
  238. },
  239. getPerillPJ(){
  240. this.$api.get('/core/teammember/que/questionnaireStats').then(res=>{
  241. if(res.data.code!==0) return
  242. const stats = res.data.data||{};
  243. const hasUsableStats = stats.participated !== undefined
  244. && stats.received !== undefined
  245. && stats.created !== undefined
  246. && (Number(stats.participated||0) > 0
  247. || Number(stats.received||0) > 0
  248. || Number(stats.created||0) > 0);
  249. if(hasUsableStats){
  250. this.perillPJ = Object.assign({}, stats, {sum:Number(stats.participated||0)});
  251. return;
  252. }
  253. this.loadPerillStatsFallback();
  254. })
  255. },
  256. loadPerillStatsFallback(){
  257. Promise.all([
  258. this.$api.get('/core/teammember/que/listByUser'),
  259. this.$api.get('/core/teammember/que/personalList',{teamName:''}),
  260. this.$api.get('/core/teammember/que/createList',{teamName:''})
  261. ]).then(([participatedRes, receivedRes, createdRes])=>{
  262. const uniqueTaskCount = response => {
  263. const result = response && response.data && response.data.code===0
  264. ? response.data.data : [];
  265. return new Set((result||[]).map(item =>
  266. item.teamQuestionnaireId || item.team_questionnaire_id || item.id
  267. ).filter(Boolean)).size;
  268. };
  269. const participated = uniqueTaskCount(participatedRes);
  270. this.perillPJ = {
  271. participated,
  272. received:uniqueTaskCount(receivedRes),
  273. created:uniqueTaskCount(createdRes),
  274. sum:participated
  275. };
  276. }).catch(()=>{
  277. this.perillPJ = {participated:0,received:0,created:0,sum:0};
  278. });
  279. },
  280. getPerillBG(){
  281. this.$api.get('/core/report/reportStats').then(res=>{
  282. if(res.data.code!==0) return
  283. this.perillBG = res.data.data||{};
  284. // this.perillBG.sum = (this.perillBG?.received||0)+(this.perillBG?.sent||0);
  285. this.perillBG.sum = (this.perillBG?.received||0)+(this.perillBG?.generated||0);
  286. })
  287. },
  288. getWjList(){
  289. this.$api.get('/core/teammember/que/listByUser').then(res=>{
  290. if(res.data.code!==0) return
  291. this.wjDwc = res.data.data.filter(d=>d.status===0).length;
  292. this.wjYwc = res.data.data.filter(d=>d.status===1).length;
  293. })
  294. },
  295. getReportList(){
  296. this.$api.get('/core/report/member/personalReportList').then(res=>{
  297. if(res.data.code!==0) return
  298. this.reportCount = res.data.data.length;
  299. })
  300. },
  301. handleToFill(){
  302. this.questionnaireKindShow = false;
  303. uni.navigateTo({
  304. url:'/pagesHome/questionnaire?type=receive'
  305. })
  306. },
  307. handleFree(){
  308. uni.reLaunch({
  309. url:'/pages/publish'
  310. })
  311. },
  312. onShareAppMessage() {
  313. const sharerId = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo'))?.id || '' : '';
  314. return {
  315. title: '致力于帮助企业打造高价值创造团队',
  316. path: `/pages/home?shareUserId=${sharerId}&shareType=Forward`,
  317. imageUrl: this.$imgBase + 'share_fm.png'
  318. };
  319. },
  320. onShareTimeline() {
  321. const sharerId = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo'))?.id || '' : '';
  322. return {
  323. title: '致力于帮助企业打造高价值创造团队',
  324. query: `shareUserId=${sharerId}&shareType=Forward`,
  325. imageUrl: this.$imgBase + 'share_fm.png'
  326. };
  327. }
  328. }
  329. }
  330. </script>
  331. <style scoped lang="scss">
  332. @import '../static/_asset-config';
  333. ::v-deep .u-swiper{
  334. border-radius: 24rpx !important;
  335. }
  336. ::v-deep .indicator__dot{
  337. width: 10rpx;
  338. height: 10rpx;
  339. background: transparent;
  340. border: 2rpx solid #FFFFFF;
  341. border-radius: 50%;
  342. margin: 0 7rpx;
  343. }
  344. ::v-deep .indicator__dot--active{
  345. width: 10rpx;
  346. height: 10rpx;
  347. background: #FFFFFF;
  348. }
  349. .tabPage{
  350. background: #F7F7F7;
  351. .topbg{
  352. width: 100%;
  353. height: 720rpx;
  354. position: fixed;
  355. top: 0;
  356. left: 0;
  357. right: 0;
  358. }
  359. .lunbo{
  360. width: 100%;
  361. height: 368rpx;
  362. margin-top: 30rpx;
  363. position: relative;
  364. }
  365. .preill{
  366. margin-top: 30rpx;
  367. position: relative;
  368. &-box{
  369. width: calc(50% - 11rpx);
  370. background: #FFFFFF;
  371. border-radius: 24rpx;
  372. padding: 54rpx 24rpx 52rpx;
  373. box-sizing: border-box;
  374. &-title{
  375. font-family: PingFang-SC, PingFang-SC;
  376. font-weight: bold;
  377. font-size: 28rpx;
  378. color: #002846;
  379. line-height: 28rpx;
  380. span{
  381. font-size: 36rpx;
  382. }
  383. }
  384. &-num{
  385. font-family: PingFang-SC, PingFang-SC;
  386. font-weight: 800;
  387. font-size: 40rpx;
  388. color: #002846;
  389. line-height: 40rpx;
  390. margin-top: 24rpx;
  391. }
  392. &-state{
  393. margin-top: 46rpx;
  394. &-pre{
  395. padding-left: 16rpx;
  396. position: relative;
  397. font-family: PingFangSC, PingFang SC;
  398. font-weight: 400;
  399. font-size: 24rpx;
  400. color: #335368;
  401. line-height: 20rpx;
  402. span{
  403. color: #1D2129;
  404. }
  405. &::before{
  406. content: '';
  407. width: 10rpx;
  408. height: 10rpx;
  409. border-radius: 5rpx;
  410. position: absolute;
  411. left: 0;
  412. top: 50%;
  413. margin-top: -5rpx;
  414. }
  415. &.grey{
  416. &::before{
  417. background: #DDE0E6;
  418. }
  419. }
  420. &.yellow{
  421. &::before{
  422. background: #FFD750;
  423. }
  424. }
  425. &.green{
  426. &::before{
  427. background: #31D1D6;
  428. }
  429. }
  430. }
  431. }
  432. &-progress{
  433. margin-top: 24rpx;
  434. width: 100%;
  435. height: 10rpx;
  436. background: #DFE5EE;
  437. border-radius: 5rpx;
  438. position: relative;
  439. &-current{
  440. height: 10rpx;
  441. border-radius: 4rpx;
  442. position: absolute;
  443. left: 0;
  444. top: 0;
  445. }
  446. .pbp-yellow{
  447. background: #FFD750;
  448. }
  449. .pbp-green{
  450. background: #31D1D6;
  451. }
  452. }
  453. }
  454. }
  455. .boxs{
  456. margin-top: 20rpx;
  457. position: relative;
  458. &-pre{
  459. width: calc(50% - 11rpx);
  460. padding: 42rpx 0 0 20rpx;
  461. box-sizing: border-box;
  462. height: 184rpx;
  463. &-title{
  464. font-family: PingFang-SC, PingFang-SC;
  465. font-weight: bold;
  466. font-size: 32rpx;
  467. color: #E0EFEF;
  468. line-height: 45rpx;
  469. }
  470. &-tip{
  471. font-family: PingFangSC, PingFang SC;
  472. font-weight: 400;
  473. font-size: 24rpx;
  474. color: #E0EFEF;
  475. line-height: 33rpx;
  476. margin-top: 16rpx;
  477. image{
  478. width: 26rpx;
  479. height: 26rpx;
  480. margin-left: 12rpx;
  481. }
  482. }
  483. &.bp1{
  484. background: asset-image('home_box_bg1.png') no-repeat;
  485. background-size: 100% 100%;
  486. }
  487. &.bp2{
  488. background: asset-image('home_box_bg2.png') no-repeat;
  489. background-size: 100% 100%;
  490. }
  491. }
  492. }
  493. .common{
  494. margin-top: 20rpx;
  495. background: #FFFFFF;
  496. border-radius: 24rpx;
  497. padding: 40rpx 24rpx 48rpx;
  498. position: relative;
  499. &-title{
  500. font-family: PingFang-SC, PingFang-SC;
  501. font-weight: bold;
  502. font-size: 34rpx;
  503. color: #002846;
  504. line-height: 48rpx;
  505. }
  506. &-menu{
  507. width: calc(100% + 48rpx);
  508. margin-left: -24rpx;
  509. margin-top: 45rpx;
  510. &-pre{
  511. width: calc(100% / 4);
  512. image{
  513. width: 64rpx;
  514. height: 64rpx;
  515. }
  516. text{
  517. font-family: PingFangSC, PingFang SC;
  518. font-weight: 400;
  519. font-size: 22rpx;
  520. color: #193D59;
  521. line-height: 32rpx;
  522. text-align: center;
  523. margin-top: 24rpx;
  524. padding: 0 4rpx;
  525. }
  526. }
  527. }
  528. }
  529. .new-user-free{
  530. position: fixed;
  531. left: 0;
  532. right: 0;
  533. top: 0;
  534. bottom: 0;
  535. background: rgba(0, 0, 0, .6);
  536. z-index: 1000;
  537. &-box1{
  538. width: calc(100% - 180rpx);
  539. height: 280rpx;
  540. background: asset-image('new_free_title.png') no-repeat;
  541. background-size: 100% 100%;
  542. padding-left: 53rpx;
  543. &-text{
  544. font-family: SourceHanSansCN, SourceHanSansCN;
  545. font-weight: bold;
  546. font-size: 36rpx;
  547. color: #874016;
  548. line-height: 54rpx;
  549. margin-top: 140rpx;
  550. }
  551. }
  552. &-box2{
  553. width: calc(100% - 140rpx);
  554. background: #FFFFFF;
  555. border-radius: 24rpx;
  556. padding: 45rpx 25rpx 42rpx;
  557. box-sizing: border-box;
  558. &-price{
  559. width: 100%;
  560. height: 132rpx;
  561. background: asset-image('new_free_price.png') no-repeat;
  562. background-size: 100% 100%;
  563. padding: 27rpx 34rpx 27rpx 30rpx;
  564. box-sizing: border-box;
  565. &-left{
  566. &-title{
  567. font-family: PingFang-SC, PingFang-SC;
  568. font-weight: bold;
  569. font-size: 28rpx;
  570. color: #5E2E11;
  571. line-height: 36rpx;
  572. }
  573. &-tip{
  574. font-family: PingFangSC, PingFang SC;
  575. font-weight: 400;
  576. font-size: 24rpx;
  577. color: #808080;
  578. line-height: 32rpx;
  579. margin-top: 10rpx;
  580. }
  581. }
  582. &-right{
  583. &-top{
  584. font-family: PingFang-SC, PingFang-SC;
  585. font-weight: bold;
  586. font-size: 48rpx;
  587. color: #FF5A09;
  588. line-height: 67rpx;
  589. }
  590. &-bottom{
  591. font-family: PingFangSC, PingFang SC;
  592. font-weight: 400;
  593. font-size: 24rpx;
  594. color: #612D11;
  595. line-height: 33rpx;
  596. margin-top: 3rpx;
  597. text-decoration: line-through;
  598. }
  599. }
  600. }
  601. &-btn{
  602. width: calc(100% - 170rpx);
  603. height: 80rpx;
  604. border-radius: 40rpx;
  605. background: asset-image('new_free_btn.png') no-repeat;
  606. background-size: 100% 100%;
  607. font-family: PingFang-SC, PingFang-SC;
  608. font-weight: bold;
  609. font-size: 32rpx;
  610. color: #5E2E11;
  611. line-height: 80rpx;
  612. text-align: center;
  613. letter-spacing: 2rpx;
  614. margin-top: 38rpx;
  615. }
  616. }
  617. &-close{
  618. width: 64rpx;
  619. height: 64rpx;
  620. margin-top: 48rpx;
  621. }
  622. }
  623. .kind-reminder{
  624. position: fixed;
  625. left: 0;
  626. right: 0;
  627. top: 0;
  628. bottom: 0;
  629. z-index: 1000;
  630. background: rgba(0, 0, 0, .6);
  631. .kr-box{
  632. width: calc(100% - 100rpx);
  633. padding: 54rpx 60rpx 48rpx;
  634. box-sizing: border-box;
  635. background: asset-image('remind_bg.png') no-repeat;
  636. background-size: 100% 100%;
  637. position: relative;
  638. image{
  639. width: 48rpx;
  640. height: 48rpx;
  641. position: absolute;
  642. top: 40rpx;
  643. right: 30rpx;
  644. }
  645. .kr-title{
  646. font-family: PingFang-SC, PingFang-SC;
  647. font-weight: bold;
  648. font-size: 36rpx;
  649. color: #002846;
  650. line-height: 56rpx;
  651. text-align: center;
  652. }
  653. .kr-p{
  654. font-family: PingFangSC, PingFang SC;
  655. font-weight: 400;
  656. font-size: 30rpx;
  657. color: #002846;
  658. line-height: 48rpx;
  659. text-align: center;
  660. span{
  661. font-weight: bold;
  662. margin: 0 10rpx;
  663. }
  664. }
  665. .kr-btn{
  666. width: calc(100% - 80rpx);
  667. height: 88rpx;
  668. background: linear-gradient( 90deg, #33A7A7 0%, #64BBBB 100%);;
  669. border-radius: 44rpx;
  670. font-family: PingFang-SC, PingFang-SC;
  671. font-weight: bold;
  672. font-size: 32rpx;
  673. color: #FFFFFF;
  674. line-height: 88rpx;
  675. text-align: center;
  676. letter-spacing: 2rpx;
  677. margin-top: 66rpx;
  678. }
  679. }
  680. }
  681. }
  682. </style>