index.vue 25 KB

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