index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  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. </view>
  374. </template>
  375. <script>
  376. import { mapGetters } from "vuex";
  377. export default {
  378. data() {
  379. return {
  380. show: false,
  381. courseLists: [
  382. {
  383. name: "网课",
  384. },
  385. {
  386. name: "题库通",
  387. },
  388. {
  389. name: "直播课",
  390. },
  391. ],
  392. // array:['全部','建设工程施工管理','机电全科','机电工程管理与实','机电全科','全科'],
  393. current: 0,
  394. menuIndex: 0,
  395. menuIndex1: 0,
  396. paramList: [
  397. {
  398. pageNum: 1,
  399. pageSize: 10,
  400. total: 0,
  401. showStatus: 1,
  402. goodsType: 1,
  403. subjectId: 0,
  404. sortType: 1,
  405. },
  406. {
  407. pageNum: 1,
  408. pageSize: 10,
  409. total: 0,
  410. showStatus: 1,
  411. goodsType: 2,
  412. subjectId: 0,
  413. sortType: 1,
  414. },
  415. {
  416. pageNum: 1,
  417. pageSize: 10,
  418. total: 0,
  419. showStatus: 1,
  420. goodsType: 6,
  421. subjectId: 0,
  422. sortType: 1,
  423. },
  424. ],
  425. goodsName: "",
  426. preGoodsName: "",
  427. list1: [],
  428. list2: [],
  429. list3: [],
  430. eList: [],
  431. bList: [],
  432. sList: [],
  433. selObj: {
  434. eId: 0,
  435. bId: 0,
  436. pId: 0,
  437. },
  438. imgwidth: 0,
  439. imgheight: 0,
  440. };
  441. },
  442. onPullDownRefresh() {
  443. this.initList();
  444. setTimeout(function () {
  445. uni.stopPullDownRefresh();
  446. }, 500);
  447. },
  448. onLoad(option) {
  449. let eduStr = null;
  450. // 小程序分享跳转
  451. if (option.scene) {
  452. let arrs = decodeURIComponent(option.scene).split("&");
  453. for (let i = 0; i < arrs.length; i++) {
  454. option[arrs[i].split("=")[0]] = arrs[i].split("=")[1]*1;
  455. }
  456. }
  457. // 默认值
  458. let { bid, pid, eid, cur } = option;
  459. if (bid && pid && eid) {
  460. uni.setStorageSync(
  461. "eduObj",
  462. JSON.stringify({
  463. bId: bid * 1,
  464. pId: pid * 1,
  465. eId: eid * 1,
  466. })
  467. );
  468. }
  469. cur && (this.current = cur);
  470. eduStr = uni.getStorageSync("eduObj");
  471. if (eduStr) {
  472. this.selObj = JSON.parse(eduStr);
  473. this.subjectList({
  474. businessId: this.selObj.bId,
  475. projectId: this.selObj.pId,
  476. educationId: this.selObj.eId,
  477. });
  478. this.mergeBusiness();
  479. } else {
  480. this.show = true;
  481. }
  482. this.initList();
  483. },
  484. methods: {
  485. blurSearch() {
  486. this.preGoodsName != this.goodsName && this.initList();
  487. },
  488. mergeBusiness() {
  489. this.paramList[0].educationTypeId = this.selObj.eId;
  490. this.paramList[0].businessId = this.selObj.bId;
  491. this.paramList[0].subjectId = 0;
  492. this.paramList[1].educationTypeId = this.selObj.eId;
  493. this.paramList[1].businessId = this.selObj.bId;
  494. this.paramList[1].subjectId = 0;
  495. this.paramList[2].educationTypeId = this.selObj.eId;
  496. this.paramList[2].businessId = this.selObj.bId;
  497. this.paramList[2].subjectId = 0;
  498. },
  499. subjectList(data) {
  500. var self = this;
  501. // /app/common/course/subject/list
  502. this.$api.subjectList(data).then((res) => {
  503. if (res.data.code == 200) {
  504. self.sList = res.data.rows;
  505. let allItem = { id: 0, subjectName: "全部" };
  506. self.sList.unshift(allItem);
  507. }
  508. });
  509. },
  510. active2(item) {
  511. // console.log('item', item)
  512. if (item.topicId) {
  513. uni.navigateTo({
  514. url: "/pages4/courseTopic/goodsTopic?topicId=" + item.topicId,
  515. });
  516. return;
  517. }
  518. this.selObj.bId = item.id;
  519. this.show = false;
  520. this.selObj.pId = item.projectId;
  521. uni.setStorageSync("eduObj", JSON.stringify(this.selObj));
  522. this.subjectList({
  523. businessId: item.id,
  524. projectId: item.projectId,
  525. educationId: this.selObj.eId,
  526. });
  527. this.mergeBusiness();
  528. //初始化
  529. this.initList();
  530. },
  531. businessList(data) {
  532. var self = this;
  533. // /app/common/course/business/list
  534. this.$api.businessList(data).then((res) => {
  535. if (res.data.code == 200) {
  536. self.bList = res.data.rows;
  537. }
  538. });
  539. },
  540. active1(item) {
  541. this.selObj.eId = item.id;
  542. this.businessList({ educationId: item.id });
  543. },
  544. educationList() {
  545. var self = this;
  546. // /app/common/course/educationType/list
  547. this.$api.educationTypeList().then((res) => {
  548. if (res.data.code == 200) {
  549. self.eList = res.data.rows;
  550. if (self.selObj.eId) {
  551. self.businessList({ educationId: self.selObj.eId });
  552. } else {
  553. this.active1(self.eList[0]);
  554. }
  555. }
  556. });
  557. },
  558. openLeft() {
  559. this.show = true;
  560. },
  561. initList() {
  562. this.paramList[0].pageNum = 1;
  563. this.paramList[1].pageNum = 1;
  564. this.list1 = [];
  565. this.list2 = [];
  566. this.list3 = [];
  567. this.preGoodsName = this.goodsName;
  568. this.courseList();
  569. this.bankList();
  570. this.liveList();
  571. this.educationList();
  572. },
  573. cMenu(index) {
  574. this.paramList[0].pageNum = 1;
  575. this.paramList[0].subjectId = index;
  576. this.list1 = [];
  577. // this.menuIndex
  578. this.courseList();
  579. },
  580. cMenu1(index) {
  581. this.paramList[1].pageNum = 1;
  582. this.paramList[1].subjectId = index;
  583. this.list2 = [];
  584. // this.menuIndex1 = index;
  585. this.bankList();
  586. },
  587. cMenu2(index) {
  588. this.paramList[2].pageNum = 1;
  589. this.paramList[2].subjectId = index;
  590. this.list3 = [];
  591. // this.menuIndex1 = index;
  592. this.liveList();
  593. },
  594. change(index) {
  595. this.current = index;
  596. },
  597. //课程
  598. courseList() {
  599. var self = this;
  600. var param = this.paramList[0];
  601. param.goodsName = this.goodsName;
  602. this.$api.goodsList(param).then((res) => {
  603. self.paramList[0].total = res.data.total;
  604. self.list1.push.apply(self.list1, res.data.rows);
  605. // if (self.list1.length === res.data.total) {
  606. // self.paramList[0].showStatus = true;
  607. // }
  608. });
  609. },
  610. //题库
  611. bankList() {
  612. var self = this;
  613. var param = this.paramList[1];
  614. param.goodsName = this.goodsName;
  615. this.$api.goodsList(param).then((res) => {
  616. self.paramList[1].total = res.data.total;
  617. self.list2.push.apply(self.list2, res.data.rows);
  618. // if (self.list2.length === res.data.total) {
  619. // self.paramList[1].showStatus = true;
  620. // }
  621. });
  622. },
  623. //直播
  624. liveList() {
  625. var self = this;
  626. var param = this.paramList[2];
  627. param.goodsName = this.goodsName;
  628. this.$api.goodsList(param).then((res) => {
  629. self.paramList[2].total = res.data.total;
  630. self.list3.push.apply(self.list3, res.data.rows);
  631. // if (self.list3.length === res.data.total) {
  632. // self.paramList[2].showStatus = true;
  633. // }
  634. });
  635. },
  636. },
  637. onReachBottom() {
  638. if (this.current == 0) {
  639. if (this.list1.length < this.paramList[0].total) {
  640. this.paramList[0].pageNum++;
  641. this.courseList();
  642. }
  643. }
  644. if (this.current == 1) {
  645. if (this.list2.length < this.paramList[1].total) {
  646. this.paramList[1].pageNum++;
  647. this.bankList();
  648. }
  649. }
  650. },
  651. computed: {
  652. ...mapGetters(["userInfo", "config"]),
  653. selectName() {
  654. let { eId, bId } = this.selObj;
  655. if (!eId || !bId) {
  656. return "";
  657. }
  658. let eItem = this.eList.find((e) => e.id === eId);
  659. let bItem = this.bList.find((e) => e.id === bId);
  660. return `${eItem ? eItem.educationName : ""}:${
  661. bItem ? bItem.aliasName : ""
  662. }`;
  663. },
  664. },
  665. };
  666. </script>
  667. <style>
  668. ::-webkit-scrollbar {
  669. width: 0;
  670. height: 0;
  671. color: transparent;
  672. }
  673. page {
  674. background-color: #eaeef1;
  675. }
  676. </style>
  677. <style scoped lang="scss">
  678. .check_ck {
  679. background: #ffffff;
  680. padding: 0 38rpx 24rpx;
  681. .again_ck {
  682. width: 30%;
  683. display: flex;
  684. align-items: center;
  685. justify-content: space-between;
  686. }
  687. .check_search {
  688. border: 2rpx solid #333333;
  689. border-radius: 100rpx;
  690. margin-top: 32rpx;
  691. padding: 0 28rpx;
  692. height: 72rpx;
  693. .check_level {
  694. font-size: 28rpx;
  695. .u-line-1 {
  696. width: 160rpx;
  697. margin-right: 8rpx;
  698. }
  699. }
  700. .line {
  701. margin: -10rpx 18rpx 0 20rpx;
  702. color: #d9d9d9;
  703. }
  704. .check_search_input {
  705. flex: 1;
  706. img {
  707. width: 36rpx;
  708. height: 36rpx;
  709. }
  710. }
  711. }
  712. }
  713. .contents {
  714. position: relative;
  715. left: 0;
  716. top: 320rpx;
  717. }
  718. .emptyTip {
  719. color: #999999;
  720. font-size: 32rpx;
  721. text-align: center;
  722. margin-top: 20%;
  723. }
  724. .popuBox {
  725. border-radius: 30% !important;
  726. height: 70vh;
  727. width: 100%;
  728. background-color: #ffffff;
  729. .popuBox-title {
  730. border-radius: 30%;
  731. font-weight: bold;
  732. color: #222222;
  733. font-size: 32rpx;
  734. height: 100rpx;
  735. line-height: 100rpx;
  736. text-align: center;
  737. }
  738. }
  739. .activeStys2 {
  740. color: #007aff;
  741. }
  742. .tylszB {
  743. margin-bottom: 56rpx;
  744. background: #ffffff;
  745. font-size: 32rpx;
  746. overflow: hidden;
  747. white-space: nowrap;
  748. text-overflow: ellipsis;
  749. }
  750. .activeStys {
  751. height: 32rpx;
  752. font-weight: bold;
  753. color: #222222 !important;
  754. border-left: 6rpx solid #0080ff;
  755. }
  756. .b-l-eee {
  757. border-left: 6rpx solid #ffffff;
  758. }
  759. .tylsz {
  760. color: #666;
  761. font-size: 30rpx;
  762. font-size: 32rpx;
  763. color: #999999;
  764. margin-bottom: 40rpx;
  765. vertical-align: bottom;
  766. white-space: nowrap;
  767. }
  768. .popup_t1 {
  769. padding-left: 35rpx;
  770. border-bottom: 1rpx solid #eee;
  771. height: 57rpx;
  772. margin-top: 86rpx;
  773. font-weight: bold;
  774. color: #007aff;
  775. font-size: 27rpx;
  776. }
  777. .flex-d {
  778. background-color: #ffffff;
  779. font-size: 30rpx;
  780. }
  781. .contentZ {
  782. display: flex;
  783. height: calc(70vh - 100rpx);
  784. .lzs {
  785. width: 208rpx;
  786. height: 100%;
  787. overflow-x: auto;
  788. border-right: 2rpx solid #e8e8e8;
  789. }
  790. .rzs {
  791. margin-left: 32rpx;
  792. flex: 1;
  793. height: 100%;
  794. overflow-x: auto;
  795. }
  796. }
  797. .contentZ::-webkit-scrollbar {
  798. display: none;
  799. }
  800. .fots {
  801. height: 100rpx;
  802. display: flex;
  803. align-items: center;
  804. justify-content: space-around;
  805. border-top: 1rpx solid #eee;
  806. }
  807. .leftBtns {
  808. font-size: 30rpx;
  809. color: #007aff;
  810. font-weight: 500;
  811. }
  812. .right_Btns {
  813. font-size: 30rpx;
  814. color: #fff;
  815. background-color: #007aff;
  816. border-radius: 24rpx;
  817. height: 60rpx;
  818. line-height: 60rpx;
  819. text-align: center;
  820. padding: 0rpx 23rpx;
  821. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  822. }
  823. .blackFont {
  824. color: #333333;
  825. margin: 0 10rpx;
  826. }
  827. .margin30 {
  828. margin: 0 20rpx 0 0;
  829. }
  830. .wk_icon {
  831. width: 24rpx;
  832. height: 24rpx;
  833. margin-right: 12rpx;
  834. }
  835. .noteTag {
  836. font-size: 24rpx;
  837. font-family: PingFang SC;
  838. font-weight: 500;
  839. color: #999999;
  840. align-items: center;
  841. }
  842. .priceTag {
  843. display: flex;
  844. font-size: 32rpx;
  845. font-family: PingFang SC;
  846. font-weight: bold;
  847. color: #fc3f3f;
  848. view::before {
  849. content: "¥";
  850. font-size: 24rpx;
  851. font-weight: bold;
  852. }
  853. }
  854. .sale {
  855. color: #999999;
  856. font-size: 28rpx;
  857. margin-left: 8rpx;
  858. }
  859. .price_line {
  860. color: #999999;
  861. font-size: 28rpx;
  862. text-decoration: line-through;
  863. font-weight: 400;
  864. }
  865. .titleTag {
  866. font-size: 32rpx;
  867. font-weight: bold;
  868. color: #333333;
  869. margin-left: 8rpx;
  870. }
  871. .yearTag {
  872. width: 80rpx;
  873. height: 32rpx;
  874. background: #ebf5ff;
  875. border: 2rpx solid #007aff;
  876. border-radius: 16rpx;
  877. font-size: 24rpx;
  878. color: #007aff;
  879. text-align: center;
  880. line-height: 32rpx;
  881. }
  882. .itemBox {
  883. background: #ffffff;
  884. border-radius: 24rpx;
  885. width: 100%;
  886. padding: 23rpx 22rpx 32rpx 22rpx;
  887. margin-bottom: 24rpx;
  888. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1, 99, 235, 0.1);
  889. }
  890. .listBox {
  891. background-color: #eaeef1;
  892. padding: 24rpx 24rpx 120rpx 24rpx;
  893. position: relative;
  894. // top: 235rpx;
  895. }
  896. .menuSel {
  897. margin-top: 32rpx;
  898. // width: 100%;
  899. // height: 70rpx;
  900. // padding: 30rpx 0rpx;
  901. // background: #eaeef1;
  902. white-space: nowrap;
  903. overflow: hidden;
  904. }
  905. .r_sliper {
  906. padding: 0 20rpx;
  907. }
  908. .r_t1 {
  909. background: #f2f7ff;
  910. border-radius: 8rpx;
  911. padding: 9rpx 21rpx;
  912. font-size: 26rpx;
  913. color: #3f8dfd;
  914. }
  915. .r_t2 {
  916. background: #f7f8fc;
  917. border-radius: 8rpx;
  918. padding: 9rpx 21rpx;
  919. color: #666666;
  920. font-size: 26rpx;
  921. }
  922. </style>