index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <template>
  2. <view class="home" :style="'padding-top:'+nvaHeight+'px;'">
  3. <view class="navbox">
  4. <uni-nav-bar color="#ffffff" leftWidth='400rpx' :background-color="backgroundColor" :border="false" statusBar='true' fixed="true">
  5. <block slot="left">
  6. <view class="topl flexc">
  7. <image :src="adrimg" ></image>
  8. <view class="over">{{city}}</view>
  9. </view>
  10. </block>
  11. </uni-nav-bar>
  12. </view>
  13. <!-- 主体 -->
  14. <!-- <image :src="navbg" class="navbg"></image> -->
  15. <view class="wymain">
  16. <view class="adrbox">
  17. <view class="flexc mb14">
  18. <image :src="adraimg" class="adr"></image>
  19. <view class="adrtit flex0">智慧<text>社区</text></view>
  20. <view v-if="voList&&voList.length>1">
  21. <w-select
  22. style="margin-left: 20rpx;"
  23. v-model="chooseValue"
  24. :list='voList'
  25. width='200rpx'
  26. valueName='dictLabel'
  27. keyName="dictValue"
  28. :valuea="tenantId"
  29. :chosevalue="tenantName?tenantName:statusFormats(tenantId,voList,'tenant')"
  30. :filterable='filterable'
  31. @change='getchange'
  32. >
  33. </w-select>
  34. </view>
  35. </view>
  36. <view class="adrtxt flexc mb4">
  37. <view class="over">嗨~{{nickName}}!</view><text>业主</text>
  38. </view>
  39. <view class="adrtip" v-if="houselist&&houselist.length">{{houselist[0].communityName}}{{houselist[0].detailedAddress}}</view>
  40. <image :src="adrbgimg" class="adrbgimg"></image>
  41. </view>
  42. <!-- 轮播图 -->
  43. <swiper class="swiper mb12" circular :indicator-color="incolorh" :indicator-active-color="activecolorh" :indicator-dots="indicatorDotsh" :autoplay="autoplayh">
  44. <!-- v-if="checkPermi(['system:application:list'])" -->
  45. <swiper-item>
  46. <view class="grid">
  47. <view class="grid-item-box" @click="getHouseFn" v-if="checkPermi(['wuYe:houseInfo:list'])">
  48. <view class="img"><image :src="htabi" class="imgf"></image></view>
  49. <view>我的房屋<text class="co05">(
  50. <block v-if="count.houseCount>98">99+</block>
  51. <block v-else>{{count.houseCount||0}}</block>
  52. )</text></view>
  53. </view>
  54. <view class="grid-item-box" @click="getCarFn" v-if="checkPermi(['wuYe:car:list'])">
  55. <view class="img"><image :src="htabj" class="imgg"></image></view>
  56. <view>我的车辆<text class="co05">(
  57. <block v-if="count.carCount>98">99+</block>
  58. <block v-else>{{count.carCount||0}}</block>
  59. )</text></view>
  60. </view>
  61. <view class="grid-item-box" @click="getWarrantyFn" v-if="checkPermi(['wuYe:repair:list'])">
  62. <view class="img"><image :src="htabb" class="imga"></image></view>
  63. <view>物业报修
  64. <view class="cir">
  65. <block v-if="count.propertyRepair>98">99+</block>
  66. <block v-else>{{count.propertyRepair||0}}</block>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="grid-item-box" @click="getNewsFn" v-if="checkPermi(['wuYe:news:list'])">
  71. <view class="img"><image :src="htabd" class="imgb"></image></view>
  72. <view>社区资讯<view class="cir">
  73. <block v-if="count.commentInteractionUserCount>98">99+</block>
  74. <block v-else>{{count.commentInteractionUserCount||0}}</block>
  75. </view></view>
  76. <!-- <view class="flexcw">
  77. <view class="txt">点赞<text class="co05 mr2">(5)</text></view>
  78. <view class="txt">评论<text class="co05">(12)</text></view>
  79. </view> -->
  80. <view class="txt">点赞<text class="co05 mr2">(
  81. <block v-if="count.likeCount>98">99+</block>
  82. <block v-else>{{count.likeCount||0}}</block>
  83. )</text>评论<text class="co05">(
  84. <block v-if="count.contentCount>98">99+</block>
  85. <block v-else>{{count.contentCount||0}}</block>
  86. )</text></view>
  87. </view>
  88. <view class="grid-item-box" @click="getNewsDjFn" v-if="checkPermi(['wuYe:partyNews:list'])">
  89. <view class="img"><image :src="htabe" class="imgc"></image></view>
  90. <view>党建资讯</view>
  91. </view>
  92. <view class="grid-item-box" @click="getComplaintFn" v-if="checkPermi(['wuYe:suggestion:list'])">
  93. <view class="img"><image :src="htabf" class="imgd"></image></view>
  94. <view>投诉建议<view class="cir">
  95. <block v-if="count.complaintSuggestion>98">99+</block>
  96. <block v-else>{{count.complaintSuggestion||0}}</block>
  97. </view></view>
  98. </view>
  99. <view class="grid-item-box" @click="getVisitorFn" v-if="checkPermi(['wuYe:reservRecord:add'])">
  100. <view class="img"><image :src="htabg" class="imge"></image></view>
  101. <view>访客邀请</view>
  102. </view>
  103. <view class="grid-item-box" @click="getWygjFn" v-if="checkPermi(['wuYe:settings:list'])">
  104. <view class="img"><image :src="htabh" class="imga"></image></view>
  105. <view>联系管家</view>
  106. </view>
  107. </view>
  108. </swiper-item>
  109. <swiper-item>
  110. <view class="grid">
  111. <view class="grid-item-box" @click="getClearFn" >
  112. <view class="img"><image :src="htaba" class="imga"></image></view>
  113. <view>家政服务</view>
  114. </view>
  115. <view class="grid-item-box" @click="getBusListFn(1)" >
  116. <view class="img"><image :src="htabc" class="imgb"></image></view>
  117. <view>供求资讯</view>
  118. </view>
  119. <view class="grid-item-box" @click="getMoneyFn" >
  120. <view class="img"><image :src="htabk" class="imgh"></image></view>
  121. <view>物业缴费</view>
  122. </view>
  123. <view class="grid-item-box" @click="getBusListFn(1)" >
  124. <view class="img"><image :src="htabl" class="imga"></image></view>
  125. <view>敬请期待</view>
  126. </view>
  127. </view>
  128. </swiper-item>
  129. </swiper>
  130. <!-- 消息 -->
  131. <view class="mb12">
  132. <notice :noticelist='noticelist' :activeColor="activeColor" :nactiveColor="nactiveColor" @getNoticeDet="getNoticeDet"></notice>
  133. </view>
  134. <view class="mb18 flexc">
  135. <view class="cbgs mr12">
  136. <image :src="cbga"></image>
  137. <view class="cbga">
  138. <view class="tit">空闲充电桩</view>
  139. <view class="txt">37</view>
  140. </view>
  141. </view>
  142. <view class="cbgs">
  143. <image :src="cbgb"></image>
  144. <view class="cbga">
  145. <view class="tita">剩余停车位</view>
  146. <view class="txta">37</view>
  147. </view>
  148. </view>
  149. </view>
  150. <!-- 我的快递 -->
  151. <view class="hlist">
  152. <view class="hlista flexc mb6">
  153. <image :src="lista" class="limg flex0"></image>
  154. <view class="tit flex1">我的快递</view>
  155. <view class="more flex0 flexc" @click="getKdFn">更多<image :src="more"></image></view>
  156. </view>
  157. <box-list :datainfo="list" type="delivery"></box-list>
  158. </view>
  159. </view>
  160. <!-- 今日优惠 -->
  161. <view class="hlist plr12">
  162. <view class="hlista flexc mb10 ">
  163. <image :src="listb" class="limg flex0"></image>
  164. <view class="tit flex1">今日优惠</view>
  165. <view class="more flex0 flexc">更多<image :src="more"></image></view>
  166. </view>
  167. </view>
  168. <view class="mb4">
  169. <box-list type='coupon' :datainfo="list"></box-list>
  170. </view>
  171. <view class="wymain">
  172. <!-- 本地资讯 -->
  173. <view class="hlist">
  174. <view class="hlista flexc" style="padding-bottom: 0;">
  175. <image :src="listc" class="limg flex0"></image>
  176. <view class="htabs flexc">
  177. <view :class="tabval==ite.val?'act':''" v-for="(ite,idx) in tablist" :key="idx">{{ite.tit}}</view>
  178. </view>
  179. <view class="more flex0 flexc">更多<image :src="more"></image></view>
  180. </view>
  181. <box-list :datainfo="list" :wtdt="wtdt" type="news"></box-list>
  182. </view>
  183. </view>
  184. <loading></loading>
  185. <pop-up :type="type" @getClose="getClose" :phoneList="phoneList" :initFace='initFace' @getXxwsFn="getXxwsFn"></pop-up>
  186. <footers v-if="isfootflag" :footerindex="footerindex"></footers>
  187. </view>
  188. </template>
  189. <script>
  190. import footers from '@/components/footer/footer.vue'
  191. import notice from '@/components/swiper/notice.vue'
  192. import boxList from "@/components/box/list.vue"
  193. import popUp from "@/components/box/popup.vue"
  194. import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
  195. import {gettenantUserName,gettenantCheck} from "@/api/login.js"
  196. import {houseInfoList} from "@/api/work/work.js"
  197. import {gesettingsList,getCount} from "@/api/work/index.js"
  198. import {selectValueKey} from "@/utils/common.js"
  199. import {newsList} from "@/api/work/manage.js"
  200. import self from '@/utils/location.js';
  201. import wSelect from "@/work/components/w-select/w-select.vue"
  202. import config from '@/config'
  203. const Clientid = config.Clientid
  204. import store from "@/store"
  205. export default {
  206. components:{footers,notice,boxList,popUp,wSelect},
  207. data(){
  208. return{
  209. footerindex:'home',
  210. isfootflag:true,
  211. nvaHeight:44,
  212. activeColor:'#A7A7A7',
  213. nactiveColor:'#E6E6E6',
  214. backgroundColor: "transparent",
  215. navbg:require("@/static/images/navbg.png"),
  216. adrimg:require("@/static/images/home/adr.png"),
  217. adraimg:require("@/static/images/home/adra.png"),
  218. adrbgimg:require("@/static/images/home/adrbg.png"),
  219. htaba:require("@/static/images/home/htaba.png"),
  220. htabb:require("@/static/images/home/htabb.png"),
  221. htabc:require("@/static/images/home/htabc.png"),
  222. htabd:require("@/static/images/home/htabd.png"),
  223. htabe:require("@/static/images/home/htabe.png"),
  224. htabf:require("@/static/images/home/htabf.png"),
  225. htabg:require("@/static/images/home/htabg.png"),
  226. htabh:require("@/static/images/home/htabh.png"),
  227. htabi:require("@/static/images/home/htabi.png"),
  228. htabj:require("@/static/images/home/htabj.png"),
  229. htabk:require("@/static/images/home/htabk.png"),
  230. htabl:require("@/static/images/home/htabl.png"),
  231. cbga:require("@/static/images/home/cbga.png"),
  232. cbgb:require("@/static/images/home/cbgb.png"),
  233. lista:require("@/static/images/home/lista.png"),
  234. listb:require("@/static/images/home/listb.png"),
  235. listc:require("@/static/images/home/listc.png"),
  236. more:require("@/static/images/home/more.png"),
  237. initFace:'',//initFace 1:双端都未认证 2:只认证了业主端 3:只认证了物业端 4:双端都认证过
  238. type:'',//wygj
  239. wtdt:"加载更多",
  240. yhbg:require("@/static/images/home/yhbg.png"),
  241. eye:require("@/static/images/home/eye.png"),
  242. autoplay:false,
  243. autoplayh:false,
  244. incolorh:'#E6E6E6',
  245. activecolorh:'#A7A7A7',
  246. indicatorDotsh: true,
  247. city:'合肥市',
  248. list:[{tit:'123'},{tit:'123'},{tit:'123'}],
  249. userId:this.$store.state.user.userId,
  250. nickName:this.$store.state.user.nickName,
  251. phonenumber:this.$store.state.user.phonenumber,
  252. // avatar:this.$store.state.user.avatar,
  253. tabval:0,
  254. houselist:[],
  255. phoneList:[],
  256. tablist:[{tit:'本地资讯',val:"0"},{tit:'供求资讯',val:"1"},{tit:'热门资讯',val:"2"}],
  257. count:'',//统计
  258. noticelist:[],
  259. chooseValue:'',
  260. tenantId:'',
  261. tenantName:'',
  262. voList:[],
  263. filterable:true,
  264. }
  265. },
  266. onPageScroll(e) {
  267. var scrollTop = Number(e.scrollTop);
  268. if (scrollTop > 0) {
  269. this.backgroundColor = '#FFF7E1'
  270. } else {
  271. this.backgroundColor = 'transparent'
  272. }
  273. },
  274. onShow() {
  275. this.initFace=this.$store.state.user.initFace;
  276. // this.tenantId=this.$store.state.user.tenantId;
  277. },
  278. onLoad: function() {
  279. // 登录提示去除,登录页面,验证码不要,微信支付宝登录,快递,我的车辆,,
  280. //房屋:房产证分开,我的房本 。物业报修:标题不要,报修门户,不是必填。联系方式:默认自己的。 列表查看详情,列表状态加个进度条,详情东西都在列表页展示,,类似快递形式,报修加评论。社区资讯:发表评论框小了,抄头条。访客,来访人数,5人以上,1,23456789,样式修改。来访时间,当前时间,来访事由,选择,来访门户,默认,,有驾车,在车牌号,手机号放上面,常用访客:家人信息。投诉建议和报修一样,交流回复。管家电话:点击s可以打,
  281. //物管端 今日统计可以打开点击,,外来车辆登记,临停,,人员面貌,群众,党员,,评论审核,不用二次确认框,
  282. var that=this;
  283. uni.getSystemInfo({
  284. success: (e) => {
  285. this.nvaHeight = Number(e.statusBarHeight)+44;
  286. }
  287. })
  288. this.gettenantList()
  289. // 获取房子
  290. if(checkPermi(['wuYe:houseInfo:list'])){
  291. this.getDataFn()
  292. }
  293. if(checkPermi(['wuYe:settings:list'])){
  294. this.gesettingsList()
  295. }
  296. if(checkPermi(['wuYe:statistics:yeZhuTips'])){
  297. this.getCount()
  298. }
  299. if(checkPermi(['wuYe:news:list'])){
  300. this.newsList()
  301. }
  302. // #ifndef H5
  303. self.getLocation(function(res){
  304. if(res==-1){
  305. }else{
  306. that.city=res.city;
  307. }
  308. })
  309. // #endif
  310. },
  311. methods:{
  312. checkPermi,checkRole,
  313. statusFormats(data, list,type) {
  314. var aite=selectValueKey(list, data);
  315. if(type=='tenant'){
  316. this.tenantName=aite.actions
  317. }
  318. return aite.actions;
  319. },
  320. // 获取租户列表
  321. gettenantList(){
  322. var params={
  323. userId:this.userId
  324. }
  325. gettenantUserName().then(res=>{
  326. if(res.code==200){
  327. if(res.data&&res.data.length){
  328. this.voList = res.data.map(v => {
  329. return {
  330. dictLabel: v.companyName,
  331. dictValue: v.tenantId
  332. }
  333. })
  334. }
  335. }else{
  336. this.$toast(res.msg)
  337. }
  338. })
  339. },
  340. getchange(e){
  341. var id=e.dictValue;
  342. var name=e.dictLabel;
  343. var that=this;
  344. this.tenantId=id;
  345. this.tenantName=name;
  346. var params={
  347. tenantId:id,
  348. clientId:Clientid,
  349. grantType:'password'
  350. }
  351. gettenantCheck(params).then(res=>{
  352. var token=res.msg;
  353. // 切换token
  354. this.$store.dispatch('checkToken', token).then(() => {
  355. this.$store.dispatch('GetInfo').then(res => {
  356. })
  357. }).catch(() => {
  358. })
  359. })
  360. },
  361. getXxwsFn(){
  362. var type='rz'
  363. // this.$tab.navigateTo(`/people/pages/people/staffadd?type=${type}`)
  364. },
  365. getClose(){
  366. this.initFace='';
  367. },
  368. getDataFn(){
  369. var params={
  370. userId:this.userId,
  371. pageSize:5,
  372. pageNum: 1,
  373. }
  374. houseInfoList(params).then(res=>{
  375. if(res.code==200){
  376. this.houselist = JSON.parse(JSON.stringify(res.rows));
  377. if(res.rows&&res.rows.length){
  378. // var info=res.rows[0];
  379. // var obj={
  380. // houseId:info.houseId,
  381. // communityName:info.communityName,
  382. // detailedAddress:info.detailedAddress,
  383. // }
  384. // this.$store.commit('SET_HOUSE', obj)
  385. }
  386. }else{
  387. this.$toast(res.msg)
  388. }
  389. })
  390. },
  391. newsList(){
  392. var params={
  393. pageSize:10,
  394. pageNum: 1,
  395. status:1,
  396. }
  397. newsList(params).then(res=>{
  398. if(res.code==200){
  399. this.noticelist = res.rows;
  400. }else{
  401. this.$toast(res.msg)
  402. }
  403. })
  404. },
  405. getBusListFn(){
  406. },
  407. getCount(){
  408. var params={
  409. userId:this.userId,
  410. residentPhone:this.phonenumber
  411. }
  412. getCount(params).then(res => {
  413. if(res.code==200){
  414. this.count=res.data;
  415. }
  416. })
  417. },
  418. gesettingsList(){
  419. gesettingsList().then(res=>{
  420. if(res.code==200){
  421. this.phoneList=res.rows
  422. }
  423. })
  424. },
  425. getClose(){
  426. this.type='';
  427. this.initFace='';
  428. },
  429. getXxwsFn(){
  430. var type='rz'
  431. this.$tab.navigateTo(`/mine/pages/info/authenadd?type=${type}`)
  432. },
  433. getNoticeDet(id){
  434. this.$tab.navigateTo(`/news/pages/news/detail?id=${id}`)
  435. },
  436. getZhanFn(){
  437. this.zhanflag=!this.zhanflag
  438. },
  439. getClearFn(){//家政服务
  440. this.$tab.navigateTo(`/work/pages/clean/index`)
  441. },
  442. getWarrantyFn(){//物业报修
  443. this.$tab.navigateTo(`/work/pages/service/warranty`)
  444. },
  445. getHouseFn(){//我的房屋
  446. this.$tab.navigateTo(`/mine/pages/house/index`)
  447. },
  448. getCarFn(){//我的车辆
  449. this.$tab.navigateTo(`/mine/pages/car/index`)
  450. },
  451. getMoneyFn(){//物业缴费
  452. this.$tab.navigateTo(`/work/pages/manage/index`)
  453. },
  454. getVisitorFn(){//访客邀请
  455. this.$tab.navigateTo(`/work/pages/visitor/index`)
  456. },
  457. getNewsFn(){//社区资讯
  458. this.$tab.navigateTo(`/news/pages/news/newssq`)
  459. },
  460. getNewsDjFn(){//党建资讯
  461. this.$tab.navigateTo(`/news/pages/news/newsdj`)
  462. },
  463. getComplaintFn(){//投诉建议
  464. this.$tab.navigateTo(`/news/pages/complaint/index`)
  465. },
  466. getKdFn(){//我的快递
  467. this.$tab.navigateTo(`/mine/pages/delivery/index`)
  468. },
  469. getWygjFn(){//物业管家
  470. this.type='wygj'
  471. }
  472. }
  473. }
  474. </script>
  475. <style lang="scss" scoped>
  476. .home{min-height: 100vh;background: linear-gradient(180deg, #FFF7E1 0%, rgba(255,255,255,0) 100%) no-repeat;background-size: 100% 782rpx;}
  477. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4; }
  478. .navbg{width: 100%;height: 782rpx;}
  479. .wymain{z-index: 2;position: relative;padding: 0 24rpx;}
  480. .topl{overflow: hidden;padding-left: 16rpx;
  481. image{width: 18rpx;height: 22rpx;margin-right: 14rpx;flex: 0 0 auto;}
  482. view{font-weight: bold;font-size: 26rpx;color: #272727;}
  483. }
  484. .adrbox{position: relative;padding:8rpx 260rpx 16rpx 36rpx;margin-bottom: 28rpx;
  485. .adr{width: 36rpx;height: 34rpx;margin-right: 14rpx;}
  486. .adrtit{font-size: 17px;color: #272727;font-weight: bold;
  487. text{color: #E99D4F;}
  488. }
  489. .adrtxt{font-size: 16px;color: #272727;font-weight: bold;
  490. text{font-size: 10px;color: #E99D4F;display: inline-flex;background: rgba(233, 157, 79, 0.3);margin-left: 22rpx;min-width: 66rpx;height: 30rpx;padding: 0 14rpx;box-sizing: border-box;flex: 0 0 auto;border-radius: 8px;align-items: center;justify-content: center;}
  491. }
  492. .adrtip{font-weight: 500;font-size: 24rpx;color: #828282;}
  493. .adrbgimg{width: 262rpx;height: 242rpx;position: absolute;right: 0rpx;top: -54rpx;}
  494. }
  495. // tab栏
  496. .swiper{min-height: 300rpx;}
  497. .grid{
  498. display: flex;align-items: center;flex-wrap: wrap;
  499. .grid-item-box {display: flex;flex-direction: column;align-items: center;width: 25%;box-sizing: border-box;height: 152rpx;
  500. .img{width: 50rpx;height: 50rpx;display: flex;align-items: center;justify-content: center;margin-bottom: 20rpx;
  501. .imga{width: 48rpx;height: 44rpx;}
  502. .imgb{width: 42rpx;height: 42rpx;}
  503. .imgc{width: 44rpx;height: 48rpx;}
  504. .imgd{width: 46rpx;height: 38rpx;}
  505. .imge{width: 40rpx;height: 50rpx;}
  506. .imgf{width: 48rpx;height: 50rpx;}
  507. .imgg{width: 48rpx;height: 40rpx;}
  508. .imgh{width: 44rpx;height: 46rpx;}
  509. }
  510. view{font-weight: bold;font-size: 26rpx;color: #272727;position: relative;
  511. .cir{width: 20rpx;height: 20rpx;background: #D32C26;border-radius: 10rpx;font-weight: bold;font-size: 16rpx;color: #FCF9F1;position: absolute;display: flex;align-items: center;justify-content: center;padding: 0 2rpx;box-sizing: border-box;right: -10rpx;top: -10rpx;
  512. }
  513. }
  514. .txt{font-size: 20rpx;color: #666666;}
  515. }
  516. }
  517. .cbgs{width: 340rpx;height: 152rpx;position: relative;
  518. image{width: 340rpx;height: 152rpx;position: absolute;left: 0;top: 0;z-index: 0;}
  519. .cbga{z-index: 1;position: relative;padding: 30rpx 0 0 36rpx;
  520. .tit{font-weight: bold;font-size: 28rpx;color: #FFFFFF;text-shadow: 0px 4rpx 6rpx #13A97A;margin-bottom: 10rpx;}
  521. .txt{font-size: 40rpx;color: #FFFFFF;text-shadow: 0px 4rpx 6rpx #13A97A;}
  522. .tita{font-weight: bold;font-size: 28rpx;color: #FFFFFF;text-shadow: 0px 4rpx 6rpx #E89D00;;margin-bottom: 10rpx;}
  523. .txta{font-size: 40rpx;color: #FFFFFF;text-shadow: 0px 4rpx 6rpx #E89D00;}
  524. }
  525. }
  526. .hlist{
  527. .hlista{padding: 8rpx 0;
  528. .limg{width: 32rpx;height: 32rpx;margin-right: 18rpx;}
  529. .tit{font-weight: bold;font-size: 30rpx;color: #272727;}
  530. .more{font-weight: 500;font-size: 24rpx;color: #AAAAAA;
  531. image{width: 18rpx;height: 16rpx;margin-left: 16rpx;}
  532. }
  533. .htabs{flex: 1;overflow: auto;padding: 10rpx 0;
  534. view{font-weight: 500;font-size: 28rpx;color: #666666;position: relative;height: 56rpx;line-height: 56rpx;margin-right: 48rpx;flex: 0 0 auto;
  535. &.act{font-size: 15px;font-weight: bold;color: #272727;
  536. &:after{width: 36rpx;height: 10rpx;background: linear-gradient(150deg, rgba(177,240,216,0.97), rgba(3,218,138,0.97));border-radius: 6rpx;content: '';position: absolute;bottom: -10rpx;left: 50%;margin-left: -18rpx;}
  537. }
  538. }
  539. }
  540. }
  541. }
  542. </style>