index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  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" :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. }
  230. },
  231. onPageScroll(e) {
  232. var scrollTop = Number(e.scrollTop);
  233. var listTop=Number(this.listTop)-Number(this.nvaHeight)
  234. if (scrollTop <=this.nvaHeight) {
  235. const opacity = scrollTop / 100 // 计算透明度值
  236. const color = `rgba(29, 100, 226, ${opacity})`
  237. this.backgroundColor = color // 更新盒子背景颜色
  238. } else {
  239. this.backgroundColor = '#1D64E2'
  240. }
  241. if(scrollTop>listTop){
  242. this.fixedflag=true
  243. }else{
  244. this.fixedflag=false
  245. }
  246. },
  247. onUnload(){
  248. uni.$off('refreindexlist')
  249. },
  250. onLoad: function() {
  251. uni.$on('refreindexlist',(e) => {
  252. this.reachflag=false;
  253. this.pageNum=1;
  254. this.list=[];
  255. this.getDataFn();
  256. })
  257. this.init()
  258. this.getDataFn()
  259. if(checkPermi(['zxNotice:notice:list'])){
  260. this.getNoticeList()
  261. }
  262. uni.getSystemInfo({
  263. success: (e) => {
  264. this.nvaHeight = Number(e.statusBarHeight)+44;
  265. this.minheight = e.screenHeight -Number(this.nvaHeight)- 57;
  266. }
  267. })
  268. },
  269. onUnload() {
  270. uni.$off('refreshdatalist')
  271. },
  272. onShow() {
  273. this.isMember=this.$store.state.user.isMember;
  274. // var that=this;
  275. // this.time();
  276. },
  277. mounted() {
  278. this.getHeightFn()
  279. },
  280. // 上拉触底加载更多触发事件
  281. onReachBottom() {
  282. // if (this.reachflag) {
  283. // this.pageNum++
  284. // this.getDataFn()
  285. // }
  286. },
  287. methods:{
  288. checkPermi, checkRole,
  289. getNewsFn(){
  290. if(checkPermi(['zxNotice:notice:list'])){
  291. this.$tab.navigateTo('/work/pages/news/list')
  292. }
  293. },
  294. getNoticeDet(e){
  295. this.$tab.navigateTo('/work/pages/news/detail?id='+e)
  296. },
  297. getMoreFn(){
  298. if (this.reachflag) {
  299. this.pageNum++
  300. this.getDataFn()
  301. }
  302. },
  303. getNoticeList(){
  304. var params={
  305. pageSize:10,
  306. pageNum:1
  307. }
  308. getNoticeList(params).then(res=>{
  309. if(res.code==200){
  310. this.noticelist=res.rows
  311. }
  312. })
  313. },
  314. getMoreList(){
  315. if(this.tabval==1){
  316. this.getZxCaseFn()
  317. }else if(this.tabval==2){
  318. this.getsqmyInfoFn()
  319. }
  320. },
  321. getClose(){
  322. this.ptype=''
  323. },
  324. getTab(val){
  325. this.tabval=val;
  326. this.list=[];
  327. this.pageNum=1;
  328. this.reachflag=true;
  329. this.getDataFn()
  330. },
  331. getHeightFn(){
  332. let query = uni.createSelectorQuery().in(this);
  333. //需要给黄色区域设置一个id标识,在这里是demo
  334. query.select('.zxtop').boundingClientRect(data => {
  335. this.listTop = data.height//赋值,待会要用
  336. }).exec();
  337. },
  338. getAddCase(){
  339. if(uni.getStorageSync('tjtaList')){
  340. // var newObj=JSON.parse(JSON.stringify(uni.getStorageSync('tjtaList')))
  341. this.ptype='zcta'
  342. }else{
  343. this.$tab.navigateTo('/work/pages/case/add')
  344. }
  345. },
  346. getAddsqmy(){
  347. if(uni.getStorageSync('sqmyList')){
  348. this.ptype='sqmy'
  349. }else{
  350. this.$tab.navigateTo('/work/pages/sqmyInfo/add')
  351. }
  352. },
  353. getAddlzda(){
  354. this.$tab.navigateTo('/work/pages/report/mineinfo?type=add')
  355. // this.$tab.navigateTo('/work/pages/report/info')
  356. },
  357. getAddhy(){
  358. this.$tab.navigateTo('/work/pages/meeting/add')
  359. // if(uni.getStorageSync('cjhyList')){
  360. // this.ptype='zchy'
  361. // }else{
  362. // this.$tab.navigateTo('/work/pages/meeting/add')
  363. // }
  364. },
  365. getFaFn(type,ptype){
  366. this.ptype='';
  367. if(ptype=='zcta'){
  368. if(type=='new'){uni.removeStorageSync('tjtaList')}
  369. this.$tab.navigateTo('/work/pages/case/add?type='+type)
  370. }else if(ptype=='zchy'){
  371. if(type=='new'){uni.removeStorageSync('cjhyList')}
  372. this.$tab.navigateTo('/work/pages/meeting/add?type='+type)
  373. }else if(ptype=='sqmy'){
  374. if(type=='new'){uni.removeStorageSync('sqmyList')}
  375. this.$tab.navigateTo('/work/pages/sqmyInfo/add?type='+type)
  376. }
  377. },
  378. getZxCaseFn(){
  379. this.$tab.navigateTo('/work/pages/case/mine')
  380. },
  381. getsqmyInfoFn(){
  382. this.$tab.navigateTo('/work/pages/sqmyInfo/mine')
  383. },
  384. getMettFn(){
  385. this.$tab.navigateTo('/work/pages/meeting/list')
  386. },
  387. getlzInfoFn(){
  388. this.$tab.navigateTo('/work/pages/report/info')
  389. },
  390. init(){
  391. // 提案进度
  392. getDictionaryFn('proposal_progress').then(res=>{
  393. if(res.code==200){
  394. this.tajdlist = res.data.map(v => {
  395. return {
  396. label: v.dictLabel,
  397. value: v.dictValue
  398. }
  399. })
  400. }
  401. })
  402. //主题类型
  403. getDictionaryFn('sqmy_topic_type').then(res=>{
  404. if(res.code==200){
  405. this.ztlxlist = res.data.map(v => {
  406. return {
  407. label: v.dictLabel,
  408. value: v.dictValue
  409. }
  410. })
  411. }
  412. })
  413. },
  414. time() {
  415. var date = new Date();
  416. var y = date.getFullYear();
  417. var m = date.getMonth() + 1;
  418. var d = date.getDate();
  419. let lunar = calendar.solar2lunar(y, m, d); //农历
  420. this.lunar=lunar.IMonthCn+lunar.IDayCn;
  421. this.daytime=m+'月'+d+"日";
  422. // var h = date.getHours();
  423. // var min = date.getMinutes();
  424. // var s = date.getSeconds();
  425. // var week = date.getDay(); //获取当前星期X(0-6,0代表星期天)
  426. // var weeks = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
  427. // var yearStr = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d)
  428. // var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  429. // '0' + s) : s);
  430. // this.kaTime = yearStr + ' ' + timeStr;
  431. },
  432. getDetail(data){
  433. if(this.tabval==1){
  434. this.$tab.navigateTo('/work/pages/case/details?id='+data)
  435. }else{
  436. this.$tab.navigateTo('/work/pages/sqmyInfo/details?id='+data)
  437. }
  438. },
  439. handleTotabl(){
  440. this.$tab.navigateTo('/work/pages/single/unitList')
  441. },
  442. handleTocu(){
  443. this.$tab.navigateTo('/work/pages/single/urge')
  444. },
  445. getDataFn(){
  446. var params={
  447. pageSize:this.pageSize,
  448. pageNum: this.pageNum,
  449. // visitType:3
  450. }
  451. if(this.tabval==1){//重点提案
  452. params.isKeyPoint='0';
  453. // params.isRecord=0
  454. getCaseListFn(params).then(res=>{
  455. if(res.code==200){
  456. if (res.rows.length < this.pageSize) {
  457. this.reachflag = false
  458. this.wtdt = '到底了~';
  459. } else {
  460. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  461. if (num < res.total) {
  462. this.reachflag = true
  463. this.wtdt = ''
  464. } else {
  465. this.reachflag = false
  466. this.wtdt = '到底了~';
  467. }
  468. }
  469. if (this.pageNum == 1) {
  470. this.list = res.rows;
  471. } else {
  472. this.list = this.list.concat(res.rows)
  473. }
  474. }else{
  475. this.$toast(res.msg)
  476. }
  477. })
  478. }else if(this.tabval==2){//社情民意
  479. getsqmyInfoListFn(params).then(res=>{
  480. if(res.code==200){
  481. if (res.rows.length < this.pageSize) {
  482. this.reachflag = false
  483. this.wtdt = '到底了~';
  484. } else {
  485. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  486. if (num < res.total) {
  487. this.reachflag = true
  488. this.wtdt = ''
  489. } else {
  490. this.reachflag = false
  491. this.wtdt = '到底了~';
  492. }
  493. }
  494. if (this.pageNum == 1) {
  495. this.list = res.rows;
  496. } else {
  497. this.list = this.list.concat(res.rows)
  498. }
  499. }else{
  500. this.$toast(res.msg)
  501. }
  502. })
  503. }
  504. },
  505. },
  506. }
  507. </script>
  508. <style lang="scss" scoped>
  509. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;
  510. .topl{width: 274rpx;height: 50rpx;margin-left: 14rpx;}
  511. .topr{width: 36rpx;height: 36rpx;position: relative;margin-right: 10rpx;
  512. image{width: 100%;height: 100%;}
  513. .cir{width: 14rpx;height: 14rpx;background: #DF0024;border-radius: 50%;position: absolute;right: -7rpx;top: -7rpx;}
  514. }
  515. }
  516. // .zxbox /deep/ .ql-editor p{text-indent: 2rem;}
  517. .zxbox{
  518. .bgimg{width: 100%;height: 420rpx;}
  519. .zxmain{margin-top: -260rpx;z-index: 1;position: relative;
  520. .htop{width: 25%;display: flex;flex-direction: column;align-items: center;justify-content: center;
  521. .imgs{
  522. width: 74rpx;height: 74rpx;display: flex;align-items: center;justify-content: center;
  523. .imga{width: 72rpx;height: 72rpx;}
  524. .imgb{width: 68rpx;height: 74rpx;}
  525. .imgc{width: 68rpx;height: 72rpx;}
  526. }
  527. .tit{font-weight: 500;font-size: 26rpx;color: #F1F9FF;margin-top: 26rpx;}
  528. }
  529. .hbox{
  530. background: #ffffff;border-radius: 30rpx 30rpx 0 0;padding: 38rpx 24rpx 0 24rpx;
  531. .htit{font-size: 36rpx;color: #343434;font-weight: bold;}
  532. .htbox{position: relative;width: 342rpx;height: 146rpx;position: relative;margin-bottom: 24rpx;margin-right: 18rpx;
  533. &:nth-of-type(2n){margin-right: 0;}
  534. .hrbg{width: 100%;height: 100%;}
  535. .htboxa{position: absolute;left: 0;right: 0;top: 0;bottom: 0;padding: 0 18rpx 0 32rpx;box-sizing: border-box;
  536. .tit{font-size: 16px;color: #222327;font-weight: bold;margin-bottom: 8rpx;line-height: 44rpx;}
  537. .txt{font-weight: 500;font-size: 24rpx;color: #666666;}
  538. .imga{width: 56rpx;height: 60rpx;}
  539. .imgb{width: 50rpx;height: 60rpx;}
  540. .imgc{width: 54rpx;height: 58rpx;}
  541. .imgd{width: 70rpx;height: 56rpx;}
  542. }
  543. }
  544. .blbox{margin-top: 38rpx;
  545. .htbox{width: 340rpx;height: 150rpx;background: #FFFFFF;box-shadow: 0px 0px 30rpx 0px #DADADA;border-radius: 10rpx;margin-bottom: 0;
  546. .htboxa{padding: 0 24rpx;
  547. .txt{color: #959595;}
  548. }
  549. }
  550. }
  551. }
  552. }
  553. .hnbox{background-color: #ffffff;padding-bottom: 32rpx;
  554. .hntabs{padding:32rpx 24rpx;background-color: #ffffff;
  555. &.tabfix{position: fixed;left: 0;right: 0;z-index: 4;box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(196,191,191,0.22);}
  556. .tit{font-weight: 500;font-size: 32rpx;color: #AAAAAA;position: relative;line-height: 50rpx;margin-right: 64rpx;
  557. &.act{font-weight: bold;font-size: 36rpx;color: #222327;
  558. &::after{
  559. content: '';width: 52rpx;height: 12rpx;background: #1D64E2;border-radius: 6rpx;position: absolute;left: 50%;bottom: -32rpx;margin-left: -26rpx;
  560. }
  561. }
  562. }
  563. .txtr{font-size: 26rpx;color: #aaaaaa;font-weight:500;}
  564. }
  565. .upmore{
  566. image{width: 40rpx;height: 32rpx;margin-bottom: 16rpx;}
  567. view{font-weight: 500;font-size: 26rpx;color: #AAAAAA;}
  568. }
  569. }
  570. }
  571. .titbg{width: 460rpx;height: 108rpx;margin-left: 48rpx;margin-bottom: 46rpx;position: relative;}
  572. </style>