homePage.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  1. <template>
  2. <view>
  3. <view class="navigation">
  4. <view class="title">
  5. 启航教培管家·家长端
  6. </view>
  7. <view class="identity" @click="showClick">
  8. <view class="picture" v-if="form.headPhoto != null">
  9. <u-avatar class="avatar"
  10. :src="form.headPhoto != null ? form.headPhoto : '../../assets/img/head.png'" size="48">
  11. </u-avatar>
  12. </view>
  13. <view class="name">
  14. {{form.studentName}}
  15. </view>
  16. <view class="icon">
  17. <img src="../../../assets/img/riLine-exchange-line@1x.png" alt="">
  18. </view>
  19. </view>
  20. </view>
  21. <u-select v-model="show" mode="single-column" :list="studentList" @confirm="confirm"></u-select>
  22. <view class="head">
  23. <view class="wrap">
  24. <u-swiper :list="bannerList" v-if="bannerList.length != 0"></u-swiper>
  25. </view>
  26. </view>
  27. <view class="my-app">
  28. <view class="app-items">
  29. <view class="item" @click="toClassSchedule">
  30. <view class="icon-box"
  31. style="background: linear-gradient(180deg, rgba(89,222,232,1) 1%,rgba(13,186,199,1) 100%)">
  32. <img src="../../../assets/img/riFill-calendar-2-fill@1x.png" alt="">
  33. </view>
  34. <view class="text">
  35. 课程表
  36. </view>
  37. </view>
  38. <!-- <view class="item" @click="toSickNote">
  39. <view class="icon-box"
  40. style="background: linear-gradient(180deg, rgba(169,147,255,1) 1%,rgba(129,97,255,1) 100%);">
  41. <img src="../../../assets/img/riFill-quill-pen-fill@1x.png" alt="">
  42. </view>
  43. <view class="text">
  44. 请假
  45. </view>
  46. </view> -->
  47. <view class="item" @click="toMyCourses">
  48. <view class="icon-box"
  49. style="background: linear-gradient(180deg, rgba(91,160,242,1) 1%,rgba(26,118,226,1) 100%);">
  50. <img src="../../../assets/img/riFill-book-open-fill@1x.png" alt="">
  51. </view>
  52. <view class="text">
  53. 我的课程
  54. </view>
  55. </view>
  56. <!-- <view class="item">
  57. <view class="icon-box"
  58. style="background: linear-gradient(180deg, rgba(255,189,96,1) 1%,rgba(255,150,0,1) 100%);">
  59. <img src="../../../assets/img/riFill-folder-user-fill@1x(1).png" alt="">
  60. </view>
  61. <view class="text">
  62. 学员文件
  63. </view>
  64. </view> -->
  65. <view class="item" @click="toPaymentRecord">
  66. <view class="icon-box"
  67. style="background: linear-gradient(180deg, rgba(169,147,255,1) 1%,rgba(129,97,255,1) 100%);">
  68. <img src="../../../assets/img/riFill-bank-card-fill@1x.png" alt="">
  69. </view>
  70. <view class="text">
  71. 缴费记录
  72. </view>
  73. </view>
  74. <view class="item" @click="toRelatedChildren">
  75. <view class="icon-box"
  76. style="background: linear-gradient(180deg, rgba(255,189,96,1) 1%,rgba(255,150,0,1) 100%);">
  77. <img src="../../../assets/img/riFill-folder-user-fill@1x(1).png" alt="">
  78. </view>
  79. <view class="text">
  80. 关联子女
  81. </view>
  82. </view>
  83. <!-- <view class="item">
  84. <view class="icon-box"
  85. style="background: linear-gradient(180deg, rgba(255,189,96,1) 1%,rgba(255,150,0,1) 100%);">
  86. <img src="../../../assets/img/riFill-file-edit-fill@1x.png" alt="">
  87. </view>
  88. <view class="text">
  89. 签到记录
  90. </view>
  91. </view> -->
  92. <!-- <view class="item">
  93. <view class="icon-box"
  94. style="background: linear-gradient(180deg, rgba(89,222,232,1) 1%,rgba(13,186,199,1) 100%);">
  95. <img src="../../../assets/img/riFill-file-edit-fill@1x.png" alt="">
  96. </view>
  97. <view class="text">
  98. 测温记录
  99. </view>
  100. </view> -->
  101. <!-- <view class="item">
  102. <view class="icon-box"
  103. style="background: linear-gradient(180deg, rgba(91,160,242,1) 1%,rgba(26,118,226,1) 100%);">
  104. <img src="../../../assets/img/riFill-calendar-2-fill@1x.png" alt="">
  105. </view>
  106. <view class="text">
  107. 机构报名
  108. </view>
  109. </view> -->
  110. </view>
  111. </view>
  112. <!-- 最近课程 -->
  113. <view class="course" v-if="courseList.length != 0">
  114. <view class="title">
  115. <img src="../../../assets/img/riFill-calendar-todo-fill@1x.png" alt="">最近课程
  116. </view>
  117. <view class="course-infos">
  118. <view class="info-box" v-for="(item,index) in courseList" :key="index"
  119. @click="gotoUrl('pages/youth/classSchedule/classScheduleDetails?id=' + item.sheetId)">
  120. <view class="position today" v-if="item.courseDate == day">
  121. </view>
  122. <view class="position tomorrow" v-if="item.courseDate == tomorrow">
  123. </view>
  124. <view class="class-name">
  125. {{item.className}}
  126. </view>
  127. <view class="location-time">
  128. <view class="location" style="width: 50%;">
  129. {{item.classroomName}}
  130. </view>
  131. <view class="time">
  132. {{item.coursePeriods}}
  133. </view>
  134. </view>
  135. <view class="date">
  136. {{item.courseDate}}
  137. </view>
  138. </view>
  139. <!-- <view class="info-box info-box2">
  140. <view class="position tomorrow">
  141. </view>
  142. <view class="class-name">
  143. 周开琴书法班2
  144. </view>
  145. <view class="location-time">
  146. <view class="location">
  147. 4楼6教室
  148. </view>
  149. <view class="time">
  150. 09:30-10:45
  151. </view>
  152. </view>
  153. <view class="date">
  154. 2023.1.4
  155. </view>
  156. </view> -->
  157. </view>
  158. </view>
  159. <!-- 课程推荐 -->
  160. <!-- <view class="recommend">
  161. <view class="title">
  162. <view class="title">
  163. <img src="../../../assets/img/riFill-award-fill@1x.png" alt="">课程推荐
  164. </view>
  165. </view>
  166. <view class="classify">
  167. <view class="item" v-for="(item,index) in chosenList" :key="index"
  168. :class="chosenActive == index ? 'chosen' : ''" @click="chosenClick(item,index)">
  169. {{item.name}}
  170. </view>
  171. </view>
  172. <view class="infos-box" v-for="(item,index) in reCoursesList" :key="index"
  173. @click="gotoUrl('pages/youth/course/courseDetails?id='+item.course_id+'&classId='+item.class_id)">
  174. <view class="picture" v-if="item.posterUrl != null">
  175. <img :src="item.posterUrl" alt="">
  176. </view>
  177. <view class="picture" v-else>
  178. <img src="../../../assets/img/classify1.png" alt="">
  179. </view>
  180. <view class="infos">
  181. <view class="name">
  182. {{item.className}}
  183. </view>
  184. <view class="tips">
  185. <view class="item" v-if="item.courseDesc != null">
  186. {{item.courseDesc}}
  187. </view>
  188. <view class="item" v-else>
  189. 暂无简介
  190. </view>
  191. </view>
  192. <view class="teacher-price">
  193. <view class="teacher">
  194. <view class="name-teacher">
  195. 咨询电话:
  196. </view>
  197. <view class="phone-teacher">
  198. {{item.consultPhone != null ? item.consultPhone : '暂无'}}
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. <u-divider v-if="reCoursesList.length == recordsTotal && recordsTotal != 0" style="margin-top: 10px">没有更多了</u-divider>
  205. </view> -->
  206. <YouthTabbar :current="0" ref="tabbarMain"></YouthTabbar>
  207. </view>
  208. </template>
  209. <script>
  210. import * as homePageApi from '@/apis/youth/homePage.js'
  211. import * as mineApi from '@/apis/youth/mine.js'
  212. import YouthTabbar from '@/components/YouthTabbar.vue'
  213. export default {
  214. components: {
  215. YouthTabbar
  216. },
  217. data() {
  218. return {
  219. bannerList: [],
  220. pageNum: 1,
  221. pageSize: 5,
  222. recordsTotal: 0,
  223. tag: '',
  224. reCoursesList: [],
  225. chosenList: [],
  226. chosenActive: 0,
  227. day: '',
  228. tomorrow: '',
  229. weekDate: [],
  230. weekN: ["一", "二", "三", "四", "五", "六", "日"],
  231. activeClass: 0,
  232. weekDate1: '',
  233. courseList: [],
  234. form: {
  235. headPhoto: null
  236. },
  237. show: false,
  238. studentList: [],
  239. studentId: '',
  240. list: [{
  241. image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
  242. }, ],
  243. }
  244. },
  245. onReady() {
  246. let date = new Date() //当前日期
  247. this.day = this.getFormatDate(date);
  248. this.tomorrow = this.getFormatDate(new Date(date.setDate(date.getDate() + 1)));
  249. this.getStudentList();
  250. // this.getFindByCatalogName();
  251. // this.getReCoursesList();
  252. this.getLoadBannerForShow();
  253. },
  254. onReachBottom() {
  255. if (this.reCoursesList.length < this.recordsTotal) {
  256. this.myLoadmore();
  257. }
  258. },
  259. methods: {
  260. getLoadBannerForShow() {
  261. uni.showLoading({
  262. title: "加载中",
  263. mask: true,
  264. })
  265. homePageApi.loadBannerForShow().then((response) => {
  266. uni.hideLoading();
  267. this.bannerList = response.data;
  268. }).catch(error => {
  269. uni.showToast({
  270. title: error,
  271. icon: "none"
  272. })
  273. })
  274. },
  275. myLoadmore() {
  276. this.pageNum += 1;
  277. this.getReCoursesList()
  278. },
  279. getReCoursesList(bl) {
  280. uni.showLoading({
  281. title: "加载中",
  282. mask: true,
  283. })
  284. if (bl) {
  285. this.reCoursesList = [];
  286. this.pageNum = 1;
  287. }
  288. homePageApi.loadCoursesForHomeShow({
  289. tag: this.tag,
  290. pageNum: this.pageNum,
  291. pageSize: this.pageSize
  292. }).then((res) => {
  293. uni.hideLoading();
  294. this.reCoursesList = [
  295. ...this.reCoursesList,
  296. ...res.data.data
  297. ];
  298. this.recordsTotal = res.data.recordsTotal;
  299. }).catch(error => {
  300. uni.showToast({
  301. title: error,
  302. icon: "none"
  303. })
  304. })
  305. },
  306. getFindByCatalogName() {
  307. this.chosenList = [];
  308. uni.showLoading({
  309. title: "加载中",
  310. mask: true,
  311. })
  312. homePageApi.findByCatalogName({
  313. catalogName: '课程分类标签'
  314. }).then((response) => {
  315. uni.hideLoading();
  316. this.chosenList.push({id: '',name: '全部'});
  317. var list = response.data;
  318. for (var i = 0; i < list.length; i++) {
  319. this.chosenList.push(list[i]);
  320. }
  321. }).catch(error => {
  322. uni.showToast({
  323. title: error,
  324. icon: "none"
  325. })
  326. })
  327. },
  328. showClick() {
  329. if(this.studentList.length != 0) {
  330. this.show = true;
  331. } else{
  332. uni.showToast({
  333. title: "请先去'我的'中完善'我的子女'",
  334. icon: "none"
  335. })
  336. }
  337. },
  338. toClassSchedule() {
  339. if(this.studentId) {
  340. uni.navigateTo({
  341. url: '/pages/youth/classSchedule/classSchedule'
  342. })
  343. } else{
  344. uni.showToast({
  345. title: "请先去'我的'中完善'我的子女'",
  346. icon: "none"
  347. })
  348. }
  349. },
  350. toSickNote() {
  351. if(this.studentId) {
  352. uni.navigateTo({
  353. url: '/pages/youth/sickNote/sickNote'
  354. })
  355. } else{
  356. uni.showToast({
  357. title: "请先去'我的'中完善'我的子女'",
  358. icon: "none"
  359. })
  360. }
  361. },
  362. toMyCourses() {
  363. if(this.studentId) {
  364. uni.navigateTo({
  365. url: '/pages/youth/mine/myCourses'
  366. })
  367. } else{
  368. uni.showToast({
  369. title: "请先去'我的'中完善'我的子女'",
  370. icon: "none"
  371. })
  372. }
  373. },
  374. toPaymentRecord() {
  375. if(this.studentId) {
  376. uni.navigateTo({
  377. url: '/pages/youth/course/paymentRecords'
  378. })
  379. } else{
  380. uni.showToast({
  381. title: "请先去'我的'中完善'我的子女'",
  382. icon: "none"
  383. })
  384. }
  385. },
  386. toRelatedChildren() {
  387. uni.navigateTo({
  388. url: '/pages/youth/mine/relatedChildren'
  389. })
  390. },
  391. getFormatDate(date) {
  392. let myyear = date.getFullYear();
  393. let mymonth = date.getMonth() + 1;
  394. let myweekday = date.getDate();
  395. if (mymonth < 10) {
  396. mymonth = "0" + mymonth;
  397. }
  398. if (myweekday < 10) {
  399. myweekday = "0" + myweekday;
  400. }
  401. return (myyear + "-" + mymonth + "-" + myweekday);
  402. },
  403. chosenClick(item, index) {
  404. this.chosenActive = index;
  405. if(index != 0) {
  406. this.tag = item.name;
  407. } else {
  408. this.tag = '';
  409. }
  410. this.getReCoursesList(true);
  411. },
  412. getLatelyCourseList() {
  413. uni.showLoading({
  414. title: "加载中",
  415. mask: true,
  416. })
  417. homePageApi.getMyLastSchedules({
  418. studentId: this.studentId,
  419. count: 2
  420. }).then((response) => {
  421. uni.hideLoading();
  422. this.courseList = response.data;
  423. }).catch(error => {
  424. uni.showToast({
  425. title: error,
  426. icon: "none"
  427. })
  428. })
  429. },
  430. getStudentDetail() {
  431. uni.showLoading({
  432. title: "加载中",
  433. mask: true,
  434. })
  435. mineApi.getStudentDtl({
  436. studentId: this.studentId
  437. }).then((response) => {
  438. uni.hideLoading();
  439. this.form = response.data;
  440. }).catch(error => {
  441. uni.showToast({
  442. title: error,
  443. icon: "none"
  444. })
  445. })
  446. },
  447. confirm(e) {
  448. this.carhelp.setStudentId({
  449. studentId: e[0].value
  450. });
  451. this.studentId = e[0].value;
  452. this.getStudentDetail();
  453. this.getLatelyCourseList();
  454. },
  455. getStudentList() {
  456. uni.showLoading({
  457. title: "加载中",
  458. mask: true,
  459. })
  460. mineApi.studentList().then((res) => {
  461. uni.hideLoading();
  462. var list = res.data.studentList;
  463. for (var i = 0; i < list.length; i++) {
  464. this.studentList.push({
  465. value: list[i].studentId,
  466. label: list[i].studentName
  467. })
  468. }
  469. if(this.studentList.length != 0) {
  470. if (this.carhelp.getStudentId()) {
  471. this.studentId = this.carhelp.getStudentId().studentId;
  472. this.getStudentDetail();
  473. this.getLatelyCourseList();
  474. } else {
  475. this.studentId = this.studentList[0].value;
  476. this.carhelp.setStudentId({studentId: this.studentId});
  477. this.getStudentDetail();
  478. this.getLatelyCourseList();
  479. }
  480. }
  481. }).catch(error => {
  482. uni.showToast({
  483. title: error,
  484. icon: "none"
  485. })
  486. })
  487. },
  488. }
  489. }
  490. </script>
  491. <style lang="scss" scoped>
  492. page {
  493. padding-bottom: 100px;
  494. }
  495. .navigation {
  496. display: flex;
  497. justify-content: space-between;
  498. height: 44px;
  499. background-color: rgba(13, 186, 199, 1);
  500. padding: 0 16px;
  501. .title {
  502. line-height: 44px;
  503. color: #ffffff;
  504. font-size: 20px
  505. }
  506. .identity {
  507. display: flex;
  508. align-items: center;
  509. .picture {
  510. width: 24px;
  511. height: 24px;
  512. border-radius: 50px;
  513. overflow: hidden;
  514. margin-right: 4px;
  515. img {
  516. width: 100%;
  517. height: 100%;
  518. vertical-align: middle;
  519. }
  520. }
  521. .name {
  522. margin-right: 4px;
  523. color: rgba(255, 255, 255, 1);
  524. }
  525. .icon {
  526. img {
  527. vertical-align: middle;
  528. }
  529. }
  530. }
  531. }
  532. .head {
  533. background: linear-gradient(179.89deg, rgba(13, 186, 199, 1) 61.7%, rgba(244, 246, 246, 1) 97.7%);
  534. padding-bottom: 100px;
  535. .wrap {
  536. padding: 16px;
  537. }
  538. }
  539. .my-app {
  540. margin: -100px 16px 16px 16px;
  541. border-radius: 12px 12px 0px 0px;
  542. padding: 16px;
  543. background-color: #fff;
  544. .app-items {
  545. display: flex;
  546. flex-wrap: wrap;
  547. .item {
  548. width: 25%;
  549. display: flex;
  550. flex-direction: column;
  551. align-items: center;
  552. margin-bottom: 40rpx;
  553. .icon-box {
  554. width: 40px;
  555. height: 40px;
  556. text-align: center;
  557. border-radius: 8px;
  558. position: relative;
  559. .count {
  560. width: 28px;
  561. height: 16px;
  562. line-height: 16px;
  563. border-radius: 50px;
  564. background-color: rgba(238, 49, 56, 1);
  565. color: rgba(255, 255, 255, 1);
  566. font-size: 10px;
  567. text-align: center;
  568. position: absolute;
  569. top: -16rpx;
  570. right: -28rpx;
  571. }
  572. img {
  573. margin: 8px 0;
  574. }
  575. }
  576. .text {
  577. margin-top: 16rpx;
  578. }
  579. }
  580. }
  581. }
  582. // 最近课程
  583. .course {
  584. margin: auto;
  585. margin-top: 16px;
  586. width: 91.4%;
  587. .title {
  588. height: 20px;
  589. line-height: 20px;
  590. margin-bottom: 14px;
  591. color: #333333;
  592. font-weight: bold;
  593. img {
  594. vertical-align: middle;
  595. margin-right: 8px;
  596. }
  597. }
  598. .course-infos {
  599. display: flex;
  600. justify-content: space-between;
  601. .info-box {
  602. border-top: 2px solid #0DBAC7;
  603. background: linear-gradient(to right, #E4F8E3, #dcf5f6);
  604. width: 47.8%;
  605. padding: 24rpx 0 14rpx 24rpx;
  606. box-shadow: 2px 2px 2px 2px #e7e9e9;
  607. border-radius: 8px;
  608. position: relative;
  609. .position {
  610. width: 48rpx;
  611. height: 40rpx;
  612. line-height: 40rpx;
  613. position: absolute;
  614. top: 0;
  615. right: 16rpx;
  616. text-align: center;
  617. border-radius: 0px 0px 4px 4px;
  618. font-size: 12px;
  619. color: #fff;
  620. }
  621. .today {
  622. background-color: #0DBAC7;
  623. }
  624. .tomorrow {
  625. background-color: #0086FF;
  626. }
  627. .class-name {
  628. height: 20px;
  629. color: rgba(51, 51, 51, 1);
  630. font-size: 14px;
  631. }
  632. .location-time {
  633. margin-top: 8rpx;
  634. display: flex;
  635. justify-content: start;
  636. color: rgba(119, 119, 119, 1);
  637. font-size: 12px;
  638. .time {
  639. margin-left: 8rpx;
  640. }
  641. }
  642. .date {
  643. color: rgba(119, 119, 119, 1);
  644. font-size: 12px;
  645. margin-top: 8rpx;
  646. }
  647. }
  648. .info-box2 {
  649. border-top: 2px solid #0086FF;
  650. }
  651. }
  652. }
  653. .recommend {
  654. margin: 32px 16px;
  655. .title {
  656. height: 20px;
  657. line-height: 20px;
  658. margin-bottom: 14px;
  659. color: #333333;
  660. font-weight: bold;
  661. img {
  662. vertical-align: middle;
  663. margin-right: 8px;
  664. }
  665. }
  666. .classify {
  667. display: flex;
  668. margin-bottom: 24px;
  669. .item {
  670. border-radius: 12px;
  671. line-height: 32px;
  672. background-color: rgba(255, 255, 255, 1);
  673. color: rgba(119, 119, 119, 1);
  674. text-align: center;
  675. border: 1px solid rgba(204, 204, 204, 1);
  676. padding: 0 8px;
  677. margin-left: 12px;
  678. }
  679. .chosen {
  680. border: 1px solid rgba(13, 186, 199, 1);
  681. color: rgba(13, 186, 199, 1);
  682. }
  683. }
  684. .infos-box {
  685. border-radius: 12px;
  686. background-color: rgba(255, 255, 255, 1);
  687. padding: 12px;
  688. margin-bottom: 12px;
  689. display: flex;
  690. .picture {
  691. width: 200rpx;
  692. height: 200rpx;
  693. border-radius: 4px;
  694. overflow: hidden;
  695. img {
  696. width: 100%;
  697. height: 100%;
  698. }
  699. }
  700. .infos {
  701. flex: 1;
  702. margin-left: 12px;
  703. .name {
  704. color: rgba(51, 51, 51, 1);
  705. font-size: 16px;
  706. }
  707. .name-teacher {
  708. color: rgba(51, 51, 51, 1);
  709. font-size: 16px;
  710. width: 55%;
  711. }
  712. .phone-teacher {
  713. margin-right: 8px;
  714. }
  715. .tips {
  716. display: flex;
  717. margin-top: 8px;
  718. .item {
  719. padding: 0 8px;
  720. line-height: 20px;
  721. border-radius: 4px;
  722. background-color: rgba(241, 243, 244, 1);
  723. color: rgba(16, 16, 16, 1);
  724. font-size: 12px;
  725. margin-right: 8px;
  726. }
  727. }
  728. .teacher-price {
  729. margin-top: 44rpx;
  730. // display: flex;
  731. // justify-content: space-between;
  732. // align-items: center;
  733. .teacher {
  734. display: flex;
  735. // align-items: center;
  736. .photo {
  737. // width: 32px;
  738. // height: 32px;
  739. // border-radius: 50px;
  740. // overflow: hidden;
  741. margin-right: 8px;
  742. img {
  743. width: 100%;
  744. height: 100%;
  745. }
  746. }
  747. .img {
  748. width: 32rpx;
  749. height: 32rpx;
  750. margin-left: 16rpx;
  751. img {
  752. width: 100%;
  753. height: 100%;
  754. }
  755. }
  756. }
  757. .price {
  758. color: rgba(119, 119, 119, 1);
  759. }
  760. }
  761. }
  762. }
  763. }
  764. </style>