list.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  1. <template>
  2. <view class="container club clearfix" :style="{ paddingBottom: isIphoneX ? '140rpx' : '98rpx' }">
  3. <view class="club-search clearfix" :style="{ paddingTop: StatusBar + 'px' }">
  4. <view class="search-top" :style="{ height: CustomBar - StatusBar + 'px' }">
  5. <view
  6. class="search-icon"
  7. :style="{
  8. width: CustomBar - StatusBar + 'px',
  9. height: CustomBar - StatusBar + 'px',
  10. lineHeight: CustomBar - StatusBar + 'px;'
  11. }"
  12. >
  13. <text v-if="isShowIndex" @click="handleNavigateIndex" class="iconfont icon-shouye"></text>
  14. <text v-else @click="handleNavigateBack" class="iconfont icon-fanhui"></text>
  15. </view>
  16. <view
  17. class="search-from name"
  18. :style="{ height: capsule.height + 'px', borderRadius: capsule.height / 2 + 'px' }"
  19. >
  20. <text
  21. :style="{
  22. width: capsule.height + 'px',
  23. height: capsule.height + 'px',
  24. lineHeight: capsule.height + 'px;'
  25. }"
  26. class="iconfont icon-iconfonticonfontsousuo1"
  27. ></text>
  28. <input
  29. class="input"
  30. type="text"
  31. confirm-type="search"
  32. v-model="listQuery.name"
  33. @input="onShowClose"
  34. @confirm="GetSellerClubList()"
  35. placeholder="机构名称/联系人"
  36. maxlength="16"
  37. :style="{ lineHeight: capsule.height + 'px' }"
  38. />
  39. <text class="iconfont icon-shanchu1" v-if="isShowClose" @click="delInputText()"></text>
  40. </view>
  41. <view
  42. class="search-btn"
  43. :style="{
  44. width: CustomBar - StatusBar + 'px',
  45. height: capsule.height + 'px',
  46. lineHeight: capsule.height + 'px;'
  47. }"
  48. v-if="isManage && tabSmallCurrentIndex == 1"
  49. @click="showRightDrawer"
  50. >
  51. <text class="iconfont icon-shaixuan"></text>
  52. </view>
  53. </view>
  54. <view class="search-tab">
  55. <view
  56. class="tab-item"
  57. v-for="(item, index) in listTab"
  58. :key="index"
  59. :class="{ current: tabCurrentNum === index }"
  60. @click="tabCurrentClick(index)"
  61. >
  62. <text class="item-text">{{ item.name }}<text class="line"></text></text>
  63. </view>
  64. </view>
  65. <view class="search-smalltab" v-if="isManage">
  66. <view
  67. class="tab-item"
  68. v-for="(item, index) in listItemTab"
  69. :key="index"
  70. :class="{ current: tabSmallCurrentIndex === index }"
  71. @click="tabSmallCurrentClick(index)"
  72. >
  73. <text class="item-text">{{ item.name }}</text>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="club-main" :style="{ paddingTop: isManage ? '374rpx' : '254rpx' }">
  78. <view v-if="isEmpty" class="empty-container">
  79. <image
  80. class="club-empty-image"
  81. src="https://img.caimei365.com/group1/M00/03/71/Cmis2F3wna6AY2ZjAABpmnBICH4247.png"
  82. mode="aspectFit"
  83. ></image>
  84. <view class="txt">暂无机构数据</view>
  85. </view>
  86. <view v-else class="club-list">
  87. <scroll-view scroll-y="true">
  88. <view class="list" v-for="(club, index) in clubList" :key="index">
  89. <view class="list-cell-top">
  90. <view class="list-logo">
  91. <image
  92. :src="
  93. club.headpic
  94. ? club.headpic
  95. : 'https://static.caimei365.com/app/img/icon/icon-club@3x.png'
  96. "
  97. mode=""
  98. ></image>
  99. </view>
  100. <view class="list-content">
  101. <view class="list-name">
  102. {{ club.userIdentity === 2 ? club.name : club.linkMan }}
  103. <text class="tags" v-if="club.vipFlag == 0 && club.userIdentity === 2">VIP</text>
  104. <text class="tags sv" v-if="club.vipFlag == 1">SVIP</text>
  105. <text class="tags xf" v-if="club.newDeal === 1">新分配</text>
  106. </view>
  107. <view class="list-tags">
  108. <text
  109. class="tags"
  110. @click.stop="
  111. this.$api.navigateTo('/pages/service/service?id=1041&title=标签说明')
  112. "
  113. >{{ club.activeState }} <text class="iconfont icon-xiayibu"></text
  114. ></text>
  115. <text
  116. class="tags"
  117. @click.stop="
  118. this.$api.navigateTo('/pages/service/service?id=1041&title=标签说明')
  119. "
  120. >{{ club.customerValue }} <text class="iconfont icon-xiayibu"></text
  121. ></text>
  122. </view>
  123. <view class="list-ntel" v-if="tabSmallCurrentIndex === 1">
  124. <text class="list-link">销售:{{ club.serviceName ? club.serviceName : '' }}</text>
  125. </view>
  126. <view class="list-ntel" v-else>
  127. <text class="list-link">{{ club.linkMan ? club.linkMan : '' }}</text>
  128. <text class="list-texl">{{ club.contractMobile ? club.contractMobile : '' }}</text>
  129. </view>
  130. </view>
  131. </view>
  132. <view class="list-cell-btn">
  133. <view class="btn" @click.stop="checkData(club)">修改资料</view>
  134. <view class="btn" @click.stop="orderHistory(club)">
  135. 历史订单
  136. <text
  137. v-if="club.orderNum > 0"
  138. class="opea-badge uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  139. >
  140. {{ showBadge(club.orderNum) }}
  141. </text>
  142. </view>
  143. <view
  144. class="btn"
  145. v-if="isManage && club.serviceProviderId != 1342"
  146. @click.stop="handleReplaceClub(club)"
  147. >更换协销</view
  148. >
  149. <view class="btn" @click.stop="handleClubinfo(club)" v-if="club.recordCount === 1"
  150. >注册行为记录</view
  151. >
  152. </view>
  153. </view>
  154. <!--加载loadding-->
  155. <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
  156. <tui-nomore :visible="!pullUpOn" bgcolor="#f7f7f7" :text="nomoreText"></tui-nomore>
  157. </scroll-view>
  158. </view>
  159. </view>
  160. <view class="tabBar" :style="{ height: isIphoneX ? '140rpx' : '98rpx' }" v-if="tabCurrentNum === 0">
  161. <view class="tabBar_list" :style="{ paddingBottom: isIphoneX ? '40rpx' : '' }">
  162. <view class="tabBar_item" :class="{ current: tabCurrentIndex === 0 }" @click="tabClick(0)">
  163. <text class="iconfont icon-shenhetongguo"></text> <view class="tabBar_name">待升级</view>
  164. </view>
  165. <view class="tabBar_item" :class="{ current1: tabCurrentIndex === 1 }" @click="tabClick(1)">
  166. <text class="iconfont icon-lishidingdan"></text> <view class="tabBar_name">升级中</view>
  167. </view>
  168. <view class="tabBar_item" :class="{ current2: tabCurrentIndex === 2 }" @click="tabClick(2)">
  169. <text class="iconfont icon-shenhebutongguo"></text> <view class="tabBar_name">升级失败</view>
  170. </view>
  171. </view>
  172. </view>
  173. <!-- 筛选抽屉 -->
  174. <cm-clubDrawer
  175. ref="screendrawer"
  176. v-if="rightDrawer"
  177. :rightDrawer="rightDrawer"
  178. @handSearchConfirm="handSearchConfirmData"
  179. >
  180. </cm-clubDrawer>
  181. <!-- 选择弹窗 -->
  182. <cm-seller-popup
  183. ref="cmresellerpopup"
  184. v-if="isSellerpopup"
  185. :show="isSellerpopup"
  186. @handleChoiceaSeller="handleChoiceaSellerData"
  187. >
  188. </cm-seller-popup>
  189. </view>
  190. </template>
  191. <script>
  192. import { mapState, mapMutations } from 'vuex'
  193. import authorize from '@/common/config/authorize.js'
  194. import wxLogin from '@/common/config/wxLogin.js'
  195. import tuiLoadmore from '@/components/tui-components/loadmore/loadmore'
  196. import tuiNomore from '@/components/tui-components/nomore/nomore'
  197. import cmClubDrawer from '../components/cm-club-drawer'
  198. import cmSellerPopup from '../components/cm-seller-popup'
  199. const defaultListQuery = {
  200. userIdentity: 4,
  201. name: '',
  202. pageNum: 1,
  203. pageSize: 10,
  204. spId: 0,
  205. status: 90,
  206. type: 1,
  207. groupServiceId: 0
  208. }
  209. export default {
  210. components: {
  211. tuiLoadmore,
  212. tuiNomore,
  213. cmClubDrawer,
  214. cmSellerPopup
  215. },
  216. data() {
  217. return {
  218. listTab: [{ name: '个人机构' }, { name: '资质机构' }],
  219. listItemTab: [{ name: '我的机构' }, { name: '组员机构' }, { name: '待分配机构' }],
  220. listQuery: Object.assign({}, defaultListQuery),
  221. isShowClose: false,
  222. isEmpty: false,
  223. nomoreText: '上拉显示更多',
  224. pageNum: 1,
  225. pageSize: 10,
  226. hasNextPage: false,
  227. loadding: false,
  228. pullUpOn: true,
  229. pullFlag: true,
  230. tabCurrentNum: 0,
  231. tabCurrentIndex: 0,
  232. tabSmallCurrentIndex: 0,
  233. clubList: [],
  234. isIphoneX: this.$store.state.isIphoneX,
  235. CustomBar: this.CustomBar,
  236. StatusBar: this.StatusBar,
  237. capsule: this.capsule,
  238. show_index: 0, //控制显示那个组件
  239. rightDrawer: false,
  240. isSellerpopup: false,
  241. salesParams: {
  242. choseServiceId: 0,
  243. clubId: 0,
  244. spId: 0
  245. },
  246. isShowIndex: false
  247. }
  248. },
  249. onLoad(option) {
  250. if (option.type === 'wechat') {
  251. this.isShowIndex = true
  252. }
  253. },
  254. computed: {
  255. ...mapState(['isManage'])
  256. },
  257. methods: {
  258. async initGetStotage() {
  259. // 初始化
  260. const userInfo = await this.$api.getStorage()
  261. this.listQuery.spId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  262. this.salesParams.choseServiceId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  263. this.GetSellerClubList()
  264. },
  265. GetSellerClubList() {
  266. this.SellerService.GetSellerClubList(this.listQuery)
  267. .then(response => {
  268. let data = response.data
  269. if (data.list && data.list.length > 0) {
  270. this.isEmpty = false
  271. this.hasNextPage = response.data.hasNextPage
  272. this.clubList = data.list
  273. this.pullFlag = false
  274. setTimeout(() => {
  275. this.pullFlag = true
  276. }, 500)
  277. if (this.hasNextPage) {
  278. this.pullUpOn = false
  279. this.nomoreText = '上拉显示更多'
  280. } else {
  281. this.pullUpOn = true
  282. this.loadding = false
  283. this.nomoreText = '已至底部'
  284. }
  285. } else {
  286. this.isEmpty = true
  287. }
  288. })
  289. .catch(error => {
  290. this.$util.msg(error.msg, 2000)
  291. })
  292. },
  293. getOnReachBottomData() {
  294. this.listQuery.pageNum += 1
  295. this.SellerService.GetSellerClubList(this.listQuery)
  296. .then(response => {
  297. let data = response.data
  298. if (data.list && data.list.length > 0) {
  299. this.hasNextPage = response.data.hasNextPage
  300. this.clubList = this.clubList.concat(data.list)
  301. this.pullFlag = false // 防上拉暴滑
  302. setTimeout(() => {
  303. this.pullFlag = true
  304. }, 500)
  305. if (this.hasNextPage) {
  306. this.pullUpOn = false
  307. this.nomoreText = '上拉显示更多'
  308. } else {
  309. this.pullUpOn = false
  310. this.loadding = false
  311. this.nomoreText = '已至底部'
  312. }
  313. }
  314. })
  315. .catch(error => {
  316. this.$util.msg(error.msg, 2000)
  317. })
  318. },
  319. userClubChoseSales(param) {
  320. //分配或更换协销
  321. this.SellerService.userClubChoseSales(param)
  322. .then(response => {
  323. this.$util.msg('操作成功~', 2000, true, 'success')
  324. setTimeout(() => {
  325. this.GetSellerClubList()
  326. }, 1000)
  327. })
  328. .catch(error => {
  329. console.log('分配协销异常')
  330. })
  331. },
  332. tabClick(index) {
  333. //tab切换
  334. this.tabCurrentIndex = index
  335. switch (index) {
  336. case 0:
  337. this.listQuery.status = 90
  338. break
  339. case 1:
  340. this.listQuery.status = 1
  341. break
  342. case 2:
  343. this.listQuery.status = 92
  344. break
  345. }
  346. this.GetSellerClubList()
  347. },
  348. tabCurrentClick(index) {
  349. //商品详情&&供应商信息tab切换
  350. this.tabCurrentNum = index
  351. switch (index) {
  352. case 0:
  353. this.tabCurrentIndex = 0
  354. this.listQuery.userIdentity = 4
  355. this.listQuery.status = 90
  356. this.listQuery.pageNum = 1
  357. this.GetSellerClubList()
  358. break
  359. case 1:
  360. this.listQuery.pageNum = 1
  361. this.listQuery.userIdentity = 2
  362. this.listQuery.status = 90
  363. this.GetSellerClubList()
  364. break
  365. }
  366. },
  367. tabSmallCurrentClick(index) {
  368. //商品详情&&供应商信息tab切换
  369. this.tabSmallCurrentIndex = index
  370. switch (index) {
  371. case 0:
  372. this.tabCurrentIndex = 0
  373. this.listQuery.type = 1
  374. this.listQuery.status = 90
  375. this.listQuery.pageNum = 1
  376. this.listQuery.groupServiceId = 0
  377. this.GetSellerClubList()
  378. break
  379. case 1:
  380. this.listQuery.type = 2
  381. this.listQuery.status = 90
  382. this.listQuery.pageNum = 1
  383. this.listQuery.groupServiceId = 0
  384. this.GetSellerClubList()
  385. break
  386. case 2:
  387. this.listQuery.type = 3
  388. this.listQuery.status = 90
  389. this.listQuery.pageNum = 1
  390. this.listQuery.groupServiceId = 0
  391. this.GetSellerClubList()
  392. break
  393. }
  394. },
  395. handSearchConfirmData(data) {
  396. console.log('确定筛选', data)
  397. //确定筛选
  398. this.listQuery.groupServiceId = data.serviceProviderId
  399. this.GetSellerClubList()
  400. },
  401. handleChoiceaSellerData(data) {
  402. // 确定搜索
  403. this.salesParams.spId = data.serviceProviderId
  404. this.userClubChoseSales(this.salesParams)
  405. },
  406. handleReplaceClub(club) {
  407. //更换协销
  408. this.salesParams.clubId = club.clubId
  409. this.isSellerpopup = true
  410. },
  411. showRightDrawer() {
  412. //显示筛选抽屉
  413. this.rightDrawer = true
  414. },
  415. checkData(club) {
  416. //修改机构资料
  417. switch (this.tabCurrentNum) {
  418. case 0:
  419. this.$api.navigateTo(`/pages/seller/login/apply?userID=${club.userId}`)
  420. break
  421. case 1:
  422. this.$api.navigateTo(`/pages/seller/login/information?userID=${club.userId}`)
  423. break
  424. }
  425. },
  426. orderHistory(club) {
  427. //跳转机构历史订单
  428. this.$api.setStorage('orderUserInfo', club)
  429. if (this.tabSmallCurrentIndex === 1 || this.tabSmallCurrentIndex === 2) {
  430. // 查看组员机构历史订单
  431. this.$api.navigateTo(
  432. `/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0&authType=${
  433. this.tabSmallCurrentIndex
  434. }`
  435. )
  436. } else {
  437. this.$api.navigateTo(`/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0`)
  438. }
  439. },
  440. handleClubinfo(club) {
  441. //跳转机构信息
  442. this.$api.navigateTo(`/pages/seller/club/club-info?clubId=${club.clubId}`)
  443. },
  444. onShowClose() {
  445. //输入框失去焦点时触发
  446. if (this.listQuery.name != '') {
  447. this.isShowClose = true
  448. } else {
  449. this.isShowClose = false
  450. }
  451. },
  452. delInputText() {
  453. //清除输入框内容
  454. this.listQuery.name = ''
  455. this.isShowClose = false
  456. },
  457. showBadge(n) {
  458. let num = ''
  459. if (n > 100) {
  460. num = 99
  461. } else {
  462. num = n
  463. }
  464. return num
  465. },
  466. handleNavigateBack() {
  467. this.$api.navigateBack(1)
  468. },
  469. handleNavigateIndex() {
  470. this.$api.navigateTo(`/pages/seller/index/index`)
  471. }
  472. },
  473. onReachBottom() {
  474. if (this.hasNextPage) {
  475. this.loadding = true
  476. this.pullUpOn = true
  477. this.getOnReachBottomData()
  478. }
  479. },
  480. onShow() {
  481. wxLogin.wxLoginAuthorize()
  482. this.initGetStotage()
  483. }
  484. }
  485. </script>
  486. <style lang="scss">
  487. page {
  488. height: auto;
  489. }
  490. page,
  491. .container {
  492. /* padding-bottom: 120upx; */
  493. background: #f7f7f7;
  494. }
  495. .container {
  496. position: relative;
  497. }
  498. .club-search {
  499. height: auto;
  500. width: 100%;
  501. background: #ffffff;
  502. display: flex;
  503. flex-direction: column;
  504. position: fixed;
  505. top: 0;
  506. left: 0;
  507. z-index: 99;
  508. .search-top {
  509. flex: 1;
  510. display: flex;
  511. align-items: center;
  512. box-sizing: border-box;
  513. .search-icon {
  514. text-align: center;
  515. float: left;
  516. .icon-fanhui {
  517. font-size: 44rpx;
  518. color: #333333;
  519. }
  520. .icon-shouye {
  521. font-size: 44rpx;
  522. color: #333333;
  523. }
  524. }
  525. .search-from {
  526. width: 382rpx;
  527. background: #f7f7f7;
  528. float: left;
  529. position: relative;
  530. .input {
  531. width: 300rpx;
  532. height: 100%;
  533. float: left;
  534. color: $text-color;
  535. font-size: $font-size-24;
  536. }
  537. .icon-iconfonticonfontsousuo1 {
  538. text-align: center;
  539. display: block;
  540. font-size: $font-size-38;
  541. float: left;
  542. color: #999999;
  543. }
  544. .icon-shanchu1 {
  545. font-size: $font-size-32;
  546. color: #999999;
  547. position: absolute;
  548. width: 64rpx;
  549. height: 64rpx;
  550. line-height: 64rpx;
  551. text-align: center;
  552. top: 0;
  553. right: 0;
  554. z-index: 10;
  555. }
  556. }
  557. .search-btn {
  558. text-align: center;
  559. font-size: $font-size-28;
  560. color: $color-system;
  561. float: left;
  562. background: #ffffff;
  563. .icon-shaixuan {
  564. font-size: 44rpx;
  565. color: #333333;
  566. }
  567. }
  568. }
  569. .search-tab {
  570. height: 80rpx;
  571. display: flex;
  572. flex: 1;
  573. background: #ffffff;
  574. border-bottom: 1px solid #efefef;
  575. .tab-item {
  576. flex: 1;
  577. line-height: 80rpx;
  578. text-align: center;
  579. color: $text-color;
  580. font-size: $font-size-28;
  581. position: relative;
  582. .item-text {
  583. padding: 10rpx 0;
  584. border-bottom: 2px solid #ffffff;
  585. }
  586. &:nth-child(1)::before {
  587. content: '';
  588. width: 2px;
  589. height: 50rpx;
  590. position: absolute;
  591. right: 0;
  592. top: 15rpx;
  593. background: #ebebeb;
  594. }
  595. &.current {
  596. color: $color-system;
  597. .item-text {
  598. border-color: $color-system;
  599. }
  600. }
  601. }
  602. }
  603. .search-smalltab {
  604. width: 100%;
  605. height: 104rpx;
  606. background: #ffffff;
  607. box-sizing: border-box;
  608. padding: 20rpx 10rpx;
  609. .tab-item {
  610. width: 180rpx;
  611. height: 64rpx;
  612. line-height: 64rpx;
  613. text-align: center;
  614. color: $text-color;
  615. font-size: $font-size-28;
  616. float: left;
  617. &.current {
  618. background-color: $color-system;
  619. color: #fff;
  620. border-radius: 32rpx;
  621. }
  622. }
  623. }
  624. }
  625. .club-main {
  626. .list {
  627. width: 100%;
  628. height: 268rpx;
  629. padding: 24rpx;
  630. box-sizing: border-box;
  631. background: #ffffff;
  632. position: relative;
  633. border-bottom: 1px solid #ebebeb;
  634. .list-cell-top {
  635. width: 100%;
  636. height: 140rpx;
  637. box-sizing: border-box;
  638. .list-logo {
  639. width: 140rpx;
  640. height: 140rpx;
  641. float: left;
  642. image {
  643. width: 140rpx;
  644. height: 140rpx;
  645. border-radius: 8rpx;
  646. }
  647. }
  648. .list-content {
  649. width: 498rpx;
  650. height: 140rpx;
  651. float: left;
  652. padding-left: 30rpx;
  653. .list-name {
  654. width: 100%;
  655. height: 50rpx;
  656. float: left;
  657. line-height: 50rpx;
  658. text-align: left;
  659. font-size: $font-size-26;
  660. color: #333333;
  661. .tags {
  662. display: inline-block;
  663. height: 36rpx;
  664. box-sizing: border-box;
  665. padding: 0 15rpx;
  666. border-radius: 8rpx;
  667. background: #f0cb72;
  668. font-size: $font-size-22;
  669. color: #4e4539;
  670. text-align: center;
  671. line-height: 36rpx;
  672. margin-left: 20rpx;
  673. margin-top: 7rpx;
  674. &.sv {
  675. background: #333333;
  676. color: #f0cb72;
  677. }
  678. &.xf {
  679. background-color: #f94b4b;
  680. color: #ffffff;
  681. }
  682. }
  683. }
  684. .list-tags {
  685. width: 100%;
  686. height: 36rpx;
  687. float: left;
  688. line-height: 36rpx;
  689. margin: 7rpx 0;
  690. .tags {
  691. display: inline-block;
  692. height: 36rpx;
  693. box-sizing: border-box;
  694. padding: 0 8rpx 0 15rpx;
  695. border-radius: 8rpx;
  696. background: #faede5;
  697. font-size: $font-size-22;
  698. color: $color-system;
  699. text-align: center;
  700. line-height: 36rpx;
  701. margin-right: 16rpx;
  702. .icon-xiayibu {
  703. font-size: 20rpx;
  704. margin-left: 10rpx;
  705. }
  706. }
  707. }
  708. .list-ntel {
  709. width: 100%;
  710. height: 50rpx;
  711. float: left;
  712. line-height: 50rpx;
  713. text-align: left;
  714. font-size: $font-size-24;
  715. color: #666666;
  716. .list-link {
  717. display: inline-block;
  718. float: left;
  719. margin-right: 40rpx;
  720. }
  721. .list-texl {
  722. display: inline-block;
  723. float: left;
  724. }
  725. }
  726. }
  727. }
  728. .list-cell-btn {
  729. width: 100%;
  730. height: 60rpx;
  731. display: flex;
  732. color: #166ce1;
  733. flex-direction: row;
  734. align-items: center;
  735. float: left;
  736. margin-top: 20rpx;
  737. .btn {
  738. height: 60rpx;
  739. box-sizing: border-box;
  740. padding: 0 20rpx;
  741. line-height: 60rpx;
  742. border-radius: 30rpx;
  743. font-size: $font-size-24;
  744. color: $text-color;
  745. text-align: center;
  746. margin: 0 20rpx 0 0;
  747. position: relative;
  748. border: 1px solid #999999;
  749. .opea-badge {
  750. position: absolute;
  751. right: -10rpx;
  752. top: -20rpx;
  753. }
  754. }
  755. }
  756. }
  757. }
  758. .tabBar {
  759. width: 100%;
  760. height: 98rpx;
  761. background: #fff;
  762. border-top: 1px solid #e5e5e5;
  763. position: fixed;
  764. bottom: 0px;
  765. left: 0px;
  766. right: 0px;
  767. z-index: 99;
  768. display: flex;
  769. align-items: center;
  770. justify-content: center;
  771. .tabBar_list {
  772. width: 86%;
  773. display: flex;
  774. justify-content: space-between;
  775. .tabBar_item {
  776. width: 120rpx;
  777. display: flex;
  778. justify-content: center;
  779. align-items: center;
  780. flex-direction: column;
  781. font-size: 20rpx;
  782. color: #999999;
  783. &.current {
  784. color: #166ce1;
  785. .iconfont {
  786. color: #166ce1;
  787. }
  788. }
  789. &.current1 {
  790. color: #16e15c;
  791. .iconfont {
  792. color: #16e15c;
  793. }
  794. }
  795. &.current2 {
  796. color: #ff0000;
  797. .iconfont {
  798. color: #ff0000;
  799. }
  800. }
  801. .iconfont {
  802. width: 48rpx;
  803. height: 48rpx;
  804. display: block;
  805. margin-bottom: 2rpx;
  806. text-align: center;
  807. font-size: 46rpx;
  808. color: #999999;
  809. }
  810. }
  811. }
  812. }
  813. .nav_active {
  814. color: $color-system;
  815. }
  816. </style>