1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225 |
- <template>
- <div class="mine">
- <div class="left">
- <div class="user-info">
- <div class="user-img">
- <img :src="userInfo.avatar_url"
- alt />
- </div>
- <div class="user-span">
- <div class="name">
- <div>{{userInfo.nickname}}</div>
- <img v-if="userInfo.sex!=0"
- :src="userInfo.sex==1?male:female"
- alt="">
- <div v-else
- style="margin-left: 4px;"><span class="min-size sex">保密</span></div>
- <div style="margin-left: 23px;">{{userInfo.skin_age}} <span class="min-size">肤龄</span></div>
- </div>
- <div class="skin-tips"><span>肤质:</span>{{userInfo.skin_type}}</div>
- <div class="skin-tips"><span>肤色:</span>{{userInfo.skin_color}}</div>
- <div class="skin-tips"><span>上传报告时间:</span>{{userInfo.check_time}}</div>
- </div>
- </div>
- <div class="left-title">皮肤状态</div>
- <div class="status-skin">
- <div class="status-skin-content"
- v-for="(item,index) in skin_status"
- :key="index">
- <div class="status-skin-title"><span>{{item.name}}:</span>{{item.level}}</div>
- <div class="fraction">{{item.score}}分</div>
- </div>
- </div>
- <div class="left-title">皮肤诊断</div>
- <div class="diagnosis">
- <div class="diagnosis-table">
- <div class="table-text"
- v-for="(item,index) in skin_check"
- :key="index"
- @click="changeDiagnosisIcon(index)"
- :style="diagnosisIndex == index?'color: #FA7D22FF;':''">{{item.name}}</div>
- </div>
- <div class="diagnosis-content"
- v-if="skin_check[diagnosisIndex]">
- <div class="diagnosis-tips"
- v-for="(item,index) in skin_check[diagnosisIndex].list"
- :key="index">
- <div class="diagnosis-icon"
- v-if="diagnosisIndex!=3"> <img :src="diagnosisIcon"
- alt=""></div>
- <div class="diagnosis-icon"
- v-else></div>
- <span>{{item}}</span>
- </div>
- </div>
- </div>
- </div>
- <div class="right">
- <div class="lable"
- :style="isOpen?'height: 275px;':'height: 76px;'">
- <div class="lable-title">
- <div>面诊标签</div>
- <div class="edit"
- @click="isSkin=true">编辑</div>
- </div>
- <div class="problem">
- <div class="problem-title">问题标签</div>
- <div class="problem-lable">
- <div class="lable-text problem-text">{{problem}}</div>
- </div>
- </div>
- <div class="problem">
- <div class="problem-title">面部标签</div>
- <div class="problem-lable">
- <div class="lable-text"
- v-for="item,index in lableList"
- :key="index"
- :style="{background:item.bgcolor,borderColor:item.bdcolor}">{{item.text}}</div>
- </div>
- </div>
- <div class="lable-title">备注</div>
- <div class="remarks-text">{{remarks}}</div>
- <div class="open-icon">
- <img @click="isOpen = !isOpen"
- :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'"
- alt />
- </div>
- </div>
- <div class="programme"
- :style="isOpen?'height: 265px;':'height: 464px;'">
- <div class="tab">
- <div class="tab-title">执行方案</div>
- <div class="add"
- @click="toUpdates">编辑</div>
- </div>
- <div class="programmeList"
- v-if="programmeList.length>0">
- <div class="programmeWeek">
- <div class="programmeItem"
- v-for="item,index in programmeList"
- :key="index">
- <div :class="selectWeek==index?'weekItemSelect':'weekItem'"
- @click="weekSelect(index)">{{item.name}}</div>
- <div class="weekLine"
- v-if="index==3?false:true"></div>
- </div>
- </div>
- <div class="doTime">{{programmeList[selectWeek].time}}</div>
- <div class="weekDetails"
- v-if="programmeList.length>0">
- <div class="contentItem"
- v-for="item,index1 in programmeList[selectWeek].list"
- :key="index1">
- <div class="itemTitle">
- <div>{{item.name}}</div>
- <div>{{item.classify_name}}</div>
- <!-- <div>{{item.time}}</div> -->
- </div>
- <div class="itemContent"
- v-for="items,index2 in item.list"
- :key="index2">
- <img class="itemContent-img"
- :src="items.cover_url" />
- <div class="itemContent-right">
- <div class="right-content">
- <div class="right-name">{{items.name |ellipsis(14)}}</div>
- <div class="right-price">{{items.price |doubleNum(2)}}</div>
- </div>
- <div class="right-project">{{items.product_name}}</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- <div class="submit"
- @click="onSubmit">保存</div> -->
- </div>
- <!-- 皮肤问题标签 -->
- <mine-pupop :show="isSkin">
- <div class="block">
- <div class="delete-pupop"
- @click="isSkin=false">
- <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
- alt />
- </div>
- <div class="pupop-title">皮肤问题标签</div>
- <div class="skinDiv">
- <div :class="item.select?'skin-item':'skin-item-not'"
- v-for="item,index in skinTag"
- :key="index"
- @click="selectSkingTag(index,item)">{{item.name}}</div>
- </div>
- <div class="submit-frequency"
- @click="submitFrequency(1)">下一步</div>
- </div>
- </mine-pupop>
- <!-- 面部问题标签 -->
- <mine-pupop :show="faceTag">
- <div class="block">
- <div class="delete-pupop"
- @click="faceTag=false">
- <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
- alt />
- </div>
- <div class="pupop-title">面部问题标签</div>
- <div class="faceTag">
- <div class="faceTagContent"
- v-for="item,index in faceTagData"
- :key="index">
- <div class="faceTagTitle">{{item.name}}</div>
- <div class="faceTagHor">
- <div :class="['faceTagItem-not',tag.select?'faceTagItem':'']"
- v-for="tag,index1 in item.dataS"
- :key="index1"
- @click="selectfaceTag(index,index1)">{{tag.name}}</div>
- </div>
- </div>
- </div>
- <div class="submit-frequency"
- @click="submitFrequency(2)">下一步</div>
- </div>
- </mine-pupop>
- <!-- 备注 -->
- <mine-pupop :show="notice">
- <div class="block">
- <div class="delete-pupop"
- @click="notice=false">
- <img src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/pad_clerk/icon/slices/delete.png"
- alt />
- </div>
- <div class="pupop-title">备注</div>
- <textarea type="text"
- class="noticeInput"
- placeholder="备注"
- v-model="saveScheme.remark"></textarea>
- <div class="noticeSubmit">
- <div class="submit-back"
- @click="submitFrequency(3)">返回</div>
- <div class="submit-notice"
- @click="submitFrequency(4)">确定</div>
- </div>
- </div>
- </mine-pupop>
- </div>
- </template>
- <script>
- import minePupop from "../../../components/minePupop/index.vue";
- import api from "../../../server/home";
- export default {
- components: { minePupop },
- data () {
- return {
- female: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/female.png',
- male: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/male.png',
- diagnosisIcon: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/severe.png',
- userInfo: {},
- //皮肤总结
- detail_list: [],
- problem: "",
- //面部标签
- lableList: [
- ],
- saveScheme: {
- user_id: '',
- skin_id: '',
- face_names: '',
- remark: ""
- },
- //皮肤状态
- skin_status: [],
- //皮肤诊断
- skin_check: [],
- //皮肤诊断当前选择的索引
- diagnosisIndex: 0,
- //后台默认的标签
- tags: [],
- noticeInput: "",
- notice: false,
- //执行方案
- programmeList: [
- ],
- faceTag: false,
- faceTagData: [],
- selectWeek: 0,
- skinTag: [],
- //项目列表
- projectList: [
- {
- value: "选项1",
- label: "黄金糕"
- },
- {
- value: "选项2",
- label: "双皮奶"
- },
- {
- value: "选项3",
- label: "蚵仔煎"
- },
- {
- value: "选项4",
- label: "龙须面"
- },
- {
- value: "选项5",
- label: "北京烤鸭"
- }
- ],
- //周期
- weekList: [
- {
- value: "选项1",
- label: "1"
- },
- {
- value: "选项2",
- label: "2"
- }
- ],
- //次数
- timesList: [
- {
- value: "选项1",
- label: "1"
- },
- {
- value: "选项2",
- label: "2"
- }
- ],
- timesInfo: "", //次数
- projectInfo: "", //项目
- projectId: "", //项目id
- weekInfo: "", //周次
- programmeIndex: "",
- remarks: "打架和考到几点拉进来的", //备注
- isPupop: false, //新增执行方案
- isSkin: false, //新增皮肤问题标签
- id: 0,
- isOpen: true //是否展开
- };
- },
- computed: {},
- watch: {},
- methods: {
- getSkinInfo () {
- api.getSkinInfo({ id: this.id }).then(res => {
- this.userInfo = res.data.user;
- this.saveScheme.user_id = this.userInfo.user_id
- this.detail_list = res.data.detail_list;
- this.programmeList = res.data.scheme_list;
- this.problem = res.data.skin_name;
- this.skin_status = res.data.skin_status
- this.skin_check = res.data.skin_check
- let _problem = []
- res.data.face_names.forEach(item => {
- let info = {}
- info['text'] = item
- _problem.push(info)
- console.log(_problem, '_problem');
- })
- this.lableList = _problem
- this.remarks = res.data.remark
- this.randomColor();
- });
- },
- // 获取问题标签
- skinFace_tags () {
- api.skinFace_tags().then(res => {
- let doSkin = [];
- for (let i = 0; i < res.data.list.length; i++) {
- let skinItem = res.data.list[i];
- skinItem.dataS = [];
- for (let j = 0; j < skinItem.question_name.length; j++) {
- let doNow = {
- name: skinItem.question_name[j],
- select: false
- };
- skinItem.dataS.push(doNow);
- }
- doSkin.push(skinItem);
- }
- console.log(doSkin);
- this.faceTagData = doSkin;
- });
- },
- // 获取皮肤问题标签
- skinSkin_tags () {
- api.skinSkin_tags().then(res => {
- let doSkin = [];
- for (let i = 0; i < res.data.list.length; i++) {
- let skinItem = res.data.list[i];
- skinItem.select = false;
- doSkin.push(skinItem);
- }
- this.skinTag = doSkin;
- });
- },
- selectSkingTag (index, item) {
- this.saveScheme.skin_id = item.id
- this.skinTag.forEach(res => {
- if (item.id == res.id) {
- res.select = true
- } else {
- res.select = false
- }
- })
- },
- toUpdates () {
- this.$router.push({
- path: '/testSkin/updates',
- query: {
- id: this.id
- }
- })
- },
- // 面部标签值,如:额头:颜色,横纹;眼部:下垂;
- selectfaceTag (index, index1) {
- this.faceTagData[index].dataS[index1].select = !this.faceTagData[index]
- .dataS[index1].select;
- let faceNameArr = []
- this.faceTagData.forEach(res => {
- let _namesArr = []
- res.dataS.forEach(item => {
- if (item.select) {
- _namesArr.push(item.name)
- }
- })
- if (_namesArr.length > 0) {
- res['_names'] = `${res.name}:${_namesArr.join()}`
- faceNameArr.push(res._names)
- }
- })
- this.saveScheme.face_names = faceNameArr.join(';')
- console.log(this.faceTagData, 'this.faceTagData', faceNameArr);
- },
- changeDiagnosisIcon (index) {
- this.diagnosisIndex = index
- switch (index) {
- case 0:
- this.diagnosisIcon = 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/severe.png'
- break;
- case 1:
- this.diagnosisIcon = 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/moderate.png'
- break;
- case 2:
- this.diagnosisIcon = 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220527/invite/light.png'
- break;
- }
- },
- getSkinUpdate () {
- let params = {
- remark: this.remarks,
- tags: this.lableList.toString()
- };
- api.getSkinUpdate().then(res => { });
- },
- weekSelect (index) {
- console.log("xxxx");
- this.selectWeek = index;
- },
- onSubmit () {
- this.getSkinUpdate();
- },
- submitFrequency (e) {
- console.log(this.noticeInput);
- if (e == 1) {
- if (this.saveScheme.skin_id == '') {
- this.$message.error('请选择标签');
- return
- }
- this.isSkin = false;
- this.faceTag = true;
- }
- if (e == 2) {
- this.faceTag = false;
- this.notice = true;
- }
- if (e == 3) {
- this.notice = false;
- this.faceTag = true;
- }
- if (e == 4) {
- this.schemeSave();
- }
- },
- // 面部标签值,如:额头:颜色,横纹;眼部:下垂;
- schemeSave () {
- api
- .schemeSave(this.saveScheme)
- .then(res => {
- if (res.code = 200) {
- this.notice = false
- //初始化数据
- this.saveScheme = {
- skin_id: '',
- face_names: '',
- remark: ""
- }
- this.getSkinInfo()
- }
- });
- },
- randomColor (type) {
- let arr = [
- {
- background: "rgba(244, 247, 255, 1)",
- border: "rgba(85, 124, 255, 1)"
- },
- {
- background: "rgba(245, 252, 245, 1)",
- border: "rgba(66, 211, 81, 1)"
- },
- {
- background: "rgba(254, 244, 237, 1)",
- border: "rgba(250, 125, 34, 1)"
- },
- {
- background: "rgba(249, 245, 255, 1)",
- border: "rgba(136, 50, 255, 1)"
- },
- {
- background: "rgba(255, 252, 245, 1)",
- border: "rgba(204, 116, 42, 1)"
- }
- ];
- this.lableList.forEach(res => {
- let color = Math.floor(Math.random() * arr.length);
- this.$set(res, "bgcolor", arr[color].background);
- this.$set(res, "bdcolor", arr[color].border);
- });
- }
- },
- created () {
- let id = this.$route.query.id;
- this.id = id;
- this.skinFace_tags();
- this.skinSkin_tags();
- this.getSkinInfo();
- },
- mounted () {
- }
- };
- </script>
- <style lang='less' scoped>
- .mine {
- height: 100%;
- display: flex;
- .left {
- width: 318px;
- padding: 12px 12px 0 12px;
- background: #ffffff;
- box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
- border-radius: 8px;
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- line-height: 18px;
- height: 100%;
- .user-info {
- display: flex;
- align-items: center;
- .user-img {
- width: 96px;
- img {
- width: 100%;
- border-radius: 5px;
- display: block;
- }
- }
- .user-span {
- margin-left: 12px;
- flex: 1;
- .name {
- display: flex;
- font-size: 16px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 22px;
- img {
- width: 24px;
- }
- span {
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- line-height: 14px;
- }
- .sex {
- padding: 0 4px;
- background: #f0f0f0;
- border-radius: 6px;
- }
- }
- .skin-tips {
- margin-top: 10px;
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 17px;
- span {
- color: #999999;
- }
- }
- }
- }
- .left-title {
- margin-top: 20px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 20px;
- }
- .status-skin {
- font-size: 13px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 18px;
- .status-skin-content {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- span {
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- letter-spacing: 3px;
- }
- }
- .diagnosis {
- margin-top: 10px;
- .diagnosis-table {
- display: flex;
- .table-text {
- flex: 1;
- border-right: 1px solid #f0f0f0ff;
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- line-height: 18px;
- text-align: center;
- }
- .table-text:nth-child(4) {
- border-right: 0px solid #f0f0f0ff;
- }
- }
- .diagnosis-content {
- .diagnosis-tips {
- margin-top: 17px;
- .diagnosis-icon {
- display: inline-block;
- width: 18px;
- height: 17px;
- img {
- width: 100%;
- height: 100%;
- }
- }
- span {
- vertical-align: top;
- font-size: 12px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 17px;
- }
- }
- }
- }
- }
- .right {
- margin-left: 18px;
- position: relative;
- flex: 1;
- .lable {
- width: 100%;
- padding: 12px;
- background: #ffffff;
- box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
- border-radius: 8px;
- overflow: hidden;
- position: relative;
- .lable-title {
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 20px;
- margin-bottom: 8px;
- display: flex;
- justify-content: space-between;
- .edit {
- width: 60px;
- height: 28px;
- background: #fa7d22;
- border-radius: 8px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 28px;
- text-align: center;
- }
- }
- .remarks-text {
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 17px;
- }
- .problem {
- display: flex;
- .problem-title {
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 18px;
- }
- .problem-lable {
- flex: 1;
- overflow-y: hidden;
- width: 100%;
- height: 68px;
- font-size: 12px;
- font-family: PingFang-SC-Regular, PingFang-SC;
- font-weight: 400;
- color: #333333;
- line-height: 17px;
- display: flex;
- flex-flow: column wrap;
- list-style-type: none;
- overflow-x: scroll;
- align-items: baseline;
- .lable-text {
- margin-left: 10px;
- margin-bottom: 10px;
- border: 1px solid #42d351;
- padding: 0 12px;
- border-radius: 2px;
- }
- .problem-text {
- background: rgba(244, 247, 255, 1);
- border: 1px solid rgba(85, 124, 255, 1);
- }
- }
- }
- .open-icon {
- width: 100%;
- padding-top: 10px;
- position: absolute;
- height: 38px;
- background: #ffffff;
- bottom: 0;
- text-align: center;
- img {
- width: 24px;
- }
- }
- }
- .programme {
- margin-top: 18px;
- width: 100%;
- background: #ffffff;
- box-shadow: 0px 2px 4px 0px rgba(184, 191, 198, 0.2);
- border-radius: 8px;
- padding: 14px 12px 0 12px;
- overflow: hidden;
- .tab {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .tab-title {
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 20px;
- }
- .add {
- width: 60px;
- height: 28px;
- line-height: 28px;
- background: #fa7d22;
- border-radius: 8px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- text-align: center;
- }
- }
- .programmeList {
- width: 510px;
- height: 270px;
- }
- .programmeWeek {
- width: 510px;
- display: flex;
- align-items: center;
- }
- .programmeItem {
- margin-top: 20px;
- flex: 1;
- display: flex;
- }
- .weekItem {
- text-align: center;
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- flex: 1;
- }
- .weekItemSelect {
- text-align: center;
- font-size: 13px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #fa7d22;
- flex: 1;
- }
- .weekLine {
- width: 1px;
- height: 12px;
- background: #f0f0f0;
- }
- .doTime {
- // margin-left: 20px;
- line-height: 30px;
- font-size: 12px;
- font-weight: 500;
- color: #333333;
- }
- .weekDetails {
- width: 509px;
- height: 232px;
- border-radius: 6px;
- border: 1px solid #f5f5f5;
- display: flex;
- align-items: center;
- overflow: scroll;
- }
- .contentItem {
- margin-left: 10px;
- width: 317px;
- min-height: 211px;
- border-right: 1px solid #f5f5f5;
- // overflow-y: scroll;
- }
- .line-hor {
- margin-top: 30px;
- margin-left: 10px;
- width: 1px;
- height: 261px;
- background: #f0f0f0;
- }
- .itemTitle {
- display: flex;
- padding-right: 10px;
- justify-content: space-between;
- width: 100%;
- line-height: 20px;
- font-size: 12px;
- font-weight: 400;
- color: #333333;
- }
- .itemContent {
- width: 317px;
- margin-top: 10px;
- display: flex;
- align-items: center;
- height: 49px;
- }
- .itemContent-img {
- width: 49px;
- height: 49px;
- background: #d8d8d8;
- border-radius: 2px;
- }
- .itemContent-right {
- margin-left: 10px;
- display: flex;
- flex-direction: column;
- height: 49px;
- flex: 1;
- }
- .right-content {
- flex: 1;
- display: flex;
- }
- .right-name {
- font-size: 12px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- flex: 1;
- }
- .right-price {
- margin-right: 10px;
- margin-left: 20px;
- font-size: 12px;
- font-family: OPPOSans-B, OPPOSans;
- font-weight: normal;
- color: #ff3007;
- }
- .right-project {
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #ffc630;
- }
- .programme-list {
- margin-top: 10px;
- height: 150px;
- overflow: scroll;
- position: relative;
- z-index: 1;
- .programme-info {
- position: relative;
- padding: 8px 10px;
- margin-bottom: 10px;
- display: flex;
- align-items: center;
- border-radius: 4px;
- border: 1px solid #f5f5f5;
- .programme-left {
- flex: 1;
- display: flex;
- .programme-img {
- width: 48px;
- img {
- width: 100%;
- display: block;
- }
- }
- .programme-tips {
- margin-left: 10px;
- font-size: 10px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- line-height: 14px;
- }
- }
- .programme-right {
- flex: 1;
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 17px;
- padding-left: 125px;
- .duration {
- margin-top: 14px;
- }
- }
- .operation {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- top: 10px;
- z-index: 10;
- width: 44px;
- background: #ffffff;
- box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05),
- 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
- 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
- border-radius: 2px;
- padding: 10px;
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 17px;
- .delete {
- margin-top: 20px;
- }
- }
- }
- .programme-active {
- border: 1px solid #fa852f;
- }
- }
- }
- .submit {
- margin-top: 18px;
- position: relative;
- left: 50%;
- transform: translateX(-50%);
- width: 176px;
- height: 28px;
- line-height: 28px;
- background: #fa7d22;
- border-radius: 14px;
- text-align: center;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- }
- }
- .block {
- width: 540px;
- background: #ffffff;
- border-radius: 8px;
- position: relative;
- padding: 42px;
- .delete-pupop {
- position: absolute;
- width: 32px;
- height: 32px;
- top: 5px;
- right: 5px;
- img {
- width: 100%;
- height: 100%;
- display: block;
- }
- }
- .pupop-title {
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 20px;
- text-align: center;
- }
- .skinDiv {
- justify-content: center;
- display: flex;
- flex-wrap: wrap;
- }
- .skin-item {
- margin-top: 20px;
- width: 172px;
- background: #f4f7ff;
- border-radius: 2px;
- border: 1px solid #557cff;
- line-height: 23px;
- font-size: 12px;
- font-weight: 400;
- color: #333333;
- text-align: center;
- margin-right: 20px;
- }
- .skin-item-not {
- margin-top: 20px;
- width: 172px;
- height: 25px;
- background: #f5f5f5;
- line-height: 25px;
- border-radius: 2px;
- font-size: 12px;
- font-weight: 400;
- color: #333333;
- text-align: center;
- margin-right: 20px;
- }
- // <div class="skinDiv">
- // <div class="skin-item"
- // v-for="item,index in skinTag"
- // :key="index">
- // {{item.title}}
- // </div>
- // </div>
- .faceTag {
- margin-top: 20px;
- width: 426px;
- height: 221px;
- overflow-y: scroll;
- }
- .faceTagContent {
- display: flex;
- // align-items: center;
- }
- .faceTagTitle {
- margin-top: 20px;
- text-align: right;
- width: 50px;
- font-size: 14px;
- font-weight: 500;
- color: #333333;
- }
- .faceTagHor {
- flex: 1;
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- }
- .faceTagItem-not {
- margin-top: 15px;
- margin-left: 10px;
- padding: 0 12px;
- height: 25px;
- background: #f5f5f5;
- border-radius: 2px;
- line-height: 25px;
- text-align: center;
- font-size: 12px;
- font-weight: 400;
- color: #333333;
- }
- .faceTagItem {
- background: #f4f7ff;
- border: 1px solid #557cff;
- }
- .noticeInput {
- margin-top: 50px;
- margin-left: 80px;
- padding: 10px;
- width: 307px;
- height: 184px;
- border: 1px solid #f5f5f5;
- }
- .noticeSubmit {
- margin-top: 20px;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .submit-back {
- width: 100px;
- height: 29px;
- border-radius: 14px;
- border: 1px solid #fa7d22;
- font-size: 14px;
- font-weight: 500;
- color: #fa7d22;
- line-height: 29px;
- text-align: center;
- margin-left: 22px;
- }
- .submit-notice {
- width: 100px;
- height: 29px;
- border-radius: 14px;
- font-size: 14px;
- font-weight: 500;
- background: #fa7d22;
- color: white;
- line-height: 29px;
- text-align: center;
- margin-left: 22px;
- }
- .project-select {
- margin-top: 26px;
- position: relative;
- left: 50%;
- transform: translateX(-50%);
- width: 300px;
- }
- .frequency {
- margin-top: 20px;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 14px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 20px;
- .week-select {
- width: 77px;
- margin-right: 8px;
- }
- .times-select {
- width: 77px;
- margin: 0 8px 0 20px;
- }
- }
- .submit-frequency {
- position: relative;
- left: 50%;
- transform: translateX(-50%);
- margin-top: 58px;
- width: 176px;
- height: 28px;
- text-align: center;
- background: #fa7d22;
- border-radius: 14px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 28px;
- }
- }
- }
- </style>
|