home.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  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. }
  274. }
  275. </script>
  276. <style scoped lang="scss">
  277. ::v-deep .u-swiper{
  278. border-radius: 24rpx !important;
  279. }
  280. ::v-deep .indicator__dot{
  281. width: 10rpx;
  282. height: 10rpx;
  283. background: transparent;
  284. border: 2rpx solid #FFFFFF;
  285. border-radius: 50%;
  286. margin: 0 7rpx;
  287. }
  288. ::v-deep .indicator__dot--active{
  289. width: 10rpx;
  290. height: 10rpx;
  291. background: #FFFFFF;
  292. }
  293. .tabPage{
  294. background: #F7F7F7;
  295. .topbg{
  296. width: 100%;
  297. height: 720rpx;
  298. position: fixed;
  299. top: 0;
  300. left: 0;
  301. right: 0;
  302. }
  303. .lunbo{
  304. width: 100%;
  305. height: 368rpx;
  306. margin-top: 30rpx;
  307. position: relative;
  308. }
  309. .preill{
  310. margin-top: 30rpx;
  311. position: relative;
  312. &-box{
  313. width: calc(50% - 11rpx);
  314. background: #FFFFFF;
  315. border-radius: 24rpx;
  316. padding: 54rpx 24rpx 52rpx;
  317. box-sizing: border-box;
  318. &-title{
  319. font-family: PingFang-SC, PingFang-SC;
  320. font-weight: bold;
  321. font-size: 28rpx;
  322. color: #002846;
  323. line-height: 28rpx;
  324. span{
  325. font-size: 36rpx;
  326. }
  327. }
  328. &-num{
  329. font-family: PingFang-SC, PingFang-SC;
  330. font-weight: 800;
  331. font-size: 40rpx;
  332. color: #002846;
  333. line-height: 40rpx;
  334. margin-top: 24rpx;
  335. }
  336. &-state{
  337. margin-top: 46rpx;
  338. &-pre{
  339. padding-left: 16rpx;
  340. position: relative;
  341. font-family: PingFangSC, PingFang SC;
  342. font-weight: 400;
  343. font-size: 24rpx;
  344. color: #335368;
  345. line-height: 20rpx;
  346. span{
  347. color: #1D2129;
  348. }
  349. &::before{
  350. content: '';
  351. width: 10rpx;
  352. height: 10rpx;
  353. border-radius: 5rpx;
  354. position: absolute;
  355. left: 0;
  356. top: 50%;
  357. margin-top: -5rpx;
  358. }
  359. &.grey{
  360. &::before{
  361. background: #DDE0E6;
  362. }
  363. }
  364. &.yellow{
  365. &::before{
  366. background: #FFD750;
  367. }
  368. }
  369. &.green{
  370. &::before{
  371. background: #31D1D6;
  372. }
  373. }
  374. }
  375. }
  376. &-progress{
  377. margin-top: 24rpx;
  378. width: 100%;
  379. height: 10rpx;
  380. background: #DFE5EE;
  381. border-radius: 5rpx;
  382. position: relative;
  383. &-current{
  384. height: 10rpx;
  385. border-radius: 4rpx;
  386. position: absolute;
  387. left: 0;
  388. top: 0;
  389. }
  390. .pbp-yellow{
  391. background: #FFD750;
  392. }
  393. .pbp-green{
  394. background: #31D1D6;
  395. }
  396. }
  397. }
  398. }
  399. .boxs{
  400. margin-top: 20rpx;
  401. position: relative;
  402. &-pre{
  403. width: calc(50% - 11rpx);
  404. padding: 42rpx 0 0 20rpx;
  405. box-sizing: border-box;
  406. height: 184rpx;
  407. &-title{
  408. font-family: PingFang-SC, PingFang-SC;
  409. font-weight: bold;
  410. font-size: 32rpx;
  411. color: #E0EFEF;
  412. line-height: 45rpx;
  413. }
  414. &-tip{
  415. font-family: PingFangSC, PingFang SC;
  416. font-weight: 400;
  417. font-size: 24rpx;
  418. color: #E0EFEF;
  419. line-height: 33rpx;
  420. margin-top: 16rpx;
  421. image{
  422. width: 26rpx;
  423. height: 26rpx;
  424. margin-left: 12rpx;
  425. }
  426. }
  427. &.bp1{
  428. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/home_box_bg1.png') no-repeat;
  429. background-size: 100% 100%;
  430. }
  431. &.bp2{
  432. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/home_box_bg2.png') no-repeat;
  433. background-size: 100% 100%;
  434. }
  435. }
  436. }
  437. .common{
  438. margin-top: 20rpx;
  439. background: #FFFFFF;
  440. border-radius: 24rpx;
  441. padding: 40rpx 24rpx 48rpx;
  442. position: relative;
  443. &-title{
  444. font-family: PingFang-SC, PingFang-SC;
  445. font-weight: bold;
  446. font-size: 34rpx;
  447. color: #002846;
  448. line-height: 48rpx;
  449. }
  450. &-menu{
  451. width: calc(100% + 48rpx);
  452. margin-left: -24rpx;
  453. margin-top: 45rpx;
  454. &-pre{
  455. width: calc(100% / 4);
  456. image{
  457. width: 64rpx;
  458. height: 64rpx;
  459. }
  460. text{
  461. font-family: PingFangSC, PingFang SC;
  462. font-weight: 400;
  463. font-size: 22rpx;
  464. color: #193D59;
  465. line-height: 32rpx;
  466. text-align: center;
  467. margin-top: 24rpx;
  468. padding: 0 4rpx;
  469. }
  470. }
  471. }
  472. }
  473. .new-user-free{
  474. position: fixed;
  475. left: 0;
  476. right: 0;
  477. top: 0;
  478. bottom: 0;
  479. background: rgba(0, 0, 0, .6);
  480. z-index: 1000;
  481. &-box1{
  482. width: calc(100% - 180rpx);
  483. height: 280rpx;
  484. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/new_free_title.png') no-repeat;
  485. background-size: 100% 100%;
  486. padding-left: 53rpx;
  487. &-text{
  488. font-family: SourceHanSansCN, SourceHanSansCN;
  489. font-weight: bold;
  490. font-size: 36rpx;
  491. color: #874016;
  492. line-height: 54rpx;
  493. margin-top: 140rpx;
  494. }
  495. }
  496. &-box2{
  497. width: calc(100% - 140rpx);
  498. background: #FFFFFF;
  499. border-radius: 24rpx;
  500. padding: 45rpx 25rpx 42rpx;
  501. box-sizing: border-box;
  502. &-price{
  503. width: 100%;
  504. height: 132rpx;
  505. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/new_free_price.png') no-repeat;
  506. background-size: 100% 100%;
  507. padding: 27rpx 34rpx 27rpx 30rpx;
  508. box-sizing: border-box;
  509. &-left{
  510. &-title{
  511. font-family: PingFang-SC, PingFang-SC;
  512. font-weight: bold;
  513. font-size: 28rpx;
  514. color: #5E2E11;
  515. line-height: 36rpx;
  516. }
  517. &-tip{
  518. font-family: PingFangSC, PingFang SC;
  519. font-weight: 400;
  520. font-size: 24rpx;
  521. color: #808080;
  522. line-height: 32rpx;
  523. margin-top: 10rpx;
  524. }
  525. }
  526. &-right{
  527. &-top{
  528. font-family: PingFang-SC, PingFang-SC;
  529. font-weight: bold;
  530. font-size: 48rpx;
  531. color: #FF5A09;
  532. line-height: 67rpx;
  533. }
  534. &-bottom{
  535. font-family: PingFangSC, PingFang SC;
  536. font-weight: 400;
  537. font-size: 24rpx;
  538. color: #612D11;
  539. line-height: 33rpx;
  540. margin-top: 3rpx;
  541. text-decoration: line-through;
  542. }
  543. }
  544. }
  545. &-btn{
  546. width: calc(100% - 170rpx);
  547. height: 80rpx;
  548. border-radius: 40rpx;
  549. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/new_free_btn.png') no-repeat;
  550. background-size: 100% 100%;
  551. font-family: PingFang-SC, PingFang-SC;
  552. font-weight: bold;
  553. font-size: 32rpx;
  554. color: #5E2E11;
  555. line-height: 80rpx;
  556. text-align: center;
  557. letter-spacing: 2rpx;
  558. margin-top: 38rpx;
  559. }
  560. }
  561. &-close{
  562. width: 64rpx;
  563. height: 64rpx;
  564. margin-top: 48rpx;
  565. }
  566. }
  567. .kind-reminder{
  568. position: fixed;
  569. left: 0;
  570. right: 0;
  571. top: 0;
  572. bottom: 0;
  573. z-index: 1000;
  574. background: rgba(0, 0, 0, .6);
  575. .kr-box{
  576. width: calc(100% - 100rpx);
  577. padding: 54rpx 60rpx 48rpx;
  578. box-sizing: border-box;
  579. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/remind_bg.png') no-repeat;
  580. background-size: 100% 100%;
  581. position: relative;
  582. image{
  583. width: 48rpx;
  584. height: 48rpx;
  585. position: absolute;
  586. top: 40rpx;
  587. right: 30rpx;
  588. }
  589. .kr-title{
  590. font-family: PingFang-SC, PingFang-SC;
  591. font-weight: bold;
  592. font-size: 36rpx;
  593. color: #002846;
  594. line-height: 56rpx;
  595. text-align: center;
  596. }
  597. .kr-p{
  598. font-family: PingFangSC, PingFang SC;
  599. font-weight: 400;
  600. font-size: 30rpx;
  601. color: #002846;
  602. line-height: 48rpx;
  603. text-align: center;
  604. span{
  605. font-weight: bold;
  606. margin: 0 10rpx;
  607. }
  608. }
  609. .kr-btn{
  610. width: calc(100% - 80rpx);
  611. height: 88rpx;
  612. background: linear-gradient( 90deg, #33A7A7 0%, #64BBBB 100%);;
  613. border-radius: 44rpx;
  614. font-family: PingFang-SC, PingFang-SC;
  615. font-weight: bold;
  616. font-size: 32rpx;
  617. color: #FFFFFF;
  618. line-height: 88rpx;
  619. text-align: center;
  620. letter-spacing: 2rpx;
  621. margin-top: 66rpx;
  622. }
  623. }
  624. }
  625. }
  626. </style>