index.vue 20 KB

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