home.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  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">我的PREILL评估:<span>{{perillPJ.sum||0}}</span></view>
  33. <view class="preill-box-state adfacjb">
  34. <view class="preill-box-state-pre adfac grey">我收到:<span>{{perillPJ.completed||0}}</span></view>
  35. <view class="preill-box-state-pre adfac yellow">我创建:<span>{{perillPJ.uncompleted||0}}</span></view>
  36. </view>
  37. <view class="preill-box-progress">
  38. <view class="preill-box-progress-current pbp-yellow" :style="{'width':((perillPJ.completed||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="toTurn('/pages/perillPgjs')">
  69. <image :src="imgBase+'home_img_pinggu.png'"></image>
  70. <text>PERILL团队发展动态评估介绍</text>
  71. </view>
  72. <view class="common-menu-pre adffcac" @click="toTurn('/pages/perillPgsm')">
  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="toTurn('/pages/support')">
  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. getBannerList(){
  198. //space 广告位置: 1首页 2发布问卷
  199. //type 类型: 1 banner区 2弹框
  200. this.$api.get('/core/advertisement/manage/page',{
  201. space:1,
  202. type:1
  203. }).then(({data:res})=>{
  204. if(res.code!==0) return this.$showToast(res.msg)
  205. if(res.data&&res.data.length){
  206. const list = res.data.filter(l=>l.enable==1);
  207. this.bannerOrigin = list;
  208. this.bannarList = list.map(d=>d.fileUrl);
  209. } else this.bannarList = [this.defaultBanner]
  210. })
  211. },
  212. bannerClick(e){
  213. let banner = this.bannerOrigin[e];
  214. if(banner&&banner?.redirect){
  215. if(banner?.redirectType==1){//微信公众号
  216. uni.navigateTo({
  217. url:'/pages/webView?src='+banner?.redirect
  218. })
  219. }else if(banner?.redirectType==2){//微信小程序
  220. uni.navigateToMiniProgram({
  221. appId:banner?.redirect
  222. })
  223. }
  224. }
  225. },
  226. toTurn(url){
  227. if(!url) return
  228. const notloginurls = ['/pages/dialog','/pages/support','/pagesHome/weixin','perillPgjs','perillPgsm'];
  229. if(!notloginurls.includes(url)&&!this.isLogin()) return
  230. uni.navigateTo({
  231. url
  232. })
  233. },
  234. getPerillPJ(){
  235. this.$api.get('/core/teammember/que/questionnaireStats').then(res=>{
  236. if(res.data.code!==0) return
  237. this.perillPJ = res.data.data||{};
  238. this.perillPJ.sum = (this.perillPJ?.completed||0)+(this.perillPJ?.uncompleted||0);
  239. })
  240. },
  241. getPerillBG(){
  242. this.$api.get('/core/report/reportStats').then(res=>{
  243. if(res.data.code!==0) return
  244. this.perillBG = res.data.data||{};
  245. // this.perillBG.sum = (this.perillBG?.received||0)+(this.perillBG?.sent||0);
  246. this.perillBG.sum = (this.perillBG?.received||0)+(this.perillBG?.generated||0);
  247. })
  248. },
  249. getWjList(){
  250. this.$api.get('/core/teammember/que/listByUser').then(res=>{
  251. if(res.data.code!==0) return
  252. this.wjDwc = res.data.data.filter(d=>d.status===0).length;
  253. this.wjYwc = res.data.data.filter(d=>d.status===1).length;
  254. })
  255. },
  256. getReportList(){
  257. this.$api.get('/core/report/member/personalReportList').then(res=>{
  258. if(res.data.code!==0) return
  259. this.reportCount = res.data.data.length;
  260. })
  261. },
  262. handleToFill(){
  263. this.questionnaireKindShow = false;
  264. uni.navigateTo({
  265. url:'/pagesHome/questionnaire?type=receive'
  266. })
  267. },
  268. handleFree(){
  269. uni.reLaunch({
  270. url:'/pages/publish'
  271. })
  272. },
  273. onShareAppMessage() {
  274. const sharerId = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo'))?.id || '' : '';
  275. return {
  276. title: '致力于帮助企业打造高价值创造团队',
  277. path: `/pages/home?shareUserId=${sharerId}&shareType=Forward`,
  278. imageUrl: this.$imgBase + 'share_fm.png'
  279. };
  280. },
  281. onShareTimeline() {
  282. const sharerId = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo'))?.id || '' : '';
  283. return {
  284. title: '致力于帮助企业打造高价值创造团队',
  285. query: `shareUserId=${sharerId}&shareType=Forward`,
  286. imageUrl: this.$imgBase + 'share_fm.png'
  287. };
  288. }
  289. }
  290. }
  291. </script>
  292. <style scoped lang="scss">
  293. ::v-deep .u-swiper{
  294. border-radius: 24rpx !important;
  295. }
  296. ::v-deep .indicator__dot{
  297. width: 10rpx;
  298. height: 10rpx;
  299. background: transparent;
  300. border: 2rpx solid #FFFFFF;
  301. border-radius: 50%;
  302. margin: 0 7rpx;
  303. }
  304. ::v-deep .indicator__dot--active{
  305. width: 10rpx;
  306. height: 10rpx;
  307. background: #FFFFFF;
  308. }
  309. .tabPage{
  310. background: #F7F7F7;
  311. .topbg{
  312. width: 100%;
  313. height: 720rpx;
  314. position: fixed;
  315. top: 0;
  316. left: 0;
  317. right: 0;
  318. }
  319. .lunbo{
  320. width: 100%;
  321. height: 368rpx;
  322. margin-top: 30rpx;
  323. position: relative;
  324. }
  325. .preill{
  326. margin-top: 30rpx;
  327. position: relative;
  328. &-box{
  329. width: calc(50% - 11rpx);
  330. background: #FFFFFF;
  331. border-radius: 24rpx;
  332. padding: 54rpx 24rpx 52rpx;
  333. box-sizing: border-box;
  334. &-title{
  335. font-family: PingFang-SC, PingFang-SC;
  336. font-weight: bold;
  337. font-size: 28rpx;
  338. color: #002846;
  339. line-height: 28rpx;
  340. span{
  341. font-size: 36rpx;
  342. }
  343. }
  344. &-num{
  345. font-family: PingFang-SC, PingFang-SC;
  346. font-weight: 800;
  347. font-size: 40rpx;
  348. color: #002846;
  349. line-height: 40rpx;
  350. margin-top: 24rpx;
  351. }
  352. &-state{
  353. margin-top: 46rpx;
  354. &-pre{
  355. padding-left: 16rpx;
  356. position: relative;
  357. font-family: PingFangSC, PingFang SC;
  358. font-weight: 400;
  359. font-size: 24rpx;
  360. color: #335368;
  361. line-height: 20rpx;
  362. span{
  363. color: #1D2129;
  364. }
  365. &::before{
  366. content: '';
  367. width: 10rpx;
  368. height: 10rpx;
  369. border-radius: 5rpx;
  370. position: absolute;
  371. left: 0;
  372. top: 50%;
  373. margin-top: -5rpx;
  374. }
  375. &.grey{
  376. &::before{
  377. background: #DDE0E6;
  378. }
  379. }
  380. &.yellow{
  381. &::before{
  382. background: #FFD750;
  383. }
  384. }
  385. &.green{
  386. &::before{
  387. background: #31D1D6;
  388. }
  389. }
  390. }
  391. }
  392. &-progress{
  393. margin-top: 24rpx;
  394. width: 100%;
  395. height: 10rpx;
  396. background: #DFE5EE;
  397. border-radius: 5rpx;
  398. position: relative;
  399. &-current{
  400. height: 10rpx;
  401. border-radius: 4rpx;
  402. position: absolute;
  403. left: 0;
  404. top: 0;
  405. }
  406. .pbp-yellow{
  407. background: #FFD750;
  408. }
  409. .pbp-green{
  410. background: #31D1D6;
  411. }
  412. }
  413. }
  414. }
  415. .boxs{
  416. margin-top: 20rpx;
  417. position: relative;
  418. &-pre{
  419. width: calc(50% - 11rpx);
  420. padding: 42rpx 0 0 20rpx;
  421. box-sizing: border-box;
  422. height: 184rpx;
  423. &-title{
  424. font-family: PingFang-SC, PingFang-SC;
  425. font-weight: bold;
  426. font-size: 32rpx;
  427. color: #E0EFEF;
  428. line-height: 45rpx;
  429. }
  430. &-tip{
  431. font-family: PingFangSC, PingFang SC;
  432. font-weight: 400;
  433. font-size: 24rpx;
  434. color: #E0EFEF;
  435. line-height: 33rpx;
  436. margin-top: 16rpx;
  437. image{
  438. width: 26rpx;
  439. height: 26rpx;
  440. margin-left: 12rpx;
  441. }
  442. }
  443. &.bp1{
  444. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/home_box_bg1.png') no-repeat;
  445. background-size: 100% 100%;
  446. }
  447. &.bp2{
  448. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/home_box_bg2.png') no-repeat;
  449. background-size: 100% 100%;
  450. }
  451. }
  452. }
  453. .common{
  454. margin-top: 20rpx;
  455. background: #FFFFFF;
  456. border-radius: 24rpx;
  457. padding: 40rpx 24rpx 48rpx;
  458. position: relative;
  459. &-title{
  460. font-family: PingFang-SC, PingFang-SC;
  461. font-weight: bold;
  462. font-size: 34rpx;
  463. color: #002846;
  464. line-height: 48rpx;
  465. }
  466. &-menu{
  467. width: calc(100% + 48rpx);
  468. margin-left: -24rpx;
  469. margin-top: 45rpx;
  470. &-pre{
  471. width: calc(100% / 4);
  472. image{
  473. width: 64rpx;
  474. height: 64rpx;
  475. }
  476. text{
  477. font-family: PingFangSC, PingFang SC;
  478. font-weight: 400;
  479. font-size: 22rpx;
  480. color: #193D59;
  481. line-height: 32rpx;
  482. text-align: center;
  483. margin-top: 24rpx;
  484. padding: 0 4rpx;
  485. }
  486. }
  487. }
  488. }
  489. .new-user-free{
  490. position: fixed;
  491. left: 0;
  492. right: 0;
  493. top: 0;
  494. bottom: 0;
  495. background: rgba(0, 0, 0, .6);
  496. z-index: 1000;
  497. &-box1{
  498. width: calc(100% - 180rpx);
  499. height: 280rpx;
  500. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/new_free_title.png') no-repeat;
  501. background-size: 100% 100%;
  502. padding-left: 53rpx;
  503. &-text{
  504. font-family: SourceHanSansCN, SourceHanSansCN;
  505. font-weight: bold;
  506. font-size: 36rpx;
  507. color: #874016;
  508. line-height: 54rpx;
  509. margin-top: 140rpx;
  510. }
  511. }
  512. &-box2{
  513. width: calc(100% - 140rpx);
  514. background: #FFFFFF;
  515. border-radius: 24rpx;
  516. padding: 45rpx 25rpx 42rpx;
  517. box-sizing: border-box;
  518. &-price{
  519. width: 100%;
  520. height: 132rpx;
  521. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/new_free_price.png') no-repeat;
  522. background-size: 100% 100%;
  523. padding: 27rpx 34rpx 27rpx 30rpx;
  524. box-sizing: border-box;
  525. &-left{
  526. &-title{
  527. font-family: PingFang-SC, PingFang-SC;
  528. font-weight: bold;
  529. font-size: 28rpx;
  530. color: #5E2E11;
  531. line-height: 36rpx;
  532. }
  533. &-tip{
  534. font-family: PingFangSC, PingFang SC;
  535. font-weight: 400;
  536. font-size: 24rpx;
  537. color: #808080;
  538. line-height: 32rpx;
  539. margin-top: 10rpx;
  540. }
  541. }
  542. &-right{
  543. &-top{
  544. font-family: PingFang-SC, PingFang-SC;
  545. font-weight: bold;
  546. font-size: 48rpx;
  547. color: #FF5A09;
  548. line-height: 67rpx;
  549. }
  550. &-bottom{
  551. font-family: PingFangSC, PingFang SC;
  552. font-weight: 400;
  553. font-size: 24rpx;
  554. color: #612D11;
  555. line-height: 33rpx;
  556. margin-top: 3rpx;
  557. text-decoration: line-through;
  558. }
  559. }
  560. }
  561. &-btn{
  562. width: calc(100% - 170rpx);
  563. height: 80rpx;
  564. border-radius: 40rpx;
  565. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/new_free_btn.png') no-repeat;
  566. background-size: 100% 100%;
  567. font-family: PingFang-SC, PingFang-SC;
  568. font-weight: bold;
  569. font-size: 32rpx;
  570. color: #5E2E11;
  571. line-height: 80rpx;
  572. text-align: center;
  573. letter-spacing: 2rpx;
  574. margin-top: 38rpx;
  575. }
  576. }
  577. &-close{
  578. width: 64rpx;
  579. height: 64rpx;
  580. margin-top: 48rpx;
  581. }
  582. }
  583. .kind-reminder{
  584. position: fixed;
  585. left: 0;
  586. right: 0;
  587. top: 0;
  588. bottom: 0;
  589. z-index: 1000;
  590. background: rgba(0, 0, 0, .6);
  591. .kr-box{
  592. width: calc(100% - 100rpx);
  593. padding: 54rpx 60rpx 48rpx;
  594. box-sizing: border-box;
  595. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/remind_bg.png') no-repeat;
  596. background-size: 100% 100%;
  597. position: relative;
  598. image{
  599. width: 48rpx;
  600. height: 48rpx;
  601. position: absolute;
  602. top: 40rpx;
  603. right: 30rpx;
  604. }
  605. .kr-title{
  606. font-family: PingFang-SC, PingFang-SC;
  607. font-weight: bold;
  608. font-size: 36rpx;
  609. color: #002846;
  610. line-height: 56rpx;
  611. text-align: center;
  612. }
  613. .kr-p{
  614. font-family: PingFangSC, PingFang SC;
  615. font-weight: 400;
  616. font-size: 30rpx;
  617. color: #002846;
  618. line-height: 48rpx;
  619. text-align: center;
  620. span{
  621. font-weight: bold;
  622. margin: 0 10rpx;
  623. }
  624. }
  625. .kr-btn{
  626. width: calc(100% - 80rpx);
  627. height: 88rpx;
  628. background: linear-gradient( 90deg, #33A7A7 0%, #64BBBB 100%);;
  629. border-radius: 44rpx;
  630. font-family: PingFang-SC, PingFang-SC;
  631. font-weight: bold;
  632. font-size: 32rpx;
  633. color: #FFFFFF;
  634. line-height: 88rpx;
  635. text-align: center;
  636. letter-spacing: 2rpx;
  637. margin-top: 66rpx;
  638. }
  639. }
  640. }
  641. }
  642. </style>