index.vue 20 KB

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