index.vue 24 KB

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