index.vue 25 KB

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