list.vue 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063
  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="GetSellerClubList()"
  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: 4,
  233. name: '',
  234. pageNum: 1,
  235. pageSize: 10,
  236. spId: 0,
  237. status: 90,
  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.GetSellerClubList()
  307. },
  308. GetSellerClubList() {
  309. this.SellerService.GetSellerClubList(this.listQuery)
  310. .then(response => {
  311. let data = response.data
  312. if (data.list && data.list.length > 0) {
  313. this.isEmpty = false
  314. this.hasNextPage = response.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. })
  335. .catch(error => {
  336. this.$util.msg(error.msg, 2000)
  337. })
  338. },
  339. getOnReachBottomData() {
  340. this.listQuery.pageNum += 1
  341. this.SellerService.GetSellerClubList(this.listQuery)
  342. .then(response => {
  343. let data = response.data
  344. if (data.list && data.list.length > 0) {
  345. this.hasNextPage = response.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. })
  361. .catch(error => {
  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.GetSellerClubList()
  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.GetSellerClubList()
  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.GetSellerClubList()
  404. break
  405. case 1:
  406. this.listQuery.pageNum = 1
  407. this.listQuery.status = 90
  408. this.listQuery.userIdentity = 2
  409. this.GetSellerClubList()
  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.status = 90
  421. this.listQuery.pageNum = 1
  422. this.listQuery.groupServiceId = 0
  423. this.GetSellerClubList()
  424. break
  425. case 1:
  426. this.listQuery.type = this.isManage ? 2 : 6
  427. this.listQuery.status = 90
  428. this.listQuery.pageNum = 1
  429. this.listQuery.groupServiceId = 0
  430. this.GetSellerClubList()
  431. break
  432. case 2:
  433. this.listQuery.type = 6
  434. this.listQuery.status = 90
  435. this.listQuery.pageNum = 1
  436. this.listQuery.groupServiceId = 0
  437. this.GetSellerClubList()
  438. break
  439. }
  440. },
  441. handSearchConfirmData(data) {
  442. console.log('确定筛选', data)
  443. //确定筛选
  444. this.listQuery = { ...this.listQuery, ...data }
  445. this.listQuery.pageNum = 1
  446. this.GetSellerClubList()
  447. },
  448. handleChoiceaSellerData(data) {
  449. // 确定搜索
  450. this.salesParams.spId = data.serviceProviderId
  451. this.userClubChoseSales(this.salesParams)
  452. },
  453. showRightDrawer() {
  454. //显示筛选抽屉
  455. this.rightDrawer = true
  456. },
  457. // 按钮操作
  458. handleClickOper(type, club) {
  459. /**
  460. * 1:机构画像 2:填写咨询记录 3:商城访问记录 4:修改资料 5:更换协销
  461. * */
  462. console.log('type', type)
  463. switch (type) {
  464. case 1:
  465. this.$api.navigateTo(`/pages/seller/club/club-portrait?userId=${club.userId}`)
  466. break
  467. case 2:
  468. this.$api.navigateTo(`/pages/seller/remarks/add?userId=${club.userId}`)
  469. break
  470. case 3:
  471. this.$api.navigateTo(`/pages/seller/club/club-visit?clubId=${club.clubId}`)
  472. break
  473. case 4:
  474. this.handleReturnPath(club)
  475. break
  476. case 5:
  477. this.handleReplaceClub(club)
  478. break
  479. case 6:
  480. this.$api.navigateTo(`/pages/seller/remarks/record-club-list?clubId=${club.clubId}`)
  481. break
  482. }
  483. },
  484. handleReplaceClub(club) {
  485. //更换协销
  486. this.salesParams.clubId = club.clubId
  487. this.isSellerpopup = true
  488. },
  489. handleReturnPath(club) {
  490. //修改机构资料
  491. const tabMap = {
  492. 0: `/pages/seller/login/apply?userID=${club.userId}`,
  493. 1: `/pages/seller/login/information?userID=${club.userId}`
  494. }
  495. this.$api.navigateTo(tabMap[this.tabCurrentNum])
  496. },
  497. handleOrderHistory(club) {
  498. //跳转机构历史订单
  499. this.$api.setStorage('orderUserInfo', club)
  500. if (this.tabSmallCurrentIndex === 1 || this.tabSmallCurrentIndex === 2) {
  501. // 查看组员机构历史订单
  502. this.$api.navigateTo(
  503. `/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0&authType=${
  504. this.tabSmallCurrentIndex
  505. }`
  506. )
  507. } else {
  508. this.$api.navigateTo(`/pages/seller/order/order-historylist?clubId=${club.clubId}&listType=0`)
  509. }
  510. },
  511. // 拨打电话
  512. handlePhone(phoneNumber) {
  513. uni.makePhoneCall({
  514. phoneNumber: phoneNumber //拨打电话
  515. })
  516. },
  517. onShowClose() {
  518. //输入框失去焦点时触发
  519. if (this.listQuery.name != '') {
  520. this.isShowClose = true
  521. } else {
  522. this.isShowClose = false
  523. }
  524. },
  525. delInputText() {
  526. //清除输入框内容
  527. this.listQuery.name = ''
  528. this.isShowClose = false
  529. },
  530. showBadge(n) {
  531. let num = ''
  532. if (n > 100) {
  533. num = 99
  534. } else {
  535. num = n
  536. }
  537. return num
  538. },
  539. handleNavigateBack() {
  540. this.$api.navigateBack(1)
  541. },
  542. handleNavigateIndex() {
  543. this.$api.navigateTo('/pages/seller/index/index')
  544. },
  545. handleShowBubble(club, index) {
  546. this.currentIndex = index
  547. club.bubble = !club.bubble
  548. }
  549. },
  550. onReachBottom() {
  551. if (this.hasNextPage) {
  552. this.loadding = true
  553. this.pullUpOn = true
  554. this.getOnReachBottomData()
  555. }
  556. },
  557. onShow() {
  558. wxLogin.wxLoginAuthorize()
  559. this.initGetStotage()
  560. }
  561. }
  562. </script>
  563. <style lang="scss">
  564. page {
  565. height: auto;
  566. }
  567. page,
  568. .container {
  569. /* padding-bottom: 120upx; */
  570. background: #f7f7f7;
  571. }
  572. .container {
  573. position: relative;
  574. }
  575. .club-search {
  576. height: auto;
  577. width: 100%;
  578. background: #ffffff;
  579. display: flex;
  580. flex-direction: column;
  581. position: fixed;
  582. top: 0;
  583. left: 0;
  584. z-index: 99;
  585. .search-top {
  586. flex: 1;
  587. display: flex;
  588. align-items: center;
  589. box-sizing: border-box;
  590. position: relative;
  591. .title {
  592. position: absolute;
  593. left: 50%;
  594. top: 50%;
  595. transform: translate(-50%, -50%);
  596. }
  597. .search-icon {
  598. text-align: center;
  599. float: left;
  600. .icon-fanhui {
  601. font-size: 44rpx;
  602. color: #333333;
  603. }
  604. .icon-shouye {
  605. font-size: 44rpx;
  606. color: #333333;
  607. }
  608. }
  609. }
  610. .search-main {
  611. width: 100%;
  612. height: 80rpx;
  613. box-sizing: border-box;
  614. padding: 10rpx 24rpx;
  615. .search-from {
  616. background: #f7f7f7;
  617. position: relative;
  618. width: 642rpx;
  619. height: 100%;
  620. padding-right: 60rpx;
  621. box-sizing: border-box;
  622. padding: 0 10rpx;
  623. float: left;
  624. border-radius: 30rpx;
  625. .icon-iconfonticonfontsousuo1 {
  626. width: 60rpx;
  627. height: 60rpx;
  628. line-height: 60rpx;
  629. text-align: center;
  630. display: block;
  631. font-size: $font-size-38;
  632. float: left;
  633. color: #999999;
  634. }
  635. .input {
  636. width: 520rpx;
  637. height: 100%;
  638. float: left;
  639. color: $text-color;
  640. font-size: $font-size-24;
  641. box-sizing: border-box;
  642. padding-left: 10rpx;
  643. }
  644. .icon-shanchu1 {
  645. font-size: $font-size-32;
  646. color: #999999;
  647. position: absolute;
  648. width: 60rpx;
  649. height: 60rpx;
  650. line-height: 60rpx;
  651. text-align: center;
  652. top: 0;
  653. right: 0;
  654. z-index: 10;
  655. }
  656. }
  657. .search-btn {
  658. width: 60rpx;
  659. height: 60rpx;
  660. line-height: 60rpx;
  661. text-align: center;
  662. font-size: $font-size-28;
  663. color: $color-system;
  664. float: left;
  665. background: #ffffff;
  666. .icon-shaixuan {
  667. font-size: 44rpx;
  668. color: #333333;
  669. }
  670. }
  671. }
  672. .search-tab {
  673. height: 80rpx;
  674. display: flex;
  675. flex: 1;
  676. background: #ffffff;
  677. border-bottom: 1px solid #efefef;
  678. .tab-item {
  679. flex: 1;
  680. line-height: 80rpx;
  681. text-align: center;
  682. color: $text-color;
  683. font-size: $font-size-28;
  684. position: relative;
  685. .item-text {
  686. padding: 10rpx 0;
  687. border-bottom: 2px solid #ffffff;
  688. }
  689. &:nth-child(1)::before {
  690. content: '';
  691. width: 2px;
  692. height: 50rpx;
  693. position: absolute;
  694. right: 0;
  695. top: 15rpx;
  696. background: #ebebeb;
  697. }
  698. &.current {
  699. color: $color-system;
  700. .item-text {
  701. border-color: $color-system;
  702. }
  703. }
  704. }
  705. }
  706. .search-smalltab {
  707. width: 100%;
  708. height: 104rpx;
  709. background: #ffffff;
  710. box-sizing: border-box;
  711. padding: 20rpx 24rpx;
  712. .tab-item {
  713. width: 168rpx;
  714. height: 64rpx;
  715. line-height: 64rpx;
  716. text-align: center;
  717. color: $text-color;
  718. font-size: $font-size-28;
  719. float: left;
  720. border-radius: 32rpx;
  721. border: 1px solid #b2b2b2;
  722. margin-right: 32rpx;
  723. &.current {
  724. color: #ff5b00;
  725. border: 1px solid #ff5b00;
  726. }
  727. }
  728. }
  729. }
  730. .club-main {
  731. width: 100%;
  732. padding-top: 370rpx;
  733. .list {
  734. width: 100%;
  735. height: 320rpx;
  736. padding: 24rpx;
  737. box-sizing: border-box;
  738. background: #ffffff;
  739. position: relative;
  740. border-bottom: 1px solid #ebebeb;
  741. .list-cell-top {
  742. width: 100%;
  743. height: 140rpx;
  744. box-sizing: border-box;
  745. .list-logo {
  746. width: 140rpx;
  747. height: 140rpx;
  748. float: left;
  749. position: relative;
  750. image {
  751. width: 140rpx;
  752. height: 140rpx;
  753. border-radius: 8rpx;
  754. }
  755. .list-tips {
  756. display: inline-block;
  757. width: 100%;
  758. height: 32rpx;
  759. line-height: 32rpx;
  760. background: rgba(0, 0, 0, 0.1);
  761. color: #333;
  762. position: absolute;
  763. bottom: 0;
  764. left: 0;
  765. box-sizing: border-box;
  766. text-align: left;
  767. font-size: 20rpx;
  768. padding-left: 4rpx;
  769. border-radius: 8rpx 8rpx 0 0;
  770. text-align: center;
  771. }
  772. .list-id {
  773. display: inline-block;
  774. width: 100%;
  775. height: 32rpx;
  776. line-height: 32rpx;
  777. background: rgba(0, 0, 0, 0.1);
  778. color: #333;
  779. position: absolute;
  780. top: 0;
  781. left: 0;
  782. box-sizing: border-box;
  783. text-align: left;
  784. font-size: 20rpx;
  785. padding-left: 4rpx;
  786. border-radius: 8rpx 8rpx 0 0;
  787. text-align: center;
  788. }
  789. }
  790. .list-content {
  791. width: 560rpx;
  792. height: 150rpx;
  793. float: left;
  794. padding-left: 20rpx;
  795. box-sizing: border-box;
  796. .list-name {
  797. width: 100%;
  798. height: 50rpx;
  799. float: left;
  800. line-height: 50rpx;
  801. text-align: left;
  802. font-size: $font-size-26;
  803. color: #333333;
  804. .tags {
  805. display: inline-block;
  806. height: 36rpx;
  807. box-sizing: border-box;
  808. padding: 0 15rpx;
  809. border-radius: 8rpx;
  810. background: #f0cb72;
  811. font-size: $font-size-22;
  812. color: #4e4539;
  813. text-align: center;
  814. line-height: 36rpx;
  815. margin-left: 20rpx;
  816. margin-top: 7rpx;
  817. &.sv {
  818. background: #333333;
  819. color: #f0cb72;
  820. }
  821. &.xf {
  822. background-color: #f94b4b;
  823. color: #ffffff;
  824. }
  825. }
  826. }
  827. .list-tags {
  828. width: 100%;
  829. height: 36rpx;
  830. float: left;
  831. line-height: 36rpx;
  832. margin: 7rpx 0;
  833. .tags {
  834. display: inline-block;
  835. height: 36rpx;
  836. box-sizing: border-box;
  837. padding: 0 8rpx 0 15rpx;
  838. border-radius: 8rpx;
  839. background: #faede5;
  840. font-size: $font-size-22;
  841. color: $color-system;
  842. text-align: center;
  843. line-height: 36rpx;
  844. margin-right: 16rpx;
  845. .icon-xiayibu {
  846. font-size: 20rpx;
  847. margin-left: 10rpx;
  848. }
  849. }
  850. .tags-or {
  851. display: inline-block;
  852. height: 36rpx;
  853. box-sizing: border-box;
  854. font-size: $font-size-22;
  855. color: #1890f9;
  856. text-align: center;
  857. line-height: 36rpx;
  858. position: relative;
  859. .opea-badge {
  860. position: absolute;
  861. right: -30rpx;
  862. top: -15rpx;
  863. }
  864. .icon-xiayibu {
  865. font-size: 22rpx;
  866. color: #1890f9;
  867. }
  868. }
  869. }
  870. .list-ntel {
  871. width: 100%;
  872. height: 50rpx;
  873. float: left;
  874. line-height: 50rpx;
  875. text-align: left;
  876. font-size: $font-size-24;
  877. color: #666666;
  878. .list-link {
  879. display: inline-block;
  880. float: left;
  881. margin-right: 12rpx;
  882. }
  883. .list-texl {
  884. display: inline-block;
  885. float: left;
  886. text-decoration: underline;
  887. }
  888. }
  889. }
  890. }
  891. .club-list-bot {
  892. width: 100%;
  893. height: 80rpx;
  894. float: left;
  895. background-color: #f7f7f7;
  896. border-radius: 8rpx;
  897. margin-top: 20rpx;
  898. .btn {
  899. height: 80rpx;
  900. box-sizing: border-box;
  901. line-height: 80rpx;
  902. padding: 0 20rpx;
  903. font-size: $font-size-24;
  904. color: #333333;
  905. text-align: center;
  906. float: left;
  907. position: relative;
  908. &:nth-child(1) {
  909. &:before {
  910. content: '';
  911. width: 1px;
  912. height: 20rpx;
  913. background-color: #b2b2b2;
  914. position: absolute;
  915. right: 0;
  916. top: 30rpx;
  917. }
  918. }
  919. &:nth-child(2) {
  920. &:before {
  921. content: '';
  922. width: 1px;
  923. height: 20rpx;
  924. background-color: #b2b2b2;
  925. position: absolute;
  926. right: 0;
  927. top: 30rpx;
  928. }
  929. }
  930. &:nth-child(3) {
  931. &:before {
  932. content: '';
  933. width: 1px;
  934. height: 20rpx;
  935. background-color: #b2b2b2;
  936. position: absolute;
  937. right: 0;
  938. top: 30rpx;
  939. }
  940. }
  941. &:last-child {
  942. padding: 0 28rpx;
  943. .iconfont {
  944. font-weight: bold;
  945. }
  946. .btn-bubble {
  947. width: 200rpx;
  948. height: 120rpx;
  949. background: rgba(51, 51, 51, 0.8);
  950. position: absolute;
  951. top: -120rpx;
  952. right: 0;
  953. border-radius: 8rpx;
  954. &:before {
  955. content: '';
  956. width: 0;
  957. height: 0;
  958. border: 15rpx solid transparent;
  959. border-top: 15rpx solid rgba(51, 51, 51, 0.8);
  960. position: absolute;
  961. bottom: -26rpx;
  962. right: 35rpx;
  963. }
  964. .btn-view {
  965. width: 100%;
  966. height: 60rpx;
  967. box-sizing: border-box;
  968. line-height: 60rpx;
  969. font-size: $font-size-24;
  970. color: #ffffff;
  971. text-align: center;
  972. float: left;
  973. .iconfont {
  974. font-size: 28rpx;
  975. color: #ffffff;
  976. margin-right: 5rpx;
  977. font-weight: normal;
  978. }
  979. &.border {
  980. border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  981. }
  982. }
  983. }
  984. }
  985. &.none {
  986. &::before {
  987. background-color: #f7f7f7 !important;
  988. }
  989. }
  990. .iconfont {
  991. font-size: 30rpx;
  992. color: #333333;
  993. margin-right: 5rpx;
  994. }
  995. }
  996. }
  997. }
  998. }
  999. .tabBar {
  1000. width: 100%;
  1001. height: 98rpx;
  1002. background: #fff;
  1003. border-top: 1px solid #e5e5e5;
  1004. position: fixed;
  1005. bottom: 0px;
  1006. left: 0px;
  1007. right: 0px;
  1008. z-index: 99;
  1009. display: flex;
  1010. align-items: center;
  1011. justify-content: center;
  1012. .tabBar_list {
  1013. width: 86%;
  1014. display: flex;
  1015. justify-content: space-between;
  1016. .tabBar_item {
  1017. width: 120rpx;
  1018. display: flex;
  1019. justify-content: center;
  1020. align-items: center;
  1021. flex-direction: column;
  1022. font-size: 20rpx;
  1023. color: #999999;
  1024. &.current {
  1025. color: #166ce1;
  1026. .iconfont {
  1027. color: #166ce1;
  1028. }
  1029. }
  1030. &.current1 {
  1031. color: #16e15c;
  1032. .iconfont {
  1033. color: #16e15c;
  1034. }
  1035. }
  1036. &.current2 {
  1037. color: #ff0000;
  1038. .iconfont {
  1039. color: #ff0000;
  1040. }
  1041. }
  1042. .iconfont {
  1043. width: 48rpx;
  1044. height: 48rpx;
  1045. display: block;
  1046. margin-bottom: 2rpx;
  1047. text-align: center;
  1048. font-size: 46rpx;
  1049. color: #999999;
  1050. }
  1051. }
  1052. }
  1053. }
  1054. .nav_active {
  1055. color: $color-system;
  1056. }
  1057. </style>