1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048 |
- <template>
- <view class="real-name">
- <view class="study" v-if="tea_type==1">
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 姓名
- </view>
- <view class="right" @click="goEdit('姓名',1,type=0)">
- {{form.truename ? form.truename : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 个人照片
- </view>
- <view class="right" @click="goEdit('上传个人照片',2,type=2)">
- {{form.headimg ? '已上传' : '点击上传'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 性别
- </view>
- <view class="right">
- <u-radio-group v-model="form.sex" @change="radioGroupChange">
- <u-radio v-for="(item, index) in list_sex" :key="index" :name="item.label">
- {{item.name}}
- </u-radio>
- </u-radio-group>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 毕业院校
- </view>
- <view class="right" @click="goEdit('毕业院校',3,type=0)">
- {{form.school ? form.school : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 职称
- </view>
- <view class="right" @click="goEdit('职称',30,type=0)">
- {{form.rank ? form.rank : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 邮箱
- </view>
- <view class="right" @click="goEdit('填写邮箱',4,type=0)">
- {{form.email ? form.email : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item" v-if="!form.subject">
- <view class="star">
- *
- </view>
- <view class="label">
- 学科
- </view>
- <view class="right" @click="goEdit('填写学科',5,type=1)">
- {{form.subject ? '已填写' : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item1" v-if="form.subject">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 学科
- </view>
- <view class="right" @click="goEdit('担任课程',5,type=1)">
- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="dec">
- {{form.subject}}
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 手机号
- </view>
- <view class="right" @click="goEdit('填写手机号',6,type=0)">
- {{form.mobile ? form.mobile : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item" v-if="pwd_show">
- <view class="star">
- *
- </view>
- <view class="label">
- 密码
- </view>
- <view class="right" @click="goEdit('填写密码',20,type=5)">
- {{form.password ? form.password : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item" v-if="!form.class">
- <view class="star">
- *
- </view>
- <view class="label">
- 担任课程
- </view>
- <view class="right" @click="goEdit('担任课程',7,type=1)">
- {{form.class ? form.class : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item1" v-if="form.class">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 担任课程
- </view>
- <view class="right" @click="goEdit('担任课程',7,type=1)">
- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="dec">
- {{form.class}}
- </view>
- </view>
- <view class="item" v-if="!form.direction">
- <view class="star">
- *
- </view>
- <view class="label">
- 近年研究方向
- </view>
- <view class="right" @click="goEdit('近年研究方向',8,type=1)">
- <!-- 去填写<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="item1" v-if="form.direction">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 近年研究方向
- </view>
- <view class="right" @click="goEdit('近年研究方向',8,type=1)">
- <!-- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="dec">
- {{form.direction}}
- </view>
- </view>
- <view class="item" v-if="!form.project">
- <view class="star">
- *
- </view>
- <view class="label">
- 承担项目
- </view>
- <view class="right" @click="goEdit('承担项目',9,type=1)">
- <!-- 去填写<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="item1" v-if="form.project">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 承担项目
- </view>
- <view class="right" @click="goEdit('承担项目',9,type=1)">
- <!-- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="dec">
- {{form.project}}
- </view>
- </view>
- <view class="item" v-if="!form.results">
- <view class="star">
- *
- </view>
- <view class="label">
- 代表性成果
- </view>
- <view class="right" @click="goEdit('代表性成果',10,type=1)">
- <!-- 去填写<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="item1" v-if="form.results">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 代表性成果
- </view>
- <view class="right" @click="goEdit('代表性成果',10,type=1)">
- <!-- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="dec">
- {{form.results}}
- </view>
- </view>
- </view>
- <view class="pengbei" v-if="tea_type !=1">
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 姓名
- </view>
- <view class="right" @click="goEdit('姓名',1,type=0)">
- {{form.truename ? form.truename : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 个人照片
- </view>
- <view class="right" @click="goEdit('上传个人照片',2,type=2)">
- {{form.headimg ? '已上传' : '点击上传'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 性别
- </view>
- <view class="right">
- <u-radio-group v-model="form.sex" @change="radioGroupChange">
- <u-radio v-for="(item, index) in list_sex" :key="index" :name="item.label">
- {{item.name}}
- </u-radio>
- </u-radio-group>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 毕业院校
- </view>
- <view class="right" @click="goEdit('毕业院校',3,type=0)">
- {{form.school ? form.school : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 邮箱
- </view>
- <view class="right" @click="goEdit('填写邮箱',4,type=0)">
- {{form.email ? form.email : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item">
- <view class="star">
- *
- </view>
- <view class="label">
- 手机号
- </view>
- <view class="right" @click="goEdit('填写手机号',6,type=0)">
- {{form.mobile ? form.mobile : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item" v-if="pwd_show">
- <view class="star">
- *
- </view>
- <view class="label">
- 密码
- </view>
- <view class="right" @click="goEdit('填写密码',20,type=5)">
- {{form.password ? form.password : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <!-- <view class="item" v-if="!form.class">
- <view class="star">
- *
- </view>
- <view class="label">
- 担任课程
- </view>
- <view class="right" @click="goEdit('担任课程',7,type=1)">
- {{form.class ? form.class : '去填写'}}
- <u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="item1" v-if="form.class">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 担任课程
- </view>
- <view class="right" @click="goEdit('担任课程',7,type=1)">
- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon>
- </view>
- </view>
- <view class="dec">
- {{form.class}}
- </view>
-
- </view> -->
- <view class="item" v-if="!form.direction">
- <view class="star">
- *
- </view>
- <view class="label">
- 特长
- </view>
- <view class="right" @click="goEdit('特长',8,type=1)">
- <!-- 去填写<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="item1" v-if="form.direction">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 特长
- </view>
- <view class="right" @click="goEdit('特长',8,type=1)">
- <!-- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="dec">
- {{form.direction}}
- </view>
- </view>
- <view class="item" v-if="!form.project">
- <view class="star">
- *
- </view>
- <view class="label">
- 寄语
- </view>
- <view class="right" @click="goEdit('寄语',9,type=1)">
- <!-- 去填写<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="item1" v-if="form.project">
- <view class="star">
- *
- </view>
- <view class="item">
- <view class="label">
- 寄语
- </view>
- <view class="right" @click="goEdit('寄语',9,type=1)">
- <!-- 修改<u-icon name="arrow-right" size="20" margin-left="20"></u-icon> -->
- <image src="../../static/images/edit.png" mode=""></image>
- </view>
- </view>
- <view class="dec">
- {{form.project}}
- </view>
- </view>
- </view>
- <u-popup v-model="show" mode="bottom" height="100%">
- <view class="form">
- <view class="back" @click="show=false">
- <u-icon name="arrow-left" size="30"></u-icon>
- </view>
- <u-navbar :is-back="false" title="填写信息"></u-navbar>
- <view class="title">
- {{input_name}}
- </view>
- <view class="input" v-if="type==0">
- <u-input v-model="value" :placeholder=' "请输入" + input_name' />
- </view>
- <view class="input" v-if="type==5">
- <u-input v-model="password" :placeholder=' "请输入" + input_name' type="password" />
- </view>
- <!-- 上传图片 -->
- <view class="upload_image" v-if="item==2&&image_edit==0">
- <u-upload ref="uUpload" :action="action" :auto-upload="true" :form-data='imageDate'
- :file-list="fileList" @on-success='uploadSuccess'></u-upload>
- </view>
- <view class="upload_image" v-if="item==2 && image_edit==1">
- <u-image width="300rpx" height="300rpx" :src="uploadImage"></u-image>
- <text>图片最佳尺寸为150*150</text>
- </view>
- <view class="complate" v-if="item==2 && image_edit==1" @click="reload">
- 重新上传
- </view>
- <view class="complate1" v-if="item==2 " @click="complate">
- 完成
- </view>
- <!-- textear编辑 -->
- <view class="upload_image" v-if="type==1">
- <u-input v-model="textarea" type="textarea" :border="true" height="400" :auto-height="true" />
- </view>
- <view class="complate" v-if="item!=2" @click="complate">
- 完成
- </view>
- </view>
- </u-popup>
- <view class="buttom" @click="mentor" v-if="tea_type==1">
- {{type==1 ? '提交' : '保存编辑'}}
- </view>
- <view class="buttom" @click="mentor1" v-if=" tea_type!==1">
- {{type==1 ? '提交' : '保存编辑'}}
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- show: false,
- input_name: '',
- item: '',
- image_edit: 0,
- value: '', //输入框的内容
- action: '', //封面图上传地址
- imageDate: {
- file_type: 'img',
- type: 'tearcher_headimg'
- }, //上传图片携带参数
- fileList: [],
- uploadImage: '',
- type: 0, //0input输入框,1textare输入框
- textarea: '',
- form: {
- status: 1,
- sex: 0
- },
- type: 1,
- password: '',
- list_sex: [
- {
- name: '男',
- label: 1
- },
- {
- name: '女',
- label: 2
- },
- ],
- pwd_show: true,
- tea_type: 0,
- rank: ''
- }
- },
- onLoad(options) {
- if (this.is_weixin()) {
- this.navTitle()
- }
- if (options.type == 0) {
- this.type = options.type
- }
- this.getMe(options.type)
- },
- onShow() {
- this.action = '/api/base/common/upload'
- },
- methods: {
- radioGroupChange(e) {
- console.log(e);
- this.form.sex = e
- },
- //判断是否是微信
- is_weixin() {
- let ua = navigator.userAgent.toLowerCase();
- return ua.indexOf('micromessenger') != -1;
- },
- navTitle() {
- let navTitle = document.getElementsByTagName('uni-page-head');
- navTitle[0].style.display = 'none'
- },
- getMe(type) {
- console.log(type, '')
- this.$u.get('/base/auth/me').then(res => {
- console.log(res, 'ppp')
- this.form = res.data.type_model
- console.log(this.form, '=======')
- this.tea_type = res.data.type_model.type
- if (type == 1) {
- this.uploadImage = ''
- this.form.headimg = ''
- } else {
- this.uploadImage = res.data.type_model.headimg
- }
- if (this.uploadImage) {
- this.image_edit = 1
- }
- if (this.form.is_register == 1) {
- this.pwd_show = false
- }
- })
- },
- //学业导师保存修改
- mentor() {
- if (!this.form.truename) {
- uni.showToast({
- title: '姓名不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.rank) {
- uni.showToast({
- title: '职称不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.headimg) {
- uni.showToast({
- title: '头像不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.sex) {
- uni.showToast({
- title: '性别不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.school) {
- uni.showToast({
- title: '毕业院校不能为空',
- icon: 'none'
- })
- return
- }
- var reg = /^\w+@[a-zA-Z0-9]{2,10}(?:\.[a-z]{2,4}){1,3}$/
- if (!reg.test(this.form.email)) {
- uni.showToast({
- title: '您输入的邮箱有误,请检查!',
- icon: 'none'
- })
- return
- }
- if (!this.form.subject) {
- uni.showToast({
- title: '学科不能为空',
- icon: 'none'
- })
- return
- }
- let myreg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/
- if (!myreg.test(this.form.mobile)) {
- uni.showToast({
- title: '您输入的手机号有误,请检查!',
- icon: 'none'
- })
- return
- }
- if (!this.form.password && this.pwd_show == true) {
- uni.showToast({
- title: '密码不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.class) {
- uni.showToast({
- title: '担任课程不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.direction) {
- uni.showToast({
- title: '近年研究方向不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.project) {
- uni.showToast({
- title: '承担项目不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.results) {
- uni.showToast({
- title: '代表性成果不能为空',
- icon: 'none'
- })
- return
- }
- let id = this.$store.state.vuex_user.type_id
- console.log(this.$store.state.vuex_user)
- // this.form.account=this.$store.state.vuex_user.account
- this.$u.put('/mentor/perfect-teacher-info', this.form).then(res => {
- if (res.code == 200) {
- uni.showToast({
- title: '保存成功',
- icon: 'none'
- })
- setTimeout(function() {
- uni.reLaunch({
- url: './index'
- })
- }, 1500)
- }
- })
- },
- //朋辈导师保存修改
- mentor1() {
- if (!this.form.truename) {
- uni.showToast({
- title: '姓名不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.headimg) {
- uni.showToast({
- title: '头像不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.sex) {
- uni.showToast({
- title: '性别不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.school) {
- uni.showToast({
- title: '毕业院校不能为空',
- icon: 'none'
- })
- return
- }
- var reg = /^\w+@[a-zA-Z0-9]{2,10}(?:\.[a-z]{2,4}){1,3}$/
- if (!reg.test(this.form.email)) {
- uni.showToast({
- title: '您输入的邮箱有误,请检查!',
- icon: 'none'
- })
- return
- }
- let myreg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/
- if (!myreg.test(this.form.mobile)) {
- uni.showToast({
- title: '您输入的手机号有误,请检查!',
- icon: 'none'
- })
- return
- }
- if (!this.form.password && this.pwd_show == true) {
- uni.showToast({
- title: '密码不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.direction) {
- uni.showToast({
- title: '特长不能为空',
- icon: 'none'
- })
- return
- }
- if (!this.form.project) {
- uni.showToast({
- title: '寄语不能为空',
- icon: 'none'
- })
- return
- }
- let id = this.$store.state.vuex_user.type_id
- console.log(this.$store.state.vuex_user)
- // this.form.account=this.$store.state.vuex_user.account
- this.$u.put('/mentor/perfect-teacher-info', this.form).then(res => {
- if (res.code == 200) {
- uni.showToast({
- title: '保存成功',
- icon: 'none'
- })
- setTimeout(function() {
- uni.reLaunch({
- url: './index'
- })
- }, 1500)
- }
- })
- },
- //上传图片成功
- uploadSuccess(data) {
- console.log(data, 'ppp')
- this.form.headimg = data.data.path
- this.uploadImage = data.data.url
- this.image_edit = 1
- },
- //重新上传
- reload() {
- this.image_edit = 0
- console.log('---------')
- this.fileList = [],
- this.uploadImage = ''
- this.form.headimg = ''
- },
- goEdit(name, item) {
- if (this.uploadImage) {
- this.fileList.push({
- url: this.uploadImage
- })
- }
- switch (item) {
- case 1:
- this.value = this.form.truename
- break
- case 2:
- break
- case 3:
- this.value = this.form.school
- break
- case 4:
- this.value = this.form.email
- break
- case 5:
- this.textarea = this.form.subject
- break
- case 6:
- this.value = this.form.mobile
- break
- case 7:
- this.textarea = this.form.class
- break
- case 8:
- this.textarea = this.form.direction
- break
- case 9:
- this.textarea = this.form.project
- break
- case 10:
- this.textarea = this.form.results
- break
- case 20:
- this.password = this.form.password
- break
- case 30:
- this.value = this.form.rank
- break
- }
- this.show = true
- this.item = item
- this.input_name = name
- // this.textarea = ''
- // this.value = ''
- },
- complate() {
- let item = this.item
- switch (item) {
- case 1:
- this.form.truename = this.value
- break
- case 2:
- break
- case 3:
- this.form.school = this.value
- break
- case 4:
- this.form.email = this.value
- break
- case 5:
- this.form.subject = this.textarea
- break
- case 6:
- this.form.mobile = this.value
- break
- case 7:
- this.form.class = this.textarea
- break
- case 8:
- this.form.direction = this.textarea
- break
- case 9:
- this.form.project = this.textarea
- break
- case 10:
- this.form.results = this.textarea
- break
- case 20:
- this.form.password = this.password
- break
- case 30:
- this.form.rank = this.value
- break
- }
- this.show = !this.show
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .upload_image {
- width: 90%;
- margin: 0 auto;
- text {
- // color: ;
- display: inline-block;
- margin-top: 10px;
- }
- }
- .complate,
- .complate1 {
- width: 50%;
- margin: 0 auto;
- margin-top: 20%;
- line-height: 44px;
- text-align: center;
- height: 44px;
- background: #3B7653;
- opacity: 1;
- border-radius: 24px;
- font-size: 18px;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- opacity: 1;
- }
- .complate1 {
- margin-top: 30px;
- }
- .real-name {
- padding: 0 16px;
- padding-bottom: 40px;
- .item {
- display: flex;
- align-items: center;
- height: 46px;
- line-height: 46px;
- position: relative;
- padding-left: 10px;
- .star {
- position: absolute;
- color: red;
- left: 0;
- }
- .label {
- flex: 0 0 30%;
- font-size: 16px;
- font-family: PingFang SC;
- font-weight: bold;
- line-height: 20px;
- color: #282828;
- opacity: 1;
- }
- .right {
- flex: 1;
- font-size: 13px;
- font-family: PingFang SC;
- font-weight: 400;
- line-height: 20px;
- color: rgba($color: #282828, $alpha: 0.42);
- // opacity: 0.42;
- text-align: right;
- image {
- width: 17px;
- height: 17px;
- opacity: 1;
- }
- }
- }
- .form {
- position: relative;
- .back {
- position: absolute;
- left: 10px;
- top: 0px;
- width: 30px;
- height: 44px;
- line-height: 44px;
- text-align: center;
- z-index: 9999;
- // background: #18B566;
- }
- .title {
- padding: 0 20px;
- height: 40px;
- line-height: 40px;
- }
- .input {
- margin: 0 20px;
- height: 40px;
- line-height: 40px;
- border-bottom: solid 1px rgba(175, 175, 175, .2);
- }
- }
- .item1 {
- position: relative;
- // padding-left: 10px;
- .star {
- position: absolute;
- color: red;
- left: 0;
- top: 14px;
- }
- .dec {
- font-size: 13px;
- font-family: PingFang SC;
- font-weight: 400;
- line-height: 20px;
- color: #AFAFAF;
- opacity: 1;
- padding-bottom: 10px;
- border-bottom: solid 1px rgba(175, 175, 175, .2);
- }
- }
- .buttom {
- width: 229px;
- height: 56px;
- line-height: 56px;
- background: #3B7653;
- ;
- text-align: center;
- border-radius: 28px;
- margin: 0 auto;
- margin-top: 50px;
- font-size: 18px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #fff;
- opacity: 1;
- }
- }
- </style>
|