index.vue 20 KB

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