index.vue 25 KB

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