index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951
  1. <template>
  2. <view>
  3. <nav-logo title="选课中心"></nav-logo>
  4. <view v-show="!show">
  5. <view style="position: fixed; width: 100%; z-index: 999">
  6. <view class="check_ck">
  7. <view style="display: flex; align-items: center">
  8. <view style="margin: 0 auto">
  9. <u-tabs
  10. :list="courseLists"
  11. height="70"
  12. :current="current"
  13. @change="change"
  14. :scrollable="false"
  15. font-size="32"
  16. ></u-tabs>
  17. </view>
  18. </view>
  19. <view class="check_search u-flex">
  20. <view class="check_level u-flex" @click="openLeft()">
  21. <view class="u-line-1">{{ selectName }}</view>
  22. <u-icon name="arrow-down-fill" color="#333333" size="20"> </u-icon
  23. ></view>
  24. <view class="line">|</view>
  25. <view class="check_search_input u-flex">
  26. <!-- <img src="../../static/icon/icon-search.png" /> -->
  27. <u-icon name="search" color="#333333" size="28"> </u-icon>
  28. <u-input
  29. style="padding-left: 10rpx"
  30. v-model="goodsName"
  31. type="text"
  32. placeholder="搜索"
  33. @blur="blurSearch"
  34. :auto-blur="true"
  35. confirm-type="search"
  36. :clearable="false"
  37. />
  38. </view>
  39. </view>
  40. <view class="menuSel" v-show="current == 0">
  41. <scroll-view class="r_sliper" scroll-x="true">
  42. <view
  43. v-for="(item, index) in sList"
  44. :key="index"
  45. style="margin-right: 20rpx; display: inline-block"
  46. >
  47. <view
  48. :class="paramList[0].subjectId == item.id ? 'r_t1' : 'r_t2'"
  49. @click="cMenu(item.id)"
  50. >
  51. {{ item.subjectName }}
  52. </view>
  53. </view>
  54. </scroll-view>
  55. </view>
  56. <view class="menuSel" v-show="current == 1">
  57. <scroll-view class="r_sliper" scroll-x="true">
  58. <view
  59. v-for="(item, index) in sList"
  60. :key="index"
  61. style="margin-right: 20rpx; display: inline-block"
  62. >
  63. <view
  64. :class="paramList[1].subjectId == item.id ? 'r_t1' : 'r_t2'"
  65. @click="cMenu1(item.id)"
  66. >
  67. {{ item.subjectName }}
  68. </view>
  69. </view>
  70. </scroll-view>
  71. </view>
  72. <view class="menuSel" v-show="current == 2">
  73. <scroll-view class="r_sliper" scroll-x="true">
  74. <view
  75. v-for="(item, index) in sList"
  76. :key="index"
  77. style="margin-right: 20rpx; display: inline-block"
  78. >
  79. <view
  80. :class="paramList[2].subjectId == item.id ? 'r_t1' : 'r_t2'"
  81. @click="cMenu2(item.id)"
  82. >
  83. {{ item.subjectName }}
  84. </view>
  85. </view>
  86. </scroll-view>
  87. </view>
  88. </view>
  89. </view>
  90. <view v-show="current == 0" class="contents">
  91. <view class="listBox">
  92. <navigator
  93. hover-class="none"
  94. :url="
  95. '/pages3/course/detail?id=' +
  96. item.goodsId +
  97. '&goodsType=' +
  98. item.goodsType
  99. "
  100. v-for="(item, index) in list1"
  101. :key="index"
  102. >
  103. <view class="itemBox">
  104. <image
  105. :src="$method.splitImgHost(item.coverUrl)"
  106. style="height: 367rpx; width: 100%; border-radius: 24rpx"
  107. ></image>
  108. <view
  109. style="display: flex; margin-top: 13rpx; align-items: center"
  110. >
  111. <view class="yearTag" v-if="item.year">{{ item.year }}</view>
  112. <view class="titleTag">{{ item.goodsName }}</view>
  113. </view>
  114. <view
  115. style="
  116. display: flex;
  117. justify-content: space-between;
  118. margin-top: 15rpx;
  119. "
  120. >
  121. <view class="noteTag"
  122. ><image
  123. src="/static/icon/wk_icon1.png"
  124. class="wk_icon"
  125. ></image>
  126. 共 <text class="blackFont">{{ item.courseNum }}</text>
  127. <text class="margin30">课程</text>
  128. <text class="blackFont">{{ item.classHours || "-" }}</text>
  129. 学时</view
  130. >
  131. <view>
  132. <view
  133. class="priceTag"
  134. v-if="
  135. !item.specTemplateId || (!item.maxPrice && !item.minPrice)
  136. "
  137. >
  138. {{
  139. item.standPrice === 0 ? "免费" : `¥${item.standPrice}`
  140. }}
  141. </view>
  142. <!-- 范围价格 -->
  143. <view v-else class="priceTag">
  144. <view>{{ item.minPrice }}</view>
  145. <template v-if="item.minPrice != item.maxPrice">
  146. <text>-</text>
  147. <view>{{ item.maxPrice }}</view>
  148. </template>
  149. </view>
  150. <text v-if="item.linePrice" class="sale">¥ </text>
  151. <text v-if="item.linePrice" class="price_line">
  152. {{ item.linePrice }}</text
  153. >
  154. </view>
  155. </view>
  156. </view>
  157. </navigator>
  158. <view class="emptyTip" v-if="list1.length == 0"
  159. >暂未上架相关网课~</view
  160. >
  161. </view>
  162. </view>
  163. <view v-show="current == 1" class="contents">
  164. <view class="listBox">
  165. <navigator
  166. hover-class="none"
  167. :url="'/pages2/bank/detail?id=' + item.goodsId"
  168. v-for="(item, index) in list2"
  169. :key="index"
  170. >
  171. <view class="itemBox">
  172. <image
  173. :src="$method.splitImgHost(item.coverUrl)"
  174. style="height: 367rpx; width: 100%; border-radius: 24rpx"
  175. ></image>
  176. <view
  177. style="display: flex; margin-top: 13rpx; align-items: center"
  178. >
  179. <view class="yearTag" v-if="item.year">{{ item.year }}</view>
  180. <view
  181. class="titleTag"
  182. style="display: flex; justify-content: space-between; flex: 1"
  183. >
  184. <view style="flex: 1">{{ item.goodsName }}</view>
  185. <view>
  186. <view
  187. class="priceTag"
  188. v-if="
  189. !item.specTemplateId ||
  190. (!item.maxPrice && !item.minPrice)
  191. "
  192. >
  193. {{
  194. item.standPrice === 0 ? "免费" : `¥${item.standPrice}`
  195. }}
  196. </view>
  197. <!-- 范围价格 -->
  198. <view v-else class="priceTag">
  199. <view>{{ item.minPrice }}</view>
  200. <template v-if="item.minPrice != item.maxPrice">
  201. <text>-</text>
  202. <view>{{ item.maxPrice }}</view>
  203. </template>
  204. </view>
  205. <text v-if="item.linePrice" class="sale">¥ </text>
  206. <text v-if="item.linePrice" class="price_line">
  207. {{ item.linePrice }}</text
  208. >
  209. </view>
  210. </view>
  211. </view>
  212. <view
  213. style="
  214. display: flex;
  215. justify-content: space-between;
  216. margin-top: 15rpx;
  217. "
  218. v-if="false"
  219. >
  220. <view class="noteTag"
  221. ><image
  222. src="/static/icon/wk_icon1.png"
  223. class="wk_icon"
  224. ></image>
  225. 共 <text class="blackFont">6</text>
  226. <view class="margin30">张卷</view>
  227. <text class="blackFont">120</text>道题
  228. </view>
  229. <view>
  230. <view
  231. class="priceTag"
  232. v-if="
  233. !item.specTemplateId || (!item.maxPrice && !item.minPrice)
  234. "
  235. >
  236. {{
  237. item.standPrice === 0 ? "免费" : `¥${item.standPrice}`
  238. }}
  239. </view>
  240. <!-- 范围价格 -->
  241. <view v-else class="priceTag">
  242. <view>{{ item.minPrice }}</view>
  243. <template v-if="item.minPrice != item.maxPrice">
  244. <text>-</text>
  245. <view>{{ item.maxPrice }}</view>
  246. </template>
  247. </view>
  248. <text v-if="item.linePrice" class="sale">¥ </text>
  249. <text v-if="item.linePrice" class="price_line">
  250. {{ item.linePrice }}</text
  251. >
  252. </view>
  253. </view>
  254. </view>
  255. </navigator>
  256. <view class="emptyTip" v-if="list2.length == 0"
  257. >暂未上架相关题库~</view
  258. >
  259. </view>
  260. </view>
  261. <view v-show="current == 2" class="contents">
  262. <view class="listBox">
  263. <!-- /pages5/liveDetail/index -->
  264. <navigator
  265. hover-class="none"
  266. :url="
  267. '/pages3/course/detail?id=' +
  268. item.goodsId +
  269. '&goodsType=' +
  270. item.goodsType
  271. "
  272. v-for="(item, index) in list3"
  273. :key="index"
  274. >
  275. <view class="itemBox">
  276. <image
  277. :src="$method.splitImgHost(item.coverUrl)"
  278. style="height: 367rpx; width: 100%; border-radius: 24rpx"
  279. ></image>
  280. <view
  281. style="display: flex; margin-top: 13rpx; align-items: center"
  282. >
  283. <view class="yearTag" v-if="item.year">{{ item.year }}</view>
  284. <view
  285. class="titleTag"
  286. style="display: flex; justify-content: space-between; flex: 1"
  287. >
  288. <view style="flex: 1">{{ item.goodsName }}</view>
  289. <view>
  290. <view
  291. class="priceTag"
  292. v-if="
  293. !item.specTemplateId ||
  294. (!item.maxPrice && !item.minPrice)
  295. "
  296. >
  297. {{
  298. item.standPrice === 0 ? "免费" : `¥${item.standPrice}`
  299. }}
  300. </view>
  301. <!-- 范围价格 -->
  302. <view v-else class="priceTag">
  303. <view>{{ item.minPrice }}</view>
  304. <template v-if="item.minPrice != item.maxPrice">
  305. <text>-</text>
  306. <view>{{ item.maxPrice }}</view>
  307. </template>
  308. </view>
  309. <text v-if="item.linePrice" class="sale">¥ </text>
  310. <text v-if="item.linePrice" class="price_line">
  311. {{ item.linePrice }}</text
  312. >
  313. </view>
  314. </view>
  315. </view>
  316. <!-- <view style="display: flex;justify-content: space-between;margin-top: 15rpx;" v-if="false">
  317. <view class="noteTag">
  318. <image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
  319. <view>
  320. <text v-if="item.standPrice" class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
  321. <text v-else class="priceTag free">免费</text>
  322. <view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
  323. <text class="sale"> ¥ </text>
  324. <text class="price_line"> {{ item.linePrice }}</text>
  325. </view>
  326. </view>
  327. </view> -->
  328. </view>
  329. </navigator>
  330. <view class="emptyTip" v-if="list3.length == 0"
  331. >暂未上架相关直播~</view
  332. >
  333. </view>
  334. </view>
  335. </view>
  336. <u-popup
  337. v-model="show"
  338. mode="bottom"
  339. border-radius="32"
  340. :mask-close-able="false"
  341. :closeable="!!selObj.bId"
  342. >
  343. <view class="popuBox">
  344. <view class="popuBox-title">选择分类</view>
  345. <view class="flex-d">
  346. <view class="contentZ">
  347. <view class="lzs">
  348. <view
  349. class="tylsz u-flex"
  350. v-for="(item, index) in eList"
  351. :key="index"
  352. @click="active1(item)"
  353. :class="item.id === selObj.eId ? 'activeStys' : 'b-l-eee'"
  354. ><view style="padding-left: 30rpx">{{
  355. item.educationName
  356. }}</view></view
  357. >
  358. </view>
  359. <view class="rzs">
  360. <view
  361. class="tylszB"
  362. v-for="(item, index) in bList"
  363. :key="index"
  364. @click="active2(item)"
  365. :class="item.id === selObj.bId ? 'activeStys2' : ''"
  366. >{{ item.aliasName }}</view
  367. >
  368. </view>
  369. </view>
  370. </view>
  371. </view>
  372. </u-popup>
  373. <!-- tabbar -->
  374. <myTabbar></myTabbar>
  375. </view>
  376. </template>
  377. <script>
  378. import { mapGetters } from "vuex";
  379. export default {
  380. data() {
  381. return {
  382. show: false,
  383. courseLists: [
  384. {
  385. name: "网课",
  386. },
  387. {
  388. name: "题库通",
  389. },
  390. {
  391. name: "直播课",
  392. },
  393. ],
  394. current: 0,
  395. menuIndex: 0,
  396. menuIndex1: 0,
  397. paramList: [
  398. {
  399. pageNum: 1,
  400. pageSize: 10,
  401. total: 0,
  402. showStatus: 1,
  403. goodsType: 1,
  404. subjectId: 0,
  405. sortType: 1,
  406. },
  407. {
  408. pageNum: 1,
  409. pageSize: 10,
  410. total: 0,
  411. showStatus: 1,
  412. goodsType: 2,
  413. subjectId: 0,
  414. sortType: 1,
  415. },
  416. {
  417. pageNum: 1,
  418. pageSize: 10,
  419. total: 0,
  420. showStatus: 1,
  421. goodsType: 6,
  422. subjectId: 0,
  423. sortType: 1,
  424. },
  425. ],
  426. goodsName: "",
  427. preGoodsName: "",
  428. list1: [],
  429. list2: [],
  430. list3: [],
  431. eList: [],
  432. bList: [],
  433. sList: [],
  434. selObj: {
  435. eId: 0,
  436. bId: 0,
  437. pId: 0,
  438. },
  439. imgwidth: 0,
  440. imgheight: 0,
  441. ename: "",
  442. bname: "",
  443. };
  444. },
  445. onPullDownRefresh() {
  446. this.initList();
  447. setTimeout(function () {
  448. uni.stopPullDownRefresh();
  449. }, 500);
  450. },
  451. onLoad(option) {
  452. uni.hideTabBar();
  453. let eduStr = null;
  454. // 小程序分享跳转
  455. if (option.scene) {
  456. let arrs = decodeURIComponent(option.scene).split("&");
  457. for (let i = 0; i < arrs.length; i++) {
  458. option[arrs[i].split("=")[0]] = arrs[i].split("=")[1] * 1;
  459. }
  460. }
  461. // 默认值
  462. let { bid, pid, eid, cur, ename, bname } = option;
  463. if (bid && pid && eid) {
  464. uni.setStorageSync(
  465. "eduObj",
  466. JSON.stringify({
  467. bId: bid * 1,
  468. pId: pid * 1,
  469. eId: eid * 1,
  470. })
  471. );
  472. }
  473. cur && (this.current = cur);
  474. if (ename && bname) {
  475. this.ename = ename;
  476. this.bname = bname;
  477. this.initList();
  478. return;
  479. }
  480. eduStr = uni.getStorageSync("eduObj");
  481. if (eduStr) {
  482. this.selObj = JSON.parse(eduStr);
  483. this.subjectList({
  484. businessId: this.selObj.bId,
  485. projectId: this.selObj.pId,
  486. educationId: this.selObj.eId,
  487. });
  488. this.mergeBusiness();
  489. } else {
  490. this.show = true;
  491. }
  492. this.initList();
  493. },
  494. methods: {
  495. blurSearch() {
  496. this.preGoodsName != this.goodsName && this.initList();
  497. },
  498. mergeBusiness() {
  499. this.paramList[0].educationTypeId = this.selObj.eId;
  500. this.paramList[0].businessId = this.selObj.bId;
  501. this.paramList[0].subjectId = 0;
  502. this.paramList[1].educationTypeId = this.selObj.eId;
  503. this.paramList[1].businessId = this.selObj.bId;
  504. this.paramList[1].subjectId = 0;
  505. this.paramList[2].educationTypeId = this.selObj.eId;
  506. this.paramList[2].businessId = this.selObj.bId;
  507. this.paramList[2].subjectId = 0;
  508. },
  509. subjectList(data) {
  510. var self = this;
  511. // /app/common/course/subject/list
  512. this.$api.subjectList(data).then((res) => {
  513. if (res.data.code == 200) {
  514. self.sList = res.data.rows;
  515. let allItem = { id: 0, subjectName: "全部" };
  516. self.sList.unshift(allItem);
  517. }
  518. });
  519. },
  520. active2(item) {
  521. // console.log('item', item)
  522. // if (item.topicId) {
  523. // uni.navigateTo({
  524. // url: "/pages4/courseTopic/goodsTopic?topicId=" + item.topicId,
  525. // });
  526. // return;
  527. // }
  528. this.selObj.bId = item.id;
  529. this.show = false;
  530. this.selObj.pId = item.projectId;
  531. uni.setStorageSync("eduObj", JSON.stringify(this.selObj));
  532. this.subjectList({
  533. businessId: item.id,
  534. projectId: item.projectId,
  535. educationId: this.selObj.eId,
  536. });
  537. this.mergeBusiness();
  538. //初始化
  539. this.initList();
  540. },
  541. businessList(data) {
  542. this.$api.businessList(data).then((res) => {
  543. if (res.data.code == 200) {
  544. this.bList = res.data.rows;
  545. if (this.bname) {
  546. const item = this.bList.find((e) => e.aliasName == this.bname);
  547. this.bname = "";
  548. if (item) {
  549. this.active2(item);
  550. } else {
  551. this.show = true;
  552. }
  553. }
  554. }
  555. });
  556. },
  557. active1(item) {
  558. this.selObj.eId = item.id;
  559. this.businessList({ educationId: item.id });
  560. },
  561. educationList() {
  562. this.$api.educationTypeList().then((res) => {
  563. if (res.data.code == 200) {
  564. this.eList = res.data.rows;
  565. if (this.ename) {
  566. const item = this.eList.find((e) => e.educationName == this.ename);
  567. this.ename = "";
  568. if (item) {
  569. this.selObj.eId = item.id;
  570. }
  571. }
  572. if (this.selObj.eId) {
  573. this.businessList({ educationId: this.selObj.eId });
  574. } else {
  575. this.active1(this.eList[0]);
  576. }
  577. }
  578. });
  579. },
  580. openLeft() {
  581. this.show = true;
  582. },
  583. initList() {
  584. this.paramList[0].pageNum = 1;
  585. this.paramList[1].pageNum = 1;
  586. this.list1 = [];
  587. this.list2 = [];
  588. this.list3 = [];
  589. this.preGoodsName = this.goodsName;
  590. this.courseList();
  591. this.bankList();
  592. this.liveList();
  593. this.educationList();
  594. },
  595. cMenu(index) {
  596. this.paramList[0].pageNum = 1;
  597. this.paramList[0].subjectId = index;
  598. this.list1 = [];
  599. // this.menuIndex
  600. this.courseList();
  601. },
  602. cMenu1(index) {
  603. this.paramList[1].pageNum = 1;
  604. this.paramList[1].subjectId = index;
  605. this.list2 = [];
  606. // this.menuIndex1 = index;
  607. this.bankList();
  608. },
  609. cMenu2(index) {
  610. this.paramList[2].pageNum = 1;
  611. this.paramList[2].subjectId = index;
  612. this.list3 = [];
  613. // this.menuIndex1 = index;
  614. this.liveList();
  615. },
  616. change(index) {
  617. this.current = index;
  618. },
  619. //课程
  620. courseList() {
  621. var self = this;
  622. var param = this.paramList[0];
  623. param.goodsName = this.goodsName;
  624. this.$api.goodsList(param).then((res) => {
  625. self.paramList[0].total = res.data.total;
  626. self.list1.push.apply(self.list1, res.data.rows);
  627. // if (self.list1.length === res.data.total) {
  628. // self.paramList[0].showStatus = true;
  629. // }
  630. });
  631. },
  632. //题库
  633. bankList() {
  634. var self = this;
  635. var param = this.paramList[1];
  636. param.goodsName = this.goodsName;
  637. this.$api.goodsList(param).then((res) => {
  638. self.paramList[1].total = res.data.total;
  639. self.list2.push.apply(self.list2, res.data.rows);
  640. // if (self.list2.length === res.data.total) {
  641. // self.paramList[1].showStatus = true;
  642. // }
  643. });
  644. },
  645. //直播
  646. liveList() {
  647. var self = this;
  648. var param = this.paramList[2];
  649. param.goodsName = this.goodsName;
  650. this.$api.goodsList(param).then((res) => {
  651. self.paramList[2].total = res.data.total;
  652. self.list3.push.apply(self.list3, res.data.rows);
  653. // if (self.list3.length === res.data.total) {
  654. // self.paramList[2].showStatus = true;
  655. // }
  656. });
  657. },
  658. },
  659. onReachBottom() {
  660. if (this.current == 0) {
  661. if (this.list1.length < this.paramList[0].total) {
  662. this.paramList[0].pageNum++;
  663. this.courseList();
  664. }
  665. }
  666. if (this.current == 1) {
  667. if (this.list2.length < this.paramList[1].total) {
  668. this.paramList[1].pageNum++;
  669. this.bankList();
  670. }
  671. }
  672. },
  673. computed: {
  674. ...mapGetters(["userInfo", "config"]),
  675. selectName() {
  676. let { eId, bId } = this.selObj;
  677. if (!eId || !bId) {
  678. return "";
  679. }
  680. let eItem = this.eList.find((e) => e.id === eId);
  681. let bItem = this.bList.find((e) => e.id === bId);
  682. return `${eItem ? eItem.educationName : ""}:${
  683. bItem ? bItem.aliasName : ""
  684. }`;
  685. },
  686. },
  687. };
  688. </script>
  689. <style>
  690. ::-webkit-scrollbar {
  691. width: 0;
  692. height: 0;
  693. color: transparent;
  694. }
  695. page {
  696. background-color: #eaeef1;
  697. }
  698. </style>
  699. <style scoped lang="scss">
  700. .check_ck {
  701. background: #ffffff;
  702. padding: 0 38rpx 24rpx;
  703. .again_ck {
  704. width: 30%;
  705. display: flex;
  706. align-items: center;
  707. justify-content: space-between;
  708. }
  709. .check_search {
  710. border: 2rpx solid #333333;
  711. border-radius: 100rpx;
  712. margin-top: 32rpx;
  713. padding: 0 28rpx;
  714. height: 72rpx;
  715. .check_level {
  716. font-size: 28rpx;
  717. .u-line-1 {
  718. width: 160rpx;
  719. margin-right: 8rpx;
  720. }
  721. }
  722. .line {
  723. margin: -10rpx 18rpx 0 20rpx;
  724. color: #d9d9d9;
  725. }
  726. .check_search_input {
  727. flex: 1;
  728. img {
  729. width: 36rpx;
  730. height: 36rpx;
  731. }
  732. }
  733. }
  734. }
  735. .contents {
  736. position: relative;
  737. left: 0;
  738. top: 300rpx;
  739. }
  740. .emptyTip {
  741. color: #999999;
  742. font-size: 32rpx;
  743. text-align: center;
  744. margin-top: 20%;
  745. }
  746. .popuBox {
  747. border-radius: 30% !important;
  748. height: 70vh;
  749. width: 100%;
  750. background-color: #ffffff;
  751. .popuBox-title {
  752. border-radius: 30%;
  753. font-weight: bold;
  754. color: #222222;
  755. font-size: 32rpx;
  756. height: 100rpx;
  757. line-height: 100rpx;
  758. text-align: center;
  759. }
  760. }
  761. .activeStys2 {
  762. color: #007aff;
  763. }
  764. .tylszB {
  765. margin-bottom: 56rpx;
  766. background: #ffffff;
  767. font-size: 32rpx;
  768. overflow: hidden;
  769. white-space: nowrap;
  770. text-overflow: ellipsis;
  771. }
  772. .activeStys {
  773. height: 32rpx;
  774. font-weight: bold;
  775. color: #222222 !important;
  776. border-left: 6rpx solid #0080ff;
  777. }
  778. .b-l-eee {
  779. border-left: 6rpx solid #ffffff;
  780. }
  781. .tylsz {
  782. color: #666;
  783. font-size: 30rpx;
  784. font-size: 32rpx;
  785. color: #999999;
  786. margin-bottom: 40rpx;
  787. vertical-align: bottom;
  788. white-space: nowrap;
  789. }
  790. .popup_t1 {
  791. padding-left: 35rpx;
  792. border-bottom: 1rpx solid #eee;
  793. height: 57rpx;
  794. margin-top: 86rpx;
  795. font-weight: bold;
  796. color: #007aff;
  797. font-size: 27rpx;
  798. }
  799. .flex-d {
  800. background-color: #ffffff;
  801. font-size: 30rpx;
  802. }
  803. .contentZ {
  804. display: flex;
  805. height: calc(70vh - 100rpx);
  806. .lzs {
  807. width: 208rpx;
  808. height: 100%;
  809. overflow-x: auto;
  810. border-right: 2rpx solid #e8e8e8;
  811. }
  812. .rzs {
  813. margin-left: 32rpx;
  814. flex: 1;
  815. height: 100%;
  816. overflow-x: auto;
  817. }
  818. }
  819. .contentZ::-webkit-scrollbar {
  820. display: none;
  821. }
  822. .fots {
  823. height: 100rpx;
  824. display: flex;
  825. align-items: center;
  826. justify-content: space-around;
  827. border-top: 1rpx solid #eee;
  828. }
  829. .leftBtns {
  830. font-size: 30rpx;
  831. color: #007aff;
  832. font-weight: 500;
  833. }
  834. .right_Btns {
  835. font-size: 30rpx;
  836. color: #fff;
  837. background-color: #007aff;
  838. border-radius: 24rpx;
  839. height: 60rpx;
  840. line-height: 60rpx;
  841. text-align: center;
  842. padding: 0rpx 23rpx;
  843. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  844. }
  845. .blackFont {
  846. color: #333333;
  847. margin: 0 10rpx;
  848. }
  849. .margin30 {
  850. margin: 0 20rpx 0 0;
  851. }
  852. .wk_icon {
  853. width: 24rpx;
  854. height: 24rpx;
  855. margin-right: 12rpx;
  856. }
  857. .noteTag {
  858. font-size: 24rpx;
  859. font-family: PingFang SC;
  860. font-weight: 500;
  861. color: #999999;
  862. align-items: center;
  863. }
  864. .priceTag {
  865. display: flex;
  866. font-size: 32rpx;
  867. font-family: PingFang SC;
  868. font-weight: bold;
  869. color: #fc3f3f;
  870. view::before {
  871. content: "¥";
  872. font-size: 24rpx;
  873. font-weight: bold;
  874. }
  875. }
  876. .sale {
  877. color: #999999;
  878. font-size: 28rpx;
  879. margin-left: 8rpx;
  880. }
  881. .price_line {
  882. color: #999999;
  883. font-size: 28rpx;
  884. text-decoration: line-through;
  885. font-weight: 400;
  886. }
  887. .titleTag {
  888. font-size: 32rpx;
  889. font-weight: bold;
  890. color: #333333;
  891. margin-left: 8rpx;
  892. }
  893. .yearTag {
  894. width: 80rpx;
  895. height: 32rpx;
  896. background: #ebf5ff;
  897. border: 2rpx solid #007aff;
  898. border-radius: 16rpx;
  899. font-size: 24rpx;
  900. color: #007aff;
  901. text-align: center;
  902. line-height: 32rpx;
  903. }
  904. .itemBox {
  905. background: #ffffff;
  906. border-radius: 24rpx;
  907. width: 100%;
  908. padding: 23rpx 22rpx 32rpx 22rpx;
  909. margin-bottom: 24rpx;
  910. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1, 99, 235, 0.1);
  911. }
  912. .listBox {
  913. background-color: #eaeef1;
  914. padding: 24rpx 24rpx 120rpx 24rpx;
  915. position: relative;
  916. // top: 235rpx;
  917. }
  918. .menuSel {
  919. margin-top: 32rpx;
  920. // width: 100%;
  921. // height: 70rpx;
  922. // padding: 30rpx 0rpx;
  923. // background: #eaeef1;
  924. white-space: nowrap;
  925. overflow: hidden;
  926. }
  927. .r_sliper {
  928. padding: 0 20rpx;
  929. }
  930. .r_t1 {
  931. background: #f2f7ff;
  932. border-radius: 8rpx;
  933. padding: 9rpx 21rpx;
  934. font-size: 26rpx;
  935. color: #3f8dfd;
  936. }
  937. .r_t2 {
  938. background: #f7f8fc;
  939. border-radius: 8rpx;
  940. padding: 9rpx 21rpx;
  941. color: #666666;
  942. font-size: 26rpx;
  943. }
  944. </style>