index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836
  1. <template>
  2. <view class="index-box">
  3. <image class="bg-img" src="@/static/img/index/index-bg.png" mode="aspectFit"></image>
  4. <view class="">
  5. <Nav :leftShow='false' :customNav='true' :bgckgroundBox='bgckgroundBox'>
  6. <template>
  7. <view slot="custom" class="align-items-center" @click="toSelectSchool()">
  8. <uni-icons type="location-filled" size="20"></uni-icons>
  9. <view class="fs-32 w-220 fw-600 ml-10 text-overflow-ellipsis-one">{{schoolData.school_name||''}}
  10. </view>
  11. <image class="nav-icon ml-10" src="@/static/img/index/index-right.png" mode="aspectFit"></image>
  12. </view>
  13. </template>
  14. </Nav>
  15. </view>
  16. <!-- 搜索 -->
  17. <view class="index-search box-border-box" @click="toUrl(1)"
  18. :style="[{'top': BarH + 'px','background':bgckgroundSearch}]">
  19. <view class="index-search-box box-border-box align-items-center">
  20. <uni-icons type="search" size="20" color="#000"></uni-icons>
  21. <view class="fs-28 fc-9 ml-10">搜索店铺名称或者商品名称</view>
  22. <view class="fs-28 fc-f index-search-box-buttom">搜索</view>
  23. </view>
  24. </view>
  25. <view class="index-box-1 ">
  26. <!-- 轮播 -->
  27. <view class="box-border-box plr-24">
  28. <swiper class="swiper mb-32 " circular indicator-dots indicator-active-color="#4FB3EF" :autoplay="true"
  29. :interval="3000" :duration="500">
  30. <swiper-item v-for="(item,i) in bannerList" :key="i">
  31. <image class="swiper-item" :src="item.image" mode="aspectFill"></image>
  32. </swiper-item>
  33. </swiper>
  34. </view>
  35. <!-- 导航 -->
  36. <view class="box-border-box plr-24">
  37. <view class="nav-list flex-wrap-wrap box-border-box mb-22">
  38. <view class="nav-list-item" v-for="(item,i) in navList" :key="i" @click="toUrl(item.type)">
  39. <image :src="item.img" mode="scaleToFill"></image>
  40. <view class="fs-26 fc-3 text-align-center">{{item.name}}</view>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- 通知 -->
  45. <view class="box-border-box plr-24">
  46. <view class="msg-box align-items-center box-border-box mb-32">
  47. <image class="image-1" src="@/static/img/index/index-tz.png" mode="scaleToFill"></image>
  48. <view class="box-1 fs-20 fc-41ABF5">公告</view>
  49. <swiper class="tz-swiper" :vertical="true" circular :autoplay="true" :interval="3000"
  50. :duration="500">
  51. <swiper-item v-for="(item,i) in noticeList" :key="i" @click="toNoticeDet(item)">
  52. <view class="tz-swiper-item">{{item.title}}</view>
  53. </swiper-item>
  54. </swiper>
  55. <image class="image-2" src="@/static/img/toRight.png" mode="scaleToFill"></image>
  56. </view>
  57. </view>
  58. <!-- 限时秒杀 -->
  59. <view class="box-border-box plr-24" v-if="seckillGoodsList.length > 0">
  60. <view class="xsms-box mb-32">
  61. <image class="image-title" src="@/static/img/index/index-xsms.png" mode="scaleToFill"></image>
  62. <view class="xsms-box-list-f box-border-box plr-12">
  63. <view class="xsms-box-list display-flex ">
  64. <view class="xsms-box-list-item box-border-box p-8" v-for="(item,i) in seckillGoodsList"
  65. :key="i" @click="toShop(item)">
  66. <image class="xsms-box-list-item-img-1 mb-4" :src="item.goods_image" mode="aspectFill">
  67. </image>
  68. <view class="text-overflow-ellipsis-one fs-26 mb-4">{{item.goods_name}}</view>
  69. <view class="mb-4">
  70. <span class="fs-20 fw-b fc-FB3D03">¥</span><span
  71. class="fs-32 fw-b fc-FB3D03">{{item.seckill_money}}</span>
  72. </view>
  73. <view class="fs-20 fc-9 text-line-through">¥{{item.line_price}}</view>
  74. <image class="xsms-box-list-item-img-2" src="@/static/img/index/index-q.png"
  75. mode="scaleToFill"></image>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <!-- 类型选择 -->
  82. <view class="type-list-box display-flex" :style="[{'background':bgckgroundType}]">
  83. <view class="type-item-box view-nowrap" :class="category_id==item.id?'s-type':'n-type'"
  84. v-for="(item,i) in typeList" :key="i" @click="selectType(item.id)">{{item.name}}</view>
  85. </view>
  86. <!-- 商品列表 -->
  87. <view class="box-border-box plr-24">
  88. <view class="goos-list-box box-border-box p-24 display-flex" v-for="(item,i) in goodsList" :key="i"
  89. @click="toShop(item)">
  90. <image class="left-img" :src="item.shop_logo" mode="aspectFill"></image>
  91. <view class="flex-1">
  92. <view class="align-items-center mb-8">
  93. <view class="right-box-title fs-32 fw-600 text-overflow-ellipsis-one">{{item.shop_name}}
  94. </view>
  95. <image class="right-box-title-img" src="@/static/img/toRight.png" mode=""></image>
  96. </view>
  97. <view class="align-items-center mb-8">
  98. <image class="img-x mr-12" src="@/static/img/my/wdpj.png" mode=""></image>
  99. <view class="fs-26 fw-600 fc-FF7F00 mr-12">{{item.shop_score}}分</view>
  100. <view class="fc-6 fs-24 mr-12">| 预计{{item.delivery_time}}分钟 |</view>
  101. <view class="fc-6 fs-24 mr-12">{{item.shop_sales}}人购买</view>
  102. </view>
  103. <view class="align-items-center flex-wrap-wrap">
  104. <view class="quan-list display-flex mr-12 mb-12" v-for="(info1,index1) in item.coupon"
  105. :key="index1">
  106. <view class="quan-list-1 fs-24 fc-f">券</view>
  107. <view class="quan-list-2 fs-24 fc-FB3D03">{{info1.money}}元</view>
  108. </view>
  109. </view>
  110. <view class="goods-items-list display-flex">
  111. <view class="goods-items-list-box" v-for="(info2,index2) in item.goods" :key="index2">
  112. <image class="mb-12" :src="info2.goods_image" mode="aspectFill"></image>
  113. <view class="mb-8 fw-600 text-overflow-ellipsis-one fs-26">{{info2.goods_name}}</view>
  114. <view class="">
  115. <span class="fs-24 fc-FB3D03">¥</span>
  116. <span class="fs-32 fc-FB3D03 fw-b">{{info2.price}}</span>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <uni-popup ref="popup" type="center" border-radius="10px 10px 10px 10px" :is-mask-click="false">
  125. <view class="roll-pop">
  126. <image class="lq-bg" src="@/static/img/index/lq-bg.png" mode=""></image>
  127. <view class="coupon-box">
  128. <view class="item-box display-flex mb-20" v-for="(item,index) in couponData" :key="index">
  129. <view class="item-right flex-direction flex-justify-center flex-1 bgc-FCE7E2">
  130. <view class="fs-28 mb-12 ticket-name text-overflow-ellipsis fc-3 fw-600">
  131. {{item.name}}
  132. </view>
  133. <view class="fs-24 fc-6">
  134. 有效时间:{{item.start_time}} - {{item.end_time}}
  135. </view>
  136. </view>
  137. <view class="item-hr"></view>
  138. <view class="item-left flex-direction align-items-center flex-justify-center bgc-FCE7E2">
  139. <view class="align-items-center">
  140. <view class="fs-30 fw-600 fc-FB3D03">¥</view>
  141. <view class="fs-48 fw-600 fc-FB3D03">{{item.money}}</view>
  142. </view>
  143. <view class="fs-24 mb-18 fc-6">
  144. {{item.desc}}
  145. </view>
  146. <view class="but-box fs-28 fc-f" @click="receive(item)">立即领取</view>
  147. <view class="ball"></view>
  148. <view class="ball-two"></view>
  149. </view>
  150. </view>
  151. </view>
  152. <uni-icons @click="gbPOp" class="pop-gb" color='#fff' type="close" size="30"></uni-icons>
  153. </view>
  154. </uni-popup>
  155. </view>
  156. </template>
  157. <script>
  158. import tools from "@/service/tools";
  159. import {
  160. getNotice,
  161. getBanner,
  162. } from '@/api/common.js';
  163. import {
  164. getSeckillGoods
  165. } from '@/api/seckill.js'
  166. import {
  167. getTakeaway
  168. } from '@/api/category.js';
  169. import {
  170. getGoodsList
  171. } from '@/api/goods.js';
  172. import {
  173. couponHome
  174. } from '@/api/coupon.js'
  175. export default {
  176. data() {
  177. return {
  178. BarH: 0,
  179. bgckgroundBox: 'transparent',
  180. bgckgroundSearch: '',
  181. bgckgroundType: '',
  182. navList: [{
  183. name: "外卖",
  184. img: require('@/static/img/index/index-wm.png'),
  185. type: 2
  186. },
  187. {
  188. name: "代取",
  189. img: require('@/static/img/index/index-dq.png'),
  190. type: 3
  191. },
  192. {
  193. name: "校友圈",
  194. img: require('@/static/img/index/index-xyq.png'),
  195. type: 7
  196. },
  197. {
  198. name: "团购",
  199. img: require('@/static/img/index/index-tg.png'),
  200. type: 5
  201. },
  202. {
  203. name: "票务",
  204. img: require('@/static/img/index/index-pw.png'),
  205. type: 4
  206. },
  207. {
  208. name: "干洗",
  209. img: require('@/static/img/index/index-gx.png'),
  210. type: 6
  211. },
  212. {
  213. name: "租凭",
  214. img: require('@/static/img/index/index-zp.png'),
  215. },
  216. {
  217. name: "二手市场",
  218. img: require('@/static/img/index/index-esss.png'),
  219. },
  220. {
  221. name: "回收",
  222. img: require('@/static/img/index/index-hs.png'),
  223. },
  224. {
  225. name: "实习岗位",
  226. img: require('@/static/img/index/index-sxgw.png'),
  227. },
  228. ],
  229. schoolData: {
  230. school_name: '',
  231. },
  232. noticeList: [],
  233. bannerList: [],
  234. seckillGoodsList: [],
  235. typeList: [], //分类数组
  236. category_id: 0, //分类id
  237. goodsList: [],
  238. total: 0,
  239. page: 1,
  240. couponData: []
  241. }
  242. },
  243. onShow() {
  244. let lon = uni.getStorageSync('lon');
  245. let lat = uni.getStorageSync('lat');
  246. if (!lon || !lat) {
  247. uni.getLocation({
  248. type: "gcj02",
  249. success: (res) => {
  250. if (res.errMsg === 'getLocation:ok') {
  251. uni.setStorageSync('lon', res.longitude);
  252. uni.setStorageSync('lat', res.latitude);
  253. } else {
  254. tools.error('位置授权失败,请检查是否开始授权')
  255. }
  256. },
  257. fail: (res) => {
  258. tools.error('位置授权失败,请检查是否开始授权')
  259. },
  260. })
  261. }
  262. let school_id = uni.getStorageSync('school_id');
  263. let operate_id = uni.getStorageSync('operate_id');
  264. let school_name = uni.getStorageSync('school_name');
  265. if (!school_id || !operate_id) {
  266. setTimeout(() => {
  267. uni.reLaunch({
  268. url: '/pages-address/select-school?type=1'
  269. })
  270. }, 1000)
  271. } else {
  272. this.schoolData.school_name = school_name;
  273. }
  274. this.getBanner();
  275. this.getNotice();
  276. this.getSeckillGoods();
  277. this.getTakeaway();
  278. this.page = 1;
  279. this.goodsList = [];
  280. this.getGoodsList();
  281. },
  282. onPageScroll(e) {
  283. if (e.scrollTop > 1) {
  284. this.bgckgroundBox = '#fff';
  285. this.bgckgroundSearch = '#fff';
  286. if (e.scrollTop > 500) {
  287. this.bgckgroundType = '#fff';
  288. } else {
  289. this.bgckgroundType = '';
  290. }
  291. } else {
  292. this.bgckgroundBox = 'transparent';
  293. this.bgckgroundSearch = '';
  294. this.bgckgroundType = '';
  295. }
  296. },
  297. onReachBottom() {
  298. console.log('触底刷新');
  299. if (this.goodsList.length < this.total) {
  300. this.page += 1;
  301. this.getGoodsList();
  302. }
  303. },
  304. created() {
  305. uni.getSystemInfo({
  306. success: (e) => {
  307. let statusBarH = e.statusBarHeight + 10
  308. let custom = 0;
  309. custom = wx.getMenuButtonBoundingClientRect()
  310. let customBarH = custom.height;
  311. this.BarH = statusBarH + customBarH;
  312. }
  313. })
  314. },
  315. mounted() {
  316. this.couponHome()
  317. this.$refs.popup.open()
  318. uni.hideTabBar()
  319. },
  320. methods: {
  321. couponHome() {
  322. let operate_id = uni.getStorageSync('operate_id');
  323. couponHome({
  324. operate_id: operate_id
  325. }).then((res) => {
  326. if (res.code == 1) {
  327. this.couponData = res.data
  328. }
  329. })
  330. },
  331. gbPOp() {
  332. uni.showTabBar()
  333. this.$refs.popup.close()
  334. },
  335. getBanner() {
  336. getBanner().then((res) => {
  337. if (res.code === 1) {
  338. this.bannerList = res.data;
  339. }
  340. })
  341. },
  342. getNotice() {
  343. getNotice().then((res) => {
  344. if (res.code === 1) {
  345. this.noticeList = res.data;
  346. }
  347. })
  348. },
  349. getSeckillGoods() {
  350. let operate_id = uni.getStorageSync('operate_id');
  351. getSeckillGoods({
  352. operate_id: operate_id
  353. }).then((res) => {
  354. if (res.code === 1) {
  355. this.seckillGoodsList = res.data
  356. }
  357. })
  358. },
  359. getTakeaway() {
  360. getTakeaway().then((res) => {
  361. if (res.code === 1) {
  362. this.typeList = res.data;
  363. this.typeList.unshift({
  364. name: "全部",
  365. id: 0
  366. })
  367. }
  368. })
  369. },
  370. getGoodsList() {
  371. let operate_id = uni.getStorageSync('operate_id');
  372. getGoodsList({
  373. page: this.page,
  374. operate_id: operate_id,
  375. category_id: this.category_id
  376. }).then((res) => {
  377. if (res.code === 1) {
  378. this.goodsList = [...this.goodsList, ...res.data.items];
  379. this.total = res.data.total;
  380. }
  381. })
  382. },
  383. selectType(id) {
  384. if (this.category_id != id) {
  385. this.category_id = id;
  386. this.page = 1;
  387. this.goodsList = [];
  388. this.getGoodsList();
  389. }
  390. },
  391. toUrl(type) {
  392. if (type === 1) {
  393. // 去搜索
  394. uni.navigateTo({
  395. url: '/pages/index/search-record'
  396. })
  397. } else if (type === 2) {
  398. // 去外卖
  399. uni.navigateTo({
  400. url: '/pages-takeout/takeout'
  401. })
  402. } else if (type === 3) {
  403. // 去外卖
  404. uni.navigateTo({
  405. url: '/pages-takeout/replace-take'
  406. })
  407. } else if (type === 4) {
  408. // 去票务
  409. uni.navigateTo({
  410. url: '/pages-buy/ticket'
  411. })
  412. } else if (type === 5) {
  413. // 去团购
  414. uni.navigateTo({
  415. url: '/pages-buy/group'
  416. })
  417. } else if (type === 6) {
  418. // 去干洗
  419. uni.navigateTo({
  420. url: '/pages-buy/dry-clean'
  421. })
  422. } else if (type === 7) {
  423. // 去校友圈
  424. uni.navigateTo({
  425. url: '/pages-school/school-circle'
  426. })
  427. } else {
  428. tools.error('暂未开放')
  429. }
  430. },
  431. toSelectSchool() {
  432. uni.navigateTo({
  433. url: '/pages-address/select-school?type=1'
  434. })
  435. },
  436. toShop(item) {
  437. uni.navigateTo({
  438. url: '/pages-takeout/shop?shop_id=' + item.shop_id
  439. })
  440. },
  441. toNoticeDet(item) {
  442. uni.navigateTo({
  443. url: '/pages-my/notice/info?id=' + item.id
  444. })
  445. },
  446. },
  447. }
  448. </script>
  449. <style lang="scss" scoped>
  450. .roll-pop {
  451. position: relative;
  452. width: 100vw;
  453. height: 1000rpx;
  454. .lq-bg {
  455. width: 100vw;
  456. height: 1000rpx;
  457. position: absolute;
  458. top: 0;
  459. left: 0;
  460. }
  461. .pop-gb {
  462. width: 56rpx;
  463. height: 56rpx;
  464. position: absolute;
  465. bottom: -52rpx;
  466. left: calc((100% - 28rpx) / 2);
  467. }
  468. }
  469. .coupon-box {
  470. padding: 246rpx 82rpx 0 92rpx;
  471. box-sizing: border-box;
  472. }
  473. .index-box {
  474. .w-220 {
  475. width: 220rpx;
  476. }
  477. position: relative;
  478. .bg-img {
  479. width: 100%;
  480. height: 1220rpx;
  481. position: absolute;
  482. top: 0;
  483. left: 0;
  484. z-index: -1;
  485. }
  486. .nav-icon {
  487. width: 32rpx;
  488. height: 32rpx;
  489. }
  490. .index-box-1 {
  491. width: 100%;
  492. // height: 3000rpx;
  493. .swiper {
  494. width: 702rpx;
  495. height: 220rpx;
  496. border-radius: 20rpx;
  497. .swiper-item {
  498. width: 702rpx;
  499. height: 220rpx;
  500. border-radius: 20rpx;
  501. }
  502. }
  503. .nav-list {
  504. padding: 0 22rpx;
  505. .nav-list-item {
  506. margin-right: 52rpx;
  507. margin-bottom: 16rpx;
  508. image {
  509. width: 88rpx;
  510. height: 88rpx;
  511. margin: 0 auto;
  512. }
  513. }
  514. .nav-list-item:nth-child(7) {
  515. margin-right: 42rpx !important;
  516. }
  517. .nav-list-item:nth-child(8) {
  518. margin-right: 46rpx !important;
  519. }
  520. .nav-list-item:nth-child(9) {
  521. margin-right: 44rpx !important;
  522. }
  523. .nav-list-item:nth-child(5),
  524. .nav-list-item:nth-child(10) {
  525. margin-right: 0;
  526. }
  527. }
  528. .msg-box {
  529. width: 100%;
  530. height: 66rpx;
  531. background: #F7F8FC;
  532. border-radius: 12rpx;
  533. padding: 0 14rpx;
  534. .image-1 {
  535. width: 72rpx;
  536. height: 32rpx;
  537. margin-right: 10rpx;
  538. }
  539. .image-2 {
  540. width: 40rpx;
  541. height: 40rpx;
  542. margin-left: auto;
  543. }
  544. .box-1 {
  545. width: 50rpx;
  546. height: 26rpx;
  547. border-radius: 2rpx;
  548. border: 2rpx solid #41ABF5;
  549. text-align: center;
  550. line-height: 26rpx;
  551. margin-right: 10rpx;
  552. }
  553. .tz-swiper {
  554. width: 444rpx;
  555. height: 66rpx;
  556. .tz-swiper-item {
  557. width: 444rpx;
  558. height: 66rpx;
  559. line-height: 66rpx;
  560. }
  561. }
  562. }
  563. .xsms-box {
  564. .image-title {
  565. width: 100%;
  566. height: 92rpx;
  567. }
  568. .xsms-box-list-f {
  569. width: 100%;
  570. height: 310rpx;
  571. background: linear-gradient(180deg, #ABDEFE 4%, #C9EAFF 30%, #C9EAFF 100%);
  572. border-radius: 0rpx 0rpx 20rpx 20rpx;
  573. }
  574. .xsms-box-list {
  575. overflow-y: scroll;
  576. .xsms-box-list-item:last-child {
  577. margin-right: 0;
  578. }
  579. .xsms-box-list-item {
  580. width: 180rpx;
  581. height: 300rpx;
  582. background: #FFFFFF;
  583. border-radius: 8rpx;
  584. margin-right: 8rpx;
  585. position: relative;
  586. .xsms-box-list-item-img-1 {
  587. width: 164rpx;
  588. height: 175rpx;
  589. border-radius: 9rpx;
  590. }
  591. .xsms-box-list-item-img-2 {
  592. position: absolute;
  593. width: 62rpx;
  594. height: 36rpx;
  595. right: 0;
  596. bottom: 8rpx;
  597. }
  598. }
  599. }
  600. }
  601. .type-list-box {
  602. position: sticky;
  603. left: 0;
  604. // top: calc(var(BarH)px + 93rpx);
  605. top: calc(86px + 93rpx);
  606. padding: 0 24rpx 24rpx 24rpx;
  607. overflow-x: scroll;
  608. .type-item-box {
  609. margin-right: 16rpx;
  610. padding: 0 24rpx;
  611. // min-width: 300rpx;
  612. height: 56rpx;
  613. line-height: 56rpx;
  614. border-radius: 200rpx;
  615. text-align: center;
  616. font-size: 28rpx;
  617. }
  618. .type-item-box:last-child {
  619. margin-right: 0;
  620. }
  621. .s-type {
  622. color: #fff;
  623. font-weight: 600;
  624. background: linear-gradient(280deg, #44B1F7 0%, #96D6F4 100%);
  625. }
  626. .n-type {
  627. color: #666;
  628. background-color: #fff;
  629. }
  630. }
  631. .goos-list-box {
  632. width: 100%;
  633. min-height: 100rpx;
  634. background: #FFFFFF;
  635. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(51, 51, 51, 0.1);
  636. border-radius: 20rpx;
  637. margin-bottom: 20rpx;
  638. .goods-items-list {
  639. width: 530rpx;
  640. overflow-y: scroll;
  641. .goods-items-list-box {
  642. width: 140rpx;
  643. margin-right: 16rpx;
  644. image {
  645. width: 140rpx;
  646. height: 140rpx;
  647. border-radius: 12rpx
  648. }
  649. }
  650. }
  651. .left-img {
  652. width: 100rpx;
  653. height: 100rpx;
  654. border-radius: 12rpx;
  655. margin-right: 16rpx;
  656. }
  657. .img-x {
  658. width: 24rpx;
  659. height: 24rpx;
  660. }
  661. .right-box-title {
  662. width: 438rpx;
  663. }
  664. .right-box-title-img {
  665. width: 32rpx;
  666. height: 32rpx;
  667. margin-left: auto;
  668. }
  669. .quan-list {
  670. .quan-list-1 {
  671. width: 32rpx;
  672. height: 34rpx;
  673. background: #FB3D03;
  674. border-radius: 5rpx 0rpx 0rpx 5rpx;
  675. text-align: center;
  676. }
  677. .quan-list-2 {
  678. box-sizing: border-box;
  679. padding: 0 2rpx;
  680. height: 34rpx;
  681. border-radius: 0 5rpx 5rpx 0;
  682. border: 1rpx solid #FB3D03;
  683. text-align: center;
  684. }
  685. }
  686. }
  687. }
  688. .index-search {
  689. position: sticky;
  690. left: 0;
  691. z-index: 10;
  692. padding: 0 24rpx 20rpx 24rpx;
  693. .index-search-box {
  694. width: 100%;
  695. height: 72rpx;
  696. padding: 0 6rpx 0 24rpx;
  697. border-radius: 200rpx;
  698. border: 2rpx solid #4FB3EF;
  699. .index-search-box-buttom {
  700. width: 120rpx;
  701. height: 60rpx;
  702. background: linear-gradient(90deg, #57CAFF 0%, #41ABF5 100%);
  703. border-radius: 200rpx;
  704. margin-left: auto;
  705. line-height: 60rpx;
  706. text-align: center;
  707. }
  708. }
  709. }
  710. }
  711. .item-hr {
  712. width: 0px;
  713. height: auto;
  714. border-right: 1rpx dashed #FB7850;
  715. }
  716. .item-hr-two {
  717. width: 0px;
  718. height: auto;
  719. border-right: 1rpx dashed #999;
  720. }
  721. .item-left {
  722. width: 200rpx;
  723. height: auto;
  724. padding: 20rpx 24rpx;
  725. box-sizing: border-box;
  726. position: relative;
  727. border-radius: 0 20rpx 20rpx 0;
  728. }
  729. .ball {
  730. width: 24rpx;
  731. height: 24rpx;
  732. border-radius: 50%;
  733. position: absolute;
  734. top: -12rpx;
  735. left: -12rpx;
  736. background: #fff;
  737. z-index: 2;
  738. }
  739. .ball-two {
  740. width: 24rpx;
  741. height: 24rpx;
  742. border-radius: 50%;
  743. position: absolute;
  744. background: #fff;
  745. z-index: 10;
  746. bottom: -12rpx;
  747. left: -12rpx;
  748. }
  749. .item-right {
  750. padding: 24rpx;
  751. box-sizing: border-box;
  752. border-radius: 20rpx 0 0 20rpx;
  753. position: relative;
  754. }
  755. .but-box {
  756. width: 152rpx;
  757. height: 52rpx;
  758. line-height: 52rpx;
  759. text-align: center;
  760. background: linear-gradient( 225deg, #FB3D03 0%, #FF6901 100%);
  761. border-radius: 200rpx;
  762. }
  763. </style>