list.vue 26 KB

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