index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916
  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="$method.splitImgHost(config.h5Logo)"
  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. export default {
  392. components: {},
  393. data() {
  394. return {
  395. show: false,
  396. courseLists: [
  397. {
  398. name: "网课",
  399. },
  400. {
  401. name: "题库通",
  402. },
  403. {
  404. name: "直播课",
  405. },
  406. ],
  407. // array:['全部','建设工程施工管理','机电全科','机电工程管理与实','机电全科','全科'],
  408. current: 0,
  409. menuIndex: 0,
  410. menuIndex1: 0,
  411. paramList: [
  412. {
  413. pageNum: 1,
  414. pageSize: 10,
  415. total: 0,
  416. showStatus: 1,
  417. goodsType: 1,
  418. subjectId: 0,
  419. sortType: 1,
  420. },
  421. {
  422. pageNum: 1,
  423. pageSize: 10,
  424. total: 0,
  425. showStatus: 1,
  426. goodsType: 2,
  427. subjectId: 0,
  428. sortType: 1,
  429. },
  430. {
  431. pageNum: 1,
  432. pageSize: 10,
  433. total: 0,
  434. showStatus: 1,
  435. goodsType: 6,
  436. subjectId: 0,
  437. sortType: 1,
  438. },
  439. ],
  440. goodsName: "",
  441. preGoodsName: "",
  442. list1: [],
  443. list2: [],
  444. list3: [],
  445. eList: [],
  446. bList: [],
  447. sList: [],
  448. selObj: {
  449. eName: "",
  450. pName: "",
  451. bName: "",
  452. eId: 0,
  453. bId: 0,
  454. pId: 0,
  455. },
  456. };
  457. },
  458. onPullDownRefresh() {
  459. this.initList();
  460. setTimeout(function () {
  461. uni.stopPullDownRefresh();
  462. }, 500);
  463. },
  464. onLoad(option) {
  465. console.log("item", this.current);
  466. let eduStr = uni.getStorageSync("eduObj");
  467. if (eduStr) {
  468. this.selObj = JSON.parse(eduStr);
  469. this.subjectList({
  470. businessId: this.selObj.bId,
  471. projectId: this.selObj.pId,
  472. educationId: this.selObj.eId,
  473. });
  474. this.mergeBusiness();
  475. } else {
  476. this.show = true;
  477. }
  478. this.initList();
  479. },
  480. methods: {
  481. blurSearch() {
  482. this.preGoodsName != this.goodsName && this.initList();
  483. },
  484. mergeBusiness() {
  485. this.paramList[0].educationTypeId = this.selObj.eId;
  486. this.paramList[0].businessId = this.selObj.bId;
  487. this.paramList[0].subjectId = 0;
  488. this.paramList[1].educationTypeId = this.selObj.eId;
  489. this.paramList[1].businessId = this.selObj.bId;
  490. this.paramList[1].subjectId = 0;
  491. this.paramList[2].educationTypeId = this.selObj.eId;
  492. this.paramList[2].businessId = this.selObj.bId;
  493. this.paramList[2].subjectId = 0;
  494. },
  495. subjectList(data) {
  496. var self = this;
  497. // /app/common/course/subject/list
  498. this.$api.subjectList(data).then((res) => {
  499. if (res.data.code == 200) {
  500. self.sList = res.data.rows;
  501. let allItem = { id: 0, subjectName: "全部" };
  502. self.sList.unshift(allItem);
  503. }
  504. });
  505. },
  506. active2(item) {
  507. // console.log('item', item)
  508. if (item.topicId) {
  509. uni.navigateTo({
  510. url: "/pages4/courseTopic/goodsTopic?topicId=" + item.topicId,
  511. });
  512. return;
  513. }
  514. this.selObj.bId = item.id;
  515. this.show = false;
  516. this.selObj.pId = item.projectId;
  517. this.selObj.bName = item.businessName;
  518. this.selObj.pName = item.projectName;
  519. this.selObj.aliasName = item.aliasName;
  520. uni.setStorageSync("eduObj", JSON.stringify(this.selObj));
  521. this.subjectList({
  522. businessId: item.id,
  523. projectId: item.projectId,
  524. educationId: this.selObj.eId,
  525. });
  526. this.mergeBusiness();
  527. //初始化
  528. this.initList();
  529. },
  530. businessList(data) {
  531. var self = this;
  532. // /app/common/course/business/list
  533. this.$api.businessList(data).then((res) => {
  534. if (res.data.code == 200) {
  535. self.bList = res.data.rows;
  536. }
  537. });
  538. },
  539. active1(item) {
  540. this.selObj.eId = item.id;
  541. this.selObj.eName = item.educationName;
  542. this.businessList({ educationId: item.id });
  543. },
  544. educationList() {
  545. var self = this;
  546. // /app/common/course/educationType/list
  547. this.$api.educationTypeList().then((res) => {
  548. if (res.data.code == 200) {
  549. self.eList = res.data.rows;
  550. if (self.selObj.eId) {
  551. self.businessList({ educationId: self.selObj.eId });
  552. } else {
  553. this.active1(self.eList[0]);
  554. }
  555. }
  556. });
  557. },
  558. openLeft() {
  559. this.show = true;
  560. },
  561. initList() {
  562. this.paramList[0].pageNum = 1;
  563. this.paramList[1].pageNum = 1;
  564. this.list1 = [];
  565. this.list2 = [];
  566. this.list3 = [];
  567. this.preGoodsName = this.goodsName;
  568. this.courseList();
  569. this.bankList();
  570. this.liveList();
  571. this.educationList();
  572. },
  573. cMenu(index) {
  574. this.paramList[0].pageNum = 1;
  575. this.paramList[0].subjectId = index;
  576. this.list1 = [];
  577. // this.menuIndex
  578. this.courseList();
  579. },
  580. cMenu1(index) {
  581. this.paramList[1].pageNum = 1;
  582. this.paramList[1].subjectId = index;
  583. this.list2 = [];
  584. // this.menuIndex1 = index;
  585. this.bankList();
  586. },
  587. cMenu2(index) {
  588. this.paramList[2].pageNum = 1;
  589. this.paramList[2].subjectId = index;
  590. this.list3 = [];
  591. // this.menuIndex1 = index;
  592. this.liveList();
  593. },
  594. change(index) {
  595. this.current = index;
  596. },
  597. //课程
  598. courseList() {
  599. var self = this;
  600. var param = this.paramList[0];
  601. param.goodsName = this.goodsName;
  602. this.$api.goodsList(param).then((res) => {
  603. self.paramList[0].total = res.data.total;
  604. self.list1.push.apply(self.list1, res.data.rows);
  605. // if (self.list1.length === res.data.total) {
  606. // self.paramList[0].showStatus = true;
  607. // }
  608. });
  609. },
  610. //题库
  611. bankList() {
  612. var self = this;
  613. var param = this.paramList[1];
  614. param.goodsName = this.goodsName;
  615. this.$api.goodsList(param).then((res) => {
  616. self.paramList[1].total = res.data.total;
  617. self.list2.push.apply(self.list2, res.data.rows);
  618. // if (self.list2.length === res.data.total) {
  619. // self.paramList[1].showStatus = true;
  620. // }
  621. });
  622. },
  623. //直播
  624. liveList() {
  625. var self = this;
  626. var param = this.paramList[2];
  627. param.goodsName = this.goodsName;
  628. this.$api.goodsList(param).then((res) => {
  629. self.paramList[2].total = res.data.total;
  630. self.list3.push.apply(self.list3, res.data.rows);
  631. // if (self.list3.length === res.data.total) {
  632. // self.paramList[2].showStatus = true;
  633. // }
  634. });
  635. },
  636. },
  637. onReachBottom() {
  638. if (this.current == 0) {
  639. if (this.list1.length < this.paramList[0].total) {
  640. this.paramList[0].pageNum++;
  641. this.courseList();
  642. }
  643. }
  644. if (this.current == 1) {
  645. if (this.list2.length < this.paramList[1].total) {
  646. this.paramList[1].pageNum++;
  647. this.bankList();
  648. }
  649. }
  650. },
  651. computed: { ...mapGetters(["userInfo", "config"]) },
  652. };
  653. </script>
  654. <style >
  655. ::-webkit-scrollbar {
  656. width: 0;
  657. height: 0;
  658. color: transparent;
  659. }
  660. page {
  661. background-color: #eaeef1;
  662. }
  663. </style>
  664. <style scoped lang="scss">
  665. .check_ck {
  666. background: #ffffff;
  667. padding: 0 38rpx 24rpx;
  668. .again_ck {
  669. width: 30%;
  670. display: flex;
  671. align-items: center;
  672. justify-content: space-between;
  673. }
  674. .check_search {
  675. border: 2rpx solid #333333;
  676. border-radius: 100rpx;
  677. margin-top: 32rpx;
  678. padding: 0 28rpx;
  679. height: 72rpx;
  680. .check_level {
  681. font-size: 28rpx;
  682. .u-line-1 {
  683. width: 160rpx;
  684. margin-right: 8rpx;
  685. }
  686. }
  687. .line {
  688. margin: -10rpx 18rpx 0 20rpx;
  689. color: #d9d9d9;
  690. }
  691. .check_search_input {
  692. flex: 1;
  693. img {
  694. width: 36rpx;
  695. height: 36rpx;
  696. }
  697. }
  698. }
  699. }
  700. .contents {
  701. position: relative;
  702. left: 0;
  703. top: 320rpx;
  704. }
  705. .emptyTip {
  706. color: #999999;
  707. font-size: 32rpx;
  708. text-align: center;
  709. margin-top: 20%;
  710. }
  711. .popuBox {
  712. border-radius: 30% !important;
  713. height: 70vh;
  714. width: 100%;
  715. background-color: #ffffff;
  716. .popuBox-title {
  717. border-radius: 30%;
  718. font-weight: bold;
  719. color: #222222;
  720. font-size: 32rpx;
  721. height: 100rpx;
  722. line-height: 100rpx;
  723. text-align: center;
  724. }
  725. }
  726. .activeStys2 {
  727. color: #007aff;
  728. }
  729. .tylszB {
  730. margin-bottom: 56rpx;
  731. background: #ffffff;
  732. font-size: 32rpx;
  733. overflow: hidden;
  734. white-space: nowrap;
  735. text-overflow: ellipsis;
  736. }
  737. .activeStys {
  738. height: 32rpx;
  739. font-weight: bold;
  740. color: #222222 !important;
  741. border-left: 6rpx solid #0080ff;
  742. }
  743. .b-l-eee {
  744. border-left: 6rpx solid #ffffff;
  745. }
  746. .tylsz {
  747. color: #666;
  748. font-size: 30rpx;
  749. font-size: 32rpx;
  750. color: #999999;
  751. margin-bottom: 40rpx;
  752. vertical-align: bottom;
  753. white-space: nowrap;
  754. }
  755. .popup_t1 {
  756. padding-left: 35rpx;
  757. border-bottom: 1rpx solid #eee;
  758. height: 57rpx;
  759. margin-top: 86rpx;
  760. font-weight: bold;
  761. color: #007aff;
  762. font-size: 27rpx;
  763. }
  764. .flex-d {
  765. background-color: #ffffff;
  766. font-size: 30rpx;
  767. }
  768. .contentZ {
  769. display: flex;
  770. height: calc(70vh - 100rpx);
  771. .lzs {
  772. width: 208rpx;
  773. height: 100%;
  774. overflow-x: auto;
  775. border-right: 2rpx solid #e8e8e8;
  776. }
  777. .rzs {
  778. margin-left: 32rpx;
  779. flex: 1;
  780. height: 100%;
  781. overflow-x: auto;
  782. }
  783. }
  784. .contentZ::-webkit-scrollbar {
  785. display: none;
  786. }
  787. .fots {
  788. height: 100rpx;
  789. display: flex;
  790. align-items: center;
  791. justify-content: space-around;
  792. border-top: 1rpx solid #eee;
  793. }
  794. .leftBtns {
  795. font-size: 30rpx;
  796. color: #007aff;
  797. font-weight: 500;
  798. }
  799. .right_Btns {
  800. font-size: 30rpx;
  801. color: #fff;
  802. background-color: #007aff;
  803. border-radius: 24rpx;
  804. height: 60rpx;
  805. line-height: 60rpx;
  806. text-align: center;
  807. padding: 0rpx 23rpx;
  808. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  809. }
  810. .blackFont {
  811. color: #333333;
  812. margin: 0 10rpx;
  813. }
  814. .margin30 {
  815. margin: 0 20rpx 0 0;
  816. }
  817. .wk_icon {
  818. width: 24rpx;
  819. height: 24rpx;
  820. margin-right: 12rpx;
  821. }
  822. .noteTag {
  823. font-size: 24rpx;
  824. font-family: PingFang SC;
  825. font-weight: 500;
  826. color: #999999;
  827. align-items: center;
  828. }
  829. .priceTag {
  830. display: flex;
  831. font-size: 32rpx;
  832. font-family: PingFang SC;
  833. font-weight: bold;
  834. color: #fc3f3f;
  835. view::before {
  836. content: "¥";
  837. font-size: 24rpx;
  838. font-weight: bold;
  839. }
  840. }
  841. .sale {
  842. color: #999999;
  843. font-size: 28rpx;
  844. margin-left: 8rpx;
  845. }
  846. .price_line {
  847. color: #999999;
  848. font-size: 28rpx;
  849. text-decoration: line-through;
  850. font-weight: 400;
  851. }
  852. .titleTag {
  853. font-size: 32rpx;
  854. font-weight: bold;
  855. color: #333333;
  856. margin-left: 8rpx;
  857. }
  858. .yearTag {
  859. width: 80rpx;
  860. height: 32rpx;
  861. background: #ebf5ff;
  862. border: 2rpx solid #007aff;
  863. border-radius: 16rpx;
  864. font-size: 24rpx;
  865. color: #007aff;
  866. text-align: center;
  867. line-height: 32rpx;
  868. }
  869. .itemBox {
  870. background: #ffffff;
  871. border-radius: 24rpx;
  872. width: 100%;
  873. padding: 23rpx 22rpx 32rpx 22rpx;
  874. margin-bottom: 24rpx;
  875. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1, 99, 235, 0.1);
  876. }
  877. .listBox {
  878. background-color: #eaeef1;
  879. padding: 24rpx 24rpx 120rpx 24rpx;
  880. position: relative;
  881. // top: 235rpx;
  882. }
  883. .menuSel {
  884. margin-top: 32rpx;
  885. // width: 100%;
  886. // height: 70rpx;
  887. // padding: 30rpx 0rpx;
  888. // background: #eaeef1;
  889. white-space: nowrap;
  890. overflow: hidden;
  891. }
  892. .r_sliper {
  893. padding: 0 20rpx;
  894. }
  895. .r_t1 {
  896. background: #f2f7ff;
  897. border-radius: 8rpx;
  898. padding: 9rpx 21rpx;
  899. font-size: 26rpx;
  900. color: #3f8dfd;
  901. }
  902. .r_t2 {
  903. background: #f7f8fc;
  904. border-radius: 8rpx;
  905. padding: 9rpx 21rpx;
  906. color: #666666;
  907. font-size: 26rpx;
  908. }
  909. </style>