index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  1. <template>
  2. <div class="mine">
  3. <div class="left">
  4. <div class="user-info">
  5. <div class="title">
  6. <div class="txt">个人信息</div>
  7. <div class="test-record" @click="toTestRecord" v-if="userInfo.analysis_id">测肤记录</div>
  8. </div>
  9. <div class="detail-info">
  10. <div class="user-img">
  11. <img :src="userInfo.avatar_url" alt="">
  12. </div>
  13. <div class="user-span">
  14. <div class="info">
  15. <div class="name"><span>{{userInfo.nickname}}</span></div>
  16. <div class="sex"><img :src="gender"
  17. alt=""></div>
  18. <div class="age"><span>{{userInfo.skin_age}}</span><span>肤龄</span></div>
  19. </div>
  20. <div class="real-name">姓名:
  21. <span v-show="!nameInpVisible">{{userInfo.real_name}}</span>
  22. <el-input size="mini" ref="realNameInp" v-show="nameInpVisible" @change="updateRealName" v-model="userInfo.real_name" type="text"></el-input>
  23. <img class="edit-name" @click="editName" src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/eidt.png" alt="" srcset="">
  24. </div>
  25. <div class="skin-type">肤质:<span>{{userInfo.skin_type}}</span></div>
  26. <div class="skin-color">肤色:<span>{{userInfo.skin_color}}</span></div>
  27. <div class="skin-color">上传报告时间:<span>{{userInfo.check_time}}</span></div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="personage-data">
  32. <div class="myDataList">
  33. 出生日期:
  34. <span>{{userInfo.birthday}}</span>
  35. </div>
  36. <div class="myDataList">
  37. 联系电话:
  38. <span>{{userInfo.mobile}}</span>
  39. </div>
  40. <div class="myDataList">
  41. 所在地:
  42. <span>{{userInfo.city}}</span>
  43. </div>
  44. <div class="myDataList">
  45. 开卡店铺:
  46. <span>{{userInfo.store_name}}</span>
  47. </div>
  48. <div class="myDataList coupon-num">
  49. 优惠券数量:
  50. <span>{{userInfo.card_num}}</span>
  51. </div>
  52. <div class="myDataList">
  53. 储值金额:
  54. <span class="JEcolor">
  55. <span class="bigSixe">{{userInfo.amount}}</span>
  56. <!-- .00 -->
  57. </span>
  58. </div>
  59. <div class="myDataList">
  60. 积分:
  61. <span>{{userInfo.coin}}</span>
  62. </div>
  63. <div class="myDataList" @click="remarkPupopVisible=true">
  64. 备注:
  65. <span>{{userInfo.remark | ellipsis(20)}}</span>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="right">
  70. <div class="right-top">
  71. <div class="right-top-data">
  72. <div class="lable">
  73. <div class="lable-title">面诊标签</div>
  74. <div class="problem">
  75. <div class="problem-title">问题标签</div>
  76. <div class="problem-lable">
  77. <div class="lable-text problem-text">{{problem}}</div>
  78. </div>
  79. </div>
  80. <div class="problem">
  81. <div class="problem-title">面部标签</div>
  82. <div class="problem-lable">
  83. <div class="lable-text"
  84. v-for="item,index in lableList"
  85. :key="index"
  86. :style="{background:item.bgcolor,borderColor:item.bdcolor}">{{item.text}}</div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="right-top-list">
  92. <div class="dataList"
  93. @click="toOrder(1)">
  94. <div class="">
  95. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/project_icon.png" />
  96. <div>项目订单</div>
  97. </div>
  98. <span>{{order_total.project}}</span>
  99. </div>
  100. <div class="dataList"
  101. style="margin:18px 0px"
  102. @click="toOrder(2)">
  103. <div class="">
  104. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/coupon_icon.png" />
  105. <div>次卡订单</div>
  106. </div>
  107. <span>{{order_total.card_order}}</span>
  108. </div>
  109. <div class="dataList"
  110. @click="toOrder(3)">
  111. <div class="">
  112. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/order_total_icon.png" />
  113. <div>商品订单</div>
  114. </div>
  115. <span>{{order_total.goods}}</span>
  116. </div>
  117. </div>
  118. </div>
  119. <div class="right-bottom">
  120. <div class="programme">
  121. <div class="tab">
  122. <div class="tab-title">执行方案</div>
  123. </div>
  124. <div class="programmeList"
  125. v-if="programmeList.length>0">
  126. <div class="programmeWeek">
  127. <div class="programmeItem"
  128. v-for="item,index in programmeList"
  129. :key="index">
  130. <div :class="selectWeek==index?'weekItemSelect':'weekItem'"
  131. @click="weekSelect(index)">{{item.name}}</div>
  132. <div class="weekLine"
  133. v-if="index==3?false:true"></div>
  134. </div>
  135. </div>
  136. <div class="doTime">{{programmeList[selectWeek].time}}</div>
  137. <div class="weekDetails"
  138. v-if="programmeList.length>0">
  139. <div class="contentItem"
  140. v-for="item,index1 in programmeList[selectWeek].list"
  141. :key="index1">
  142. <div class="itemTitle">
  143. <div>{{item.name}}</div>
  144. <div>{{item.classify_name}}</div>
  145. <!-- <div>{{item.time}}</div> -->
  146. </div>
  147. <div class="itemContent"
  148. v-for="items,index2 in item.list"
  149. :key="index2">
  150. <img class="itemContent-img"
  151. :src="items.cover_url" />
  152. <div class="itemContent-right">
  153. <div class="right-content">
  154. <div class="right-name">{{items.name |ellipsis(14)}}</div>
  155. <div class="right-price">{{items.price |doubleNum(2)}}</div>
  156. </div>
  157. <div class="right-project">{{items.product_name}}</div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. <!-- 备注 -->
  167. <mine-pupop :show="remarkPupopVisible">
  168. <div class="block">
  169. <div class="delete-pupop"
  170. @click="remarkPupopVisible=false">
  171. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
  172. alt />
  173. </div>
  174. <div class="pupop-title">备注</div>
  175. <textarea type="text"
  176. class="noticeInput"
  177. placeholder="备注"
  178. v-model="userInfo.remark"></textarea>
  179. <div class="noticeSubmit">
  180. <div class="submit-notice" @click="submitRemark">确定</div>
  181. </div>
  182. </div>
  183. </mine-pupop>
  184. </div>
  185. </template>
  186. <script>
  187. import api from "../../../server/home";
  188. import minePupop from "../../../components/minePupop/index.vue";
  189. export default {
  190. data () {
  191. return {
  192. userInfo: {
  193. image:
  194. "https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/home/make.png",
  195. name: "张三",
  196. sex: "女",
  197. age: "23",
  198. skinType: "中性皮肤",
  199. real_name: '',
  200. remark: '',
  201. },
  202. problem: "",
  203. //面部标签
  204. lableList: [
  205. ],
  206. //执行方案
  207. programmeList: [],
  208. // remarks: {},
  209. //项目列表
  210. projectList: [],
  211. order_total: {},
  212. selectWeek: 0,
  213. timesInfo: "",
  214. projectInfo: "",
  215. weekInfo: "",
  216. programmeIndex: "",
  217. isPupop: false,
  218. nameInpVisible: false,
  219. remarkPupopVisible: false
  220. };
  221. },
  222. components: { minePupop },
  223. computed: {
  224. gender () {
  225. // 性别,1男,2女,0保密
  226. return this.userInfo.sex == 1 ?
  227. 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220610/male.png' :
  228. 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220610/female.png'
  229. }
  230. },
  231. watch: {},
  232. methods: {
  233. getPadUserInfo () {
  234. api.getPadUserInfo({ id: this.id }).then(res => {
  235. this.userInfo = res.data.user;
  236. // this.userInfo.remarks = res.data.remark;
  237. this.problem = res.data.skin_name;
  238. let _problem = []
  239. res.data.face_names.forEach(item => {
  240. let info = {}
  241. info['text'] = item
  242. _problem.push(info)
  243. console.log(_problem, '_problem');
  244. })
  245. this.lableList = _problem
  246. this.randomColor();
  247. this.order_total = res.data.order_total;
  248. this.programmeList = res.data.scheme_list;
  249. // this.programmeList = res.data.order_data.project_list;
  250. // this.coupon_list = res.data.order_data.coupon_list;
  251. });
  252. },
  253. randomColor (type) {
  254. let arr = [
  255. {
  256. background: "rgba(244, 247, 255, 1)",
  257. border: "rgba(85, 124, 255, 1)"
  258. },
  259. {
  260. background: "rgba(245, 252, 245, 1)",
  261. border: "rgba(66, 211, 81, 1)"
  262. },
  263. {
  264. background: "rgba(254, 244, 237, 1)",
  265. border: "rgba(250, 125, 34, 1)"
  266. },
  267. {
  268. background: "rgba(249, 245, 255, 1)",
  269. border: "rgba(136, 50, 255, 1)"
  270. },
  271. {
  272. background: "rgba(255, 252, 245, 1)",
  273. border: "rgba(204, 116, 42, 1)"
  274. }
  275. ];
  276. this.lableList.forEach(res => {
  277. let color = Math.floor(Math.random() * arr.length);
  278. this.$set(res, "bgcolor", arr[color].background);
  279. this.$set(res, "bdcolor", arr[color].border);
  280. });
  281. },
  282. weekSelect (index) {
  283. console.log("xxxx");
  284. this.selectWeek = index;
  285. },
  286. onOperation (index) {
  287. if (this.programmeList[index].onSelect) {
  288. this.$set(
  289. this.programmeList[index],
  290. "onSelect",
  291. !this.programmeList[index].onSelect
  292. );
  293. } else {
  294. this.$set(this.programmeList[index], "onSelect", true);
  295. }
  296. },
  297. toOrder (index) {
  298. let activeName = 'first'
  299. if (index == 3) {
  300. activeName = 'third'
  301. } else if (index == 2) {
  302. activeName = 'second'
  303. }
  304. this.$router.push({
  305. path: "/customerMan/projectOrder",
  306. query: {
  307. id: this.id,
  308. activeName: activeName
  309. }
  310. });
  311. },
  312. toTestRecord () {
  313. this.$router.push({
  314. path: '/testSkin/details',
  315. query: {
  316. id: this.userInfo.analysis_id
  317. }
  318. })
  319. },
  320. editName () {
  321. this.nameInpVisible = true
  322. this.$refs.realNameInp.focus()
  323. },
  324. async updateRealName() {
  325. let resp = await api.updateUserProfile({
  326. id: this.id,
  327. real_name: this.userInfo.real_name
  328. })
  329. if (resp.code === 200) {
  330. this.$message.success('保存成功!')
  331. }
  332. this.nameInpVisible = false
  333. },
  334. async submitRemark () {
  335. let resp = await api.updateUserProfile({
  336. id: this.id,
  337. remark: this.userInfo.remark
  338. })
  339. if (resp.code === 200) {
  340. this.$message.success('保存成功!')
  341. }
  342. this.remarkPupopVisible = false
  343. }
  344. },
  345. created () {
  346. let id = this.$route.query.id;
  347. this.id = id;
  348. this.getPadUserInfo();
  349. },
  350. mounted () { }
  351. };
  352. </script>
  353. <style lang='less' scoped>
  354. .mine {
  355. height: 100%;
  356. display: flex;
  357. .left {
  358. width: 276px;
  359. padding: 12px 12px 0 12px;
  360. background: #ffffff;
  361. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  362. border-radius: 8px;
  363. font-size: 13px;
  364. font-family: PingFangSC-Regular, PingFang SC;
  365. font-weight: 400;
  366. color: #999999;
  367. line-height: 18px;
  368. overflow: scroll;
  369. height: 100%;
  370. .user-info {
  371. display: flex;
  372. flex-direction: column;
  373. align-items: center;
  374. .title {
  375. width: 100%;
  376. display: flex;
  377. justify-content: space-between;
  378. align-items: center;
  379. margin-bottom: 10px;
  380. .txt {
  381. color: #333333;
  382. }
  383. .test-record {
  384. font-size: 12px;
  385. color: #FA7D22;
  386. }
  387. }
  388. .detail-info {
  389. display: flex;
  390. .user-img {
  391. width: 96px;
  392. img {
  393. width: 100%;
  394. display: block;
  395. border-radius: 6px;
  396. }
  397. }
  398. .user-span {
  399. margin-left: 12px;
  400. span {
  401. color: #333333;
  402. }
  403. .info {
  404. display: flex;
  405. justify-content: space-between;
  406. .name {
  407. font-size: 16px;
  408. }
  409. .sex {
  410. img {
  411. width: 24px;
  412. height: 24px;
  413. }
  414. }
  415. .age {
  416. margin-left: 13px;
  417. span:nth-child(1) {
  418. font-size: 22px;
  419. }
  420. span:nth-child(2) {
  421. margin-left: 4px;
  422. color: #999999;
  423. }
  424. }
  425. }
  426. .real-name {
  427. display: flex;
  428. justify-content: space-between;
  429. align-items: center;
  430. .real-name-inp {
  431. width: 35px !important;
  432. height: 25px !important;
  433. }
  434. .edit-name {
  435. width: 20px;
  436. height: 20px;
  437. }
  438. }
  439. div:nth-child(2),
  440. div:nth-child(3) {
  441. margin-bottom: 8px;
  442. }
  443. }
  444. }
  445. }
  446. .personage-data {
  447. margin-top: 30px;
  448. .myDataList {
  449. margin-top: 15px;
  450. .bigSixe {
  451. font-size: 18px;
  452. color: #fa7d22;
  453. }
  454. span {
  455. color: #333333;
  456. }
  457. .JEcolor {
  458. color: #fa7d22;
  459. }
  460. }
  461. .coupon-num {
  462. span {
  463. color: #FA7D22;
  464. font-size: 16px;
  465. font-weight: 500;
  466. }
  467. }
  468. }
  469. }
  470. .right {
  471. margin-left: 18px;
  472. position: relative;
  473. flex: 1;
  474. .right-top {
  475. height: 205px;
  476. // border: 1px solid red;
  477. display: flex;
  478. .right-top-list {
  479. width: 239ppx;
  480. margin-left: 18px;
  481. display: flex;
  482. flex-direction: column;
  483. .dataList {
  484. height: 56px;
  485. width: 193px;
  486. background: #ffffff;
  487. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  488. border-radius: 8px;
  489. padding: 12px 20px 12px 14px;
  490. display: flex;
  491. justify-content: space-between;
  492. align-items: center;
  493. div:nth-child(1) {
  494. display: flex;
  495. align-items: center;
  496. img {
  497. margin-right: 14px;
  498. }
  499. }
  500. img {
  501. width: 33px;
  502. height: 33px;
  503. }
  504. p {
  505. font-size: 14px;
  506. margin-left: 14px;
  507. margin-right: 80px;
  508. }
  509. span {
  510. font-size: 16px;
  511. // margin-right: 20px;
  512. }
  513. }
  514. }
  515. .right-top-data {
  516. background: #ffffff;
  517. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  518. border-radius: 8px;
  519. padding: 16px 12px 12px 12px;
  520. width: 358px;
  521. height: 100%;
  522. .lable {
  523. // margin-top: 23px;
  524. width: 100%;
  525. overflow: scroll;
  526. background: #ffffff;
  527. .lable-title {
  528. font-size: 14px;
  529. font-family: PingFangSC-Medium, PingFang SC;
  530. font-weight: 500;
  531. color: #333333;
  532. line-height: 20px;
  533. margin-bottom: 14px;
  534. }
  535. .problem {
  536. display: flex;
  537. .problem-title {
  538. font-size: 13px;
  539. font-family: PingFangSC-Regular, PingFang SC;
  540. font-weight: 400;
  541. color: #333333;
  542. line-height: 18px;
  543. }
  544. .problem-lable {
  545. flex: 1;
  546. overflow-y: hidden;
  547. width: 100%;
  548. height: 68px;
  549. font-size: 12px;
  550. font-family: PingFang-SC-Regular, PingFang-SC;
  551. font-weight: 400;
  552. color: #333333;
  553. line-height: 17px;
  554. display: flex;
  555. flex-flow: column wrap;
  556. list-style-type: none;
  557. overflow-x: scroll;
  558. align-items: baseline;
  559. .lable-text {
  560. margin-left: 10px;
  561. margin-bottom: 10px;
  562. border: 1px solid #42d351;
  563. padding: 0 12px;
  564. border-radius: 2px;
  565. }
  566. .problem-text {
  567. background: rgba(244, 247, 255, 1);
  568. border: 1px solid rgba(85, 124, 255, 1);
  569. }
  570. }
  571. }
  572. .lable-list {
  573. width: 100%;
  574. min-height: 105rpx;
  575. .lable-info {
  576. display: inline-block;
  577. padding: 0 12px;
  578. margin-left: 10px;
  579. height: 24px;
  580. line-height: 24px;
  581. border-radius: 2px;
  582. border: 1px solid #d6d6d6;
  583. margin-bottom: 10px;
  584. }
  585. .add-lable {
  586. display: inline-block;
  587. width: 27px;
  588. height: 24px;
  589. line-height: 24px;
  590. font-size: 12px;
  591. font-family: PingFang-SC-Regular, PingFang-SC;
  592. font-weight: 400;
  593. color: #333333;
  594. text-align: center;
  595. margin-left: 10px;
  596. border-radius: 2px;
  597. border: 1px solid #d6d6d6;
  598. }
  599. }
  600. .remarks {
  601. /deep/ .el-textarea__inner:focus {
  602. border-color: #fa852f;
  603. }
  604. }
  605. }
  606. .ps {
  607. font-size: 14px;
  608. font-family: PingFangSC-Medium, PingFang SC;
  609. font-weight: 500;
  610. color: #333333;
  611. line-height: 20px;
  612. .ps-text {
  613. margin-top: 10px;
  614. font-size: 12px;
  615. font-weight: 400;
  616. color: #666666;
  617. line-height: 17px;
  618. }
  619. }
  620. }
  621. }
  622. .right-bottom {
  623. margin-top: 18px;
  624. width: 575px;
  625. height: 286px;
  626. background: #ffffff;
  627. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  628. border-radius: 8px;
  629. padding: 16px 12px 12px 12px;
  630. .programme {
  631. // margin-top: 20px;
  632. width: 100%;
  633. background: #ffffff;
  634. border-radius: 8px;
  635. .programmeList {
  636. width: 550px;
  637. .programmeWeek {
  638. display: flex;
  639. align-items: center;
  640. }
  641. .programmeItem {
  642. margin-top: 20px;
  643. flex: 1;
  644. display: flex;
  645. }
  646. .weekItem {
  647. text-align: center;
  648. font-size: 13px;
  649. font-family: PingFangSC-Regular, PingFang SC;
  650. font-weight: 400;
  651. color: #999999;
  652. flex: 1;
  653. }
  654. .weekItemSelect {
  655. text-align: center;
  656. font-size: 13px;
  657. font-family: PingFangSC-Regular, PingFang SC;
  658. font-weight: 400;
  659. color: #fa7d22;
  660. flex: 1;
  661. }
  662. .weekLine {
  663. width: 1px;
  664. height: 12px;
  665. background: #f0f0f0;
  666. }
  667. .doTime {
  668. // margin-left: 20px;
  669. line-height: 30px;
  670. font-size: 12px;
  671. font-weight: 500;
  672. color: #333333;
  673. }
  674. .weekDetails {
  675. height: 180px;
  676. border-radius: 6px;
  677. border: 1px solid #f5f5f5;
  678. display: flex;
  679. align-items: center;
  680. overflow: scroll;
  681. }
  682. .contentItem {
  683. margin-left: 10px;
  684. width: 317px;
  685. min-height: 211px;
  686. border-right: 1px solid #f5f5f5;
  687. // overflow-y: scroll;
  688. }
  689. .line-hor {
  690. margin-top: 30px;
  691. margin-left: 10px;
  692. width: 1px;
  693. height: 261px;
  694. background: #f0f0f0;
  695. }
  696. .itemTitle {
  697. display: flex;
  698. padding-right: 10px;
  699. justify-content: space-between;
  700. width: 100%;
  701. line-height: 20px;
  702. font-size: 12px;
  703. font-weight: 400;
  704. color: #333333;
  705. }
  706. .itemContent {
  707. width: 317px;
  708. margin-top: 10px;
  709. display: flex;
  710. align-items: center;
  711. height: 49px;
  712. }
  713. .itemContent-img {
  714. width: 49px;
  715. height: 49px;
  716. background: #d8d8d8;
  717. border-radius: 2px;
  718. }
  719. .itemContent-right {
  720. margin-left: 10px;
  721. display: flex;
  722. flex-direction: column;
  723. height: 49px;
  724. flex: 1;
  725. }
  726. .right-content {
  727. flex: 1;
  728. display: flex;
  729. }
  730. .right-name {
  731. font-size: 12px;
  732. font-family: PingFangSC-Medium, PingFang SC;
  733. font-weight: 500;
  734. color: #333333;
  735. flex: 1;
  736. }
  737. .right-price {
  738. margin-right: 10px;
  739. margin-left: 20px;
  740. font-size: 12px;
  741. font-family: OPPOSans-B, OPPOSans;
  742. font-weight: normal;
  743. color: #ff3007;
  744. }
  745. .right-project {
  746. font-size: 12px;
  747. font-family: PingFangSC-Regular, PingFang SC;
  748. font-weight: 400;
  749. color: #ffc630;
  750. }
  751. }
  752. .tab {
  753. display: flex;
  754. align-items: center;
  755. justify-content: space-between;
  756. .tab-title {
  757. font-size: 14px;
  758. font-family: PingFangSC-Medium, PingFang SC;
  759. font-weight: 500;
  760. color: #333333;
  761. line-height: 20px;
  762. }
  763. }
  764. .programme-list {
  765. margin-top: 10px;
  766. position: relative;
  767. z-index: 1;
  768. .programme-info {
  769. position: relative;
  770. margin-bottom: 10px;
  771. border-radius: 4px;
  772. border: 1px solid #f5f5f5;
  773. display: flex;
  774. justify-content: space-between;
  775. padding: 8px 8px 8px 10px;
  776. align-items: center;
  777. .programme-left {
  778. display: flex;
  779. align-items: center;
  780. .programme-img {
  781. width: 48px;
  782. display: inline-block;
  783. img {
  784. width: 100%;
  785. display: block;
  786. }
  787. }
  788. .programme-tips {
  789. display: inline-block;
  790. margin-left: 10px;
  791. font-size: 10px;
  792. font-family: PingFangSC-Regular, PingFang SC;
  793. font-weight: 400;
  794. color: #999999;
  795. line-height: 14px;
  796. zoom: 0.83;
  797. }
  798. }
  799. .programme-right {
  800. font-size: 12px;
  801. font-family: PingFangSC-Regular, PingFang SC;
  802. font-weight: 400;
  803. color: #333333;
  804. line-height: 17px;
  805. .duration {
  806. margin-top: 14px;
  807. }
  808. }
  809. .operation {
  810. position: absolute;
  811. left: 50%;
  812. transform: translateX(-50%);
  813. top: 10px;
  814. z-index: 10;
  815. width: 44px;
  816. background: #ffffff;
  817. box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05),
  818. 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
  819. 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
  820. border-radius: 2px;
  821. padding: 10px;
  822. font-size: 12px;
  823. font-family: PingFangSC-Regular, PingFang SC;
  824. font-weight: 400;
  825. color: #333333;
  826. line-height: 17px;
  827. .delete {
  828. margin-top: 20px;
  829. }
  830. }
  831. }
  832. .programme-active {
  833. border: 1px solid #fa852f;
  834. }
  835. }
  836. }
  837. }
  838. }
  839. .block {
  840. width: 540px;
  841. background: #ffffff;
  842. border-radius: 8px;
  843. position: relative;
  844. padding: 42px;
  845. .delete-pupop {
  846. position: absolute;
  847. width: 32px;
  848. height: 32px;
  849. top: 5px;
  850. right: 5px;
  851. img {
  852. width: 100%;
  853. height: 100%;
  854. display: block;
  855. }
  856. }
  857. .pupop-title {
  858. font-size: 14px;
  859. font-family: PingFangSC-Medium, PingFang SC;
  860. font-weight: 500;
  861. color: #333333;
  862. line-height: 20px;
  863. text-align: center;
  864. }
  865. .noticeInput {
  866. margin-top: 50px;
  867. margin-left: 80px;
  868. padding: 10px;
  869. width: 307px;
  870. height: 184px;
  871. border: 1px solid #f5f5f5;
  872. }
  873. .noticeSubmit {
  874. margin-top: 20px;
  875. width: 100%;
  876. display: flex;
  877. align-items: center;
  878. justify-content: center;
  879. }
  880. .submit-notice {
  881. width: 100px;
  882. height: 29px;
  883. border-radius: 14px;
  884. font-size: 14px;
  885. font-weight: 500;
  886. background: #fa7d22;
  887. color: white;
  888. line-height: 29px;
  889. text-align: center;
  890. margin-left: 22px;
  891. }
  892. }
  893. }
  894. </style>