index.vue 25 KB

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