mine.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  1. <template>
  2. <view :style="'padding-top:'+nvaHeight+'px;'">
  3. <view class="navbox">
  4. <uni-nav-bar color="#ffffff" rightWidth="150rpx" title="社情民意" @clickLeft="getBack" @clickRight="getChFn" :background-color="backgroundColor" :border="false" statusBar='true' fixed="true">
  5. <block slot="left">
  6. <view class="topl">
  7. <image :src="backimg" ></image>
  8. </view>
  9. </block>
  10. <!-- <block slot="right">
  11. <view class="topr">
  12. <image :src="ccicoimg"></image>
  13. <view>提案查重</view>
  14. </view>
  15. </block> -->
  16. </uni-nav-bar>
  17. <view class="plr12 mt18">
  18. <view class="search flex0 mb10">
  19. <image :src="searchimg"></image>
  20. <input placeholder="输入关键字进行查询" v-model="title" @confirm="getConfirm"/>
  21. </view>
  22. </view>
  23. <view class="tablists flexc mb20">
  24. <block v-for="(ite,idx) in tabList" >
  25. <view v-if="!ite.limit||ite.limit&&checkPermi([ite.limit])" @click="getTabFn(ite)" :class="{act:tabidx==ite.val}" :key="idx">{{ite.tit}}</view>
  26. </block>
  27. </view>
  28. <view style="height: 56rpx;"></view>
  29. <view class="lbtab flexc">
  30. <image :src="lbicoimg" class="limg"></image>
  31. <view class="lbtabs flexc">
  32. <view class="lbtabp">
  33. <picker mode="date" fields="year" range-key='label' @change='bindDateChangeb'>
  34. <view :class="year?'':'f16 co80'">{{year || "选择年份"}}</view>
  35. </picker>
  36. <image :src="upimg" class="upimg"></image>
  37. </view>
  38. <view class="lbtabp">
  39. <picker range-key='label' :value="ztlxidx" :range="ztlxlist" @change='bindDateChangea'>
  40. <view :class="ztlx?'':'f16 co80'">{{ztlx || "主题类型"}}</view>
  41. </picker>
  42. <image :src="upimg" class="upimg"></image>
  43. </view>
  44. <view class="lbtabp" v-if="tabidx=='xxsb'">
  45. <picker range-key='label' :value="sfcyidx" :range="taztList" @change='bindDateChangec'>
  46. <view :class="sfcy?'':'f16 co80'">{{sfcy || "是否采用"}}</view>
  47. </picker>
  48. <image :src="upimg" class="upimg"></image>
  49. </view>
  50. <!-- <view class="lbtabp">
  51. <picker range-key='label' :value="kwlxidx" :range="kwlxList" @change='bindDateChanged'>
  52. <view :class="kwlx?'':'f16 co80'">{{kwlx || "刊物类型"}}</view>
  53. </picker>
  54. <image :src="upimg" class="upimg"></image>
  55. </view>
  56. <view class="lbtabp">
  57. <picker range-key='label' :value="psqkidx" :range="psList" @change='bindDateChangee'>
  58. <view :class="psqk?'':'f16 co80'">{{psqk || "批示情况"}}</view>
  59. </picker>
  60. <image :src="upimg" class="upimg"></image>
  61. </view> -->
  62. <view class="lbtabp" v-if="tabidx=='qb'||tabidx=='xxsb'">
  63. <picker range-key='label' :value="tajdidx" :range="tajdlist" @change='bindDateChangef'>
  64. <view :class="tajd?'':'f16 co80'">{{tajd || "办理状态"}}</view>
  65. </picker>
  66. <image :src="upimg" class="upimg"></image>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <!-- 列表 -->
  72. <view class="mbox">
  73. <sqmy-info-list :datalist="list" :listtype="listtype" :wtdt="wtdt" :ztlxlist='ztlxlist' :tajdlist="tajdlist" :type='tabidx' @getDetail="getDetail" @getTuiFn="getTuiFn"></sqmy-info-list>
  74. </view>
  75. <view v-if="checkPermi(['sqmyInfo:info:add'])&&tabidx=='xxsb'">
  76. <view style="height: 100rpx;"></view>
  77. <view class="fwbtns" @click="getAddsqmy">上报社情民意</view>
  78. </view>
  79. <!-- 弹窗 -->
  80. <pop-up :type='ptype' :sh="sh" :blfsList="matterList" :dflxlist="dflxlist" :blcdlist="blcdlist" @getFaFn="getFaFn" :mycdlist="mycdlist" :dataTree="deptTree" @getClose="getClose" @getupSubmit="getupSubmit"></pop-up>
  81. </view>
  82. </template>
  83. <script>
  84. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  85. import {getsqmyInfoListFn,getsqmyInfoisRecordFn,getsqmyInfoAssignFn,getsqmyReplyFn,
  86. getsqmyInfoShFn,getsqmyInfoIdeaFn,getsqmyInfozxIdeaFn,
  87. getInfourgeFn,getsqmyInfokeyPointFn,getsqmyInfooutstandingFn,getsqmyInfounitListFn
  88. ,getsqmyInfoReplywyFn} from "@/api/mine/sqmyInfo.js"
  89. import popUp from "@/work/components/popup/popup.vue"
  90. import sqmyInfoList from "@/work/components/sqmyInfo/list.vue"
  91. import {getDictionaryFn} from "@/api/mine/register.js"
  92. import {getDeptTree} from"@/api/mine/mine.js"
  93. export default{
  94. components:{sqmyInfoList,popUp},
  95. data(){
  96. return{
  97. searchimg: require("@/work/static/images/search.png"),
  98. ccicoimg:require("@/work/static/images/ccico.png"),
  99. lbicoimg:require("@/work/static/images/lbico.png"),
  100. backimg:require("@/work/static/images/back.png"),
  101. upimg:require("@/work/static/images/up.png"),
  102. backgroundColor:"#1D64E2",
  103. tabidx:'qb',
  104. tabtype:'',//进度查询
  105. // {tit:'征集通知',val:0}, 提案催办 目前看所有{tit:'上网社情民意',val:'swsqmy',},
  106. tabList:[{tit:'全部',val:'qb',limit:'sqmyInfo:info:list'},
  107. {tit:'信息审核',jd:1,val:'xxsh',limit:'sqmyInfo:info:isRecord'},
  108. {tit:'信息交办',jd:2,val:'xxjb',limit:'sqmyInfo:info:assign'},
  109. // {tit:'信息办理',val:'xxbl',limit:'sqmyInfo:info:unitList'},
  110. // {tit:'办结审核',jd:6,val:'bjsh',},
  111. {tit:'信息催办',val:'xxcb',limit:'sqmyInfo:info:sqmycbList'},
  112. // {tit:'接收催办',val:'jssqcb',limit:'zxUrge:urge:list'},
  113. {tit:'信息上报',val:'xxsb',limit:'sqmyInfo:info:list'},
  114. {tit:'推荐优秀',val:'tjyx',limit:'sqmyInfo:info:outstanding'},
  115. {tit:'推荐重点',val:'tjzd',limit:'sqmyInfo:info:keyPoint'}
  116. ],
  117. // {tit:'开始日期',val:1},{tit:'结束日期',val:2},
  118. // "sqmyProgress":"提案进度(0:提交提案,1:提案审查,2:提案立案,3:提案交办,4:办理提案,5:提案反馈,6:办结审核,7:已办结) ",
  119. nvaHeight:44,
  120. talbList:[{},],
  121. taztList:[{label:'是',value:'0'},{label:'否',value:'1'}],
  122. psList:[{label:'已批示',value:'0'},{label:'未批示',value:'1'}],
  123. kwlxList:[{label:'社情民意',value:'0'},{label:'刊物类型',value:'1'}],
  124. ptype:'',//弹窗类型
  125. list:[],
  126. pageSize: 10,
  127. pageNum: 1,
  128. reachflag: true,
  129. wtdt:'',
  130. tajdlist:[],//提案进度
  131. listtype:'case',
  132. year:'',//提案时间
  133. title:'',
  134. deptTree:[],
  135. matterList:[],
  136. blcdlist:[],
  137. mycdlist:[],
  138. ztlxlist:[],//主题类型
  139. dflxlist:[],//答复类型
  140. ztlx:"",//主题
  141. ztlxid:"",
  142. ztlxidx:'',
  143. sfcy:"",//采用
  144. sfcyid:"",
  145. sfcyidx:'',
  146. kwlx:"",//刊物类型
  147. kwlxid:"",
  148. kwlxidx:'',
  149. psqk:"",//批示情况
  150. psqkid:"",
  151. psqkidx:'',
  152. tajd:"",//办理状态
  153. tajdid:"",
  154. tajdidx:'',
  155. id:'',
  156. userId:this.$store.state.user.userId,
  157. sh:'',
  158. }
  159. },
  160. onUnload(){
  161. uni.$off('refreshlist')
  162. },
  163. // 上拉触底加载更多触发事件
  164. onReachBottom() {
  165. if (this.reachflag) {
  166. this.pageNum++
  167. this.getDataFn()
  168. }
  169. },
  170. onLoad(e) {
  171. this.getDataFn()
  172. this.init()
  173. uni.$on('refreshlist', (e) => {
  174. this.getDataFn()
  175. })
  176. },
  177. mounted() {
  178. this.getHeightFn()
  179. },
  180. methods:{
  181. checkPermi, checkRole,
  182. // 提案状态
  183. init(){
  184. // 主题类型
  185. getDictionaryFn('sqmy_topic_type').then(res=>{
  186. if(res.code==200&&res.data.length){
  187. this.ztlxlist = res.data.map(v => {
  188. return {
  189. label: v.dictLabel,
  190. value: v.dictValue
  191. }
  192. })
  193. }
  194. })
  195. getDictionaryFn('proposal_progress').then(res=>{
  196. if(res.code==200&&res.data.length){
  197. this.tajdlist = res.data.map(v => {
  198. return {
  199. label: v.dictLabel,
  200. value: v.dictValue
  201. }
  202. })
  203. }
  204. })
  205. // 协办单位
  206. getDeptTree().then(res=>{
  207. if(res.code==200){
  208. this.deptTree=res.data
  209. }
  210. })
  211. // 办理方式
  212. getDictionaryFn('negotiation_mode').then(res=>{
  213. if(res.code==200&&res.data.length){
  214. this.matterList = res.data.map(v => {
  215. return {
  216. label: v.dictLabel,
  217. value: v.dictValue
  218. }
  219. })
  220. }
  221. })
  222. // 办理程度degree
  223. getDictionaryFn('degree').then(res=>{
  224. if(res.code==200&&res.data.length){
  225. this.blcdlist = res.data.map(v => {
  226. return {
  227. text: v.dictLabel,
  228. value: v.dictValue
  229. }
  230. })
  231. }
  232. })
  233. // 满意程度
  234. getDictionaryFn('member_satisfaction').then(res=>{
  235. if(res.code==200&&res.data.length){
  236. this.mycdlist = res.data.map(v => {
  237. return {
  238. text: v.dictLabel,
  239. value: v.dictValue
  240. }
  241. })
  242. }
  243. })
  244. //答复类型
  245. getDictionaryFn('proposal_complex_type').then(res=>{
  246. if(res.code==200&&res.data.length){
  247. this.dflxlist = res.data.map(v => {
  248. return {
  249. text: v.dictLabel,
  250. value: v.dictValue
  251. }
  252. })
  253. }
  254. })
  255. },
  256. getConfirm(){
  257. this.pageNum=1;
  258. this.list=[];
  259. this.reachflag=true;
  260. this.getDataFn()
  261. },
  262. getFaFn(type,ptype){
  263. this.ptype='';
  264. if(ptype=='sqmy'){
  265. if(type=='new'){uni.removeStorageSync('sqmyList')}
  266. this.$tab.navigateTo('/work/pages/case/add?type='+type)
  267. }
  268. },
  269. getTuiFn(data){
  270. var sh=data.sh;
  271. this.id=data.id;
  272. this.iteinfo=data.ite;
  273. var type=data.type;
  274. var that=this;
  275. if(type=='scfk'){
  276. this.ptype=data.type;
  277. this.sh=data.sh;
  278. // if(sh==1){
  279. // this.ptype=data.type;
  280. // }else{
  281. // var params={
  282. // proposalId:data.id,
  283. // isRecord:0,
  284. // }
  285. // getsqmyInfoisRecordFn(params).then(res=>{
  286. // if(res.code==200){
  287. // this.$toast("立案成功");
  288. // setTimeout(function(){
  289. // that.ptype='';
  290. // that.pageNum=1;
  291. // that.list=[];
  292. // that.reachflag=true;
  293. // that.getDataFn()
  294. // },1200)
  295. // }
  296. // })
  297. // }
  298. }else{
  299. this.ptype=type
  300. }
  301. },
  302. getupSubmit(e){
  303. var that=this;
  304. var type=this.ptype;
  305. if(type=='scfk'){
  306. var params=JSON.parse(JSON.stringify(e))
  307. params.sqmyId=this.id
  308. var str='立案';
  309. if(params.isRecord=='1'){
  310. str='不予立案'
  311. }
  312. getsqmyInfoisRecordFn(params).then(res=>{
  313. if(res.code==200){
  314. this.$toast(str+"成功");
  315. setTimeout(function(){
  316. that.getrefreshData()
  317. },1200)
  318. }
  319. })
  320. }else if(type=='tajb'){
  321. var params=JSON.parse(JSON.stringify(e))
  322. params.sqmyId=this.id
  323. getsqmyInfoAssignFn(params).then(res=>{
  324. if(res.code==200){
  325. this.$toast("提案交办成功");
  326. setTimeout(function(){
  327. that.getrefreshData()
  328. },1200)
  329. }
  330. })
  331. }else if(type=='dffk'||type=='dwdf'){
  332. var params=JSON.parse(JSON.stringify(e))
  333. params.sqmyId=this.id
  334. if(this.iteinfo.proposalProgress==7){
  335. params.cbdwdfwy=params.content;
  336. getsqmyInfoReplywyFn(params).then(res=>{
  337. if(res.code==200){
  338. this.$toast("答复反馈成功");
  339. setTimeout(function(){
  340. that.getrefreshData()
  341. },1200)
  342. }
  343. })
  344. }else{
  345. getsqmyReplyFn(params).then(res=>{
  346. if(res.code==200){
  347. this.$toast("答复反馈成功");
  348. setTimeout(function(){
  349. that.getrefreshData()
  350. },1200)
  351. }
  352. })
  353. }
  354. }else if(type=='jbsh'){
  355. var params=JSON.parse(JSON.stringify(e))
  356. params.sqmyId=this.id
  357. getsqmyInfoShFn(params).then(res=>{
  358. if(res.code==200){
  359. this.$toast("交办审核成功");
  360. setTimeout(function(){
  361. that.getrefreshData()
  362. },1200)
  363. }
  364. })
  365. }else if(type=='wymyfk'){
  366. var params=JSON.parse(JSON.stringify(e))
  367. params.sqmyId=this.id
  368. getsqmyInfoIdeaFn(params).then(res=>{
  369. if(res.code==200){
  370. this.$toast("提案办结成功");
  371. setTimeout(function(){
  372. that.getrefreshData()
  373. },1200)
  374. }
  375. })
  376. }else if(type=='zxmyfk'){
  377. var params=JSON.parse(JSON.stringify(e))
  378. params.sqmyId=this.id
  379. getsqmyInfozxIdeaFn(params).then(res=>{
  380. if(res.code==200){
  381. this.$toast("提案办结成功");
  382. setTimeout(function(){
  383. that.getrefreshData()
  384. },1200)
  385. }
  386. })
  387. }else if(type=='tacb'){
  388. var params=JSON.parse(JSON.stringify(e))
  389. params.scoreId=this.id
  390. params.urgeType=2
  391. getInfourgeFn(params).then(res=>{
  392. if(res.code==200){
  393. this.$toast("提案办结成功");
  394. setTimeout(function(){
  395. that.ptype='';
  396. that.pageNum=1;
  397. that.list=[];
  398. that.reachflag=true;
  399. that.getDataFn()
  400. },1200)
  401. }
  402. })
  403. }else if(type=='tjyx'){
  404. var params=JSON.parse(JSON.stringify(e))
  405. params.proposalId=this.id
  406. getsqmyInfooutstandingFn(params).then(res=>{
  407. if(res.code==200){
  408. this.$toast("推荐优秀成功");
  409. setTimeout(function(){
  410. that.ptype='';
  411. that.pageNum=1;
  412. that.list=[];
  413. that.reachflag=true;
  414. that.getDataFn()
  415. },1200)
  416. }
  417. })
  418. }else if(type=='tjzd'){
  419. var params=JSON.parse(JSON.stringify(e))
  420. params.proposalId=this.id
  421. getsqmyInfokeyPointFn(params).then(res=>{
  422. if(res.code==200){
  423. this.$toast("推荐重点成功");
  424. setTimeout(function(){
  425. that.ptype='';
  426. that.pageNum=1;
  427. that.list=[];
  428. that.reachflag=true;
  429. that.getDataFn()
  430. },1200)
  431. }
  432. })
  433. // }else if(type=='lmta'){
  434. // var params=JSON.parse(JSON.stringify(e))
  435. // var str='同意'
  436. // if(params.isAgree==2){
  437. // str="反对"
  438. // }
  439. // params.proposalId=this.id
  440. // getUserverifyFn(params).then(res=>{
  441. // if(res.code==200){
  442. // this.$toast(str+"成功");
  443. // setTimeout(function(){
  444. // that.ptype='';
  445. // that.pageNum=1;
  446. // that.list=[];
  447. // that.reachflag=true;
  448. // that.getDataFn()
  449. // },1200)
  450. // }
  451. // })
  452. }
  453. },
  454. getAddsqmy(){
  455. if(uni.getStorageSync('sqmyList')){
  456. this.ptype='sqmy'
  457. }else{
  458. this.$tab.navigateTo('/work/pages/sqmyInfo/add')
  459. }
  460. },
  461. getHeightFn(){
  462. var s=uni.getSystemInfoSync().statusBarHeight;
  463. let query = uni.createSelectorQuery().in(this);
  464. //需要给黄色区域设置一个id标识,在这里是demo
  465. query.select('.navbox').boundingClientRect(data => {
  466. this.nvaHeight =s? data.height:Number(data.height)-20//赋值,待会要用
  467. }).exec();
  468. },
  469. getClose(){
  470. this.ptype=""
  471. },
  472. getTabFn(ite){
  473. this.tabidx=ite.val;
  474. this.pageNum=1;
  475. this.list=[],
  476. this.reachflag=true;
  477. this.tabtype=ite.jd||"";
  478. this.getDataFn()
  479. },
  480. getBack(){
  481. uni.navigateBack({
  482. delta:1
  483. })
  484. },
  485. getrefreshData(){
  486. this.ptype='';
  487. this.pageNum=1;
  488. this.list=[];
  489. this.reachflag=true;
  490. this.getDataFn()
  491. },
  492. bindDateChangea(e){
  493. var val=e.detail.value;
  494. this.ztlx=this.ztlxlist[val].label;
  495. this.ztlxid=this.ztlxlist[val].value;
  496. this.getrefreshData()
  497. },
  498. bindDateChangeb(e){
  499. var val=e.detail.value;
  500. this.year=val;
  501. this.getrefreshData()
  502. },
  503. bindDateChangec(e){
  504. var val=e.detail.value;
  505. this.sfcy=this.taztList[val].label;
  506. this.sfcyid=this.taztList[val].value;
  507. this.getrefreshData()
  508. },
  509. bindDateChanged(e){
  510. var val=e.detail.value;
  511. this.kwlx=this.kwlxList[val].label;
  512. this.kwlxid=this.kwlxList[val].value;
  513. this.getrefreshData()
  514. },
  515. bindDateChangee(e){
  516. var val=e.detail.value;
  517. this.psqk=this.psList[val].label;
  518. this.psqkid=this.psList[val].value;
  519. this.getrefreshData()
  520. },
  521. bindDateChangef(e){
  522. var val=e.detail.value;
  523. this.tajd=this.tajdlist[val].label;
  524. this.tajdid=this.tajdlist[val].value;
  525. this.getrefreshData()
  526. },
  527. getChFn(){
  528. this.$tab.navigateTo('/work/pages/case/tacheck')
  529. },
  530. getDetail(data){
  531. this.$tab.navigateTo('/work/pages/sqmyInfo/details?id='+data)
  532. },
  533. getDataFn(){
  534. var tab=this.tabidx;
  535. var params={
  536. pageSize:this.pageSize,
  537. pageNum: this.pageNum,
  538. }
  539. if(this.tabtype){
  540. params.sqmyProgress=this.tabtype
  541. }
  542. if(this.title){
  543. params.title=this.title
  544. }
  545. if(this.year){//年份
  546. params.year=this.year
  547. }
  548. if(this.ztlx){//主题
  549. params.topicType=this.ztlxid
  550. }
  551. if(this.sfcy&&tab=='xxsb'){//采用
  552. params.isRecord=this.sfcyid
  553. }
  554. if(this.tajd&&(tab=='qb'||tab=='xxsb')){//办理状态
  555. params.sqmyProgress=this.tajdid
  556. }
  557. // if(this.kwlx){//刊物类型
  558. // params.topicType=this.ztlxid
  559. // }
  560. // if(this.psqk){批示情况
  561. // params.topicType=this.ztlxid
  562. // }
  563. if(tab=='tjyx'){
  564. // params.isOutstanding="0"
  565. }else if(tab=='tjzd'){
  566. // params.isKeyPoint="0"
  567. }else if(tab=='xxsb'){
  568. params.sqmyUserId=this.userId
  569. }
  570. if(tab=='xxbl'){
  571. getsqmyInfounitListFn(params).then(res=>{
  572. if(res.code==200){
  573. if (res.rows.length < this.pageSize) {
  574. this.reachflag = false
  575. this.wtdt = '到底了~';
  576. } else {
  577. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  578. if (num < res.total) {
  579. this.reachflag = true
  580. this.wtdt = '上拉加载更多'
  581. } else {
  582. this.reachflag = false
  583. this.wtdt = '到底了~';
  584. }
  585. }
  586. if (this.pageNum == 1) {
  587. this.list = res.rows;
  588. } else {
  589. this.list = this.list.concat(res.rows)
  590. }
  591. }else{
  592. this.$toast(res.msg)
  593. }
  594. })
  595. }else{
  596. if(!checkPermi(['sqmyInfo:info:alllist'])&&tab=='qb'){
  597. params.sqmyUserId=this.userId
  598. // console.log(235)
  599. }
  600. getsqmyInfoListFn(params).then(res=>{
  601. if(res.code==200){
  602. if (res.rows.length < this.pageSize) {
  603. this.reachflag = false
  604. this.wtdt = '到底了~';
  605. } else {
  606. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  607. if (num < res.total) {
  608. this.reachflag = true
  609. this.wtdt = '上拉加载更多'
  610. } else {
  611. this.reachflag = false
  612. this.wtdt = '到底了~';
  613. }
  614. }
  615. if (this.pageNum == 1) {
  616. this.list = res.rows;
  617. } else {
  618. this.list = this.list.concat(res.rows)
  619. }
  620. }else{
  621. this.$toast(res.msg)
  622. }
  623. })
  624. }
  625. },
  626. }
  627. }
  628. </script>
  629. <style scoped lang="scss">
  630. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;background-color: $com-cd3;
  631. .topl{width: 60rpx;height: 60rpx;display: flex;align-items: center;justify-content: center;
  632. image{width: 40rpx;height: 30rpx;}
  633. }
  634. .topr{display: flex;align-items: center;
  635. image{width: 26rpx;height: 26rpx;margin-right: 12rpx;}
  636. view{font-weight: 500;font-size: 26rpx;color: #FFFFFF;}
  637. }
  638. .tablists{
  639. overflow: auto;flex-wrap: nowrap;
  640. view{font-weight: bold;font-size: 26rpx;color: #FFFFFF;position: relative;flex: 1 0 auto;padding: 22rpx 24rpx;margin-right: 6rpx;box-sizing: border-box;text-align: center;
  641. &:last-child{margin-right: 0;}
  642. &.act{font-size: 30rpx;
  643. &::after{content: '';width: 62rpx;height: 10rpx;background: #FFFFFF;border-radius: 4rpx;left: 50%;margin-left: -31rpx;bottom: 0rpx;position: absolute;}
  644. }
  645. }
  646. }
  647. .lbtab{height: 114rpx;background: #FFFFFF;border-radius: 30rpx;padding-left: 24rpx;position: absolute;left:24rpx;right: 24rpx;bottom: -58rpx;
  648. .limg{width: 40rpx;height: 34rpx;margin-right: 10rpx;flex:0 0 auto;}
  649. .lbtabs{overflow: auto;flex-wrap: nowrap;flex: 1;
  650. .lbtabp{display: flex;align-items: center;flex: 0 0 auto;margin-right: 24rpx;}
  651. .upimg{width: 18rpx;height: 10rpx;}
  652. }
  653. }
  654. }
  655. .mbox{padding:58rpx 24rpx 28rpx;}
  656. .lbtabs /deep/ picker{padding: 0 18rpx;}
  657. </style>