list.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964
  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. <text class="list-id">编号:{{ club.newClubId }}</text>
  100. </view>
  101. <view class="list-content">
  102. <view class="list-name">
  103. {{ club.userIdentity === 2 ? club.name : club.linkMan }}
  104. <text class="tags" v-if="club.vipFlag == 0 && club.userIdentity === 2">VIP</text>
  105. <text class="tags sv" v-if="club.vipFlag == 1">SVIP</text>
  106. <text class="tags xf" v-if="club.newDeal === 1">新分配</text>
  107. </view>
  108. <view class="list-tags">
  109. <text
  110. class="tags"
  111. @click.stop="
  112. this.$api.navigateTo('/pages/service/service?id=1041&title=标签说明')
  113. "
  114. >{{ club.activeState }} <text class="iconfont icon-xiayibu"></text
  115. ></text>
  116. <text
  117. class="tags"
  118. @click.stop="
  119. this.$api.navigateTo('/pages/service/service?id=1041&title=标签说明')
  120. "
  121. >{{ club.customerValue }} <text class="iconfont icon-xiayibu"></text
  122. ></text>
  123. <text class="tags-or" @click.stop="orderHistory(club)">
  124. <text class="iconfont icon-dingdan"></text> 订单列表
  125. <text
  126. v-if="club.orderNum > 0"
  127. class="opea-badge uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  128. >
  129. {{ showBadge(club.orderNum) }}
  130. </text>
  131. </text>
  132. </view>
  133. <view class="list-ntel" v-if="tabSmallCurrentIndex === 1">
  134. <text class="list-link">销售:{{ club.serviceName ? club.serviceName : '' }}</text>
  135. </view>
  136. <view class="list-ntel" v-else>
  137. <text class="list-link">{{ club.linkMan ? club.linkMan : '' }}</text>
  138. <text class="list-texl">{{ club.contractMobile ? club.contractMobile : '' }}</text>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="club-list-bot">
  143. <template v-if="tabSmallCurrentIndex === 0">
  144. <view class="btn" @click.stop="handleClickOper(1, club)">
  145. <text class="iconfont icon-jigouhuaxiang"></text> 机构画像</view
  146. >
  147. <view class="btn" @click.stop="handleClickOper(2, club)">
  148. <text class="iconfont icon-tianxie"></text> 填写咨询记录</view
  149. >
  150. <view class="btn" @click.stop="handleClickOper(4, club)">
  151. <text class="iconfont icon-shangcheng"></text>商城访问记录
  152. </view>
  153. <view
  154. class="btn"
  155. v-if="tabSmallCurrentIndex === 0"
  156. @click.stop="handleShowBubble(club, index)"
  157. >
  158. <text class="iconfont icon-gengduo2"></text>
  159. <view class="btn-bubble" v-if="currentIndex === index && club.bubble">
  160. <view class="btn-view border" @click.stop="checkData(club)">
  161. <text class="iconfont icon-xiugaiziliao"></text> 修改资料
  162. </view>
  163. <view class="btn-view" @click.stop="handleReplaceClub(club)">
  164. <text class="iconfont icon-xiaoshou"></text> 更换协销
  165. </view>
  166. </view>
  167. </view>
  168. </template>
  169. <template v-if="tabSmallCurrentIndex === 1">
  170. <view class="btn" @click.stop="handleClickOper(1, club)">
  171. <text class="iconfont icon-jigouhuaxiang"></text> 机构画像</view
  172. >
  173. <view class="btn" @click.stop="handleClickOper(2, club)">
  174. <text class="iconfont icon-tianxie"></text> 填写咨询记录</view
  175. >
  176. <view class="btn none" @click.stop="handleClickOper(4, club)">
  177. <text class="iconfont icon-xiaoshou"></text>更换协销</view
  178. >
  179. </template>
  180. </view>
  181. </view>
  182. <!--加载loadding-->
  183. <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
  184. <tui-nomore :visible="!pullUpOn" bgcolor="#f7f7f7" :text="nomoreText"></tui-nomore>
  185. </scroll-view>
  186. </view>
  187. </view>
  188. <view class="tabBar" :style="{ height: isIphoneX ? '140rpx' : '98rpx' }" v-if="tabCurrentNum === 0">
  189. <view class="tabBar_list" :style="{ paddingBottom: isIphoneX ? '40rpx' : '' }">
  190. <view class="tabBar_item" :class="{ current: tabCurrentIndex === 0 }" @click="tabClick(0)">
  191. <text class="iconfont icon-shenhetongguo"></text> <view class="tabBar_name">待升级</view>
  192. </view>
  193. <view class="tabBar_item" :class="{ current1: tabCurrentIndex === 1 }" @click="tabClick(1)">
  194. <text class="iconfont icon-lishidingdan"></text> <view class="tabBar_name">升级中</view>
  195. </view>
  196. <view class="tabBar_item" :class="{ current2: tabCurrentIndex === 2 }" @click="tabClick(2)">
  197. <text class="iconfont icon-shenhebutongguo"></text> <view class="tabBar_name">升级失败</view>
  198. </view>
  199. </view>
  200. </view>
  201. <!-- 筛选抽屉 -->
  202. <cm-clubDrawer
  203. ref="screendrawer"
  204. v-if="rightDrawer"
  205. :rightDrawer="rightDrawer"
  206. @handSearchConfirm="handSearchConfirmData"
  207. >
  208. </cm-clubDrawer>
  209. <!-- 选择弹窗 -->
  210. <cm-seller-popup
  211. ref="cmresellerpopup"
  212. v-if="isSellerpopup"
  213. :show="isSellerpopup"
  214. @handleChoiceaSeller="handleChoiceaSellerData"
  215. >
  216. </cm-seller-popup>
  217. </view>
  218. </template>
  219. <script>
  220. import { mapState, mapMutations } from 'vuex'
  221. import authorize from '@/common/config/authorize.js'
  222. import wxLogin from '@/common/config/wxLogin.js'
  223. import tuiLoadmore from '@/components/tui-components/loadmore/loadmore'
  224. import tuiNomore from '@/components/tui-components/nomore/nomore'
  225. import cmClubDrawer from '../components/cm-club-drawer'
  226. import cmSellerPopup from '../components/cm-seller-popup'
  227. const defaultListQuery = {
  228. userIdentity: 4,
  229. name: '',
  230. pageNum: 1,
  231. pageSize: 10,
  232. spId: 0,
  233. status: 90,
  234. type: 1,
  235. groupServiceId: 0
  236. }
  237. export default {
  238. components: {
  239. tuiLoadmore,
  240. tuiNomore,
  241. cmClubDrawer,
  242. cmSellerPopup
  243. },
  244. data() {
  245. return {
  246. listTab: [{ name: '个人机构' }, { name: '资质机构' }],
  247. listItemTab: [{ name: '我的机构' }, { name: '组员机构' }],
  248. listQuery: Object.assign({}, defaultListQuery),
  249. isShowClose: false,
  250. isEmpty: false,
  251. nomoreText: '上拉显示更多',
  252. pageNum: 1,
  253. pageSize: 10,
  254. hasNextPage: false,
  255. loadding: false,
  256. pullUpOn: true,
  257. pullFlag: true,
  258. tabCurrentNum: 0,
  259. tabCurrentIndex: 0,
  260. tabSmallCurrentIndex: 0,
  261. clubList: [],
  262. isIphoneX: this.$store.state.isIphoneX,
  263. CustomBar: this.CustomBar,
  264. StatusBar: this.StatusBar,
  265. capsule: this.capsule,
  266. show_index: 0, //控制显示那个组件
  267. rightDrawer: false,
  268. isSellerpopup: false,
  269. salesParams: {
  270. choseServiceId: 0,
  271. clubId: 0,
  272. spId: 0
  273. },
  274. isShowIndex: false,
  275. currentIndex: 0
  276. }
  277. },
  278. onLoad(option) {
  279. if (option.type === 'wechat') {
  280. this.isShowIndex = true
  281. }
  282. },
  283. computed: {
  284. ...mapState(['isManage'])
  285. },
  286. methods: {
  287. async initGetStotage() {
  288. // 初始化
  289. const userInfo = await this.$api.getStorage()
  290. this.listQuery.spId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  291. this.salesParams.choseServiceId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  292. this.GetSellerClubList()
  293. },
  294. GetSellerClubList() {
  295. this.SellerService.GetSellerClubList(this.listQuery)
  296. .then(response => {
  297. let data = response.data
  298. if (data.list && data.list.length > 0) {
  299. this.isEmpty = false
  300. this.hasNextPage = response.data.hasNextPage
  301. this.clubList = data.list.map((el, index) => {
  302. el.bubble = false
  303. return el
  304. })
  305. this.pullFlag = false
  306. setTimeout(() => {
  307. this.pullFlag = true
  308. }, 500)
  309. if (this.hasNextPage) {
  310. this.pullUpOn = false
  311. this.nomoreText = '上拉显示更多'
  312. } else {
  313. this.pullUpOn = true
  314. this.loadding = false
  315. this.nomoreText = '已至底部'
  316. }
  317. } else {
  318. this.isEmpty = true
  319. }
  320. })
  321. .catch(error => {
  322. this.$util.msg(error.msg, 2000)
  323. })
  324. },
  325. getOnReachBottomData() {
  326. this.listQuery.pageNum += 1
  327. this.SellerService.GetSellerClubList(this.listQuery)
  328. .then(response => {
  329. let data = response.data
  330. if (data.list && data.list.length > 0) {
  331. this.hasNextPage = response.data.hasNextPage
  332. this.clubList = this.clubList.concat(data.list)
  333. this.pullFlag = false // 防上拉暴滑
  334. setTimeout(() => {
  335. this.pullFlag = true
  336. }, 500)
  337. if (this.hasNextPage) {
  338. this.pullUpOn = false
  339. this.nomoreText = '上拉显示更多'
  340. } else {
  341. this.pullUpOn = false
  342. this.loadding = false
  343. this.nomoreText = '已至底部'
  344. }
  345. }
  346. })
  347. .catch(error => {
  348. this.$util.msg(error.msg, 2000)
  349. })
  350. },
  351. userClubChoseSales(param) {
  352. //分配或更换协销
  353. this.SellerService.userClubChoseSales(param)
  354. .then(response => {
  355. this.$util.msg('操作成功~', 2000, true, 'success')
  356. setTimeout(() => {
  357. this.GetSellerClubList()
  358. }, 1000)
  359. })
  360. .catch(error => {
  361. console.log('分配协销异常')
  362. })
  363. },
  364. tabClick(index) {
  365. //tab切换
  366. this.tabCurrentIndex = index
  367. switch (index) {
  368. case 0:
  369. this.listQuery.status = 90
  370. break
  371. case 1:
  372. this.listQuery.status = 1
  373. break
  374. case 2:
  375. this.listQuery.status = 92
  376. break
  377. }
  378. this.GetSellerClubList()
  379. },
  380. tabCurrentClick(index) {
  381. //商品详情&&供应商信息tab切换
  382. this.tabCurrentNum = index
  383. switch (index) {
  384. case 0:
  385. this.tabCurrentIndex = 0
  386. this.listQuery.userIdentity = 4
  387. this.listQuery.status = 90
  388. this.listQuery.pageNum = 1
  389. this.GetSellerClubList()
  390. break
  391. case 1:
  392. this.listQuery.pageNum = 1
  393. this.listQuery.userIdentity = 2
  394. this.listQuery.status = 90
  395. this.GetSellerClubList()
  396. break
  397. }
  398. },
  399. tabSmallCurrentClick(index) {
  400. //商品详情&&供应商信息tab切换
  401. this.tabSmallCurrentIndex = index
  402. switch (index) {
  403. case 0:
  404. this.tabCurrentIndex = 0
  405. this.listQuery.type = 1
  406. this.listQuery.status = 90
  407. this.listQuery.pageNum = 1
  408. this.listQuery.groupServiceId = 0
  409. this.GetSellerClubList()
  410. break
  411. case 1:
  412. this.listQuery.type = 2
  413. this.listQuery.status = 90
  414. this.listQuery.pageNum = 1
  415. this.listQuery.groupServiceId = 0
  416. this.GetSellerClubList()
  417. break
  418. case 2:
  419. this.listQuery.type = 3
  420. this.listQuery.status = 90
  421. this.listQuery.pageNum = 1
  422. this.listQuery.groupServiceId = 0
  423. this.GetSellerClubList()
  424. break
  425. }
  426. },
  427. handSearchConfirmData(data) {
  428. console.log('确定筛选', data)
  429. //确定筛选
  430. this.listQuery.groupServiceId = data.serviceProviderId
  431. this.GetSellerClubList()
  432. },
  433. handleChoiceaSellerData(data) {
  434. // 确定搜索
  435. this.salesParams.spId = data.serviceProviderId
  436. this.userClubChoseSales(this.salesParams)
  437. },
  438. handleReplaceClub(club) {
  439. //更换协销
  440. this.salesParams.clubId = club.clubId
  441. this.isSellerpopup = true
  442. },
  443. showRightDrawer() {
  444. //显示筛选抽屉
  445. this.rightDrawer = true
  446. },
  447. checkData(club) {
  448. //修改机构资料
  449. switch (this.tabCurrentNum) {
  450. case 0:
  451. this.$api.navigateTo(`/pages/seller/login/apply?userID=${club.userId}`)
  452. break
  453. case 1:
  454. this.$api.navigateTo(`/pages/seller/login/information?userID=${club.userId}`)
  455. break
  456. }
  457. },
  458. orderHistory(club) {
  459. //跳转机构历史订单
  460. this.$api.setStorage('orderUserInfo', club)
  461. if (this.tabSmallCurrentIndex === 1 || this.tabSmallCurrentIndex === 2) {
  462. // 查看组员机构历史订单
  463. this.$api.navigateTo(
  464. `/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0&authType=${
  465. this.tabSmallCurrentIndex
  466. }`
  467. )
  468. } else {
  469. this.$api.navigateTo(`/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0`)
  470. }
  471. },
  472. handleClubinfo(club) {
  473. //跳转机构信息
  474. this.$api.navigateTo(`/pages/seller/club/club-info?clubId=${club.clubId}`)
  475. },
  476. onShowClose() {
  477. //输入框失去焦点时触发
  478. if (this.listQuery.name != '') {
  479. this.isShowClose = true
  480. } else {
  481. this.isShowClose = false
  482. }
  483. },
  484. delInputText() {
  485. //清除输入框内容
  486. this.listQuery.name = ''
  487. this.isShowClose = false
  488. },
  489. showBadge(n) {
  490. let num = ''
  491. if (n > 100) {
  492. num = 99
  493. } else {
  494. num = n
  495. }
  496. return num
  497. },
  498. handleNavigateBack() {
  499. this.$api.navigateBack(1)
  500. },
  501. handleNavigateIndex() {
  502. this.$api.navigateTo(`/pages/seller/index/index`)
  503. },
  504. handleShowBubble(club, index) {
  505. this.currentIndex = index
  506. club.bubble = !club.bubble
  507. }
  508. },
  509. onReachBottom() {
  510. if (this.hasNextPage) {
  511. this.loadding = true
  512. this.pullUpOn = true
  513. this.getOnReachBottomData()
  514. }
  515. },
  516. onShow() {
  517. wxLogin.wxLoginAuthorize()
  518. this.initGetStotage()
  519. }
  520. }
  521. </script>
  522. <style lang="scss">
  523. page {
  524. height: auto;
  525. }
  526. page,
  527. .container {
  528. /* padding-bottom: 120upx; */
  529. background: #f7f7f7;
  530. }
  531. .container {
  532. position: relative;
  533. }
  534. .club-search {
  535. height: auto;
  536. width: 100%;
  537. background: #ffffff;
  538. display: flex;
  539. flex-direction: column;
  540. position: fixed;
  541. top: 0;
  542. left: 0;
  543. z-index: 99;
  544. .search-top {
  545. flex: 1;
  546. display: flex;
  547. align-items: center;
  548. box-sizing: border-box;
  549. .search-icon {
  550. text-align: center;
  551. float: left;
  552. .icon-fanhui {
  553. font-size: 44rpx;
  554. color: #333333;
  555. }
  556. .icon-shouye {
  557. font-size: 44rpx;
  558. color: #333333;
  559. }
  560. }
  561. .search-from {
  562. width: 382rpx;
  563. background: #f7f7f7;
  564. float: left;
  565. position: relative;
  566. .input {
  567. width: 300rpx;
  568. height: 100%;
  569. float: left;
  570. color: $text-color;
  571. font-size: $font-size-24;
  572. }
  573. .icon-iconfonticonfontsousuo1 {
  574. text-align: center;
  575. display: block;
  576. font-size: $font-size-38;
  577. float: left;
  578. color: #999999;
  579. }
  580. .icon-shanchu1 {
  581. font-size: $font-size-32;
  582. color: #999999;
  583. position: absolute;
  584. width: 64rpx;
  585. height: 64rpx;
  586. line-height: 64rpx;
  587. text-align: center;
  588. top: 0;
  589. right: 0;
  590. z-index: 10;
  591. }
  592. }
  593. .search-btn {
  594. text-align: center;
  595. font-size: $font-size-28;
  596. color: $color-system;
  597. float: left;
  598. background: #ffffff;
  599. .icon-shaixuan {
  600. font-size: 44rpx;
  601. color: #333333;
  602. }
  603. }
  604. }
  605. .search-tab {
  606. height: 80rpx;
  607. display: flex;
  608. flex: 1;
  609. background: #ffffff;
  610. border-bottom: 1px solid #efefef;
  611. .tab-item {
  612. flex: 1;
  613. line-height: 80rpx;
  614. text-align: center;
  615. color: $text-color;
  616. font-size: $font-size-28;
  617. position: relative;
  618. .item-text {
  619. padding: 10rpx 0;
  620. border-bottom: 2px solid #ffffff;
  621. }
  622. &:nth-child(1)::before {
  623. content: '';
  624. width: 2px;
  625. height: 50rpx;
  626. position: absolute;
  627. right: 0;
  628. top: 15rpx;
  629. background: #ebebeb;
  630. }
  631. &.current {
  632. color: $color-system;
  633. .item-text {
  634. border-color: $color-system;
  635. }
  636. }
  637. }
  638. }
  639. .search-smalltab {
  640. width: 100%;
  641. height: 104rpx;
  642. background: #ffffff;
  643. box-sizing: border-box;
  644. padding: 20rpx 10rpx;
  645. .tab-item {
  646. width: 180rpx;
  647. height: 64rpx;
  648. line-height: 64rpx;
  649. text-align: center;
  650. color: $text-color;
  651. font-size: $font-size-28;
  652. float: left;
  653. &.current {
  654. background-color: $color-system;
  655. color: #fff;
  656. border-radius: 32rpx;
  657. }
  658. }
  659. }
  660. }
  661. .club-main {
  662. .list {
  663. width: 100%;
  664. height: 288rpx;
  665. padding: 24rpx;
  666. box-sizing: border-box;
  667. background: #ffffff;
  668. position: relative;
  669. border-bottom: 1px solid #ebebeb;
  670. .list-cell-top {
  671. width: 100%;
  672. height: 140rpx;
  673. box-sizing: border-box;
  674. .list-logo {
  675. width: 140rpx;
  676. height: 140rpx;
  677. float: left;
  678. position: relative;
  679. image {
  680. width: 140rpx;
  681. height: 140rpx;
  682. border-radius: 8rpx;
  683. }
  684. .list-id {
  685. display: inline-block;
  686. width: 100%;
  687. height: 32rpx;
  688. line-height: 32rpx;
  689. background: rgba(0, 0, 0, 0.1);
  690. color: #333;
  691. position: absolute;
  692. top: 0;
  693. left: 0;
  694. box-sizing: border-box;
  695. text-align: left;
  696. font-size: 20rpx;
  697. padding-left: 4rpx;
  698. border-radius: 8rpx 8rpx 0 0;
  699. }
  700. }
  701. .list-content {
  702. width: 530rpx;
  703. height: 140rpx;
  704. float: left;
  705. padding-left: 30rpx;
  706. .list-name {
  707. width: 100%;
  708. height: 50rpx;
  709. float: left;
  710. line-height: 50rpx;
  711. text-align: left;
  712. font-size: $font-size-26;
  713. color: #333333;
  714. .tags {
  715. display: inline-block;
  716. height: 36rpx;
  717. box-sizing: border-box;
  718. padding: 0 15rpx;
  719. border-radius: 8rpx;
  720. background: #f0cb72;
  721. font-size: $font-size-22;
  722. color: #4e4539;
  723. text-align: center;
  724. line-height: 36rpx;
  725. margin-left: 20rpx;
  726. margin-top: 7rpx;
  727. &.sv {
  728. background: #333333;
  729. color: #f0cb72;
  730. }
  731. &.xf {
  732. background-color: #f94b4b;
  733. color: #ffffff;
  734. }
  735. }
  736. }
  737. .list-tags {
  738. width: 100%;
  739. height: 36rpx;
  740. float: left;
  741. line-height: 36rpx;
  742. margin: 7rpx 0;
  743. .tags {
  744. display: inline-block;
  745. height: 36rpx;
  746. box-sizing: border-box;
  747. padding: 0 8rpx 0 15rpx;
  748. border-radius: 8rpx;
  749. background: #faede5;
  750. font-size: $font-size-22;
  751. color: $color-system;
  752. text-align: center;
  753. line-height: 36rpx;
  754. margin-right: 16rpx;
  755. .icon-xiayibu {
  756. font-size: 20rpx;
  757. margin-left: 10rpx;
  758. }
  759. }
  760. .tags-or {
  761. display: inline-block;
  762. height: 36rpx;
  763. box-sizing: border-box;
  764. font-size: $font-size-22;
  765. color: #1890f9;
  766. text-align: center;
  767. line-height: 36rpx;
  768. position: relative;
  769. .opea-badge {
  770. position: absolute;
  771. right: -30rpx;
  772. top: -15rpx;
  773. }
  774. .icon-xiayibu {
  775. font-size: 22rpx;
  776. color: #1890f9;
  777. }
  778. }
  779. }
  780. .list-ntel {
  781. width: 100%;
  782. height: 50rpx;
  783. float: left;
  784. line-height: 50rpx;
  785. text-align: left;
  786. font-size: $font-size-24;
  787. color: #666666;
  788. .list-link {
  789. display: inline-block;
  790. float: left;
  791. margin-right: 40rpx;
  792. }
  793. .list-texl {
  794. display: inline-block;
  795. float: left;
  796. }
  797. }
  798. }
  799. }
  800. .club-list-bot {
  801. width: 100%;
  802. height: 80rpx;
  803. float: left;
  804. background-color: #f7f7f7;
  805. border-radius: 8rpx;
  806. margin-top: 20rpx;
  807. .btn {
  808. height: 80rpx;
  809. box-sizing: border-box;
  810. line-height: 80rpx;
  811. padding: 0 20rpx;
  812. font-size: $font-size-24;
  813. color: #333333;
  814. text-align: center;
  815. float: left;
  816. position: relative;
  817. &:nth-child(1) {
  818. &:before {
  819. content: '';
  820. width: 1px;
  821. height: 20rpx;
  822. background-color: #b2b2b2;
  823. position: absolute;
  824. right: 0;
  825. top: 30rpx;
  826. }
  827. }
  828. &:nth-child(2) {
  829. &:before {
  830. content: '';
  831. width: 1px;
  832. height: 20rpx;
  833. background-color: #b2b2b2;
  834. position: absolute;
  835. right: 0;
  836. top: 30rpx;
  837. }
  838. }
  839. &:nth-child(3) {
  840. &:before {
  841. content: '';
  842. width: 1px;
  843. height: 20rpx;
  844. background-color: #b2b2b2;
  845. position: absolute;
  846. right: 0;
  847. top: 30rpx;
  848. }
  849. }
  850. &:last-child {
  851. padding: 0 28rpx;
  852. .iconfont {
  853. font-weight: bold;
  854. }
  855. .btn-bubble {
  856. width: 200rpx;
  857. height: 160rpx;
  858. background: rgba(51, 51, 51, 0.8);
  859. position: absolute;
  860. top: -154rpx;
  861. right: 0;
  862. border-radius: 8rpx;
  863. &:before {
  864. content: '';
  865. width: 0;
  866. height: 0;
  867. border: 15rpx solid transparent;
  868. border-top: 15rpx solid rgba(51, 51, 51, 0.8);
  869. position: absolute;
  870. bottom: -28rpx;
  871. right: 42rpx;
  872. }
  873. .btn-view {
  874. width: 100%;
  875. height: 80rpx;
  876. box-sizing: border-box;
  877. line-height: 80rpx;
  878. font-size: $font-size-24;
  879. color: #ffffff;
  880. text-align: center;
  881. float: left;
  882. .iconfont {
  883. font-size: 28rpx;
  884. color: #ffffff;
  885. margin-right: 5rpx;
  886. font-weight: normal;
  887. }
  888. &.border {
  889. border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  890. }
  891. }
  892. }
  893. }
  894. .iconfont {
  895. font-size: 30rpx;
  896. color: #333333;
  897. margin-right: 5rpx;
  898. }
  899. }
  900. }
  901. }
  902. }
  903. .tabBar {
  904. width: 100%;
  905. height: 98rpx;
  906. background: #fff;
  907. border-top: 1px solid #e5e5e5;
  908. position: fixed;
  909. bottom: 0px;
  910. left: 0px;
  911. right: 0px;
  912. z-index: 99;
  913. display: flex;
  914. align-items: center;
  915. justify-content: center;
  916. .tabBar_list {
  917. width: 86%;
  918. display: flex;
  919. justify-content: space-between;
  920. .tabBar_item {
  921. width: 120rpx;
  922. display: flex;
  923. justify-content: center;
  924. align-items: center;
  925. flex-direction: column;
  926. font-size: 20rpx;
  927. color: #999999;
  928. &.current {
  929. color: #166ce1;
  930. .iconfont {
  931. color: #166ce1;
  932. }
  933. }
  934. &.current1 {
  935. color: #16e15c;
  936. .iconfont {
  937. color: #16e15c;
  938. }
  939. }
  940. &.current2 {
  941. color: #ff0000;
  942. .iconfont {
  943. color: #ff0000;
  944. }
  945. }
  946. .iconfont {
  947. width: 48rpx;
  948. height: 48rpx;
  949. display: block;
  950. margin-bottom: 2rpx;
  951. text-align: center;
  952. font-size: 46rpx;
  953. color: #999999;
  954. }
  955. }
  956. }
  957. }
  958. .nav_active {
  959. color: $color-system;
  960. }
  961. </style>