index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  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.getrefreshData()
  222. })
  223. // this.init()
  224. var that=this;
  225. // #ifndef H5
  226. self.getLocation(function(res){
  227. if(res==-1){
  228. }else{
  229. that.city=res.city;
  230. // that.temperature=res.temperature;
  231. // that.weather=res.weather;
  232. // that.weathericon=res.icon;
  233. }
  234. })
  235. // #endif
  236. if(checkPermi(['system:remind:list'])){
  237. this.getDataFn()
  238. }
  239. if(checkPermi(['system:hyperlink:list'])){
  240. this.getHyperlinkList()
  241. }
  242. this.getNoticeFn()
  243. this.getbannerList()
  244. uni.getSystemInfo({
  245. success: (e) => {
  246. this.nvaHeight = Number(e.statusBarHeight)+44;
  247. this.minheight = e.screenHeight - Number(this.nvaHeight)- 100;
  248. }
  249. })
  250. },
  251. mounted() {
  252. var that=this;
  253. setTimeout(function(){
  254. that.getHeightFn()
  255. },200)
  256. },
  257. // 上拉触底加载更多触发事件
  258. onReachBottom() {
  259. // if (this.reachflag) {
  260. // this.pageNum++
  261. // this.getDataFn()
  262. // }
  263. },
  264. methods:{
  265. checkPermi, checkRole,
  266. getClose(){
  267. this.type='';
  268. this.mtype=false;
  269. this.initFace='Y';
  270. this.$store.dispatch('checkInitFace', this.initFace).then(() => {
  271. })
  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. if(checkPermi(['system:registered:user'])&&!checkPermi(['system:system:user'])){
  337. this.$store.dispatch('GetInfo').then(vres => {
  338. // 添加企业
  339. this.initFace=this.$store.state.user.initFace;
  340. if(this.initFace=='Y'){
  341. this.$tab.navigateTo("/work/pages/prove/zctype")
  342. }
  343. })
  344. }else{
  345. this.$tab.navigateTo("/work/pages/prove/zctype")
  346. }
  347. },
  348. getBusListFn(type,from){
  349. // this.$tab.navigateTo("/work/pages/business/list?type="+type)
  350. if(from){
  351. this.$tab.navigateTo("/work/pages/business/list?from=my&type=0")
  352. }else{
  353. this.$tab.navigateTo("/work/pages/business/list?type="+type)
  354. }
  355. },
  356. getBuszcListFn(){
  357. this.$tab.navigateTo("/work/pages/business/zclist")
  358. },
  359. getBushszListFn(){
  360. this.$tab.navigateTo("/work/pages/business/hszlist")
  361. },
  362. getDown(e){
  363. uni.showLoading({
  364. title: '加载中'
  365. });
  366. var url=baseUrl+e;
  367. let index1 = e.lastIndexOf("."); // 得到一个索引值
  368. let index2 = e.length;
  369. let type = e.substring(index1, index2);
  370. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  371. uni.previewImage({
  372. current: 0,
  373. urls: [url],
  374. // background: '#ffffff'
  375. });
  376. uni.hideLoading();
  377. } else {
  378. uni.downloadFile({
  379. url: url,//文件的下载路径
  380. success(result) {
  381. uni.hideLoading()
  382. var filePath = result.tempFilePath;
  383. uni.openDocument({
  384. filePath: filePath,
  385. showMenu: true,
  386. success: function (res) {
  387. // console.log('打开文档成功');
  388. }
  389. });
  390. },
  391. fail(res) {uni.hideLoading()}
  392. })
  393. }
  394. },
  395. getScanFn(){
  396. // 扫码识别
  397. var that = this;
  398. uni.scanCode({
  399. onlyFromCamera: true,
  400. autoZoom:false,
  401. scanType: ['qrCode'],
  402. success: function(red) {
  403. let result = red.result;
  404. var a=JSON.parse(result)
  405. if (typeof result == 'string') {
  406. try {
  407. //type1,认证,2 文件
  408. if(a.type==1){
  409. that.$tab.navigateTo(`/work/pages/prove/index`)
  410. }else if(a.type==2){
  411. that.getDown(result.url)
  412. }else{
  413. }
  414. } catch (e) {
  415. uni.navigateBack({
  416. delta: 1
  417. })
  418. uni.showToast({
  419. title: '扫码查询失败,请检查二维码是否正确',
  420. icon: "none"
  421. })
  422. return
  423. }
  424. }
  425. },
  426. fail: function(e) {
  427. if (e && e.errMsg && e.errMsg.indexOf('scanCode:fail cancel') != -1) {
  428. return;
  429. }
  430. uni.showToast({
  431. title: '扫码失败',
  432. icon: "none"
  433. })
  434. },
  435. });
  436. },
  437. getLedgerFn(){
  438. this.$toast('功能正在开发中~')
  439. // this.$tab.navigateTo("/work/pages/file/ledgertable")
  440. },
  441. getFileFn(){
  442. this.$tab.navigateTo("/work/pages/file/list")
  443. },
  444. getNoticeDet(e){
  445. this.$tab.navigateTo("/pages/index/noticedetail?type=xttz&id="+e)
  446. },
  447. getDetail(e){
  448. // this.$tab.navigateTo("/pages/index/noticedetail?type=dbtz&id="+e)
  449. this.$tab.navigateTo("/work/pages/business/details?id="+e)
  450. },
  451. getTab(idx){
  452. this.tabval=idx;
  453. this.getrefreshData()
  454. },
  455. getrefreshData(){
  456. this.pageNum=1;
  457. this.list=[];
  458. this.reachflag=true;
  459. this.getDataFn()
  460. },
  461. getHeightFn(){
  462. let query = uni.createSelectorQuery().in(this);
  463. //需要给黄色区域设置一个id标识,在这里是demo
  464. query.select('.zxtop').boundingClientRect(data => {
  465. // console.log(data)
  466. var top=data.top<0 ? -data.top : data.top;
  467. this.listTop = data.height//赋值,待会要用
  468. if (top <=this.nvaHeight) {
  469. const opacity = top / 100 // 计算透明度值
  470. const color = `rgba(4, 145, 253, ${opacity})`
  471. this.backgroundColor = color // 更新盒子背景颜色
  472. } else {
  473. this.backgroundColor = '#00A9F0'
  474. }
  475. }).exec();
  476. },
  477. init(){
  478. // 记录来源
  479. getDictionaryFn('jluly').then(res=>{
  480. if(res.code==200){
  481. this.adrlist = res.data.map(v => {
  482. return {
  483. dictLabel: v.dictLabel,
  484. dictValue: v.dictValue
  485. }
  486. })
  487. }
  488. })
  489. },
  490. time() {
  491. var date = new Date();
  492. var y = date.getFullYear();
  493. var m = date.getMonth() + 1;
  494. var d = date.getDate();
  495. let lunar = calendar.solar2lunar(y, m, d); //农历
  496. this.lunar=lunar.IMonthCn+lunar.IDayCn;
  497. this.daytime=m+'月'+d+"日";
  498. // var h = date.getHours();
  499. // var min = date.getMinutes();
  500. // var s = date.getSeconds();
  501. // var week = date.getDay(); //获取当前星期X(0-6,0代表星期天)
  502. // var weeks = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
  503. // var yearStr = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d)
  504. // var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  505. // '0' + s) : s);
  506. // this.kaTime = yearStr + ' ' + timeStr;
  507. },
  508. getNoticeFn(){
  509. var params={
  510. pageSize:10,
  511. pageNum: 1,
  512. }
  513. getNoticeList(params).then(res=>{
  514. if(res.code==200){
  515. this.noticelist = res.rows;
  516. }else{
  517. this.$toast(res.msg)
  518. }
  519. })
  520. },
  521. getbannerList(){
  522. getbannerList().then(res=>{
  523. if(res.code==200){
  524. var data=res.rows;
  525. var newArr=[];
  526. data.forEach(ite=>{
  527. if(ite.imgUrl){
  528. newArr=newArr.concat(ite.imgUrl.split(','))
  529. }
  530. })
  531. this.bannerlist=newArr;
  532. }
  533. })
  534. },
  535. getDataFn(){
  536. var params={
  537. pageSize:this.pageSize,
  538. pageNum: this.pageNum,
  539. userId:this.userId,
  540. }
  541. if(this.tabval&&this.tabval!=0){
  542. params.remindType=this.tabval
  543. }
  544. getRemindList(params).then(res=>{
  545. if(res.code==200){
  546. this.total=res.total||0
  547. if (res.rows.length < this.pageSize) {
  548. this.reachflag = false
  549. this.wtdt = '到底了~';
  550. } else {
  551. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  552. if (num < res.total) {
  553. this.reachflag = true
  554. this.wtdt = '加载更多'
  555. } else {
  556. this.reachflag = false
  557. this.wtdt = '到底了~';
  558. }
  559. }
  560. if (this.pageNum == 1) {
  561. this.list = res.rows;
  562. } else {
  563. this.list = this.list.concat(res.rows)
  564. }
  565. }else{
  566. this.$toast(res.msg)
  567. }
  568. })
  569. },
  570. },
  571. }
  572. </script>
  573. <style>
  574. page{background-color: #FFFFFF;}
  575. </style>
  576. <style lang="scss" scoped>
  577. .navbox /deep/ .uni-navbar__header-container {align-items: center;padding-left: 0;}
  578. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;
  579. .topl{padding-left: 16rpx;overflow: hidden;
  580. image{width: 30rpx;height: 38rpx;margin-right: 18rpx;flex: 0 0 auto;}
  581. view{font-weight: bold;font-size: 26rpx;color: #FFFFFF;}
  582. }
  583. .topc{border-radius: 34rpx;height:68rpx;box-sizing: border-box;padding:0 32rpx 0 32rpx ;position: relative;flex:1;background-color: #FFFFFF;
  584. input{font-weight: 500;font-size: 26rpx;color: #222327;}
  585. image{width: 30rpx;height: 30rpx;margin-right: 24rpx;flex: 0 0 auto;}
  586. }
  587. .topr{width: 48rpx;height: 38rpx;position: relative;
  588. image{width: 36rpx;height: 38rpx;margin: 0 auto;}
  589. // .cir{background: #FF4747;font-size: 14rpx;color: #FFFFFF;border-radius: 50%;border: 2rpx solid #FFFFFF;min-width: 20rpx;height: 20rpx;
  590. // position: absolute;right: -5rpx;top: -5rpx;text-align: center;line-height: 16rpx;
  591. // }
  592. // .cir{width: 14rpx;height: 14rpx;background: #DF0024;border-radius: 50%;position: absolute;right: -7rpx;top: -7rpx;}
  593. }
  594. }
  595. .zxbox{
  596. .bgimg{width: 100%;height: 450rpx;}
  597. .zxmain{
  598. margin-top: -270rpx;position: relative;
  599. .banbox{width: 678rpx;height: 246rpx;margin: 0 auto;}
  600. .grid{
  601. display: flex;align-items: center;flex-wrap: wrap;
  602. .grid-item-box {display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 24rpx 0 36rpx;width: 25%;box-sizing: border-box;
  603. .img{width: 46rpx;height: 46rpx;display: flex;align-items: center;justify-content: center;margin-bottom: 22rpx;
  604. .imga{width: 46rpx;height: 46rpx;}
  605. .imgb{width: 46rpx;height: 40rpx;}
  606. .imgc{width: 44rpx;height: 46rpx;}
  607. .imgd{width: 40rpx;height: 46rpx;}
  608. .imge{width: 42rpx;height: 46rpx;}
  609. .imgf{width: 44rpx;height: 40rpx;}
  610. }
  611. view{font-weight: bold;font-size: 26rpx;color: #222327;}
  612. }
  613. }
  614. .mlrbox{margin: 8rpx 36rpx 0;}
  615. .addbox{
  616. display: flex;
  617. .adda{width: 154rpx;height: 190rpx;border-radius: 20rpx;box-sizing: border-box;padding: 28rpx 0 0 20rpx;margin-right: 22rpx;
  618. &.bga{background: #FFF6F5;}
  619. &.bgb{background: #F6F8FF;}
  620. &.bgc{background: #FFF6E7;}
  621. &.bgd{background: #EFF9F6;}
  622. &:nth-child(4n){margin-right: 0;}
  623. image{width: 52rpx;height: 52rpx;margin-bottom: 12rpx;}
  624. .tit{font-weight: bold;font-size: 28rpx;color: #222327;margin-bottom: 4rpx;}
  625. .txt{font-size: 22rpx;color: #AAAAAA;}
  626. }
  627. }
  628. .tabt{
  629. .left{font-weight: bold;font-size: 36rpx;color: #222327;
  630. text{color: #FF6969;font-size: 30rpx;}
  631. }
  632. .right{font-size: 26rpx;color: #AAAAAA;
  633. image{width: 12rpx;height: 18rpx;margin-left: 14rpx;}
  634. }
  635. }
  636. }
  637. .hnbox{background-color: #ffffff;padding-bottom: 32rpx;
  638. .hntabs{padding:20rpx 12rpx 20rpx 34rpx;background-color: #ffffff;overflow: auto;
  639. &.tabfix{position: fixed;left: 0;right: 0;z-index: 4;box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(196,191,191,0.22);}
  640. .tit{font-weight: 500;font-size: 26rpx;color: #252736;position: relative;margin-right: 22rpx;height: 58rpx;text-align: center;padding: 0 26rpx;background: #F6F6F6;
  641. border-radius: 30rpx;flex: 0 0 auto;line-height: 58rpx;
  642. &.act{font-weight: 500;color: #FFFFFF;background: #00A9F0;
  643. }
  644. }
  645. }
  646. }
  647. }
  648. .morebox{
  649. position: fixed;left: 0;right: 0;bottom: 0;z-index: 110;
  650. .molists{
  651. 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;
  652. box-sizing: border-box;
  653. &.mcoa{color: #00A9F0;}
  654. }
  655. }
  656. }
  657. </style>