list.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050
  1. <template>
  2. <view class="container club clearfix">
  3. <tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading="true"
  4. :loadingType="5" />
  5. <template v-else>
  6. <view class="club-search clearfix">
  7. <!-- <view class="search-top" :style="{ height: CustomBar - StatusBar + 'px' }">
  8. <view
  9. class="search-icon"
  10. :style="{
  11. width: CustomBar - StatusBar + 'px',
  12. height: CustomBar - StatusBar + 'px',
  13. lineHeight: CustomBar - StatusBar + 'px;'
  14. }"
  15. >
  16. <text v-if="isShowIndex" @click="handleNavigateIndex" class="iconfont icon-shouye"></text>
  17. <text v-else @click="handleNavigateBack" class="iconfont icon-fanhui"></text>
  18. </view>
  19. <view class="title">机构列表</view>
  20. </view> -->
  21. <view class="search-main">
  22. <view class="search-from name">
  23. <text class="iconfont icon-iconfonticonfontsousuo1"></text>
  24. <input
  25. class="input"
  26. type="text"
  27. confirm-type="search"
  28. v-model="listQuery.name"
  29. @input="onShowClose"
  30. @confirm="getList"
  31. placeholder="机构名称/联系人/手机号"
  32. maxlength="16"
  33. :style="{ lineHeight: capsule.height + 'px' }"
  34. />
  35. <text class="iconfont icon-shanchu1" v-if="isShowClose" @click="delInputText()"></text>
  36. </view>
  37. <!-- <view class="search-btn" @click="showRightDrawer"> <text class="iconfont icon-shaixuan"></text> </view> -->
  38. </view>
  39. <!-- <view class="search-tab">
  40. <view
  41. class="tab-item"
  42. v-for="(item, index) in listTab"
  43. :key="index"
  44. :class="{ current: tabCurrentNum === index }"
  45. @click="tabCurrentClick(index)"
  46. >
  47. <text class="item-text"> {{ item.name }} <text class="line"></text> </text>
  48. </view>
  49. </view> -->
  50. <!-- <view class="search-smalltab">
  51. <view
  52. class="tab-item"
  53. v-for="(item, index) in listItemTab"
  54. :key="index"
  55. :class="{ current: tabSmallCurrentIndex === index }"
  56. @click="tabSmallCurrentClick(index)"
  57. >
  58. <text class="item-text">{{ item.name }}</text>
  59. </view>
  60. </view> -->
  61. </view>
  62. <view class="club-main">
  63. <view class="club-list clearfix" v-if="!isEmpty">
  64. <view class="list" v-for="(club, index) in clubList" :key="index">
  65. <view class="list-cell-top">
  66. <view class="list-logo">
  67. <image src="https://static.caimei365.com/app/img/icon/icon-club@3x.png" mode=""></image>
  68. <!-- <text class="list-id">编号:{{ club.newClubId }}</text> -->
  69. <text class="list-tips">{{ club.userIdentity === 2 ? '资质机构' : '个人机构' }}</text>
  70. </view>
  71. <view class="list-content">
  72. <view class="list-name">
  73. <text class="tags xf" v-if="club.newDeal === 1">新分配</text>
  74. <text class="tags" v-if="club.vipFlag == 0 && club.userIdentity === 2">VIP</text>
  75. <text class="tags sv" v-if="club.vipFlag == 1">SVIP</text>
  76. <text class="list-name-text">{{ club.userIdentity === 2 ? club.name : club.linkMan }}</text>
  77. </view>
  78. <view class="list-ntel" v-if="tabSmallCurrentIndex === 1">
  79. <text class="list-link">销售:{{ club.serviceName ? club.serviceName : '' }}</text>
  80. </view>
  81. <view class="list-ntel" v-if="tabSmallCurrentIndex !== 1">
  82. <text class="list-link">{{ club.linkMan ? club.linkMan : '' }}</text>
  83. <text class="list-texl" @click="handlePhone(club.contractMobile)">
  84. {{ club.contractMobile ? club.contractMobile : '' }}
  85. </text>
  86. </view>
  87. <view class="list-ntel" v-if="listQuery.type === 6">
  88. <text class="list-link">分配时间:{{ club.providerTime | dateConversion }}</text>
  89. </view>
  90. <view class="list-tags">
  91. <!-- <text
  92. class="tags"
  93. @click.stop="
  94. this.$api.navigateTo('/pages/service/service?id=1041&title=标签说明')
  95. "
  96. >
  97. {{ club.activeState }} <text class="iconfont icon-xiayibu"></text>
  98. </text>
  99. <text
  100. class="tags"
  101. @click.stop="
  102. this.$api.navigateTo('/pages/service/service?id=1041&title=标签说明')
  103. "
  104. >
  105. {{ club.customerValue }} <text class="iconfont icon-xiayibu"></text>
  106. </text> -->
  107. </view>
  108. </view>
  109. </view>
  110. <view class="club-list-bot">
  111. <view class="btn" @click.stop="handleClickOper(1, club)">
  112. <text class="iconfont icon-jigouhuaxiang"></text> 机构画像
  113. </view>
  114. <view class="btn" @click.stop="handleOrderHistory(club)">
  115. <text class="iconfont icon-lijixiadan"></text> 机构订单
  116. <text v-if="club.orderNum > 0"
  117. class="opea-badge uni-badge uni-badge-error uni-small uni-badge--small icon-num">
  118. {{ showBadge(club.orderNum) }}
  119. </text>
  120. </view>
  121. <view class="btn" @click.stop="handleClickOper(3, club)">
  122. <text class="iconfont icon-shangcheng"></text> 访问记录
  123. </view>
  124. <view
  125. class="btn"
  126. v-if="tabSmallCurrentIndex === 0 || tabSmallCurrentIndex === 2"
  127. @click.stop="handleShowBubble(club, index)"
  128. >
  129. <text class="iconfont icon-gengduo2"></text>
  130. <view
  131. class="btn-bubble"
  132. :style="{
  133. height: isManage ? '240rpx' : '180rpx',
  134. top: isManage ? '-240rpx' : '-180rpx'
  135. }"
  136. v-if="currentIndex === index && club.bubble"
  137. >
  138. <view class="btn-view border" @click.stop="handleClickOper(4, club)">
  139. <text class="iconfont icon-xiugaiziliao"></text> 修改资料
  140. </view>
  141. <view class="btn-view border" @click.stop="handleClickOper(2, club)">
  142. <text class="iconfont icon-tianxie"></text> 填写记录
  143. </view>
  144. <view class="btn-view border" @click.stop="handleClickOper(6, club)">
  145. <text class="iconfont icon-yunyingrenyuanguanli"></text> 咨询记录
  146. </view>
  147. <view
  148. class="btn-view"
  149. v-if="isManage && club.serviceProviderId != 1342"
  150. @click.stop="handleClickOper(5, club)"
  151. >
  152. <text class="iconfont icon-xiaoshou"></text> 更换服务商
  153. </view>
  154. </view>
  155. </view>
  156. </view>
  157. </view>
  158. <!--加载loadding-->
  159. <tui-loadmore :visible="loadding" :index="3" type="black" />
  160. <tui-nomore :visible="!pullUpOn" bgcolor="#f7f7f7" :text="nomoreText" />
  161. </view>
  162. <view v-else class="empty-container">
  163. <image
  164. class="club-empty-image"
  165. src="https://img.caimei365.com/group1/M00/03/71/Cmis2F3wna6AY2ZjAABpmnBICH4247.png"
  166. mode="aspectFit"
  167. ></image>
  168. <view class="txt">暂无机构~</view>
  169. </view>
  170. </view>
  171. </template>
  172. <!-- 筛选抽屉 -->
  173. <cm-clubDrawer
  174. ref="screendrawer"
  175. v-if="rightDrawer"
  176. :current="tabSmallCurrentIndex"
  177. :rightDrawer="rightDrawer"
  178. @handSearchConfirm="handSearchConfirmData"
  179. />
  180. <!-- 选择弹窗 -->
  181. <cm-seller-popup
  182. ref="cmresellerpopup"
  183. :show="isSellerpopup"
  184. @handleChoiceaSeller="handleChoiceaSellerData"
  185. />
  186. </view>
  187. </template>
  188. <script>
  189. import { mapState, mapMutations } from 'vuex'
  190. import authorize from '@/common/config/authorize.js'
  191. import wxLogin from '@/common/config/wxLogin.js'
  192. import cmClubDrawer from './components/cm-club-drawer'
  193. import cmSellerPopup from '../components/cm-seller-popup'
  194. const defaultListQuery = {
  195. userIdentity: '',
  196. name: '',
  197. pageNum: 1,
  198. pageSize: 10,
  199. spId: 0,
  200. status: '',
  201. type: 1,
  202. groupServiceId: 0
  203. }
  204. export default {
  205. components: {
  206. cmClubDrawer,
  207. cmSellerPopup
  208. },
  209. data() {
  210. return {
  211. listTab: [{ name: '个人机构' }, { name: '资质机构' }],
  212. listItemTab: [{ name: '我的机构' }, { name: '组员机构' }, { name: '新分配机构' }],
  213. listQuery: Object.assign({}, defaultListQuery),
  214. isShowClose: false,
  215. isEmpty: false,
  216. nomoreText: '上拉显示更多',
  217. pageNum: 1,
  218. pageSize: 10,
  219. hasNextPage: false,
  220. loadding: false,
  221. pullUpOn: true,
  222. pullFlag: true,
  223. tabCurrentNum: 0,
  224. tabCurrentIndex: 0,
  225. tabSmallCurrentIndex: 0,
  226. clubList: [],
  227. isIphoneX: this.$store.state.isIphoneX,
  228. CustomBar: this.CustomBar,
  229. StatusBar: this.StatusBar,
  230. capsule: this.capsule,
  231. show_index: 0, //控制显示那个组件
  232. rightDrawer: false,
  233. isSellerpopup: false,
  234. salesParams: {
  235. choseServiceId: 0,
  236. clubId: 0,
  237. spId: 0
  238. },
  239. isShowIndex: false,
  240. currentIndex: 0,
  241. skeletonShow: true
  242. }
  243. },
  244. filters: {
  245. dateConversion(val) {
  246. const date = new Date(val)
  247. const setZero = val => (val < 10 ? '0' + val : val)
  248. return `${date.getFullYear()}-${setZero(date.getMonth() + 1)}-${setZero(date.getDate())} ${setZero(
  249. date.getHours()
  250. )}:${setZero(date.getMinutes())}:${setZero(date.getSeconds())}`
  251. }
  252. },
  253. onLoad(option) {
  254. if (option.type === 'wechat') {
  255. this.isShowIndex = true
  256. }
  257. if (!this.isManage) {
  258. this.listItemTab = this.listItemTab.filter((e, i) => i !== 1)
  259. }
  260. },
  261. computed: {
  262. ...mapState(['isManage'])
  263. },
  264. methods: {
  265. async initGetStotage() {
  266. // 初始化
  267. const userInfo = await this.$api.getStorage()
  268. this.listQuery.spId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  269. this.salesParams.choseServiceId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
  270. this.getList()
  271. setTimeout(()=>{
  272. this.skeletonShow = false
  273. },1000)
  274. },
  275. async getList() {
  276. try{
  277. this.listQuery.pageNum = 1
  278. const res = await this.SellerService.GetSellerClubList(this.listQuery)
  279. const data = res.data
  280. if (data.list && data.list.length > 0) {
  281. this.isEmpty = false
  282. this.hasNextPage = data.hasNextPage
  283. this.clubList = data.list.map((el, index) => {
  284. el.bubble = false
  285. return el
  286. })
  287. this.pullFlag = false
  288. setTimeout(() => {
  289. this.pullFlag = true
  290. }, 500)
  291. if (this.hasNextPage) {
  292. this.pullUpOn = false
  293. this.nomoreText = '上拉显示更多'
  294. } else {
  295. this.pullUpOn = true
  296. this.loadding = false
  297. this.nomoreText = '已至底部'
  298. }
  299. } else {
  300. this.isEmpty = true
  301. }
  302. }catch(error){
  303. //TODO handle the exception
  304. this.$util.msg(error.msg, 2000)
  305. }
  306. },
  307. async getOnReachBottomData() {
  308. try{
  309. this.listQuery.pageNum++
  310. const res = await this.SellerService.GetSellerClubList(this.listQuery)
  311. const data = res.data
  312. if (data.list && data.list.length > 0) {
  313. this.hasNextPage = data.hasNextPage
  314. this.clubList = this.clubList.concat(data.list)
  315. this.pullFlag = false // 防上拉暴滑
  316. setTimeout(() => {
  317. this.pullFlag = true
  318. }, 500)
  319. if (this.hasNextPage) {
  320. this.pullUpOn = false
  321. this.nomoreText = '上拉显示更多'
  322. } else {
  323. this.pullUpOn = false
  324. this.loadding = false
  325. this.nomoreText = '已至底部'
  326. }
  327. }
  328. }catch(error){
  329. //TODO handle the exception
  330. this.$util.msg(error.msg, 2000)
  331. }
  332. },
  333. userClubChoseSales(param) {
  334. //分配或更换服务商
  335. this.SellerService.userClubChoseSales(param)
  336. .then(response => {
  337. this.$util.msg('操作成功~', 2000, true, 'success')
  338. setTimeout(() => {
  339. this.getList()
  340. }, 1000)
  341. })
  342. .catch(error => {
  343. console.log('分配服务商异常')
  344. })
  345. },
  346. tabClick(index) {
  347. //tab切换
  348. this.tabCurrentIndex = index
  349. switch (index) {
  350. case 0:
  351. this.listQuery.status = 90
  352. break
  353. case 1:
  354. this.listQuery.status = 1
  355. break
  356. case 2:
  357. this.listQuery.status = 92
  358. break
  359. }
  360. this.getList()
  361. },
  362. tabCurrentClick(index) {
  363. //商品详情&&供应商信息tab切换
  364. this.tabCurrentNum = index
  365. switch (index) {
  366. case 0:
  367. this.tabCurrentIndex = 0
  368. this.listQuery.status = 90
  369. this.listQuery.userIdentity = 4
  370. this.getList()
  371. break
  372. case 1:
  373. this.listQuery.status = 90
  374. this.listQuery.userIdentity = 2
  375. this.getList()
  376. break
  377. }
  378. },
  379. tabSmallCurrentClick(index) {
  380. //组员机构
  381. this.tabSmallCurrentIndex = index
  382. switch (index) {
  383. case 0:
  384. this.tabCurrentIndex = 0
  385. this.listQuery.type = 1
  386. this.listQuery.groupServiceId = 0
  387. this.getList()
  388. break
  389. case 1:
  390. this.listQuery.type = this.isManage ? 2 : 6
  391. this.listQuery.groupServiceId = 0
  392. this.getList()
  393. break
  394. case 2:
  395. this.listQuery.type = 6
  396. this.listQuery.groupServiceId = 0
  397. this.getList()
  398. break
  399. }
  400. },
  401. handSearchConfirmData(data) {
  402. console.log('确定筛选', data)
  403. //确定筛选
  404. this.listQuery = { ...this.listQuery, ...data }
  405. this.getList()
  406. },
  407. handleChoiceaSellerData(data) {
  408. // 确定搜索
  409. this.salesParams.spId = data.serviceProviderId
  410. this.userClubChoseSales(this.salesParams)
  411. },
  412. showRightDrawer() {
  413. //显示筛选抽屉
  414. this.rightDrawer = true
  415. },
  416. // 按钮操作
  417. handleClickOper(type, club) {
  418. /**
  419. * 1:机构画像 2:填写咨询记录 3:商城访问记录 4:修改资料 5:更换服务商
  420. * */
  421. console.log('type', type)
  422. switch (type) {
  423. case 1:
  424. this.$api.navigateTo(`/pages/seller/club/club-portrait?userId=${club.userId}`)
  425. break
  426. case 2:
  427. this.$api.navigateTo(`/pages/seller/remarks/add?userId=${club.userId}`)
  428. break
  429. case 3:
  430. this.$api.navigateTo(`/pages/seller/club/club-visit?clubId=${club.clubId}`)
  431. break
  432. case 4:
  433. this.handleReturnPath(club)
  434. break
  435. case 5:
  436. this.handleReplaceClub(club)
  437. break
  438. case 6:
  439. this.$api.navigateTo(`/pages/seller/remarks/record-club-list?clubId=${club.clubId}`)
  440. break
  441. }
  442. },
  443. handleReplaceClub(club) {
  444. //更换服务商
  445. this.salesParams.clubId = club.clubId
  446. this.isSellerpopup = true
  447. },
  448. handleReturnPath(club) {
  449. //修改机构资料
  450. const tabMap = {
  451. 0: `/pages/seller/login/apply?userID=${club.userId}`,
  452. 1: `/pages/seller/login/information?userID=${club.userId}`
  453. }
  454. this.$api.navigateTo(tabMap[this.tabCurrentNum])
  455. },
  456. handleOrderHistory(club) {
  457. //跳转机构历史订单
  458. this.$api.setStorage('orderUserInfo', club)
  459. if (this.tabSmallCurrentIndex === 1 || this.tabSmallCurrentIndex === 2) {
  460. // 查看组员机构历史订单
  461. this.$api.navigateTo(
  462. `/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0&authType=${
  463. this.tabSmallCurrentIndex
  464. }`
  465. )
  466. } else {
  467. this.$api.navigateTo(`/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0`)
  468. }
  469. },
  470. // 拨打电话
  471. handlePhone(phoneNumber) {
  472. uni.makePhoneCall({
  473. phoneNumber: phoneNumber //拨打电话
  474. })
  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: 100%;
  525. background: #F7F7F7;
  526. }
  527. .container {
  528. height: auto;
  529. background: #F7F7F7;
  530. position: relative;
  531. padding-top: 98rpx;
  532. box-sizing: border-box;
  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. position: relative;
  550. .title {
  551. position: absolute;
  552. left: 50%;
  553. top: 50%;
  554. transform: translate(-50%, -50%);
  555. }
  556. .search-icon {
  557. text-align: center;
  558. float: left;
  559. .icon-fanhui {
  560. font-size: 44rpx;
  561. color: #333333;
  562. }
  563. .icon-shouye {
  564. font-size: 44rpx;
  565. color: #333333;
  566. }
  567. }
  568. }
  569. .search-main {
  570. width: 100%;
  571. height: 80rpx;
  572. box-sizing: border-box;
  573. padding: 10rpx 24rpx;
  574. .search-from {
  575. background: #f7f7f7;
  576. position: relative;
  577. width: 100%;
  578. height: 100%;
  579. padding-right: 60rpx;
  580. box-sizing: border-box;
  581. padding: 0 10rpx;
  582. float: left;
  583. border-radius: 30rpx;
  584. .icon-iconfonticonfontsousuo1 {
  585. width: 60rpx;
  586. height: 60rpx;
  587. line-height: 60rpx;
  588. text-align: center;
  589. display: block;
  590. font-size: $font-size-38;
  591. float: left;
  592. color: #999999;
  593. }
  594. .input {
  595. width: 520rpx;
  596. height: 100%;
  597. float: left;
  598. color: $text-color;
  599. font-size: $font-size-24;
  600. box-sizing: border-box;
  601. padding-left: 10rpx;
  602. }
  603. .icon-shanchu1 {
  604. font-size: $font-size-32;
  605. color: #999999;
  606. position: absolute;
  607. width: 60rpx;
  608. height: 60rpx;
  609. line-height: 60rpx;
  610. text-align: center;
  611. top: 0;
  612. right: 0;
  613. z-index: 10;
  614. }
  615. }
  616. .search-btn {
  617. width: 60rpx;
  618. height: 60rpx;
  619. line-height: 60rpx;
  620. text-align: center;
  621. font-size: $font-size-28;
  622. color: $color-system;
  623. float: left;
  624. background: #ffffff;
  625. .icon-shaixuan {
  626. font-size: 44rpx;
  627. color: #333333;
  628. }
  629. }
  630. }
  631. .search-tab {
  632. height: 80rpx;
  633. display: flex;
  634. flex: 1;
  635. background: #ffffff;
  636. border-bottom: 1px solid #efefef;
  637. .tab-item {
  638. flex: 1;
  639. line-height: 80rpx;
  640. text-align: center;
  641. color: $text-color;
  642. font-size: $font-size-28;
  643. position: relative;
  644. .item-text {
  645. padding: 10rpx 0;
  646. border-bottom: 2px solid #ffffff;
  647. }
  648. &:nth-child(1)::before {
  649. content: '';
  650. width: 2px;
  651. height: 50rpx;
  652. position: absolute;
  653. right: 0;
  654. top: 15rpx;
  655. background: #ebebeb;
  656. }
  657. &.current {
  658. color: $color-system;
  659. .item-text {
  660. border-color: $color-system;
  661. }
  662. }
  663. }
  664. }
  665. .search-smalltab {
  666. width: 100%;
  667. height: 104rpx;
  668. background: #ffffff;
  669. box-sizing: border-box;
  670. padding: 20rpx 24rpx;
  671. .tab-item {
  672. padding: 0 20rpx;
  673. height: 58rpx;
  674. line-height: 58rpx;
  675. text-align: center;
  676. color: $text-color;
  677. font-size: $font-size-28;
  678. float: left;
  679. border-radius: 8rpx;
  680. border: 1px solid #b2b2b2;
  681. margin-right: 20rpx;
  682. &.current {
  683. color: #ffffff;
  684. border: 1px solid #ff5b00;
  685. background: #ff5b00;
  686. }
  687. }
  688. }
  689. }
  690. .club-main {
  691. width: 100%;
  692. .club-list{
  693. width: 100%;
  694. height: auto;
  695. box-sizing: border-box;
  696. padding: 0 15rpx;
  697. }
  698. .list {
  699. width: 100%;
  700. height: auto;
  701. padding: 15rpx;
  702. box-sizing: border-box;
  703. background: #ffffff;
  704. position: relative;
  705. float: left;
  706. margin-bottom: 15rpx;
  707. border-radius: 8rpx;
  708. .list-cell-top {
  709. width: 100%;
  710. height: auto;
  711. box-sizing: border-box;
  712. .list-logo {
  713. width: 140rpx;
  714. height: 140rpx;
  715. float: left;
  716. position: relative;
  717. image {
  718. width: 140rpx;
  719. height: 140rpx;
  720. border-radius: 8rpx;
  721. }
  722. .list-tips {
  723. display: inline-block;
  724. width: 100%;
  725. height: 32rpx;
  726. line-height: 32rpx;
  727. background: rgba(0, 0, 0, 0.1);
  728. color: #333;
  729. position: absolute;
  730. bottom: 0;
  731. left: 0;
  732. box-sizing: border-box;
  733. text-align: left;
  734. font-size: 20rpx;
  735. padding-left: 4rpx;
  736. border-radius: 8rpx 8rpx 0 0;
  737. text-align: center;
  738. }
  739. .list-id {
  740. display: inline-block;
  741. width: 100%;
  742. height: 32rpx;
  743. line-height: 32rpx;
  744. background: rgba(0, 0, 0, 0.1);
  745. color: #333;
  746. position: absolute;
  747. top: 0;
  748. left: 0;
  749. box-sizing: border-box;
  750. text-align: left;
  751. font-size: 20rpx;
  752. padding-left: 4rpx;
  753. border-radius: 8rpx 8rpx 0 0;
  754. text-align: center;
  755. }
  756. }
  757. .list-content {
  758. width: 550rpx;
  759. height: auto;
  760. float: left;
  761. padding-left: 20rpx;
  762. box-sizing: border-box;
  763. .list-name {
  764. width: 100%;
  765. height: 50rpx;
  766. float: left;
  767. line-height: 50rpx;
  768. display: flex;
  769. justify-content: flex-start;
  770. align-items: center;
  771. .list-name-text{
  772. width: 360rpx;
  773. text-align: left;
  774. text-overflow: ellipsis;
  775. overflow: hidden;
  776. display: -webkit-box;
  777. -webkit-line-clamp: 1;
  778. line-clamp: 1;
  779. -webkit-box-orient: vertical;
  780. font-size: $font-size-26;
  781. color: #333333;
  782. margin-left: 10rpx;
  783. }
  784. .tags {
  785. display: flex;
  786. height: 36rpx;
  787. box-sizing: border-box;
  788. padding: 0 10rpx;
  789. border-radius: 8rpx;
  790. background: #f0cb72;
  791. font-size: $font-size-22;
  792. color: #4e4539;
  793. text-align: center;
  794. line-height: 36rpx;
  795. margin-left: 8rpx;
  796. margin-top: 7rpx;
  797. &.sv {
  798. background: #333333;
  799. color: #f0cb72;
  800. }
  801. &.xf {
  802. background-color: #f94b4b;
  803. color: #ffffff;
  804. }
  805. }
  806. }
  807. .list-tags {
  808. width: 100%;
  809. height: auto;
  810. float: left;
  811. line-height: 36rpx;
  812. margin: 7rpx 0;
  813. .tags {
  814. display: inline-block;
  815. height: 36rpx;
  816. box-sizing: border-box;
  817. padding: 0 8rpx 0 15rpx;
  818. border-radius: 8rpx;
  819. background: rgba(0, 0, 0, 0.1);
  820. font-size: 20rpx;
  821. color: #666666;
  822. text-align: center;
  823. line-height: 36rpx;
  824. margin-right: 16rpx;
  825. .icon-xiayibu {
  826. font-size: 20rpx;
  827. margin-left: 10rpx;
  828. }
  829. }
  830. .tags-or {
  831. display: inline-block;
  832. height: 36rpx;
  833. box-sizing: border-box;
  834. font-size: 20rpx;
  835. color: #666666;
  836. text-align: center;
  837. line-height: 36rpx;
  838. position: relative;
  839. padding: 0 8rpx 0 15rpx;
  840. border-radius: 8rpx;
  841. background: rgba(0, 0, 0, 0.1);
  842. .opea-badge {
  843. position: absolute;
  844. right: -10rpx;
  845. top: -15rpx;
  846. }
  847. .icon-dingdan {
  848. font-size: 22rpx;
  849. color: #999999;
  850. }
  851. }
  852. }
  853. .list-ntel {
  854. width: 100%;
  855. height: 50rpx;
  856. float: left;
  857. line-height: 50rpx;
  858. text-align: left;
  859. font-size: $font-size-24;
  860. color: #666666;
  861. .list-link {
  862. display: inline-block;
  863. float: left;
  864. margin-right: 12rpx;
  865. }
  866. .list-texl {
  867. display: inline-block;
  868. float: left;
  869. text-decoration: underline;
  870. }
  871. }
  872. }
  873. }
  874. .club-list-bot {
  875. width: 100%;
  876. height: 80rpx;
  877. float: left;
  878. background-color: #f7f7f7;
  879. border-radius: 8rpx;
  880. margin-top: 20rpx;
  881. .btn {
  882. height: 80rpx;
  883. box-sizing: border-box;
  884. line-height: 80rpx;
  885. padding: 0 30rpx;
  886. font-size: $font-size-24;
  887. color: #333333;
  888. text-align: center;
  889. float: left;
  890. position: relative;
  891. &:nth-child(1) {
  892. &:before {
  893. content: '';
  894. width: 1px;
  895. height: 20rpx;
  896. background-color: #b2b2b2;
  897. position: absolute;
  898. right: 0;
  899. top: 30rpx;
  900. }
  901. }
  902. &:nth-child(2) {
  903. &:before {
  904. content: '';
  905. width: 1px;
  906. height: 20rpx;
  907. background-color: #b2b2b2;
  908. position: absolute;
  909. right: 0;
  910. top: 30rpx;
  911. }
  912. .opea-badge {
  913. position: absolute;
  914. right: -2rpx;
  915. top: 2rpx;
  916. }
  917. }
  918. &:nth-child(3) {
  919. &:before {
  920. content: '';
  921. width: 1px;
  922. height: 20rpx;
  923. background-color: #b2b2b2;
  924. position: absolute;
  925. right: 0;
  926. top: 30rpx;
  927. }
  928. }
  929. &:last-child {
  930. .iconfont {
  931. font-weight: bold;
  932. }
  933. .btn-bubble {
  934. width: 200rpx;
  935. height: 180rpx;
  936. background: rgba(51, 51, 51, 0.8);
  937. position: absolute;
  938. top: -180rpx;
  939. right: -7rpx;
  940. border-radius: 8rpx;
  941. z-index: 999;
  942. &:before {
  943. content: '';
  944. width: 0;
  945. height: 0;
  946. border: 15rpx solid transparent;
  947. border-top: 15rpx solid rgba(51, 51, 51, 0.8);
  948. position: absolute;
  949. bottom: -26rpx;
  950. right: 35rpx;
  951. }
  952. .btn-view {
  953. width: 100%;
  954. height: 60rpx;
  955. box-sizing: border-box;
  956. line-height: 60rpx;
  957. font-size: $font-size-24;
  958. color: #ffffff;
  959. text-align: center;
  960. float: left;
  961. .iconfont {
  962. font-size: 28rpx;
  963. color: #ffffff;
  964. margin-right: 5rpx;
  965. font-weight: normal;
  966. }
  967. &.border {
  968. border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  969. }
  970. }
  971. }
  972. }
  973. &.none {
  974. &::before {
  975. background-color: #f7f7f7 !important;
  976. }
  977. }
  978. .iconfont {
  979. font-size: 30rpx;
  980. color: #666666;
  981. margin-right: 2rpx;
  982. }
  983. }
  984. }
  985. }
  986. }
  987. .tabBar {
  988. width: 100%;
  989. height: 98rpx;
  990. background: #fff;
  991. border-top: 1px solid #e5e5e5;
  992. position: fixed;
  993. bottom: 0px;
  994. left: 0px;
  995. right: 0px;
  996. z-index: 99;
  997. display: flex;
  998. align-items: center;
  999. justify-content: center;
  1000. .tabBar_list {
  1001. width: 86%;
  1002. display: flex;
  1003. justify-content: space-between;
  1004. .tabBar_item {
  1005. width: 120rpx;
  1006. display: flex;
  1007. justify-content: center;
  1008. align-items: center;
  1009. flex-direction: column;
  1010. font-size: 20rpx;
  1011. color: #999999;
  1012. &.current {
  1013. color: #166ce1;
  1014. .iconfont {
  1015. color: #166ce1;
  1016. }
  1017. }
  1018. &.current1 {
  1019. color: #16e15c;
  1020. .iconfont {
  1021. color: #16e15c;
  1022. }
  1023. }
  1024. &.current2 {
  1025. color: #ff0000;
  1026. .iconfont {
  1027. color: #ff0000;
  1028. }
  1029. }
  1030. .iconfont {
  1031. width: 48rpx;
  1032. height: 48rpx;
  1033. display: block;
  1034. margin-bottom: 2rpx;
  1035. text-align: center;
  1036. font-size: 46rpx;
  1037. color: #999999;
  1038. }
  1039. }
  1040. }
  1041. }
  1042. .nav_active {
  1043. color: $color-system;
  1044. }
  1045. </style>