list.vue 26 KB

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