index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  1. <template>
  2. <view class="zxbox">
  3. <view class="zxtop">
  4. <view class="navbox">
  5. <uni-nav-bar color="#ffffff" leftWidth='160rpx' rightWidth="48rpx" :background-color="backgroundColor" :border="false" statusBar='true' fixed="true">
  6. <block slot="left">
  7. <view class="topl flexc">
  8. <image :src="adrimg" ></image>
  9. <view class="over">{{city}}</view>
  10. </view>
  11. </block>
  12. <view class="topc flexc" v-if="checkPermi(['idcard:idcard:list'])">
  13. <image :src="secimg"></image>
  14. <input placeholder="请输入您要找的客户名称" confirm-type="search" v-model="usename" @confirm="getConfirm"/>
  15. </view>
  16. <block slot="right">
  17. <!-- #ifndef H5 -->
  18. <view class="topr flexcc" @click='getScanFn'>
  19. <image :src="codeimg"></image>
  20. </view>
  21. <!-- #endif -->
  22. </block>
  23. </uni-nav-bar>
  24. </view>
  25. <image :src="bgimg" class="bgimg"></image>
  26. <view class="zxmain">
  27. <view class="banbox mb12" v-if="bannerlist.length">
  28. <banner :bannerlist="bannerlist"></banner>
  29. </view>
  30. <view class="grid" v-if="checkPermi(['system:system:user'])">
  31. <view class="grid-item-box" @click="getBusListFn(2)" v-if="checkPermi(['system:application:list'])">
  32. <view class="img"><image :src="topaimg" class="imga"></image></view>
  33. <view>申报审核</view>
  34. </view>
  35. <view class="grid-item-box" @click="getBusListFn(3)" v-if="checkPermi(['system:application:list'])">
  36. <view class="img"><image :src="topbimg" class="imgb"></image></view>
  37. <view>担保初审</view>
  38. </view>
  39. <view class="grid-item-box" @click="getMoreFn" v-if="checkPermi(['system:hyperlink:list'])">
  40. <view class="img"><image :src="topcimg" class="imgc"></image></view>
  41. <view>外部工具</view>
  42. </view>
  43. <view class="grid-item-box" @click="getBusListFn(4)" v-if="checkPermi(['system:application:list'])">
  44. <view class="img"><image :src="topdimg" class="imgd"></image></view>
  45. <view>尽职调查</view>
  46. </view>
  47. <view class="grid-item-box" @click="getBusListFn(6)" v-if="checkPermi(['system:application:list'])">
  48. <view class="img"><image :src="topeimg" class="imga"></image></view>
  49. <view>评审会</view>
  50. </view>
  51. <view class="grid-item-box" @click="getBusListFn(7)" v-if="checkPermi(['system:application:list'])">
  52. <view class="img"><image :src="topfimg" class="imgc"></image></view>
  53. <view>签署合同</view>
  54. </view>
  55. <view class="grid-item-box" @click="getLedgerFn">
  56. <view class="img"><image :src="topgimg" class="imge"></image></view>
  57. <view>台账表</view>
  58. </view>
  59. <view class="grid-item-box" @click="getFileFn" v-if="checkPermi(['system:application:listOss'])">
  60. <view class="img"><image :src="tophimg" class="imgf"></image></view>
  61. <view>文件管理</view>
  62. </view>
  63. </view>
  64. <!-- v-if="checkPermi(['zxNotice:notice:list'])" -->
  65. <view class="mlrbox">
  66. <view class="mb24">
  67. <h-notice :noticelist="noticelist" :autoplay='autoplay' @getNoticeDet="getNoticeDet"></h-notice>
  68. </view>
  69. <view class="addbox mb26">
  70. <view class="adda bga" v-if="checkPermi(['system:application:add'])&&checkPermi(['system:registered:user'])" @click="getProveFn">
  71. <image :src="haddaimg"></image>
  72. <view class="tit">业务申报</view>
  73. <view class="txt">在线填写</view>
  74. </view>
  75. <view class="adda bgb" @click="getBuszcListFn" v-if="checkPermi(['system:application:list'])&&checkPermi(['system:registered:user'])">
  76. <image :src="haddbimg"></image>
  77. <view class="tit">暂存申报</view>
  78. <view class="txt">继续填报</view>
  79. </view>
  80. <!-- 普通客户 -->
  81. <view class="adda bgc" @click="getBusListFn(0,'my')" v-if="checkPermi(['system:application:list'])&&checkPermi(['system:registered:user'])">
  82. <image :src="haddcimg"></image>
  83. <view class="tit">我的申报</view>
  84. <view class="txt">查看进度</view>
  85. </view>
  86. <view class="adda bgd" @click="getBushszListFn" v-if="checkPermi(['system:application:list'])">
  87. <image :src="hadddimg"></image>
  88. <block v-if="checkPermi(['system:system:user'])">
  89. <view class="tit">回收站</view>
  90. <view class="txt">一键找回</view>
  91. </block>
  92. <block v-else-if="checkPermi(['system:registered:user'])">
  93. <view class="tit">作废申请</view>
  94. <view class="txt">查看详情</view>
  95. </block>
  96. </view>
  97. </view>
  98. <view class="flexcj tabt pb12" v-if="checkPermi(['system:remind:list'])">
  99. <view class="left">待办提醒(<text>{{total}}</text>)</view>
  100. <view class="right flexc" @click="getBusListFn(0)" v-if="checkPermi(['system:application:list'])">更多<image :src="rimg"></image></view>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. <!-- 代办提醒 -->
  106. <view class="hnbox" v-if="checkPermi(['system:remind:list'])">
  107. <view class="hntabs flexc" :class="fixedflag?'tabfix':''" :style="fixedflag?'top:'+nvaHeight+'px;':''">
  108. <block v-for="(ite,idx) in tabList" :key="idx">
  109. <!-- v-if="checkPermi([ite.limit])" -->
  110. <view class="tit" :class="tabval==ite.val?'act':''" @click="getTab(ite.val)">{{ite.tit}}</view>
  111. </block>
  112. </view>
  113. <view style="height:98rpx;" v-if="fixedflag"></view>
  114. <!-- 列表 -->
  115. <view class="mt2 plr12" :style="'min-height: ' + minheight + 'px;'">
  116. <wait-list type='dbtx' :datalist="list" :wtdt="wtdt" @getDetail="getDetail"></wait-list>
  117. <view class="shax" v-if="wtdt&&list&&list.length>0" @click="getMoreDataFn">{{wtdt}}</view>
  118. </view>
  119. </view>
  120. <view class="bgbox" @click="getClose" v-if="mtype" style="z-index: 100;"></view>
  121. <view v-if="mtype" class="morebox">
  122. <view class="molists">
  123. <view v-for="(ite,idx) in linkList" :key="idx" @click="getWebUel(ite.url)">{{ite.name}}</view>
  124. </view>
  125. </view>
  126. <pop-up :type="type" :initFace="initFace" @getFaFn="getFaFn" @getClose="getClose" @getXxwsFn="getXxwsFn"></pop-up>
  127. <footers v-if="isfootflag" :footerindex="footerindex" :isHomeIndex="true"></footers>
  128. </view>
  129. </template>
  130. <script>
  131. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  132. import waitList from "@/components/wait/list.vue"
  133. let { calendar } = require("@/components/lunc-calendar/calendar.js");
  134. import {getRemindList,getNoticeList,getbannerList} from "@/api/common.js"
  135. import {getChangeFace} from "@/api/mine/card.js"
  136. import {getDictionaryFn} from "@/api/mine/register.js"
  137. import {getHyperlinkList} from "@/api/mine/work.js"
  138. import popUp from "@/components/popup/popup.vue"
  139. import banner from "@/components/toptab/banner.vue"
  140. import hNotice from '@/components/swiper/notice.vue'
  141. import footers from '@/components/footer/footer.vue'
  142. import self from '@/utils/location.js';
  143. import config from '@/config'
  144. const baseUrl = config.baseUrl
  145. export default {
  146. components:{banner,hNotice,waitList,footers,popUp},
  147. data(){
  148. return{
  149. footerindex:'home',
  150. isfootflag:true,
  151. backgroundColor:'transparent',
  152. bgimg:require("@/static/images/navbg.png"),
  153. adrimg:require("@/static/images/home/adr.png"),
  154. noticeimg:require("@/static/images/home/notice.png"),
  155. secimg:require("@/static/images/home/search.png"),
  156. topaimg:require("@/static/images/home/topa.png"),
  157. topbimg:require("@/static/images/home/topb.png"),
  158. topcimg:require("@/static/images/home/topc.png"),
  159. topdimg:require("@/static/images/home/topd.png"),
  160. topeimg:require("@/static/images/home/tope.png"),
  161. topfimg:require("@/static/images/home/topa.png"),
  162. topgimg:require("@/static/images/home/topg.png"),
  163. tophimg:require("@/static/images/home/toph.png"),
  164. haddaimg:require("@/static/images/home/hadda.png"),
  165. haddbimg:require("@/static/images/home/haddb.png"),
  166. haddcimg:require("@/static/images/home/haddc.png"),
  167. hadddimg:require("@/static/images/home/haddd.png"),
  168. codeimg:require("@/static/images/home/scan.png"),
  169. rimg:require("@/static/images/home/rimg.png"),
  170. noticelist:[],
  171. autoplay:true,
  172. list:[],
  173. pageSize: 10,
  174. pageNum: 1,
  175. reachflag: true,
  176. wtdt:'加载更多',
  177. nvaHeight:44,
  178. minheight:0,
  179. listTop:0,//距离顶部的距离
  180. fixedflag:false,
  181. tabval:0,
  182. total:0,
  183. tabList:[{tit:'全部',val:0},{tit:'申报审核',val:1},{tit:'担保初审',val:2},{tit:'尽职调查',val:3},{tit:'评审会',val:4},{tit:'签署合同',val:5},],
  184. usename:'',
  185. type:'',//zcta 暂存信息
  186. zcid:'',//暂存id
  187. userId:this.$store.state.user.userId,
  188. initFace:'Y',//initFace Y不需要,N需要人脸认证
  189. bannerlist:[],
  190. metaInfo:'',
  191. mtype:false,
  192. city:'',
  193. }
  194. },
  195. onPageScroll(e) {
  196. var scrollTop = Number(e.scrollTop);
  197. var listTop=Number(this.listTop)-Number(this.nvaHeight)
  198. if (scrollTop <=this.nvaHeight) {
  199. const opacity = scrollTop / 100 // 计算透明度值
  200. const color = `rgba(4, 145, 253, ${opacity})`
  201. this.backgroundColor = color // 更新盒子背景颜色
  202. } else {
  203. this.backgroundColor = '#00A9F0'
  204. }
  205. if(scrollTop>listTop){
  206. this.fixedflag=true
  207. }else{
  208. this.fixedflag=false
  209. }
  210. },
  211. onUnload() {
  212. uni.$off('refreshdatalist')
  213. },
  214. onShow() {
  215. if(checkPermi(['system:registered:user'])&&!checkPermi(['system:system:user'])){
  216. this.initFace=this.$store.state.user.initFace;
  217. }
  218. },
  219. onLoad: function() {
  220. // uni.$on('refreshdatalist',(e) => {
  221. // this.reachflag=false;
  222. // this.pageNum=1;
  223. // this.list=[];
  224. // this.getDataFn();
  225. // })
  226. // this.init()
  227. var that=this;
  228. // #ifndef H5
  229. self.getLocation(function(res){
  230. if(res==-1){
  231. }else{
  232. that.city=res.city;
  233. // that.temperature=res.temperature;
  234. // that.weather=res.weather;
  235. // that.weathericon=res.icon;
  236. }
  237. })
  238. // #endif
  239. if(checkPermi(['system:remind:list'])){
  240. this.getDataFn()
  241. }
  242. if(checkPermi(['system:hyperlink:list'])){
  243. this.getHyperlinkList()
  244. }
  245. this.getNoticeFn()
  246. this.getbannerList()
  247. uni.getSystemInfo({
  248. success: (e) => {
  249. this.nvaHeight = Number(e.statusBarHeight)+44;
  250. this.minheight = e.screenHeight - Number(this.nvaHeight)- 100;
  251. }
  252. })
  253. },
  254. mounted() {
  255. var that=this;
  256. setTimeout(function(){
  257. that.getHeightFn()
  258. },200)
  259. },
  260. // 上拉触底加载更多触发事件
  261. onReachBottom() {
  262. // if (this.reachflag) {
  263. // this.pageNum++
  264. // this.getDataFn()
  265. // }
  266. },
  267. methods:{
  268. checkPermi, checkRole,
  269. getClose(){
  270. this.type='';
  271. this.mtype=false;
  272. },
  273. getXxwsFn(){
  274. this.$tab.navigateTo(`/work/pages/prove/index`)
  275. },
  276. getMoreDataFn(){
  277. if (this.reachflag) {
  278. this.pageNum++
  279. this.getDataFn()
  280. }
  281. },
  282. getMoreFn(){
  283. console.log(123)
  284. this.mtype=true;
  285. },
  286. getWebUel(url){
  287. this.mtype=false;
  288. this.$tab.navigateTo("/pages/common/webview/index?url="+url)
  289. },
  290. // 外部链接
  291. getHyperlinkList(){
  292. var params={
  293. type:1
  294. }
  295. getHyperlinkList(params).then(res=>{
  296. if(res.code==200){
  297. this.linkList=res.rows
  298. }
  299. })
  300. },
  301. getFaFn(type,ptype){
  302. if(ptype=='zcta'){
  303. if(type=='new'){
  304. this.$tab.navigateTo("/work/pages/prove/zctype")
  305. }else{
  306. var obj={
  307. type:'edit',
  308. id:this.zcid,
  309. }
  310. this.$tab.navigateTo('/work/pages/business/add?data='+encodeURIComponent(JSON.stringify(obj)))
  311. }
  312. }
  313. this.type='';
  314. },
  315. getFace(){
  316. var that=this;
  317. var resparams={
  318. userId:that.userId,
  319. initFace:'N'
  320. }
  321. getChangeFace(resparams).then(v=>{
  322. if(v.code==200){
  323. that.$store.dispatch('GetInfo').then(vres => {
  324. // 添加企业
  325. // this.$tab.reLaunch('/pages/index/index')
  326. console.log(vres,2)
  327. })
  328. }
  329. })
  330. return
  331. },
  332. getConfirm(){
  333. this.$tab.reLaunch('/pages/custom/index?name='+this.usename)
  334. },
  335. getProveFn(){
  336. this.$tab.navigateTo("/work/pages/prove/zctype")
  337. },
  338. getBusListFn(type,from){
  339. // this.$tab.navigateTo("/work/pages/business/list?type="+type)
  340. if(from){
  341. this.$tab.navigateTo("/work/pages/business/list?from=my&type=0")
  342. }else{
  343. this.$tab.navigateTo("/work/pages/business/list?type="+type)
  344. }
  345. },
  346. getBuszcListFn(){
  347. this.$tab.navigateTo("/work/pages/business/zclist")
  348. },
  349. getBushszListFn(){
  350. this.$tab.navigateTo("/work/pages/business/hszlist")
  351. },
  352. getDown(e){
  353. uni.showLoading({
  354. title: '加载中'
  355. });
  356. var url=baseUrl+e;
  357. uni.downloadFile({
  358. url: url,//文件的下载路径
  359. success(result) {
  360. uni.hideLoading()
  361. var filePath = result.tempFilePath;
  362. uni.openDocument({
  363. filePath: filePath,
  364. showMenu: true,
  365. success: function (res) {
  366. // console.log('打开文档成功');
  367. }
  368. });
  369. },
  370. fail(res) {uni.hideLoading()}
  371. })
  372. },
  373. getScanFn(){
  374. // 扫码识别
  375. var that = this;
  376. uni.scanCode({
  377. onlyFromCamera: true,
  378. autoZoom:false,
  379. scanType: ['qrCode'],
  380. success: function(red) {
  381. let result = red.result;
  382. var a=JSON.parse(result)
  383. if (typeof result == 'string') {
  384. try {
  385. //type1,认证,2 文件
  386. if(a.type==1){
  387. that.$tab.navigateTo(`/work/pages/prove/index`)
  388. }else if(a.type==2){
  389. that.getDown(result.url)
  390. }else{
  391. }
  392. } catch (e) {
  393. uni.navigateBack({
  394. delta: 1
  395. })
  396. uni.showToast({
  397. title: '扫码查询失败,请检查二维码是否正确',
  398. icon: "none"
  399. })
  400. return
  401. }
  402. }
  403. },
  404. fail: function(e) {
  405. if (e && e.errMsg && e.errMsg.indexOf('scanCode:fail cancel') != -1) {
  406. return;
  407. }
  408. uni.showToast({
  409. title: '扫码失败',
  410. icon: "none"
  411. })
  412. },
  413. });
  414. },
  415. getLedgerFn(){
  416. this.$toast('功能正在开发中~')
  417. // this.$tab.navigateTo("/work/pages/file/ledgertable")
  418. },
  419. getFileFn(){
  420. this.$tab.navigateTo("/work/pages/file/list")
  421. },
  422. getNoticeDet(e){
  423. this.$tab.navigateTo("/pages/index/noticedetail?type=xttz&id="+e)
  424. },
  425. getDetail(e){
  426. // this.$tab.navigateTo("/pages/index/noticedetail?type=dbtz&id="+e)
  427. this.$tab.navigateTo("/work/pages/business/details?id="+e)
  428. },
  429. getTab(idx){
  430. this.tabval=idx;
  431. this.getrefreshData()
  432. },
  433. getrefreshData(){
  434. this.pageNum=1;
  435. this.list=[];
  436. this.reachflag=true;
  437. this.getDataFn()
  438. },
  439. getHeightFn(){
  440. let query = uni.createSelectorQuery().in(this);
  441. //需要给黄色区域设置一个id标识,在这里是demo
  442. query.select('.zxtop').boundingClientRect(data => {
  443. console.log(data)
  444. var top=data.top<0 ? -data.top : data.top;
  445. this.listTop = data.height//赋值,待会要用
  446. if (top <=this.nvaHeight) {
  447. const opacity = top / 100 // 计算透明度值
  448. const color = `rgba(4, 145, 253, ${opacity})`
  449. this.backgroundColor = color // 更新盒子背景颜色
  450. } else {
  451. this.backgroundColor = '#00A9F0'
  452. }
  453. }).exec();
  454. },
  455. init(){
  456. // 记录来源
  457. getDictionaryFn('jluly').then(res=>{
  458. if(res.code==200){
  459. this.adrlist = res.data.map(v => {
  460. return {
  461. dictLabel: v.dictLabel,
  462. dictValue: v.dictValue
  463. }
  464. })
  465. }
  466. })
  467. },
  468. time() {
  469. var date = new Date();
  470. var y = date.getFullYear();
  471. var m = date.getMonth() + 1;
  472. var d = date.getDate();
  473. let lunar = calendar.solar2lunar(y, m, d); //农历
  474. this.lunar=lunar.IMonthCn+lunar.IDayCn;
  475. this.daytime=m+'月'+d+"日";
  476. // var h = date.getHours();
  477. // var min = date.getMinutes();
  478. // var s = date.getSeconds();
  479. // var week = date.getDay(); //获取当前星期X(0-6,0代表星期天)
  480. // var weeks = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
  481. // var yearStr = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d)
  482. // var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  483. // '0' + s) : s);
  484. // this.kaTime = yearStr + ' ' + timeStr;
  485. },
  486. getNoticeFn(){
  487. var params={
  488. pageSize:10,
  489. pageNum: 1,
  490. }
  491. getNoticeList(params).then(res=>{
  492. if(res.code==200){
  493. this.noticelist = res.rows;
  494. }else{
  495. this.$toast(res.msg)
  496. }
  497. })
  498. },
  499. getbannerList(){
  500. getbannerList().then(res=>{
  501. if(res.code==200){
  502. var data=res.rows;
  503. var newArr=[];
  504. data.forEach(ite=>{
  505. if(ite.imgUrl){
  506. newArr=newArr.concat(ite.imgUrl.split(','))
  507. }
  508. })
  509. this.bannerlist=newArr;
  510. }
  511. })
  512. },
  513. getDataFn(){
  514. var params={
  515. pageSize:this.pageSize,
  516. pageNum: this.pageNum,
  517. userId:this.userId,
  518. }
  519. if(this.tabval&&this.tabval!=0){
  520. params.remindType=this.tabval
  521. }
  522. getRemindList(params).then(res=>{
  523. if(res.code==200){
  524. this.total=res.total||0
  525. if (res.rows.length < this.pageSize) {
  526. this.reachflag = false
  527. this.wtdt = '到底了~';
  528. } else {
  529. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  530. if (num < res.total) {
  531. this.reachflag = true
  532. this.wtdt = '加载更多'
  533. } else {
  534. this.reachflag = false
  535. this.wtdt = '到底了~';
  536. }
  537. }
  538. if (this.pageNum == 1) {
  539. this.list = res.rows;
  540. } else {
  541. this.list = this.list.concat(res.rows)
  542. }
  543. }else{
  544. this.$toast(res.msg)
  545. }
  546. })
  547. },
  548. },
  549. }
  550. </script>
  551. <style>
  552. page{background-color: #FFFFFF;}
  553. </style>
  554. <style lang="scss" scoped>
  555. .navbox /deep/ .uni-navbar__header-container {align-items: center;padding-left: 0;}
  556. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;
  557. .topl{padding-left: 16rpx;overflow: hidden;
  558. image{width: 30rpx;height: 38rpx;margin-right: 18rpx;flex: 0 0 auto;}
  559. view{font-weight: bold;font-size: 26rpx;color: #FFFFFF;}
  560. }
  561. .topc{border-radius: 34rpx;height:68rpx;box-sizing: border-box;padding:0 32rpx 0 32rpx ;position: relative;flex:1;background-color: #FFFFFF;
  562. input{font-weight: 500;font-size: 26rpx;color: #222327;}
  563. image{width: 30rpx;height: 30rpx;margin-right: 24rpx;flex: 0 0 auto;}
  564. }
  565. .topr{width: 48rpx;height: 38rpx;position: relative;
  566. image{width: 36rpx;height: 38rpx;margin: 0 auto;}
  567. // .cir{background: #FF4747;font-size: 14rpx;color: #FFFFFF;border-radius: 50%;border: 2rpx solid #FFFFFF;min-width: 20rpx;height: 20rpx;
  568. // position: absolute;right: -5rpx;top: -5rpx;text-align: center;line-height: 16rpx;
  569. // }
  570. // .cir{width: 14rpx;height: 14rpx;background: #DF0024;border-radius: 50%;position: absolute;right: -7rpx;top: -7rpx;}
  571. }
  572. }
  573. .zxbox{
  574. .bgimg{width: 100%;height: 450rpx;}
  575. .zxmain{
  576. margin-top: -270rpx;position: relative;
  577. .banbox{width: 678rpx;height: 246rpx;margin: 0 auto;}
  578. .grid{
  579. display: flex;align-items: center;flex-wrap: wrap;
  580. .grid-item-box {display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 24rpx 0 36rpx;width: 25%;box-sizing: border-box;
  581. .img{width: 46rpx;height: 46rpx;display: flex;align-items: center;justify-content: center;margin-bottom: 22rpx;
  582. .imga{width: 46rpx;height: 46rpx;}
  583. .imgb{width: 46rpx;height: 40rpx;}
  584. .imgc{width: 44rpx;height: 46rpx;}
  585. .imgd{width: 40rpx;height: 46rpx;}
  586. .imge{width: 42rpx;height: 46rpx;}
  587. .imgf{width: 44rpx;height: 40rpx;}
  588. }
  589. view{font-weight: bold;font-size: 26rpx;color: #222327;}
  590. }
  591. }
  592. .mlrbox{margin: 8rpx 36rpx 0;}
  593. .addbox{
  594. display: flex;
  595. .adda{width: 154rpx;height: 190rpx;border-radius: 20rpx;box-sizing: border-box;padding: 28rpx 0 0 20rpx;margin-right: 22rpx;
  596. &.bga{background: #FFF6F5;}
  597. &.bgb{background: #F6F8FF;}
  598. &.bgc{background: #FFF6E7;}
  599. &.bgd{background: #EFF9F6;}
  600. &:nth-child(4n){margin-right: 0;}
  601. image{width: 52rpx;height: 52rpx;margin-bottom: 12rpx;}
  602. .tit{font-weight: bold;font-size: 28rpx;color: #222327;margin-bottom: 4rpx;}
  603. .txt{font-size: 22rpx;color: #AAAAAA;}
  604. }
  605. }
  606. .tabt{
  607. .left{font-weight: bold;font-size: 36rpx;color: #222327;
  608. text{color: #FF6969;font-size: 30rpx;}
  609. }
  610. .right{font-size: 26rpx;color: #AAAAAA;
  611. image{width: 12rpx;height: 18rpx;margin-left: 14rpx;}
  612. }
  613. }
  614. }
  615. .hnbox{background-color: #ffffff;padding-bottom: 32rpx;
  616. .hntabs{padding:20rpx 12rpx 20rpx 34rpx;background-color: #ffffff;overflow: auto;
  617. &.tabfix{position: fixed;left: 0;right: 0;z-index: 4;box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(196,191,191,0.22);}
  618. .tit{font-weight: 500;font-size: 26rpx;color: #252736;position: relative;margin-right: 22rpx;height: 58rpx;text-align: center;padding: 0 26rpx;background: #F6F6F6;
  619. border-radius: 30rpx;flex: 0 0 auto;line-height: 58rpx;
  620. &.act{font-weight: 500;color: #FFFFFF;background: #00A9F0;
  621. }
  622. }
  623. }
  624. }
  625. }
  626. .morebox{
  627. position: fixed;left: 0;right: 0;bottom: 0;z-index: 110;
  628. .molists{
  629. view{width: 100%;background: #ffffff;font-weight: 500;font-size: 30rpx;color: #222327;border-bottom: 2rpx solid #E6E6E6;min-height: 100rpx;display: flex;align-items: center;justify-content: center;padding: 10rpx;
  630. box-sizing: border-box;
  631. &.mcoa{color: #00A9F0;}
  632. }
  633. }
  634. }
  635. </style>