index.vue 25 KB

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