list.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646
  1. <template>
  2. <view class="pb50" :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" :key="idx">
  25. <view v-if="!ite.limit||ite.limit&&checkPermi([ite.limit])" @click="getTabFn(ite.val)" :class="{act:tabidx==ite.val}" >{{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. <block v-if="tabidx!='hdtz'&&tabidx!='zxhd'&&tabidx!='zsyz'&&tabidx!='wdzs'">
  33. <view class="lbtabp">
  34. <picker mode="date" :value="time" @change='bindDateChangeb'>
  35. <view :class="time?'':'f16 co80'">{{time || "会议日期"}}</view>
  36. </picker>
  37. <image :src="upimg" class="upimg"></image>
  38. </view>
  39. <view class="lbtabp" v-if="tabidx=='hytz'||tabidx=='hyhd'">
  40. <picker range-key='label' :range="hylxlist" @change='bindDateChangec'>
  41. <view :class="hylxtxt?'':'f16 co80'">{{hylxtxt || "会议类型"}}</view>
  42. </picker>
  43. <image :src="upimg" class="upimg"></image>
  44. </view>
  45. </block>
  46. <block v-if="tabidx=='hdtz'||tabidx=='zxhd'">
  47. <view class="lbtabp" >
  48. <picker mode="date" :value="time" @change='bindDateChangeb'>
  49. <view :class="time?'':'f16 co80'">{{time || "活动日期"}}</view>
  50. </picker>
  51. <image :src="upimg" class="upimg"></image>
  52. </view>
  53. <view class="lbtabp" >
  54. <picker range-key='label' :range="hdlxlist" @change='bindDateChanged'>
  55. <view :class="hdlxtxt?'':'f16 co80'">{{hdlxtxt || "活动类型"}}</view>
  56. </picker>
  57. <image :src="upimg" class="upimg"></image>
  58. </view>
  59. </block>
  60. <block v-if="tabidx=='zsyz'||tabidx=='wdzs'">
  61. <view class="lbtabp" >
  62. <picker range-key='label' :range="xsztlist" @change='bindDateChangee'>
  63. <view :class="xszttxt?'':'f16 co80'">{{xszttxt || "状态"}}</view>
  64. </picker>
  65. <image :src="upimg" class="upimg"></image>
  66. </view>
  67. </block>
  68. </view>
  69. <view class="czbtns" @click='getResetFn'>重置</view>
  70. </view>
  71. </view>
  72. <!-- 列表 -->
  73. <view class="mbox">
  74. <meet-list :datalist="list" :wtdt="wtdt" :xsztlist="xsztlist" :hdlxlist="hdlxlist" :fylxlist='fylxlist' :qjlxlist="aqjlxlist" :type='tabidx' @getDetail="getDetail" @getReadFn="getReadFn" @getTuiFn="getTuiFn"></meet-list>
  75. </view>
  76. <view v-if="checkPermi(['zxConference:conference:add'])||checkPermi(['zx:speak:add'])||checkPermi(['zxActivity:activity:add'])">
  77. <view style="height: 100rpx;"></view>
  78. <view class="fwbtns" @click="getAddMeet" v-if="checkPermi(['zxConference:conference:add'])&&(tabidx=='hyhd'||tabidx=='hytz')">创建会议</view>
  79. <view class="fwbtns" @click="getAddSpeak" v-if="checkPermi(['zx:speak:add'])&&(tabidx=='wdfy'||tabidx=='hyfy')">录入发言</view>
  80. <view class="fwbtns" @click="getAddActive" v-if="checkPermi(['zxActivity:activity:add'])&&(tabidx=='zxhd'||tabidx=='hdtz')">创建活动</view>
  81. <view class="fwbtns" @click="getAddzsyz" v-if="checkPermi(['zx:investment:add'])&&(tabidx=='zsyz'||tabidx=='wdzs')">上报线索</view>
  82. <!-- -->
  83. </view>
  84. <!-- 弹窗 -->
  85. <pop-up :type='ptype' :codeQr="codeQr" @getClose="getClose" @getupSubmit="getupSubmit" :qjlxlist="qjlxlist"></pop-up>
  86. </view>
  87. </template>
  88. <script>
  89. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  90. import {getMeetListFn,getSpeakListFn,getupdateReplyFn,getzxActivityListFn,getzxActivityReplyFn,getinvestmentListFn,getinvestmentshlFn} from "@/api/mine/meeting.js"
  91. import popUp from "@/work/components/popup/popup.vue"
  92. import meetList from "@/work/components/meeting/list.vue"
  93. import {getDictionaryFn} from "@/api/mine/register.js"
  94. export default{
  95. components:{meetList,popUp},
  96. data(){
  97. return{
  98. searchimg: require("@/work/static/images/search.png"),
  99. ccicoimg:require("@/work/static/images/ccico.png"),
  100. lbicoimg:require("@/work/static/images/lbico.png"),
  101. backimg:require("@/work/static/images/back.png"),
  102. upimg:require("@/work/static/images/up.png"),
  103. backgroundColor:"#1D64E2",
  104. tabidx:'hytz',
  105. // 会议活动 管理员看的{tit:'会议发言',val:'hyfy',limit:'zx:speak:list'},
  106. tabList:[{tit:'我的会议',val:'hytz',limit:'zxConference:conference:list'},{tit:'会议活动',val:'hyhd',limit:'zxConference:conference:alllist'},{tit:'我的发言',val:'wdfy',limit:'zx:speak:list'},{tit:'会议发言',val:'hyfy',limit:'zx:speak:alllist'},
  107. {tit:'我的活动',val:'hdtz',limit:'zxActivity:activity:list'},{tit:'政协活动',val:'zxhd',limit:'zxActivity:activity:alllist'},{tit:'我的招商',val:'wdzs',limit:'zx:investment:list'},{tit:'招商引资',val:'zsyz',limit:'zx:investment:alllist'},
  108. ],
  109. litablist:[{tit:'会议日期',val:0},],
  110. nvaHeight:44,
  111. talbList:[{},],
  112. taztList:[{label:'是',value:'0'},{label:'否',value:'1'}],
  113. talbidx:'',
  114. datainfo:{
  115. talb:'',
  116. },
  117. ptype:'',//弹窗类型
  118. list:[],
  119. pageSize: 10,
  120. pageNum: 1,
  121. reachflag: true,
  122. wtdt:'',
  123. qjlxlist:[],
  124. fylxlist:[],
  125. hdlxlist:[],
  126. aqjlxlist:[],
  127. hylxlist:[],
  128. xsztlist:[],
  129. hdlxtxt:'',
  130. hdlxid:'',
  131. hylxtxt:'',
  132. hylxid:'',
  133. userId:this.$store.state.user.userId,
  134. id:'',
  135. title:'',//关键词
  136. time:"",
  137. codeQr:"",
  138. xsztid:'',
  139. xszttxt:''
  140. }
  141. },
  142. onUnload(){
  143. uni.$off('refreshlist')
  144. },
  145. onLoad(e) {
  146. this.getDataFn()
  147. this.init()
  148. uni.$on('refreshlist', (e) => {
  149. this.pageNum=1;
  150. this.list=[];
  151. this.reachflag=true;
  152. this.getDataFn()
  153. })
  154. },
  155. // 上拉触底加载更多触发事件
  156. onReachBottom() {
  157. if (this.reachflag) {
  158. this.pageNum++
  159. this.getDataFn()
  160. }
  161. },
  162. mounted() {
  163. this.getHeightFn()
  164. },
  165. methods:{
  166. checkPermi, checkRole,
  167. init(){
  168. // 请假类型
  169. getDictionaryFn('leave').then(res=>{
  170. if(res.code==200&&res.data.length){
  171. this.qjlxlist = res.data.map(v => {
  172. return {
  173. text: v.dictLabel,
  174. value: v.dictValue
  175. }
  176. })
  177. this.aqjlxlist = res.data.map(v => {
  178. return {
  179. label: v.dictLabel,
  180. value: v.dictValue
  181. }
  182. })
  183. }
  184. })
  185. // 发言类型
  186. getDictionaryFn('speak_type').then(res=>{
  187. if(res.code==200&&res.data.length){
  188. this.fylxlist = res.data.map(v => {
  189. return {
  190. label: v.dictLabel,
  191. value: v.dictValue
  192. }
  193. })
  194. }
  195. })
  196. //活动类型
  197. getDictionaryFn('activity_type').then(res=>{
  198. if(res.code==200&&res.data.length){
  199. this.hdlxlist = res.data.map(v => {
  200. return {
  201. label: v.dictLabel,
  202. value: v.dictValue
  203. }
  204. })
  205. }
  206. })
  207. // 会议类型
  208. getDictionaryFn('conference_type').then(res=>{
  209. if(res.code==200&&res.data.length){
  210. this.hylxlist = res.data.map(v => {
  211. return {
  212. label: v.dictLabel,
  213. value: v.dictValue
  214. }
  215. })
  216. }
  217. })
  218. // 线索状态
  219. getDictionaryFn('investment_type').then(res=>{
  220. if(res.code==200&&res.data.length){
  221. this.xsztlist = res.data.map(v => {
  222. return {
  223. label: v.dictLabel,
  224. value: v.dictValue
  225. }
  226. })
  227. }
  228. })
  229. },
  230. bindDateChangeb(e){
  231. var val=e.detail.value;
  232. this.time=val;
  233. this.getConfirm()
  234. },
  235. bindDateChangec(e){
  236. var val=e.detail.value;
  237. this.hylxtxt=this.hylxlist[val].label;
  238. this.hylxid=this.hylxlist[val].value;
  239. this.getConfirm()
  240. },
  241. bindDateChanged(e){
  242. var val=e.detail.value;
  243. this.hdlxtxt=this.hdlxlist[val].label;
  244. this.hdlxid=this.hdlxlist[val].value;
  245. this.getConfirm()
  246. },
  247. bindDateChangee(e){
  248. var val=e.detail.value;
  249. this.xszttxt=this.xsztlist[val].label;
  250. this.xsztid=this.xsztlist[val].value;
  251. this.getConfirm()
  252. },
  253. getConfirm(){
  254. this.pageNum=1;
  255. this.list=[];
  256. this.reachflag=true;
  257. this.getDataFn()
  258. },
  259. getResetFn(){
  260. var tabidx=this.tabidx;
  261. if(tabidx!='hdtz'&&tabidx!='zxhd'){
  262. this.time=''
  263. if(tabidx=='hytz'||tabidx=='hyhd'){
  264. this.hylxtxt=''
  265. }
  266. }
  267. if(tabidx=='hdtz'||tabidx=='zxhd'){
  268. this.time=''
  269. this.hdlxtxt=''
  270. }
  271. if(tabidx=='zsyz'||tabidx=='wdzs'){
  272. this.xszttxt=''
  273. }
  274. this.title='';
  275. this.getConfirm()
  276. },
  277. getHeightFn(){
  278. var s=uni.getSystemInfoSync().statusBarHeight;
  279. let query = uni.createSelectorQuery().in(this);
  280. //需要给黄色区域设置一个id标识,在这里是demo
  281. query.select('.navbox').boundingClientRect(data => {
  282. // this.nvaHeight =s? data.height:Number(data.height)-20//赋值,待会要用
  283. this.nvaHeight =Number(data.height)//赋值,待会要用
  284. }).exec();
  285. },
  286. getClose(){
  287. this.ptype=""
  288. },
  289. getTabFn(idx){
  290. this.tabidx=idx;
  291. this.pageNum=1;
  292. this.list=[],
  293. this.reachflag=true;
  294. // this.tabtype=ite.jd||"";
  295. this.getDataFn()
  296. },
  297. getBack(){
  298. uni.navigateBack({
  299. delta:1
  300. })
  301. },
  302. bindDateChangea(e){
  303. console.log(e,2)
  304. },
  305. getReadFn(e){
  306. if(this.tabidx=='hyhd'||this.tabidx=='hdtz'||this.tabidx=='zxhd'){
  307. this.$tab.navigateTo('/work/pages/meeting/readdetail?id='+e+'&a='+this.tabidx)
  308. }else if(this.tabidx=='hyfy'){
  309. this.$tab.navigateTo('/work/pages/meeting/speaklist?id='+e)
  310. }
  311. },
  312. getTuiFn(ite){
  313. var that=this;
  314. if(ite.type=='hyqd'){
  315. this.$tab.navigateTo('/work/pages/meeting/signin?id='+ite.id)
  316. }else if(ite.type=='zsyzsh'){
  317. uni.showModal({
  318. title: '确认审核',
  319. content: "是否确认审核",
  320. cancelText: '取消',
  321. confirmText: '确认',
  322. success: function(res) {
  323. if (res.confirm) {
  324. var params={
  325. investmentId:ite.id,
  326. type:2
  327. }
  328. getinvestmentshlFn(params).then(res=>{
  329. if(res.code==200){
  330. that.$toast('审核成功')
  331. that.ptype='';
  332. that.pageNum=1;
  333. that.list=[];
  334. that.reachflag=true;
  335. that.getDataFn()
  336. }
  337. })
  338. } else if (res.cancel) {
  339. }
  340. }
  341. })
  342. }else if(ite.type=='zsyzqy'){
  343. uni.showModal({
  344. title: '确认签约',
  345. content: "是否确认签约",
  346. cancelText: '取消',
  347. confirmText: '确认',
  348. success: function(res) {
  349. if (res.confirm) {
  350. var params={
  351. investmentId:ite.id,
  352. type:2
  353. }
  354. getinvestmentshlFn(params).then(res=>{
  355. if(res.code==200){
  356. that.$toast('签约成功')
  357. that.ptype='';
  358. that.pageNum=1;
  359. that.list=[];
  360. that.reachflag=true;
  361. that.getDataFn()
  362. }
  363. })
  364. } else if (res.cancel) {
  365. }
  366. }
  367. })
  368. }else{
  369. this.codeQr=ite.item.conferenceQr
  370. this.ptype=ite.type;
  371. this.id=ite.id
  372. }
  373. },
  374. getDetail(data){
  375. var type=this.tabidx;
  376. if(type=='hyhd'||type=='hytz'){
  377. this.$tab.navigateTo('/work/pages/meeting/details?id='+data+"&pt="+type)
  378. }else if(type=='wdfy'||type=='hyfy'){
  379. this.$tab.navigateTo('/work/pages/meeting/speakdetails?id='+data)
  380. }else if(type=='hdtz'||type=='zxhd'){
  381. this.$tab.navigateTo('/work/pages/meeting/activedetails?id='+data+"&pt="+type)
  382. }else if(type=='zsyz'||type=='wdzs'){
  383. this.$tab.navigateTo('/work/pages/meeting/zsyzdetails?id='+data+"&pt="+type)
  384. }
  385. },
  386. getAddMeet(){
  387. this.$tab.navigateTo('/work/pages/meeting/add')
  388. },
  389. getAddSpeak(){
  390. this.$tab.navigateTo('/work/pages/meeting/addspeak')
  391. },
  392. getAddActive(){
  393. this.$tab.navigateTo('/work/pages/meeting/addactive')
  394. },
  395. getAddzsyz(){
  396. this.$tab.navigateTo('/work/pages/meeting/addzsyz')
  397. },
  398. getupSubmit(e){
  399. var that=this;
  400. var type=this.type;
  401. var params=JSON.parse(JSON.stringify(e))
  402. params.userId=this.userId;
  403. if(this.tabidx=='hdtz'){
  404. params.activityId=this.id;
  405. getzxActivityReplyFn(params).then(res=>{
  406. if(res.code==200){
  407. this.$toast("答复成功");
  408. setTimeout(function(){
  409. that.ptype='';
  410. that.pageNum=1;
  411. that.list=[];
  412. that.reachflag=true;
  413. that.getDataFn()
  414. },1200)
  415. }
  416. })
  417. }else {
  418. params.conferenceId=this.id;
  419. getupdateReplyFn(params).then(res=>{
  420. if(res.code==200){
  421. this.$toast("答复成功");
  422. setTimeout(function(){
  423. that.ptype='';
  424. that.pageNum=1;
  425. that.list=[];
  426. that.reachflag=true;
  427. that.getDataFn()
  428. },1200)
  429. }
  430. })
  431. }
  432. },
  433. getDataFn(){
  434. var params={
  435. pageSize:this.pageSize,
  436. pageNum: this.pageNum,
  437. // visitType:3
  438. }
  439. if(this.tabidx=='wdfy'){
  440. params.userId=this.userId;
  441. params.conferenceTitle=this.title
  442. getSpeakListFn(params).then(res=>{
  443. if(res.code==200){
  444. if (res.rows.length < this.pageSize) {
  445. this.reachflag = false
  446. this.wtdt = '到底了~';
  447. } else {
  448. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  449. if (num < res.total) {
  450. this.reachflag = true
  451. this.wtdt = '上拉加载更多'
  452. } else {
  453. this.reachflag = false
  454. this.wtdt = '到底了~';
  455. }
  456. }
  457. if (this.pageNum == 1) {
  458. this.list = res.rows;
  459. } else {
  460. this.list = this.list.concat(res.rows)
  461. }
  462. }else{
  463. this.$toast(res.msg)
  464. }
  465. })
  466. }else if(this.tabidx=='hyfy'){
  467. params.conferenceTitle=this.title
  468. getSpeakListFn(params).then(res=>{
  469. if(res.code==200){
  470. if (res.rows.length < this.pageSize) {
  471. this.reachflag = false
  472. this.wtdt = '到底了~';
  473. } else {
  474. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  475. if (num < res.total) {
  476. this.reachflag = true
  477. this.wtdt = '上拉加载更多'
  478. } else {
  479. this.reachflag = false
  480. this.wtdt = '到底了~';
  481. }
  482. }
  483. if (this.pageNum == 1) {
  484. this.list = res.rows;
  485. } else {
  486. this.list = this.list.concat(res.rows)
  487. }
  488. }else{
  489. this.$toast(res.msg)
  490. }
  491. })
  492. }else if(this.tabidx=='hdtz'||this.tabidx=='zxhd'){
  493. if(this.time){
  494. params.activityDate=this.time
  495. }
  496. if(this.tabidx=='hdtz'){
  497. params.userId=this.userId
  498. }
  499. if(this.hdlxtxt){
  500. params.activityType=this.hdlxid
  501. }
  502. params.activityTitle=this.title
  503. getzxActivityListFn(params).then(res=>{
  504. if(res.code==200){
  505. if (res.rows.length < this.pageSize) {
  506. this.reachflag = false
  507. this.wtdt = '到底了~';
  508. } else {
  509. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  510. if (num < res.total) {
  511. this.reachflag = true
  512. this.wtdt = '上拉加载更多'
  513. } else {
  514. this.reachflag = false
  515. this.wtdt = '到底了~';
  516. }
  517. }
  518. if (this.pageNum == 1) {
  519. this.list = res.rows;
  520. } else {
  521. this.list = this.list.concat(res.rows)
  522. }
  523. }else{
  524. this.$toast(res.msg)
  525. }
  526. })
  527. }else if(this.tabidx=='zsyz'||this.tabidx=='wdzs'){
  528. if(this.time){
  529. params.activityDate=this.time
  530. }
  531. if(this.tabidx=='wdzs'){
  532. params.userId=this.userId
  533. }
  534. if(this.xszttxt){
  535. params.type=this.xsztid;
  536. }
  537. params.clueName=this.title
  538. getinvestmentListFn(params).then(res=>{
  539. if(res.code==200){
  540. if (res.rows.length < this.pageSize) {
  541. this.reachflag = false
  542. this.wtdt = '到底了~';
  543. } else {
  544. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  545. if (num < res.total) {
  546. this.reachflag = true
  547. this.wtdt = '上拉加载更多'
  548. } else {
  549. this.reachflag = false
  550. this.wtdt = '到底了~';
  551. }
  552. }
  553. if (this.pageNum == 1) {
  554. this.list = res.rows;
  555. } else {
  556. this.list = this.list.concat(res.rows)
  557. }
  558. }else{
  559. this.$toast(res.msg)
  560. }
  561. })
  562. }else{
  563. if(this.tabidx=='hytz'){
  564. params.userId=this.userId
  565. }
  566. if(this.hylxtxt){
  567. params.conferenceType=this.hylxid
  568. }
  569. if(this.time){
  570. params.conferenceDate=this.time
  571. }
  572. params.conferenceTitle=this.title
  573. getMeetListFn(params).then(res=>{
  574. if(res.code==200){
  575. if (res.rows.length < this.pageSize) {
  576. this.reachflag = false
  577. this.wtdt = '到底了~';
  578. } else {
  579. var num = parseInt(res.rows.length) + parseInt(this.pageSize) * parseInt(this.pageNum - 1)
  580. if (num < res.total) {
  581. this.reachflag = true
  582. this.wtdt = '上拉加载更多'
  583. } else {
  584. this.reachflag = false
  585. this.wtdt = '到底了~';
  586. }
  587. }
  588. if (this.pageNum == 1) {
  589. this.list = res.rows;
  590. } else {
  591. this.list = this.list.concat(res.rows)
  592. }
  593. }else{
  594. this.$toast(res.msg)
  595. }
  596. })
  597. }
  598. },
  599. }
  600. }
  601. </script>
  602. <style scoped lang="scss">
  603. .navbox{position: fixed;left: 0;right: 0;top: 0;z-index: 4;background-color: $com-cd3;
  604. .topl{width: 60rpx;height: 60rpx;display: flex;align-items: center;justify-content: center;
  605. image{width: 40rpx;height: 30rpx;}
  606. }
  607. .topr{display: flex;align-items: center;
  608. image{width: 26rpx;height: 26rpx;margin-right: 12rpx;}
  609. view{font-weight: 500;font-size: 26rpx;color: #FFFFFF;}
  610. }
  611. .tablists{
  612. overflow: auto;flex-wrap: nowrap;
  613. 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;
  614. &:last-child{margin-right: 0;}
  615. &.act{font-size: 30rpx;
  616. &::after{content: '';width: 62rpx;height: 10rpx;background: #FFFFFF;border-radius: 4rpx;left: 50%;margin-left: -31rpx;bottom: 0rpx;position: absolute;}
  617. }
  618. }
  619. }
  620. .lbtab{height: 114rpx;background: #FFFFFF;border-radius: 30rpx;padding-left: 24rpx;position: absolute;left:24rpx;right: 24rpx;bottom: -58rpx;
  621. .limg{width: 40rpx;height: 34rpx;margin-right: 10rpx;flex:0 0 auto;}
  622. .lbtabs{overflow: auto;flex-wrap: nowrap;flex:1;
  623. .lbtabp{display: flex;align-items: center;flex: 0 0 auto;margin-right: 24rpx;}
  624. .upimg{width: 18rpx;height: 10rpx;}
  625. }
  626. }
  627. }
  628. .mbox{padding:58rpx 24rpx 28rpx;}
  629. .lbtabs /deep/ picker{padding: 0 18rpx;}
  630. </style>