index.vue 25 KB

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