index.vue 24 KB

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