index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. <template>
  2. <view class="zxbox">
  3. <view class="zxtop">
  4. <view class="navbox">
  5. <uni-nav-bar color="#ffffff" leftWidth='340rpx' @clickRight="getNewsFn" :background-color="backgroundColor" :border="false" statusBar='true' fixed="true">
  6. <block slot="left">
  7. <image :src="titimg" class="topl"></image>
  8. </block>
  9. <block slot="right" v-if="checkPermi(['zxNotice:notice:list'])">
  10. <view class="topr">
  11. <image :src="noticeimg"></image>
  12. <view class="cir"></view>
  13. </view>
  14. </block>
  15. </uni-nav-bar>
  16. </view>
  17. <image :src="bgimg" class="bgimg"></image>
  18. <view class="zxmain">
  19. <image :src="titbg" class="titbg"></image>
  20. <!-- <view class="flexc mb27">
  21. <view class="htop" @click="getAddCase" v-if="checkPermi(['proposalInfo:info:add'])">
  22. <view class="imgs">
  23. <image :src="htopa" class="imga"></image>
  24. </view>
  25. <view class="tit">提交提案</view>
  26. </view>
  27. <view class="htop" @click="getAddsqmy" v-if="checkPermi(['sqmyInfo:info:add'])">
  28. <view class="imgs">
  29. <image :src="htopb" class="imgb"></image>
  30. </view>
  31. <view class="tit">上报社情民意</view>
  32. </view>
  33. <view class="htop" @click="getAddlzda" v-if="checkPermi(['member:info:add'])">
  34. <view class="imgs">
  35. <image :src="htopc" class="imgc"></image>
  36. </view>
  37. <view class="tit">履职档案</view>
  38. </view>
  39. <view class="htop" @click="getAddhy" v-if="checkPermi(['zxConference:conference:add'])">
  40. <view class="imgs">
  41. <image :src="htopd" class="imga"></image>
  42. </view>
  43. <view class="tit">创建会议</view>
  44. </view>
  45. </view> -->
  46. <view class="hbox">
  47. <!-- 通知栏 -->
  48. <block v-if="checkPermi(['zxNotice:notice:list'])">
  49. <h-notice :noticelist="noticelist" :autoplay='autoplay' @getNoticeDet="getNoticeDet"></h-notice>
  50. </block>
  51. <!-- 提案办理 -->
  52. <view class="flexcw blbox" v-if="checkPermi(['proposalInfo:info:unitList','sqmyInfo:info:unitList','zxUrge:urge:list'])">
  53. <view class="htbox" @click="handleTotabl" v-if="checkPermi(['proposalInfo:info:unitList','sqmyInfo:info:unitList'])">
  54. <image :src="kricob" class="hrbg"></image>
  55. <view class="htboxa flexc">
  56. <view class="flex1 mr10">
  57. <view class="tit">提案/社情办理</view>
  58. <view class="txt">提案、社情单位办理</view>
  59. </view>
  60. <!-- <image :src="hrimgc" class="flex0 imgc"></image> -->
  61. </view>
  62. </view>
  63. <view class="htbox" @click="handleTocu" v-if="checkPermi(['zxUrge:urge:list'])">
  64. <image :src="kricoa" class="hrbg"></image>
  65. <view class="htboxa flexc">
  66. <view class="flex1 mr10">
  67. <view class="tit">催办信息</view>
  68. <view class="txt">了解催办信息</view>
  69. </view>
  70. <!-- <image :src="hrimgd" class="flex0 imgd"></image> -->
  71. </view>
  72. </view>
  73. </view>
  74. <!-- 入口 -->
  75. <view class="mt22">
  76. <view class="htit">快捷入口</view>
  77. <view class="mt18 flexcw">
  78. <view class="htbox" @click="getZxCaseFn" v-if="checkPermi(['proposalInfo:info:list'])">
  79. <image :src="hrbga" class="hrbg"></image>
  80. <view class="htboxa flexc">
  81. <view class="flex1 mr10">
  82. <view class="tit">政协提案</view>
  83. <view class="txt">全方位审核委员提案</view>
  84. </view>
  85. <image :src="hrimga" class="flex0 imga"></image>
  86. </view>
  87. </view>
  88. <view class="htbox" @click="getsqmyInfoFn" v-if="checkPermi(['sqmyInfo:info:list'])">
  89. <image :src="hrbgb" class="hrbg"></image>
  90. <view class="htboxa flexc">
  91. <view class="flex1 mr10">
  92. <view class="tit">社情民意</view>
  93. <view class="txt">录入社情民意信息</view>
  94. </view>
  95. <image :src="hrimgb" class="flex0 imgb"></image>
  96. </view>
  97. </view>
  98. <view class="htbox" @click="getlzInfoFn" v-if="checkPermi(['member:info:list'])">
  99. <image :src="hrbgc" class="hrbg"></image>
  100. <view class="htboxa flexc">
  101. <view class="flex1 mr10">
  102. <view class="tit">履职信息</view>
  103. <view class="txt">管理委员履职信息</view>
  104. </view>
  105. <image :src="hrimgc" class="flex0 imgc"></image>
  106. </view>
  107. </view>
  108. <view class="htbox" @click="getMettFn" v-if="checkPermi(['zxConference:conference:list','zxActivity:activity:list'])">
  109. <image :src="hrbgd" class="hrbg"></image>
  110. <view class="htboxa flexc">
  111. <view class="flex1 mr10">
  112. <view class="tit">会议活动</view>
  113. <view class="txt">了解会议活动信息</view>
  114. </view>
  115. <image :src="hrimgd" class="flex0 imgd"></image>
  116. </view>
  117. </view>
  118. <!-- <view class="htbox" @click="handleTotabl" v-if="checkPermi(['proposalInfo:info:unitList','sqmyInfo:info:unitList'])">
  119. <image :src="hrbgc" class="hrbg"></image>
  120. <view class="htboxa flexc">
  121. <view class="flex1 mr10">
  122. <view class="tit">提案/社情办理</view>
  123. <view class="txt">提案、社情单位处理</view>
  124. </view>
  125. <image :src="hrimgc" class="flex0 imgc"></image>
  126. </view>
  127. </view>
  128. <view class="htbox" @click="handleTocu" v-if="checkPermi(['zxUrge:urge:list'])">
  129. <image :src="hrbgd" class="hrbg"></image>
  130. <view class="htboxa flexc">
  131. <view class="flex1 mr10">
  132. <view class="tit">催办信息</view>
  133. <view class="txt">了解催办信息</view>
  134. </view>
  135. <image :src="hrimgd" class="flex0 imgd"></image>
  136. </view>
  137. </view> -->
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. </view>
  143. <!-- 新闻 -->
  144. <view class="hnbox">
  145. <view class="hntabs flexc" :class="fixedflag?'tabfix':''" :style="fixedflag?'top:'+nvaHeight+'px;':''">
  146. <view class="flex1 flexc">
  147. <block v-for="(ite,idx) in tabList" :key="idx">
  148. <view class="tit" v-if="checkPermi([ite.limit])" :class="tabval==ite.val?'act':''" @click="getTab(ite.val)">{{ite.tit}}</view>
  149. </block>
  150. </view>
  151. <view class="flex0 txtr" @click="getMoreList">了解更多>></view>
  152. </view>
  153. <view style="height:114rpx;" v-if="fixedflag"></view>
  154. <!-- 列表 -->
  155. <view class="mt2 plr12" :style="'min-height: ' + minheight + 'px;'">
  156. <notice-list :datalist="list" :wtdt="wtdt" :tajdlist="tajdlist" :sqtajdlist="sqtajdlist" :ztlxlist="ztlxlist" :type='tabval' @getDetail="getDetail"></notice-list>
  157. <view class="upmore flexccc" @click="getMoreFn" v-if="reachflag">
  158. <image :src="upimg"></image>
  159. <view>加载更多</view>
  160. </view>
  161. </view>
  162. </view>
  163. <pop-up :type='ptype' :isMember="isMember" @getClose="getClose" @getFaFn="getFaFn" @getlzdaFn="getAddlzda"></pop-up>
  164. <footers v-if="isfootflag" :footlist="footlist" :footerindex="footerindex" :color_checked="color_checked" :color_nochecked="color_nochecked" :isHomeIndex="true"></footers>
  165. </view>
  166. </template>
  167. <script>
  168. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  169. // let { calendar } = require("@/components/lunc-calendar/calendar.js");
  170. import {getCaseListFn} from "@/api/mine/case.js"
  171. import {getsqmyInfoListFn} from "@/api/mine/sqmyInfo.js"
  172. import {getDictionaryFn} from "@/api/mine/register.js"
  173. import {getNoticeList} from "@/api/mine/news.js"
  174. import popUp from "@/components/popup/popup.vue"
  175. import hNotice from '@/components/swiper/notice.vue'
  176. import noticeList from '@/components/notice/list.vue'
  177. import footers from '@/components/footer/footer.vue'
  178. export default {
  179. components:{hNotice,noticeList,footers,popUp},
  180. data(){
  181. return{
  182. footlist:[
  183. {module:'home',title:'潜山政协',icon_checked:require('@/static/images/tabbar/home_.png'),icon_nochecked:require('@/static/images/tabbar/home.png')},
  184. {module:'report',title:'履职报告',icon_checked:require('@/static/images/tabbar/report_.png'),icon_nochecked:require('@/static/images/tabbar/report.png')},
  185. {module:'notice',title:'会议通知',icon_checked:require('@/static/images/tabbar/notice_.png'),icon_nochecked:require('@/static/images/tabbar/notice.png')},
  186. {module:'mine',title:'个人中心',icon_checked:require('@/static/images/tabbar/mine_.png'),icon_nochecked:require('@/static/images/tabbar/mine.png')},
  187. ],
  188. color_checked :'222327',
  189. color_nochecked :'AAAAAA',
  190. footerindex:'home',
  191. isfootflag:true,
  192. backgroundColor:'transparent',
  193. bgimg:require("@/static/images/bg.png"),
  194. titimg:require("@/static/images/home/tit.png"),
  195. noticeimg:require("@/static/images/home/notice.png"),
  196. htopa:require("@/static/images/home/htopa.png"),
  197. htopb:require("@/static/images/home/htopb.png"),
  198. htopc:require("@/static/images/home/htopc.png"),
  199. htopd:require("@/static/images/home/htopd.png"),
  200. hrbga:require("@/static/images/home/hrbga.png"),
  201. hrbgb:require("@/static/images/home/hrbgb.png"),
  202. hrbgc:require("@/static/images/home/hrbgc.png"),
  203. hrbgd:require("@/static/images/home/hrbgd.png"),
  204. hrimga:require("@/static/images/home/hrimga.png"),
  205. hrimgb:require("@/static/images/home/hrimgb.png"),
  206. hrimgc:require("@/static/images/home/hrimgc.png"),
  207. hrimgd:require("@/static/images/home/hrimgd.png"),
  208. kricoa:require("@/static/images/home/kricoa.png"),
  209. kricob:require("@/static/images/home/kricob.png"),
  210. upimg:require("@/static/images/home/up.png"),
  211. titbg:require("@/static/images/home/titbg.png"),
  212. tabval:1,
  213. tabList:[{tit:'重点提案',val:1,limit:'proposalInfo:info:list'},{tit:'社情民意',val:2,limit:'sqmyInfo:info:list'},],
  214. list:[],
  215. pageSize: 10,
  216. pageNum: 1,
  217. reachflag: true,
  218. wtdt:'',
  219. nvaHeight:44,
  220. listTop:0,//距离顶部的距离
  221. fixedflag:false,
  222. ptype:"",//lmta 联名填弹窗
  223. tajdlist:[],
  224. ztlxlist:[],
  225. minheight:0,
  226. noticelist:[],
  227. autoplay:true,
  228. isMember:'0',
  229. sqtajdlist:[]
  230. }
  231. },
  232. onPageScroll(e) {
  233. var scrollTop = Number(e.scrollTop);
  234. var listTop=Number(this.listTop)-Number(this.nvaHeight)
  235. if (scrollTop <=this.nvaHeight) {
  236. const opacity = scrollTop / 100 // 计算透明度值
  237. const color = `rgba(29, 100, 226, ${opacity})`
  238. this.backgroundColor = color // 更新盒子背景颜色
  239. } else {
  240. this.backgroundColor = '#1D64E2'
  241. }
  242. if(scrollTop>listTop){
  243. this.fixedflag=true
  244. }else{
  245. this.fixedflag=false
  246. }
  247. },
  248. onUnload(){
  249. uni.$off('refreindexlist')
  250. },
  251. onLoad: function() {
  252. uni.$on('refreindexlist',(e) => {
  253. this.reachflag=false;
  254. this.pageNum=1;
  255. this.list=[];
  256. this.getDataFn();
  257. })
  258. this.init()
  259. this.getDataFn()
  260. if(checkPermi(['zxNotice:notice:list'])){
  261. this.getNoticeList()
  262. }
  263. uni.getSystemInfo({
  264. success: (e) => {
  265. this.nvaHeight = Number(e.statusBarHeight)+44;
  266. this.minheight = e.screenHeight -Number(this.nvaHeight)- 57;
  267. }
  268. })
  269. },
  270. onUnload() {
  271. uni.$off('refreshdatalist')
  272. },
  273. onShow() {
  274. this.isMember=this.$store.state.user.isMember;
  275. // var that=this;
  276. // this.time();
  277. },
  278. mounted() {
  279. this.getHeightFn()
  280. },
  281. // 上拉触底加载更多触发事件
  282. onReachBottom() {
  283. // if (this.reachflag) {
  284. // this.pageNum++
  285. // this.getDataFn()
  286. // }
  287. },
  288. methods:{
  289. checkPermi, checkRole,
  290. getNewsFn(){
  291. if(checkPermi(['zxNotice:notice:list'])){
  292. this.$tab.navigateTo('/work/pages/news/list')
  293. }
  294. },
  295. getNoticeDet(e){
  296. this.$tab.navigateTo('/work/pages/news/detail?id='+e)
  297. },
  298. getMoreFn(){
  299. if (this.reachflag) {
  300. this.pageNum++
  301. this.getDataFn()
  302. }
  303. },
  304. getNoticeList(){
  305. var params={
  306. pageSize:10,
  307. pageNum:1
  308. }
  309. getNoticeList(params).then(res=>{
  310. if(res.code==200){
  311. this.noticelist=res.rows
  312. }
  313. })
  314. },
  315. getMoreList(){
  316. if(this.tabval==1){
  317. this.getZxCaseFn()
  318. }else if(this.tabval==2){
  319. this.getsqmyInfoFn()
  320. }
  321. },
  322. getClose(){
  323. this.ptype=''
  324. },
  325. getTab(val){
  326. this.tabval=val;
  327. this.list=[];
  328. this.pageNum=1;
  329. this.reachflag=true;
  330. this.getDataFn()
  331. },
  332. getHeightFn(){
  333. let query = uni.createSelectorQuery().in(this);
  334. //需要给黄色区域设置一个id标识,在这里是demo
  335. query.select('.zxtop').boundingClientRect(data => {
  336. this.listTop = data.height//赋值,待会要用
  337. }).exec();
  338. },
  339. getAddCase(){
  340. if(uni.getStorageSync('tjtaList')){
  341. // var newObj=JSON.parse(JSON.stringify(uni.getStorageSync('tjtaList')))
  342. this.ptype='zcta'
  343. }else{
  344. this.$tab.navigateTo('/work/pages/case/add')
  345. }
  346. },
  347. getAddsqmy(){
  348. if(uni.getStorageSync('sqmyList')){
  349. this.ptype='sqmy'
  350. }else{
  351. this.$tab.navigateTo('/work/pages/sqmyInfo/add')
  352. }
  353. },
  354. getAddlzda(){
  355. this.$tab.navigateTo('/work/pages/report/mineinfo?type=add')
  356. // this.$tab.navigateTo('/work/pages/report/info')
  357. },
  358. getAddhy(){
  359. this.$tab.navigateTo('/work/pages/meeting/add')
  360. // if(uni.getStorageSync('cjhyList')){
  361. // this.ptype='zchy'
  362. // }else{
  363. // this.$tab.navigateTo('/work/pages/meeting/add')
  364. // }
  365. },
  366. getFaFn(type,ptype){
  367. this.ptype='';
  368. if(ptype=='zcta'){
  369. if(type=='new'){uni.removeStorageSync('tjtaList')}
  370. this.$tab.navigateTo('/work/pages/case/add?type='+type)
  371. }else if(ptype=='zchy'){
  372. if(type=='new'){uni.removeStorageSync('cjhyList')}
  373. this.$tab.navigateTo('/work/pages/meeting/add?type='+type)
  374. }else if(ptype=='sqmy'){
  375. if(type=='new'){uni.removeStorageSync('sqmyList')}
  376. this.$tab.navigateTo('/work/pages/sqmyInfo/add?type='+type)
  377. }
  378. },
  379. getZxCaseFn(){
  380. this.$tab.navigateTo('/work/pages/case/mine')
  381. },
  382. getsqmyInfoFn(){
  383. this.$tab.navigateTo('/work/pages/sqmyInfo/mine')
  384. },
  385. getMettFn(){
  386. this.$tab.navigateTo('/work/pages/meeting/list')
  387. },
  388. getlzInfoFn(){
  389. this.$tab.navigateTo('/work/pages/report/info')
  390. },
  391. init(){
  392. // 提案进度
  393. getDictionaryFn('proposal_progress').then(res=>{
  394. if(res.code==200){
  395. this.tajdlist = res.data.map(v => {
  396. return {
  397. label: v.dictLabel,
  398. value: v.dictValue
  399. }
  400. })
  401. }
  402. })
  403. // 社情进度
  404. getDictionaryFn('sqmy_jd').then(res=>{
  405. if(res.code==200){
  406. this.sqtajdlist = res.data.map(v => {
  407. return {
  408. label: v.dictLabel,
  409. value: v.dictValue
  410. }
  411. })
  412. }
  413. })
  414. //主题类型
  415. getDictionaryFn('sqmy_topic_type').then(res=>{
  416. if(res.code==200){
  417. this.ztlxlist = res.data.map(v => {
  418. return {
  419. label: v.dictLabel,
  420. value: v.dictValue
  421. }
  422. })
  423. }
  424. })
  425. },
  426. time() {
  427. var date = new Date();
  428. var y = date.getFullYear();
  429. var m = date.getMonth() + 1;
  430. var d = date.getDate();
  431. let lunar = calendar.solar2lunar(y, m, d); //农历
  432. this.lunar=lunar.IMonthCn+lunar.IDayCn;
  433. this.daytime=m+'月'+d+"日";
  434. // var h = date.getHours();
  435. // var min = date.getMinutes();
  436. // var s = date.getSeconds();
  437. // var week = date.getDay(); //获取当前星期X(0-6,0代表星期天)
  438. // var weeks = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
  439. // var yearStr = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d)
  440. // var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  441. // '0' + s) : s);
  442. // this.kaTime = yearStr + ' ' + timeStr;
  443. },
  444. getDetail(data){
  445. if(this.tabval==1){
  446. this.$tab.navigateTo('/work/pages/case/details?id='+data)
  447. }else{
  448. this.$tab.navigateTo('/work/pages/sqmyInfo/details?id='+data)
  449. }
  450. },
  451. handleTotabl(){
  452. this.$tab.navigateTo('/work/pages/single/unitList')
  453. },
  454. handleTocu(){
  455. this.$tab.navigateTo('/work/pages/single/urge')
  456. },
  457. getDataFn(){
  458. var params={
  459. pageSize:this.pageSize,
  460. pageNum: this.pageNum,
  461. // visitType:3
  462. }
  463. if(this.tabval==1){//重点提案
  464. params.isKeyPoint='0';
  465. // params.isRecord=0
  466. getCaseListFn(params).then(res=>{
  467. if(res.code==200){
  468. if (res.rows.length < this.pageSize) {
  469. this.reachflag = false
  470. this.wtdt = '到底了~';
  471. } else {
  472. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  473. if (num < res.total) {
  474. this.reachflag = true
  475. this.wtdt = ''
  476. } else {
  477. this.reachflag = false
  478. this.wtdt = '到底了~';
  479. }
  480. }
  481. if (this.pageNum == 1) {
  482. this.list = res.rows;
  483. } else {
  484. this.list = this.list.concat(res.rows)
  485. }
  486. }else{
  487. this.$toast(res.msg)
  488. }
  489. })
  490. }else if(this.tabval==2){//社情民意
  491. getsqmyInfoListFn(params).then(res=>{
  492. if(res.code==200){
  493. if (res.rows.length < this.pageSize) {
  494. this.reachflag = false
  495. this.wtdt = '到底了~';
  496. } else {
  497. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  498. if (num < res.total) {
  499. this.reachflag = true
  500. this.wtdt = ''
  501. } else {
  502. this.reachflag = false
  503. this.wtdt = '到底了~';
  504. }
  505. }
  506. if (this.pageNum == 1) {
  507. this.list = res.rows;
  508. } else {
  509. this.list = this.list.concat(res.rows)
  510. }
  511. }else{
  512. this.$toast(res.msg)
  513. }
  514. })
  515. }
  516. },
  517. },
  518. }
  519. </script>
  520. <style lang="scss" scoped>
  521. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;
  522. .topl{width: 274rpx;height: 50rpx;margin-left: 14rpx;}
  523. .topr{width: 36rpx;height: 36rpx;position: relative;margin-right: 10rpx;
  524. image{width: 100%;height: 100%;}
  525. .cir{width: 14rpx;height: 14rpx;background: #DF0024;border-radius: 50%;position: absolute;right: -7rpx;top: -7rpx;}
  526. }
  527. }
  528. // .zxbox /deep/ .ql-editor p{text-indent: 2rem;}
  529. .zxbox{
  530. .bgimg{width: 100%;height: 420rpx;}
  531. .zxmain{margin-top: -260rpx;z-index: 1;position: relative;
  532. .htop{width: 25%;display: flex;flex-direction: column;align-items: center;justify-content: center;
  533. .imgs{
  534. width: 74rpx;height: 74rpx;display: flex;align-items: center;justify-content: center;
  535. .imga{width: 72rpx;height: 72rpx;}
  536. .imgb{width: 68rpx;height: 74rpx;}
  537. .imgc{width: 68rpx;height: 72rpx;}
  538. }
  539. .tit{font-weight: 500;font-size: 26rpx;color: #F1F9FF;margin-top: 26rpx;}
  540. }
  541. .hbox{
  542. background: #ffffff;border-radius: 30rpx 30rpx 0 0;padding: 38rpx 24rpx 0 24rpx;
  543. .htit{font-size: 36rpx;color: #343434;font-weight: bold;}
  544. .htbox{position: relative;width: 342rpx;height: 146rpx;position: relative;margin-bottom: 24rpx;margin-right: 18rpx;
  545. &:nth-of-type(2n){margin-right: 0;}
  546. .hrbg{width: 100%;height: 100%;}
  547. .htboxa{position: absolute;left: 0;right: 0;top: 0;bottom: 0;padding: 0 18rpx 0 32rpx;box-sizing: border-box;
  548. .tit{font-size: 16px;color: #222327;font-weight: bold;margin-bottom: 8rpx;line-height: 44rpx;}
  549. .txt{font-weight: 500;font-size: 24rpx;color: #666666;}
  550. .imga{width: 56rpx;height: 60rpx;}
  551. .imgb{width: 50rpx;height: 60rpx;}
  552. .imgc{width: 54rpx;height: 58rpx;}
  553. .imgd{width: 70rpx;height: 56rpx;}
  554. }
  555. }
  556. .blbox{margin-top: 38rpx;
  557. .htbox{width: 340rpx;height: 150rpx;background: #FFFFFF;box-shadow: 0px 0px 30rpx 0px #DADADA;border-radius: 10rpx;margin-bottom: 0;
  558. .htboxa{padding: 0 24rpx;
  559. .txt{color: #959595;}
  560. }
  561. }
  562. }
  563. }
  564. }
  565. .hnbox{background-color: #ffffff;padding-bottom: 32rpx;
  566. .hntabs{padding:32rpx 24rpx;background-color: #ffffff;
  567. &.tabfix{position: fixed;left: 0;right: 0;z-index: 4;box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(196,191,191,0.22);}
  568. .tit{font-weight: 500;font-size: 32rpx;color: #AAAAAA;position: relative;line-height: 50rpx;margin-right: 64rpx;
  569. &.act{font-weight: bold;font-size: 36rpx;color: #222327;
  570. &::after{
  571. content: '';width: 52rpx;height: 12rpx;background: #1D64E2;border-radius: 6rpx;position: absolute;left: 50%;bottom: -32rpx;margin-left: -26rpx;
  572. }
  573. }
  574. }
  575. .txtr{font-size: 26rpx;color: #aaaaaa;font-weight:500;}
  576. }
  577. .upmore{
  578. image{width: 40rpx;height: 32rpx;margin-bottom: 16rpx;}
  579. view{font-weight: 500;font-size: 26rpx;color: #AAAAAA;}
  580. }
  581. }
  582. }
  583. .titbg{width: 460rpx;height: 108rpx;margin-left: 48rpx;margin-bottom: 46rpx;position: relative;}
  584. </style>