index.vue 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  1. <template>
  2. <div class="mine">
  3. <div class="left">
  4. <div class="user-info">
  5. <div class="user-img">
  6. <img :src="userInfo.avatar_url"
  7. alt />
  8. </div>
  9. <div class="user-span">
  10. <div class="name">
  11. <div>{{userInfo.nickname}}</div>
  12. <img v-if="userInfo.sex!=0"
  13. :src="userInfo.sex==1?male:female"
  14. alt="">
  15. <div v-else
  16. style="margin-left: 4px;"><span class="min-size sex">保密</span></div>
  17. <div style="margin-left: 23px;">{{userInfo.skin_age}} <span class="min-size">肤龄</span></div>
  18. </div>
  19. <div class="skin-tips"><span>肤质:</span>{{userInfo.skin_type}}</div>
  20. <div class="skin-tips"><span>肤色:</span>{{userInfo.skin_color}}</div>
  21. <div class="skin-tips"><span>上传报告时间:</span>{{userInfo.check_time}}</div>
  22. </div>
  23. </div>
  24. <div class="left-title">皮肤状态</div>
  25. <div class="status-skin">
  26. <div class="status-skin-content"
  27. v-for="(item,index) in skin_status"
  28. :key="index">
  29. <div class="status-skin-title"><span>{{item.name}}:</span>{{item.level}}</div>
  30. <div class="fraction">{{item.score}}分</div>
  31. </div>
  32. </div>
  33. <div class="left-title">皮肤诊断</div>
  34. <div class="diagnosis">
  35. <div class="diagnosis-table">
  36. <div class="table-text"
  37. v-for="(item,index) in skin_check"
  38. :key="index"
  39. @click="changeDiagnosisIcon(index)"
  40. :style="diagnosisIndex == index?'color: #FA7D22FF;':''">{{item.name}}</div>
  41. </div>
  42. <div class="diagnosis-content"
  43. v-if="skin_check[diagnosisIndex]">
  44. <div class="diagnosis-tips"
  45. v-for="(item,index) in skin_check[diagnosisIndex].list"
  46. :key="index">
  47. <div class="diagnosis-icon"
  48. v-if="diagnosisIndex!=3"> <img :src="diagnosisIcon"
  49. alt=""></div>
  50. <div class="diagnosis-icon"
  51. v-else></div>
  52. <span>{{item}}</span>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="right">
  58. <div class="lable"
  59. :style="isOpen?'height: 275px;':'height: 76px;'">
  60. <div class="lable-title">
  61. <div>面诊标签</div>
  62. <div class="edit"
  63. @click="isSkin=true">编辑</div>
  64. </div>
  65. <div class="problem">
  66. <div class="problem-title">问题标签</div>
  67. <div class="problem-lable">
  68. <div class="lable-text problem-text">{{problem}}</div>
  69. </div>
  70. </div>
  71. <div class="problem">
  72. <div class="problem-title">面部标签</div>
  73. <div class="problem-lable">
  74. <div class="lable-text"
  75. v-for="item,index in lableList"
  76. :key="index"
  77. :style="{background:item.bgcolor,borderColor:item.bdcolor}">{{item.text}}</div>
  78. </div>
  79. </div>
  80. <div class="lable-title">备注</div>
  81. <div class="remarks-text">{{remarks}}</div>
  82. <div class="open-icon">
  83. <img @click="isOpen = !isOpen"
  84. :src="isOpen?'https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/unOpen.png':'https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/coupon/open.png'"
  85. alt />
  86. </div>
  87. </div>
  88. <div class="programme"
  89. :style="isOpen?'height: 265px;':'height: 464px;'">
  90. <div class="tab">
  91. <div class="tab-title">执行方案</div>
  92. <div class="add"
  93. @click="toUpdates">编辑</div>
  94. </div>
  95. <div class="programmeList"
  96. v-if="programmeList.length>0">
  97. <div class="programmeWeek">
  98. <div class="programmeItem"
  99. v-for="item,index in programmeList"
  100. :key="index">
  101. <div :class="selectWeek==index?'weekItemSelect':'weekItem'"
  102. @click="weekSelect(index)">{{item.name}}</div>
  103. <div class="weekLine"
  104. v-if="index==3?false:true"></div>
  105. </div>
  106. </div>
  107. <div class="doTime">{{programmeList[selectWeek].time}}</div>
  108. <div class="weekDetails"
  109. v-if="programmeList.length>0">
  110. <div class="contentItem"
  111. v-for="item,index1 in programmeList[selectWeek].list"
  112. :key="index1">
  113. <div class="itemTitle">
  114. <div>{{item.name}}</div>
  115. <div>{{item.classify_name}}</div>
  116. <!-- <div>{{item.time}}</div> -->
  117. </div>
  118. <div class="itemContent"
  119. v-for="items,index2 in item.list"
  120. :key="index2">
  121. <img class="itemContent-img"
  122. :src="items.cover_url" />
  123. <div class="itemContent-right">
  124. <div class="right-content">
  125. <div class="right-name">{{items.name |ellipsis(14)}}</div>
  126. <div class="right-price">{{items.price |doubleNum(2)}}</div>
  127. </div>
  128. <div class="right-project">{{items.product_name}}</div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. <!-- <div class="submit"
  136. @click="onSubmit">保存</div> -->
  137. </div>
  138. <!-- 皮肤问题标签 -->
  139. <mine-pupop :show="isSkin">
  140. <div class="block">
  141. <div class="delete-pupop"
  142. @click="isSkin=false">
  143. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
  144. alt />
  145. </div>
  146. <div class="pupop-title">皮肤问题标签</div>
  147. <div class="skinDiv">
  148. <div :class="item.select?'skin-item':'skin-item-not'"
  149. v-for="item,index in skinTag"
  150. :key="index"
  151. @click="selectSkingTag(index,item)">{{item.name}}</div>
  152. </div>
  153. <div class="submit-frequency"
  154. @click="submitFrequency(1)">下一步</div>
  155. </div>
  156. </mine-pupop>
  157. <!-- 面部问题标签 -->
  158. <mine-pupop :show="faceTag">
  159. <div class="block">
  160. <div class="delete-pupop"
  161. @click="faceTag=false">
  162. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
  163. alt />
  164. </div>
  165. <div class="pupop-title">面部问题标签</div>
  166. <div class="faceTag">
  167. <div class="faceTagContent"
  168. v-for="item,index in faceTagData"
  169. :key="index">
  170. <div class="faceTagTitle">{{item.name}}</div>
  171. <div class="faceTagHor">
  172. <div :class="['faceTagItem-not',tag.select?'faceTagItem':'']"
  173. v-for="tag,index1 in item.dataS"
  174. :key="index1"
  175. @click="selectfaceTag(index,index1)">{{tag.name}}</div>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="submit-frequency"
  180. @click="submitFrequency(2)">下一步</div>
  181. </div>
  182. </mine-pupop>
  183. <!-- 备注 -->
  184. <mine-pupop :show="notice">
  185. <div class="block">
  186. <div class="delete-pupop"
  187. @click="notice=false">
  188. <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
  189. alt />
  190. </div>
  191. <div class="pupop-title">备注</div>
  192. <textarea type="text"
  193. class="noticeInput"
  194. placeholder="备注"
  195. v-model="saveScheme.remark"></textarea>
  196. <div class="noticeSubmit">
  197. <div class="submit-back"
  198. @click="submitFrequency(3)">返回</div>
  199. <div class="submit-notice"
  200. @click="submitFrequency(4)">确定</div>
  201. </div>
  202. </div>
  203. </mine-pupop>
  204. </div>
  205. </template>
  206. <script>
  207. import minePupop from "../../../components/minePupop/index.vue";
  208. import api from "../../../server/home";
  209. export default {
  210. components: { minePupop },
  211. data () {
  212. return {
  213. female: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/female.png',
  214. male: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/male.png',
  215. diagnosisIcon: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/severe.png',
  216. userInfo: {},
  217. //皮肤总结
  218. detail_list: [],
  219. problem: "",
  220. //面部标签
  221. lableList: [
  222. ],
  223. saveScheme: {
  224. user_id: '',
  225. skin_id: '',
  226. face_names: '',
  227. remark: ""
  228. },
  229. //皮肤状态
  230. skin_status: [],
  231. //皮肤诊断
  232. skin_check: [],
  233. //皮肤诊断当前选择的索引
  234. diagnosisIndex: 0,
  235. //后台默认的标签
  236. tags: [],
  237. noticeInput: "",
  238. notice: false,
  239. //执行方案
  240. programmeList: [
  241. ],
  242. faceTag: false,
  243. faceTagData: [],
  244. selectWeek: 0,
  245. skinTag: [],
  246. //项目列表
  247. projectList: [
  248. {
  249. value: "选项1",
  250. label: "黄金糕"
  251. },
  252. {
  253. value: "选项2",
  254. label: "双皮奶"
  255. },
  256. {
  257. value: "选项3",
  258. label: "蚵仔煎"
  259. },
  260. {
  261. value: "选项4",
  262. label: "龙须面"
  263. },
  264. {
  265. value: "选项5",
  266. label: "北京烤鸭"
  267. }
  268. ],
  269. //周期
  270. weekList: [
  271. {
  272. value: "选项1",
  273. label: "1"
  274. },
  275. {
  276. value: "选项2",
  277. label: "2"
  278. }
  279. ],
  280. //次数
  281. timesList: [
  282. {
  283. value: "选项1",
  284. label: "1"
  285. },
  286. {
  287. value: "选项2",
  288. label: "2"
  289. }
  290. ],
  291. timesInfo: "", //次数
  292. projectInfo: "", //项目
  293. projectId: "", //项目id
  294. weekInfo: "", //周次
  295. programmeIndex: "",
  296. remarks: "打架和考到几点拉进来的", //备注
  297. isPupop: false, //新增执行方案
  298. isSkin: false, //新增皮肤问题标签
  299. id: 0,
  300. isOpen: true //是否展开
  301. };
  302. },
  303. computed: {},
  304. watch: {},
  305. methods: {
  306. getSkinInfo () {
  307. api.getSkinInfo({ id: this.id }).then(res => {
  308. this.userInfo = res.data.user;
  309. this.saveScheme.user_id = this.userInfo.user_id
  310. this.detail_list = res.data.detail_list;
  311. this.programmeList = res.data.scheme_list;
  312. this.problem = res.data.skin_name;
  313. this.skin_status = res.data.skin_status
  314. this.skin_check = res.data.skin_check
  315. let _problem = []
  316. res.data.face_names.forEach(item => {
  317. let info = {}
  318. info['text'] = item
  319. _problem.push(info)
  320. console.log(_problem, '_problem');
  321. })
  322. this.lableList = _problem
  323. this.remarks = res.data.remark
  324. this.randomColor();
  325. });
  326. },
  327. // 获取问题标签
  328. skinFace_tags () {
  329. api.skinFace_tags().then(res => {
  330. let doSkin = [];
  331. for (let i = 0; i < res.data.list.length; i++) {
  332. let skinItem = res.data.list[i];
  333. skinItem.dataS = [];
  334. for (let j = 0; j < skinItem.question_name.length; j++) {
  335. let doNow = {
  336. name: skinItem.question_name[j],
  337. select: false
  338. };
  339. skinItem.dataS.push(doNow);
  340. }
  341. doSkin.push(skinItem);
  342. }
  343. console.log(doSkin);
  344. this.faceTagData = doSkin;
  345. });
  346. },
  347. // 获取皮肤问题标签
  348. skinSkin_tags () {
  349. api.skinSkin_tags().then(res => {
  350. let doSkin = [];
  351. for (let i = 0; i < res.data.list.length; i++) {
  352. let skinItem = res.data.list[i];
  353. skinItem.select = false;
  354. doSkin.push(skinItem);
  355. }
  356. this.skinTag = doSkin;
  357. });
  358. },
  359. selectSkingTag (index, item) {
  360. this.saveScheme.skin_id = item.id
  361. this.skinTag.forEach(res => {
  362. if (item.id == res.id) {
  363. res.select = true
  364. } else {
  365. res.select = false
  366. }
  367. })
  368. },
  369. toUpdates () {
  370. this.$router.push({
  371. path: '/testSkin/updates',
  372. query: {
  373. id: this.id
  374. }
  375. })
  376. },
  377. // 面部标签值,如:额头:颜色,横纹;眼部:下垂;
  378. selectfaceTag (index, index1) {
  379. this.faceTagData[index].dataS[index1].select = !this.faceTagData[index]
  380. .dataS[index1].select;
  381. let faceNameArr = []
  382. this.faceTagData.forEach(res => {
  383. let _namesArr = []
  384. res.dataS.forEach(item => {
  385. if (item.select) {
  386. _namesArr.push(item.name)
  387. }
  388. })
  389. if (_namesArr.length > 0) {
  390. res['_names'] = `${res.name}:${_namesArr.join()}`
  391. faceNameArr.push(res._names)
  392. }
  393. })
  394. this.saveScheme.face_names = faceNameArr.join(';')
  395. console.log(this.faceTagData, 'this.faceTagData', faceNameArr);
  396. },
  397. changeDiagnosisIcon (index) {
  398. this.diagnosisIndex = index
  399. switch (index) {
  400. case 0:
  401. this.diagnosisIcon = 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/severe.png'
  402. break;
  403. case 1:
  404. this.diagnosisIcon = 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/moderate.png'
  405. break;
  406. case 2:
  407. this.diagnosisIcon = 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/light.png'
  408. break;
  409. }
  410. },
  411. getSkinUpdate () {
  412. let params = {
  413. remark: this.remarks,
  414. tags: this.lableList.toString()
  415. };
  416. api.getSkinUpdate().then(res => { });
  417. },
  418. weekSelect (index) {
  419. console.log("xxxx");
  420. this.selectWeek = index;
  421. },
  422. onSubmit () {
  423. this.getSkinUpdate();
  424. },
  425. submitFrequency (e) {
  426. console.log(this.noticeInput);
  427. if (e == 1) {
  428. if (this.saveScheme.skin_id == '') {
  429. this.$message.error('请选择标签');
  430. return
  431. }
  432. this.isSkin = false;
  433. this.faceTag = true;
  434. }
  435. if (e == 2) {
  436. this.faceTag = false;
  437. this.notice = true;
  438. }
  439. if (e == 3) {
  440. this.notice = false;
  441. this.faceTag = true;
  442. }
  443. if (e == 4) {
  444. this.schemeSave();
  445. }
  446. },
  447. // 面部标签值,如:额头:颜色,横纹;眼部:下垂;
  448. schemeSave () {
  449. api
  450. .schemeSave(this.saveScheme)
  451. .then(res => {
  452. if (res.code = 200) {
  453. this.notice = false
  454. //初始化数据
  455. this.saveScheme = {
  456. skin_id: '',
  457. face_names: '',
  458. remark: ""
  459. }
  460. this.getSkinInfo()
  461. }
  462. });
  463. },
  464. randomColor (type) {
  465. let arr = [
  466. {
  467. background: "rgba(244, 247, 255, 1)",
  468. border: "rgba(85, 124, 255, 1)"
  469. },
  470. {
  471. background: "rgba(245, 252, 245, 1)",
  472. border: "rgba(66, 211, 81, 1)"
  473. },
  474. {
  475. background: "rgba(254, 244, 237, 1)",
  476. border: "rgba(250, 125, 34, 1)"
  477. },
  478. {
  479. background: "rgba(249, 245, 255, 1)",
  480. border: "rgba(136, 50, 255, 1)"
  481. },
  482. {
  483. background: "rgba(255, 252, 245, 1)",
  484. border: "rgba(204, 116, 42, 1)"
  485. }
  486. ];
  487. this.lableList.forEach(res => {
  488. let color = Math.floor(Math.random() * arr.length);
  489. this.$set(res, "bgcolor", arr[color].background);
  490. this.$set(res, "bdcolor", arr[color].border);
  491. });
  492. }
  493. },
  494. created () {
  495. let id = this.$route.query.id;
  496. this.id = id;
  497. this.skinFace_tags();
  498. this.skinSkin_tags();
  499. this.getSkinInfo();
  500. },
  501. mounted () {
  502. }
  503. };
  504. </script>
  505. <style lang='less' scoped>
  506. .mine {
  507. height: 100%;
  508. display: flex;
  509. .left {
  510. width: 318px;
  511. padding: 12px 12px 0 12px;
  512. background: #ffffff;
  513. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  514. border-radius: 8px;
  515. font-size: 13px;
  516. font-family: PingFangSC-Regular, PingFang SC;
  517. font-weight: 400;
  518. color: #999999;
  519. line-height: 18px;
  520. height: 100%;
  521. .user-info {
  522. display: flex;
  523. align-items: center;
  524. .user-img {
  525. width: 96px;
  526. img {
  527. width: 100%;
  528. border-radius: 5px;
  529. display: block;
  530. }
  531. }
  532. .user-span {
  533. margin-left: 12px;
  534. flex: 1;
  535. .name {
  536. display: flex;
  537. font-size: 16px;
  538. font-family: PingFangSC-Medium, PingFang SC;
  539. font-weight: 500;
  540. color: #333333;
  541. line-height: 22px;
  542. img {
  543. width: 24px;
  544. }
  545. span {
  546. font-family: PingFangSC-Regular, PingFang SC;
  547. font-weight: 400;
  548. color: #999999;
  549. line-height: 14px;
  550. }
  551. .sex {
  552. padding: 0 4px;
  553. background: #f0f0f0;
  554. border-radius: 6px;
  555. }
  556. }
  557. .skin-tips {
  558. margin-top: 10px;
  559. font-size: 12px;
  560. font-family: PingFangSC-Regular, PingFang SC;
  561. font-weight: 400;
  562. color: #333333;
  563. line-height: 17px;
  564. span {
  565. color: #999999;
  566. }
  567. }
  568. }
  569. }
  570. .left-title {
  571. margin-top: 20px;
  572. font-size: 14px;
  573. font-family: PingFangSC-Medium, PingFang SC;
  574. font-weight: 500;
  575. color: #333333;
  576. line-height: 20px;
  577. }
  578. .status-skin {
  579. font-size: 13px;
  580. font-family: PingFangSC-Medium, PingFang SC;
  581. font-weight: 500;
  582. color: #333333;
  583. line-height: 18px;
  584. .status-skin-content {
  585. display: flex;
  586. justify-content: space-between;
  587. align-items: center;
  588. }
  589. span {
  590. font-family: PingFangSC-Regular, PingFang SC;
  591. font-weight: 400;
  592. color: #999999;
  593. letter-spacing: 3px;
  594. }
  595. }
  596. .diagnosis {
  597. margin-top: 10px;
  598. .diagnosis-table {
  599. display: flex;
  600. .table-text {
  601. flex: 1;
  602. border-right: 1px solid #f0f0f0ff;
  603. font-size: 13px;
  604. font-family: PingFangSC-Regular, PingFang SC;
  605. font-weight: 400;
  606. color: #999999;
  607. line-height: 18px;
  608. text-align: center;
  609. }
  610. .table-text:nth-child(4) {
  611. border-right: 0px solid #f0f0f0ff;
  612. }
  613. }
  614. .diagnosis-content {
  615. .diagnosis-tips {
  616. margin-top: 17px;
  617. .diagnosis-icon {
  618. display: inline-block;
  619. width: 18px;
  620. height: 17px;
  621. img {
  622. width: 100%;
  623. height: 100%;
  624. }
  625. }
  626. span {
  627. vertical-align: top;
  628. font-size: 12px;
  629. font-family: PingFangSC-Medium, PingFang SC;
  630. font-weight: 500;
  631. color: #333333;
  632. line-height: 17px;
  633. }
  634. }
  635. }
  636. }
  637. }
  638. .right {
  639. margin-left: 18px;
  640. position: relative;
  641. flex: 1;
  642. .lable {
  643. width: 100%;
  644. padding: 12px;
  645. background: #ffffff;
  646. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  647. border-radius: 8px;
  648. overflow: hidden;
  649. position: relative;
  650. .lable-title {
  651. font-size: 14px;
  652. font-family: PingFangSC-Medium, PingFang SC;
  653. font-weight: 500;
  654. color: #333333;
  655. line-height: 20px;
  656. margin-bottom: 8px;
  657. display: flex;
  658. justify-content: space-between;
  659. .edit {
  660. width: 60px;
  661. height: 28px;
  662. background: #fa7d22;
  663. border-radius: 8px;
  664. font-size: 14px;
  665. font-family: PingFangSC-Medium, PingFang SC;
  666. font-weight: 500;
  667. color: #ffffff;
  668. line-height: 28px;
  669. text-align: center;
  670. }
  671. }
  672. .remarks-text {
  673. font-size: 12px;
  674. font-family: PingFangSC-Regular, PingFang SC;
  675. font-weight: 400;
  676. color: #666666;
  677. line-height: 17px;
  678. }
  679. .problem {
  680. display: flex;
  681. .problem-title {
  682. font-size: 13px;
  683. font-family: PingFangSC-Regular, PingFang SC;
  684. font-weight: 400;
  685. color: #333333;
  686. line-height: 18px;
  687. }
  688. .problem-lable {
  689. flex: 1;
  690. overflow-y: hidden;
  691. width: 100%;
  692. height: 68px;
  693. font-size: 12px;
  694. font-family: PingFang-SC-Regular, PingFang-SC;
  695. font-weight: 400;
  696. color: #333333;
  697. line-height: 17px;
  698. display: flex;
  699. flex-flow: column wrap;
  700. list-style-type: none;
  701. overflow-x: scroll;
  702. align-items: baseline;
  703. .lable-text {
  704. margin-left: 10px;
  705. margin-bottom: 10px;
  706. border: 1px solid #42d351;
  707. padding: 0 12px;
  708. border-radius: 2px;
  709. }
  710. .problem-text {
  711. background: rgba(244, 247, 255, 1);
  712. border: 1px solid rgba(85, 124, 255, 1);
  713. }
  714. }
  715. }
  716. .open-icon {
  717. width: 100%;
  718. padding-top: 10px;
  719. position: absolute;
  720. height: 38px;
  721. background: #ffffff;
  722. bottom: 0;
  723. text-align: center;
  724. img {
  725. width: 24px;
  726. }
  727. }
  728. }
  729. .programme {
  730. margin-top: 18px;
  731. width: 100%;
  732. background: #ffffff;
  733. box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
  734. border-radius: 8px;
  735. padding: 14px 12px 0 12px;
  736. overflow: hidden;
  737. .tab {
  738. display: flex;
  739. align-items: center;
  740. justify-content: space-between;
  741. .tab-title {
  742. font-size: 14px;
  743. font-family: PingFangSC-Medium, PingFang SC;
  744. font-weight: 500;
  745. color: #333333;
  746. line-height: 20px;
  747. }
  748. .add {
  749. width: 60px;
  750. height: 28px;
  751. line-height: 28px;
  752. background: #fa7d22;
  753. border-radius: 8px;
  754. font-size: 14px;
  755. font-family: PingFangSC-Medium, PingFang SC;
  756. font-weight: 500;
  757. color: #ffffff;
  758. text-align: center;
  759. }
  760. }
  761. .programmeList {
  762. width: 510px;
  763. height: 270px;
  764. }
  765. .programmeWeek {
  766. width: 510px;
  767. display: flex;
  768. align-items: center;
  769. }
  770. .programmeItem {
  771. margin-top: 20px;
  772. flex: 1;
  773. display: flex;
  774. }
  775. .weekItem {
  776. text-align: center;
  777. font-size: 13px;
  778. font-family: PingFangSC-Regular, PingFang SC;
  779. font-weight: 400;
  780. color: #999999;
  781. flex: 1;
  782. }
  783. .weekItemSelect {
  784. text-align: center;
  785. font-size: 13px;
  786. font-family: PingFangSC-Regular, PingFang SC;
  787. font-weight: 400;
  788. color: #fa7d22;
  789. flex: 1;
  790. }
  791. .weekLine {
  792. width: 1px;
  793. height: 12px;
  794. background: #f0f0f0;
  795. }
  796. .doTime {
  797. // margin-left: 20px;
  798. line-height: 30px;
  799. font-size: 12px;
  800. font-weight: 500;
  801. color: #333333;
  802. }
  803. .weekDetails {
  804. width: 509px;
  805. height: 232px;
  806. border-radius: 6px;
  807. border: 1px solid #f5f5f5;
  808. display: flex;
  809. align-items: center;
  810. overflow: scroll;
  811. }
  812. .contentItem {
  813. margin-left: 10px;
  814. width: 317px;
  815. min-height: 211px;
  816. border-right: 1px solid #f5f5f5;
  817. // overflow-y: scroll;
  818. }
  819. .line-hor {
  820. margin-top: 30px;
  821. margin-left: 10px;
  822. width: 1px;
  823. height: 261px;
  824. background: #f0f0f0;
  825. }
  826. .itemTitle {
  827. display: flex;
  828. padding-right: 10px;
  829. justify-content: space-between;
  830. width: 100%;
  831. line-height: 20px;
  832. font-size: 12px;
  833. font-weight: 400;
  834. color: #333333;
  835. }
  836. .itemContent {
  837. width: 317px;
  838. margin-top: 10px;
  839. display: flex;
  840. align-items: center;
  841. height: 49px;
  842. }
  843. .itemContent-img {
  844. width: 49px;
  845. height: 49px;
  846. background: #d8d8d8;
  847. border-radius: 2px;
  848. }
  849. .itemContent-right {
  850. margin-left: 10px;
  851. display: flex;
  852. flex-direction: column;
  853. height: 49px;
  854. flex: 1;
  855. }
  856. .right-content {
  857. flex: 1;
  858. display: flex;
  859. }
  860. .right-name {
  861. font-size: 12px;
  862. font-family: PingFangSC-Medium, PingFang SC;
  863. font-weight: 500;
  864. color: #333333;
  865. flex: 1;
  866. }
  867. .right-price {
  868. margin-right: 10px;
  869. margin-left: 20px;
  870. font-size: 12px;
  871. font-family: OPPOSans-B, OPPOSans;
  872. font-weight: normal;
  873. color: #ff3007;
  874. }
  875. .right-project {
  876. font-size: 12px;
  877. font-family: PingFangSC-Regular, PingFang SC;
  878. font-weight: 400;
  879. color: #ffc630;
  880. }
  881. .programme-list {
  882. margin-top: 10px;
  883. height: 150px;
  884. overflow: scroll;
  885. position: relative;
  886. z-index: 1;
  887. .programme-info {
  888. position: relative;
  889. padding: 8px 10px;
  890. margin-bottom: 10px;
  891. display: flex;
  892. align-items: center;
  893. border-radius: 4px;
  894. border: 1px solid #f5f5f5;
  895. .programme-left {
  896. flex: 1;
  897. display: flex;
  898. .programme-img {
  899. width: 48px;
  900. img {
  901. width: 100%;
  902. display: block;
  903. }
  904. }
  905. .programme-tips {
  906. margin-left: 10px;
  907. font-size: 10px;
  908. font-family: PingFangSC-Regular, PingFang SC;
  909. font-weight: 400;
  910. color: #999999;
  911. line-height: 14px;
  912. }
  913. }
  914. .programme-right {
  915. flex: 1;
  916. font-size: 12px;
  917. font-family: PingFangSC-Regular, PingFang SC;
  918. font-weight: 400;
  919. color: #333333;
  920. line-height: 17px;
  921. padding-left: 125px;
  922. .duration {
  923. margin-top: 14px;
  924. }
  925. }
  926. .operation {
  927. position: absolute;
  928. left: 50%;
  929. transform: translateX(-50%);
  930. top: 10px;
  931. z-index: 10;
  932. width: 44px;
  933. background: #ffffff;
  934. box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05),
  935. 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
  936. 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
  937. border-radius: 2px;
  938. padding: 10px;
  939. font-size: 12px;
  940. font-family: PingFangSC-Regular, PingFang SC;
  941. font-weight: 400;
  942. color: #333333;
  943. line-height: 17px;
  944. .delete {
  945. margin-top: 20px;
  946. }
  947. }
  948. }
  949. .programme-active {
  950. border: 1px solid #fa852f;
  951. }
  952. }
  953. }
  954. .submit {
  955. margin-top: 18px;
  956. position: relative;
  957. left: 50%;
  958. transform: translateX(-50%);
  959. width: 176px;
  960. height: 28px;
  961. line-height: 28px;
  962. background: #fa7d22;
  963. border-radius: 14px;
  964. text-align: center;
  965. font-size: 14px;
  966. font-family: PingFangSC-Medium, PingFang SC;
  967. font-weight: 500;
  968. color: #ffffff;
  969. }
  970. }
  971. .block {
  972. width: 540px;
  973. background: #ffffff;
  974. border-radius: 8px;
  975. position: relative;
  976. padding: 42px;
  977. .delete-pupop {
  978. position: absolute;
  979. width: 32px;
  980. height: 32px;
  981. top: 5px;
  982. right: 5px;
  983. img {
  984. width: 100%;
  985. height: 100%;
  986. display: block;
  987. }
  988. }
  989. .pupop-title {
  990. font-size: 14px;
  991. font-family: PingFangSC-Medium, PingFang SC;
  992. font-weight: 500;
  993. color: #333333;
  994. line-height: 20px;
  995. text-align: center;
  996. }
  997. .skinDiv {
  998. justify-content: center;
  999. display: flex;
  1000. flex-wrap: wrap;
  1001. }
  1002. .skin-item {
  1003. margin-top: 20px;
  1004. width: 172px;
  1005. background: #f4f7ff;
  1006. border-radius: 2px;
  1007. border: 1px solid #557cff;
  1008. line-height: 23px;
  1009. font-size: 12px;
  1010. font-weight: 400;
  1011. color: #333333;
  1012. text-align: center;
  1013. margin-right: 20px;
  1014. }
  1015. .skin-item-not {
  1016. margin-top: 20px;
  1017. width: 172px;
  1018. height: 25px;
  1019. background: #f5f5f5;
  1020. line-height: 25px;
  1021. border-radius: 2px;
  1022. font-size: 12px;
  1023. font-weight: 400;
  1024. color: #333333;
  1025. text-align: center;
  1026. margin-right: 20px;
  1027. }
  1028. // <div class="skinDiv">
  1029. // <div class="skin-item"
  1030. // v-for="item,index in skinTag"
  1031. // :key="index">
  1032. // {{item.title}}
  1033. // </div>
  1034. // </div>
  1035. .faceTag {
  1036. margin-top: 20px;
  1037. width: 426px;
  1038. height: 221px;
  1039. overflow-y: scroll;
  1040. }
  1041. .faceTagContent {
  1042. display: flex;
  1043. // align-items: center;
  1044. }
  1045. .faceTagTitle {
  1046. margin-top: 20px;
  1047. text-align: right;
  1048. width: 50px;
  1049. font-size: 14px;
  1050. font-weight: 500;
  1051. color: #333333;
  1052. }
  1053. .faceTagHor {
  1054. flex: 1;
  1055. display: flex;
  1056. align-items: center;
  1057. flex-wrap: wrap;
  1058. }
  1059. .faceTagItem-not {
  1060. margin-top: 15px;
  1061. margin-left: 10px;
  1062. padding: 0 12px;
  1063. height: 25px;
  1064. background: #f5f5f5;
  1065. border-radius: 2px;
  1066. line-height: 25px;
  1067. text-align: center;
  1068. font-size: 12px;
  1069. font-weight: 400;
  1070. color: #333333;
  1071. }
  1072. .faceTagItem {
  1073. background: #f4f7ff;
  1074. border: 1px solid #557cff;
  1075. }
  1076. .noticeInput {
  1077. margin-top: 50px;
  1078. margin-left: 80px;
  1079. padding: 10px;
  1080. width: 307px;
  1081. height: 184px;
  1082. border: 1px solid #f5f5f5;
  1083. }
  1084. .noticeSubmit {
  1085. margin-top: 20px;
  1086. width: 100%;
  1087. display: flex;
  1088. align-items: center;
  1089. justify-content: center;
  1090. }
  1091. .submit-back {
  1092. width: 100px;
  1093. height: 29px;
  1094. border-radius: 14px;
  1095. border: 1px solid #fa7d22;
  1096. font-size: 14px;
  1097. font-weight: 500;
  1098. color: #fa7d22;
  1099. line-height: 29px;
  1100. text-align: center;
  1101. margin-left: 22px;
  1102. }
  1103. .submit-notice {
  1104. width: 100px;
  1105. height: 29px;
  1106. border-radius: 14px;
  1107. font-size: 14px;
  1108. font-weight: 500;
  1109. background: #fa7d22;
  1110. color: white;
  1111. line-height: 29px;
  1112. text-align: center;
  1113. margin-left: 22px;
  1114. }
  1115. .project-select {
  1116. margin-top: 26px;
  1117. position: relative;
  1118. left: 50%;
  1119. transform: translateX(-50%);
  1120. width: 300px;
  1121. }
  1122. .frequency {
  1123. margin-top: 20px;
  1124. display: flex;
  1125. justify-content: center;
  1126. align-items: center;
  1127. font-size: 14px;
  1128. font-family: PingFangSC-Regular, PingFang SC;
  1129. font-weight: 400;
  1130. color: #333333;
  1131. line-height: 20px;
  1132. .week-select {
  1133. width: 77px;
  1134. margin-right: 8px;
  1135. }
  1136. .times-select {
  1137. width: 77px;
  1138. margin: 0 8px 0 20px;
  1139. }
  1140. }
  1141. .submit-frequency {
  1142. position: relative;
  1143. left: 50%;
  1144. transform: translateX(-50%);
  1145. margin-top: 58px;
  1146. width: 176px;
  1147. height: 28px;
  1148. text-align: center;
  1149. background: #fa7d22;
  1150. border-radius: 14px;
  1151. font-size: 14px;
  1152. font-family: PingFangSC-Medium, PingFang SC;
  1153. font-weight: 500;
  1154. color: #ffffff;
  1155. line-height: 28px;
  1156. }
  1157. }
  1158. }
  1159. </style>