list.vue 39 KB

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