123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997 |
- <template>
- <view class="container register">
- <view class="register-main first clearfix">
- <view class="register-row">
- <view class="register-title">账户信息</view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">邮箱:</view>
- <view class="row-input">369321048@qq.com</view>
- </view>
- </view>
- <view class="register-row">
- <view class="register-title">基本信息</view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">机构名称:</view>
- <input class="row-input" type="text" v-model="clubName" placeholder="请输入您的机构名称" maxlength="30"/>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">联系人:</view>
- <input class="row-input" type="text" v-model="clubContact" placeholder="请输入联系姓名" maxlength="6"/>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">手机号:</view>
- <input class="row-input" type="number" v-model="registerEmail" placeholder="请输入手机号" maxlength="11"/>
- <view class="row-btn" @click="showCheckPhone">{{isShowCheckPhone?'取消修改':'修改手机号'}}</view>
- </view>
- </view>
- <view class="register-row clearfix" v-show="isShowCheckPhone">
- <view class="register-from code">
- <input class="row-input" type="text" v-model="regEmailCode" placeholder="请输入上述手机号的验证码" maxlength="6"/>
- </view>
- <view class="register-from btn" :class="[isDisabled ? 'disabled' : 'none']">
- <button class="row-input" type="button" @click.stop="getEmailCode" :disabled="isDisabled">获取验证码</button>
- </view>
- </view>
- <view class="register-row clearfix" v-show="isShowCheckPhone">
- <view class="register-from">
- <input class="row-input" type="number" v-model="registerEmail" placeholder="请输入新手机号" maxlength="11"/>
- </view>
- </view>
- <view class="register-row clearfix" v-show="isShowCheckPhone">
- <view class="register-from code">
- <input class="row-input" type="text" v-model="regEmailCode" placeholder="请输入新手机号的验证码" maxlength="6"/>
- </view>
- <view class="register-from btn" :class="[isDisabled ? 'disabled' : 'none']">
- <button class="row-input" type="button" @click.stop="getEmailCode" :disabled="isDisabled">获取验证码</button>
- </view>
- </view>
- </view>
- <view class="register-main clearfix" >
- <view class="register-row">
- <view class="register-title">详细信息<text class="txt">(请尽量填写,有利于快速审核通过)</text></view>
- </view>
- </view>
- <view class="register-main detailed clearfix">
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">机构简称:</view>
- <input class="row-input" type="text" v-model="clubContact" placeholder="请输入您的机构简称" maxlength="16"/>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from" @click="showMulLinkageThreePicker">
- <view class="label">机构地址:</view>
- <text class="row-input" :class="addressData.address === '请选择机构所在地区' ? 'none' : ''">
- {{addressData.address}}
- </text>
- <text class="iconfont icon-xiayibu"></text>
- </view>
- </view>
- <view class="register-row text-textarea clearfix">
- <view class="textarea show" v-if="isShowInput">{{addressData.addressDetail ? addressData.addressDetail :'详细地址:如道路、门牌号、小区等'}}</view>
- <textarea v-else
- class="textarea"
- type="text"
- v-model="addressData.addressDetail"
- placeholder="详细地址:如道路、门牌号、小区等"
- placeholder-class="placeholder"
- maxlength="50"
- @input="onTextareaInput"
- :class="isShowInput ? '':''"
- />
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">营业执照编号:</view>
- <input class="row-input" type="text" v-model="clubContact" placeholder="请填写社会统一信用代码" maxlength="16"/>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-picture">
- <view class="label">营业执照:</view>
- <view class="upload-picture">
- <view class="upload-none" v-if="uploadBusinessImage === ''" @click="chooseBusinessImage"><text class="iconfont icon-jiahao"></text></view>
- <view class="upload-image" v-else>
- <image :src="uploadBusinessImage" mode="" @click="viewBusinessImage"></image>
- <view class="upload-del" @click="delBusinessImage">
- <text class='iconfont icon-shanchu1'></text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-picture">
- <view class="label">门头照:</view>
- <view class="upload-picture">
- <view class="upload-none" v-if="uploadMentuzImage === ''" @click="chooseMentuzImage"><text class="iconfont icon-jiahao"></text></view>
- <view class="upload-image" v-else>
- <image :src="uploadMentuzImage" mode="" @click="viewMentuzImage"></image>
- <view class="upload-del" @click="delMentuzImage">
- <text class='iconfont icon-shanchu1'></text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from picker">
- <view class="label">机构类型:</view>
- <picker @change="bindPickerChange" :value="index" :range="organizationTypeList" range-key="name">
- <view class="row-input" :class="[isOrganizationType == 0 ? 'none' : '']">{{organizationTypeList[typtIndex].name}}</view>
- </picker>
- <text class="iconfont icon-xiayibu"></text>
- </view>
- </view>
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
- <view class="register-from radio">
- <radio-group @change="radioChange">
- <label class="row-input" v-for="(item, index) in beautyList" :key="item.value">
- <radio class="row-radio" :value="item.value" :checked="index === current" color="#E15616"/>
- <view class="row-text">{{item.name}}</view>
- </label>
- </radio-group>
- </view>
- </view>
- <view class="register-row clearfix" v-show="isDepartment">
- <view class="register-from">
- <view class="label">科室:</view>
- <input class="row-input keshi" type="text" v-model="clubContact" placeholder="请填写经营的科室,至少三个,用逗号隔开" maxlength="16"/>
- </view>
- </view>
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
- <view class="register-picture">
- <view class="label zz">医疗执业许可证:</view>
- <view class="upload-picture">
- <view class="upload-none" v-if="uploadMedicalImage === ''" @click="chooseMedicalImage"><text class="iconfont icon-jiahao"></text></view>
- <view class="upload-image" v-else>
- <image :src="uploadMedicalImage" mode="" @click="viewMedicalImage"></image>
- <view class="upload-del" @click="delMedicalImage">
- <text class='iconfont icon-shanchu1'></text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
- <view class="register-from group">
- <view class="label">主营内容:</view>
- <checkbox-group class="content-class" @change="chooseMaleLike" >
- <label class="item" v-for="(item, index) in mentuzCampList" :key="index" :class="{on: item.checked}">
- <checkbox :value="item.value"></checkbox>
- <text class="item-text">{{item.name}}</text>
- </label>
- </checkbox-group>
- </view>
- <view class="register-from group btn">
- <view class="content-class btn">
- <view class="item" @click="showAustomItem">
- <text class="item-text">其他</text>
- </view>
- </view>
- </view>
- <view class="register-from group btn" v-show="isShowAustomItem">
- <view class="content-class btn">
- <input class="row-input" type="text" v-model="customItemValue" placeholder="请输入自定义项目" @blur="onBlurInput" maxlength="5"/>
- <button type="default"
- class="confirm-btn"
- :class="[isDisabled ? 'disabled' : 'none']"
- :disabled="isDisabled"
- @click.stop="addCustomItem"
- >确认添加</button>
- </view>
- </view>
- </view>
- <view class="register-row clearfix" v-if="isOrganizationType == 2">
- <view class="register-from group">
- <view class="label">主营内容:</view>
- <checkbox-group class="content-class" @change="chooseMaleLikes">
- <label class="item" v-for="(item, index) in medicaCampList" :key="index" :class="{on: item.checked}">
- <checkbox :value="item.value"></checkbox>
- <text class="item-text">{{item.name}}</text>
- </label>
- </checkbox-group>
- </view>
- <view class="register-from group btn">
- <view class="content-class btn">
- <view class="item" @click="showAustomItem">
- <text class="item-text">其他</text>
- </view>
- </view>
- </view>
- <view class="register-from group btn" v-show="isShowAustomItem">
- <view class="content-class btn">
- <input class="row-input" type="text" v-model="customItemValue" placeholder="请输入自定义项目" @blur="onBlurInput" maxlength="5"/>
- <button type="default"
- class="confirm-btn"
- :class="[isDisabled ? 'disabled' : 'none']"
- :disabled="isDisabled"
- @click.stop="addCustomItem"
- >确认添加</button>
- </view>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">固定电话:</view>
- <input class="row-input" type="text" v-model="clubName" placeholder="请填写机构的固定电话" maxlength="15"/>
- </view>
- </view>
- <view class="register-row clearfix">
- <view class="register-from">
- <view class="label">传真:</view>
- <input class="row-input" type="text" v-model="clubName" placeholder="请填写机构的传真" maxlength="15"/>
- </view>
- </view>
- <view class="register-row text-textarea clearfix">
- <view class="textarea show" v-if="isCompanyPprofile" @click="showTextarea">{{'请填写公司简介,最多500字'}}</view>
- <textarea v-else
- class="textarea"
- type="text"
- v-model="companyPprofile"
- placeholder="请填写公司简介,最多500字"
- placeholder-class="placeholder"
- maxlength="500"
- @input="onTextareaInput"
- :class="isShowInput ? '':''"
- />
- </view>
- <view class="register-fiexd clearfix">
- <view class="register-agree">
- <view class="agree-text" @tap.stop="agreeCheck()">
- <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
- 我已阅读并同意<text>《机构协议》</text><text>《用户协议》</text>及<text>《隐私权政策》</text>
- </view>
- </view>
- <view class="register-row ">
- <view class="register-btn sub">提交审核</view>
- </view>
- </view>
- <mpvue-city-picker :themeColor="themeColor"
- ref="mpvueCityPicker"
- :pickerValueDefault="cityPickerValueDefault"
- @onCancel="onCancel"
- @onConfirm="onConfirm">
- </mpvue-city-picker>
- </view>
- </view>
- </template>
- <script>
- import { mapMutations } from 'vuex';
- import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
- import uniTag from '@/components/uni-tag/uni-tag.vue';
- import authorize from '@/common/config/authorize.js'
- import configUrl from '@/common/config/config.js'
- var self;
- export default{
- components:{
- uniTag,
- mpvueCityPicker
- },
- data() {
- return{
- isOpenError:false,
- errorList:[
- {text:'图片模糊'},
- {text:'营业执照错误'},
- {text:'手机号码错误图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊'}
- ],
- isDisabled:true,
- isShowInput:false,
- isCheck:true, //勾选协议
- uploadBusinessImage:'',
- uploadMentuzImage:'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1431188283,1203112303&fm=26&gp=0.jpg',
- uploadMedicalImage:'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1431188283,1203112303&fm=26&gp=0.jpg',
- isOrganizationType:0,
- organizationTypeList:[
- {name:'请选择机构类型',value:0},
- {name:'医美',value:1},
- {name:'生美',value:2}
- ],
- beautyList:[{value:'1',name:'诊所'},{value:'2',name:'门诊'},{value:'3',name:'医院'}],
- mentuzCampList:[{value:'1',name:'整形'},{value:'2',name:'轻医美'},{value:'3',name:'皮肤科'}],
- medicaCampList:[
- {value:'1',name:'美容'},
- {value:'2',name:'美体'},
- {value:'3',name:'美发'},
- {value:'4',name:'皮肤管理'},
- {value:'5',name:'光电'},
- {value:'6',name:'综合类'},
- {value:'7',name:'中医养生'},
- {value:'8',name:'spa'}
- ],
- typtIndex:0,
- organizationType:0,
- current:0,
- isShowCheckPhone:false,
- isDepartment:false, //是否显示科室
- isShowAustomItem:false, //是否显示其他添加
- customItemValue:'', //自定义项目
- isCompanyPprofile:true,
- invitationCode:'', //获取用户登录的邀请码
- isToast:false, //控制显示未输入邀请码提示
- isUserInfo:false, //控制显示授权弹窗
- nickName:'', //存储用户名
- userInfo:'', //存储微信用户授权信息
- isSuccess:false,
- toestText:'',
- telPhone:'',
- registerType:'', //跳转类型
- alertText:'',
- listType: '',
- listVal: '',
- detilType:'',
- id:'',//商品ID
- addressData:{
- addressID:'',
- address:'请选择机构所在地区',
- userID: '', //用户id ,只在新增收货地址时传
- shouHuoRen: '', //收货人
- mobile:'', //收货人手机
- townID:'', //区ID
- addressDetail: '', //地址
- defaultFlag:0, //是否默认收货地址(0 不是默认,1 默认)
- },
- }
- },
- onLoad(option) {
- console.log(option)
- self = this;
- self.registerType = option.type;
- self.id = option.id
- if(option.listType) {
- self.listType = option.listType;
- self.listVal = option.listVal;
- }
- },
- methods:{
- ...mapMutations(['register']),
- goregister() {
- self.$api.get('/register/isEnabled',{userOrganizeID:self.userOrganizeID,invitationCode:self.invitationCode}, res => {
- if (res.code == "1") {
- //查看此微信用户是否已经授权过
- authorize.getSetting().then(res =>{
- // console.log('是否已授权',res);//0:为取消授权 1:为已授权 2:为未操作
- if(res == 2){
- self.isUserInfo = true
- }else{
- self.isUserInfo = false
- self.wxGetUserInfo()
- }
- })
- }else if(res.code =='0'){
- self.toestText ='请输入邀请码';
- self.alertText ='邀请码';
- self.telPhone = res.msg;
- self.isToast = true;
- }else if(res.code =='-2'){
- self.toestText ='邀请码已失效';
- self.alertText ='新邀请码';
- self.telPhone = res.msg;
- self.isToast = true;
- }else if(res.code =='-3'){
- self.toestText ='邀请码已被使用';
- self.alertText ='新邀请码';
- self.telPhone = res.msg;
- self.isToast = true;
- }else{
- uni.showToast({icon:'none', title: res.msg, duration: 3000});
- self.isUserInfo = false
- }
- })
- },
- showOpenError(){
- this.isOpenError = !this.isOpenError
- },
- // 三级联动选择
- showMulLinkageThreePicker() {
- this.isShowInput = true
- this.$refs.mpvueCityPicker.show()
- },
- onConfirm(e) {
- // console.log('地址',e);
- this.addressData.address = e.name;
- this.addressData.townID = e.cityCode;
- },
- bindPickerChange(e) {
- console.log('picker发送选择改变,携带值为:' + e.target.value)
- this.current=0
- this.isDepartment = false
- this.typtIndex = e.target.value
- this.isOrganizationType = e.target.value
- },
- radioChange(e) {
- let _value = e.target.value
- if( _value == '2' || _value == '3'){
- this.isDepartment = true
- }else{
- this.isDepartment = false
- }
- for (let i = 0; i < this.beautyList.length; i++) {
- if (this.beautyList[i].value === _value) {
- this.current = i;
- break;
- }
- }
- },
- chooseMaleLike(e){
- let items = this.mentuzCampList
- let values = e.detail.value
- for (var i = 0, lenI = items.length; i < lenI; ++i) {
- const item = items[i]
- if(values.indexOf(item.value) >= 0){
- this.$set(item,'checked',true)
- }else{
- this.$set(item,'checked',false)
- }
- }
- },
- chooseMaleLikes(e){
- let items = this.medicaCampList
- let values = e.detail.value
- for (var i = 0, lenI = items.length; i < lenI; ++i) {
- const item = items[i]
- if(values.indexOf(item.value) >= 0){
- this.$set(item,'checked',true)
- }else{
- this.$set(item,'checked',false)
- }
- }
- },
- onTextareaInput(e){
- this.addressData.addressDetail = e.detail.value;
- // console.log(this.addressData.addressDetail)
- },
- chooseBusinessImage() {
- let self = this;
- uni.chooseImage({
- count: 1, //默认1
- sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- const tempFilePaths = res.tempFilePaths;
- const uploadTask = uni.uploadFile({
- url : 'https://mall-b.caimei365.com/formData/MultiPictareaddData',
- filePath: tempFilePaths[0],
- name: 'file',
- formData: {
- 'user': 'test'
- },
- success: function (data) {
- console.log(data.data);
- self.uploadBusinessImage = res.tempFilePaths
- },
- error : function(e){
- console.log(e);
- }
- })
- },
-
- })
- },
- chooseMentuzImage() {
- let self = this;
- uni.chooseImage({
- count: 1, //默认1
- sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- const tempFilePaths = res.tempFilePaths;
- const uploadTask = uni.uploadFile({
- url : 'https://mall-b.caimei365.com/formData/MultiPictareaddData',
- filePath: tempFilePaths[0],
- name: 'file',
- formData: {
- 'user': 'test'
- },
- success: function (res) {
- console.log(res.data);
- self.uploadMentuzImage = res.data
- },
- error : function(e){
- console.log(e);
- }
- })
- }
- });
- },
- chooseMedicalImage() {
- let self = this;
- uni.chooseImage({
- count: 1, //默认1
- sizeType: ['compressed'], //可以指定是原图还是压缩图,默认二者都有
- sourceType: ['album','camera'], //从相册选择
- success: (res) => {
- const tempFilePaths = res.tempFilePaths;
- const uploadTask = uni.uploadFile({
- url : 'https://mall-b.caimei365.com/formData/MultiPictareaddData',
- filePath: tempFilePaths[0],
- name: 'file',
- formData: {
- 'user': 'test'
- },
- success: function (res) {
- console.log(res.data);
- self.uploadMedicalImage = res.data
- },
- error : function(e){
- console.log(e);
- }
- })
- }
- });
- },
- viewMentuzImage(e) {
- let self = this
- let mentuzArray = []
- mentuzArray.push(self.uploadMentuzImage)
- uni.previewImage({
- urls: mentuzArray,
- current: 0
- });
- },
- viewBusinessImage(e) {
- let self = this
- let businessArray = []
- businessArray.push(self.uploadBusinessImage)
- uni.previewImage({
- urls: businessArray,
- current: 0
- });
- },
- viewMedicalImage(e) {
- let self = this
- let medicalArray = []
- medicalArray.push(self.uploadMedicalImage)
- uni.previewImage({
- urls: self.medicalArray,
- current: 0
- });
- },
- delBusinessImage(){
- this.$util.modal('提示','确定删除营业执照图片吗?',true,() =>{
- this.uploadBusinessImage = ''
- })
- },
- delMentuzImage(){
- this.$util.modal('提示','确定删除门头照图片吗?',true,() =>{
- this.uploadMentuzImage = ''
- })
- },
- delMedicalImage(){
- this.$util.modal('提示','确定删除资质图片吗?',true,() =>{
- this.uploadMedicalImage = ''
- })
- },
- agreeCheck() {
- this.isCheck = !this.isCheck
- },
- onBlurInput(e){//
- if(e.detail.value ===''){
- this.isDisabled = true
- }else{
- this.isDisabled = false
- }
- },
- getEmailCode(){
- this.isDisabled = true
- },
- showAustomItem() {
- this.isShowAustomItem = !this.isShowAustomItem
- },
- addCustomItem(){
- if(this.isOrganizationType == 1){
- let item = {value:`${this.mentuzCampList.length+1}`,name:this.customItemValue}
- this.mentuzCampList.push(item)
- }else{
- let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue}
- this.medicaCampList.push(item)
- }
- },
- showTextarea() {
- this.isCompanyPprofile = false
- },
- showCheckPhone(){
- this.isShowCheckPhone = !this.isShowCheckPhone
- }
- }
- }
- </script>
- <style lang="scss">
- .register{
- width: 100%;
- height: auto;
- border-top: 1px solid #F7F7F7;
- .model-warp.none{
- display: none;
- }
- .model-warp.show{
- display: block;
- }
- .register-main{
- width: 100%;
- height: auto;
- &.detailed{
- padding-bottom: 300rpx;
- }
- &.first{
- padding-top: 40rpx;
- }
- .register-tips{
- display: flex;
- flex-direction: column;
- align-items: center;
- line-height: 44rpx;
- font-size: $font-size-24;
- color: #FF0000;
- margin-bottom: 40rpx;
- .iconfont{
- font-size: $font-size-24;
- }
- }
- .register-row{
- width: 702rpx;
- height: auto;
- padding: 0 24rpx;
- margin-bottom: 20rpx;
- .register-title{
- line-height: 60rpx;
- font-size: $font-size-32;
- color: $text-color;
- text-align: left;
- padding-left: 20rpx;
- .txt{
- font-size: $font-size-26;
- font-weight: normal;
- }
- }
- .row-btn{
- position: absolute;
- right: 24rpx;
- top: 0;
- line-height: 88rpx;
- text-align: center;
- font-size: $font-size-28;
- color: $color-system;
- }
- .register-from{
- width: 654rpx;
- height: 40rpx;
- padding: 24rpx;
- background: $sub-bg-color;
- border-radius: 14rpx;
- position: relative;
- .label{
- text-align: left;
- font-size: $font-size-28;
- color: #666666;
- line-height: 40rpx;
- float: left;
- }
- .row-input{
- width: 440rpx;
- padding-left:10rpx;
- font-size: $font-size-28;
- color: $text-color;
- line-height: 40rpx;
- float: left;
- height: 40rpx;
- &.none{
- color: #999999;
- }
- &.keshi{
- width: 550rpx;
- }
- }
- &.code{
- width: 410rpx;
- float: left;
- margin-right: 20rpx;
- .row-input{
- width: 390rpx;
- }
- }
- &.btn{
- width: 176rpx;
- float: left;
- .row-input{
- width: 176rpx;
- padding: 0;
- background: #F7F7F7;
- text-align: center;
- }
- &.none{
- background: $btn-confirm;
- .row-input{
- color: #FFFFFF;
- background: $btn-confirm;
- }
- }
- &.disabled{
- .row-input{
- color: #999999;
- }
- }
- }
- &.picker{
- padding: 0 24rpx;
- width: 654rpx;
- height: 88rpx;
- line-height: 88rpx;
- .label{
- line-height: 88rpx;
- }
- .row-input{
- width: 470rpx;
- height: 88rpx;
- line-height: 88rpx;
- padding-left: 30rpx;
- }
- }
- &.radio{
- padding: 0 24rpx;
- width: 654rpx;
- height: 288rpx;
- .row-input{
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- padding-left: 0;
- }
- .row-radio{
- float: left;
- }
- .row-text{
- width: 100rpx;
- text-align: center;
- float: left;
- }
- }
- &.group{
- padding: 0 24rpx;
- width: 654rpx;
- height: auto;
- background: #FFFFFF;
- margin-top: 30rpx;
- .row-input{
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- padding-left: 0;
- }
- .row-radio{
- float: left;
- }
- .row-text{
- width: 100rpx;
- text-align: center;
- float: left;
- }
- }
- &.btn{
- margin-top: 0;
- }
- .content-class {
- width: 520rpx;
- margin: 20rpx auto;
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- &.btn{
- margin: 0 auto;
- margin-left: 126rpx;
- }
- .row-input{
- display: flex;
- width: 220rpx;
- height: 40rpx;
- padding: 24rpx;
- text-align: left;
- border-radius: 10rpx;
- font-size: $font-size-28;
- color: $text-color;
- }
- .confirm-btn{
- width: 200rpx;
- height: 88rpx;
- border-radius: 10rpx;
- line-height: 88rpx;
- text-align: center;
- &.none{
- color: #FFFFFF;
- background: $btn-confirm;
- }
- &.disabled{
- color: #999999;
- }
- }
- .item {
- width: 156rpx;
- height: 60rpx;
- font-size:$font-size-28;
- line-height: 60rpx;
- border-radius:10rpx;
- margin-bottom: 20rpx;
- text-align: center;
- box-sizing: border-box;
- border: 1rpx solid #EFEFEF;
- checkbox {
- display: none;
- }
- }
- .on {
- border-color: $color-system;
- color:$color-system;
- }
- }
- }
- .icon-xiayibu{
- width: 88rpx;
- height: 88rpx;
- position: absolute;
- right: 0;
- top: 0;
- line-height: 88rpx;
- text-align: center;
- }
- &.text-textarea{
- background: #FFFFFF;
- .textarea{
- width: 654rpx;
- height: 180rpx;
- background: #F7F7F7;
- padding: 24rpx;
- font-size: $font-size-28;
- color: $text-color;
- z-index: 1;
- border-radius: 14rpx;
- }
- .textarea.hide{
- opacity: 0;
- }
- .textarea.show{
- color: #999999;
- }
- }
- }
- .register-picture{
- height: 102rpx;
- margin: 40rpx 0 0 0;
- .label{
- float: left;
- font-size: $font-size-28;
- color: $text-color;
- line-height: 102rpx;
- width: 150rpx;
- text-align: right;
- &.zz{
- width: 230rpx;
- }
- }
- .upload-picture{
- float: left;
- height: 100rpx;
- .upload-none{
- width: 100rpx;
- height: 100rpx;
- text-align: center;
- line-height: 100rpx;
- color: #999999;
- border: 1px solid #999999;
- border-radius: 10rpx;
- margin: 0 20rpx;
- .iconfont{
- font-size: $font-size-28;
- }
- }
- .upload-image{
- width: 100rpx;
- height: 100rpx;
- border-radius: 10rpx;
- margin: 0 20rpx;
- position: relative;
- image{
- width: 100rpx;
- height: 100rpx;
- border-radius: 10rpx;
- }
- .upload-del{
- width: 40rpx;
- height: 40rpx;
- position: absolute;
- top: -20rpx;
- right: -20rpx;
- line-height: 40rpx;
- text-align: center;
- .iconfont{
- font-size: $font-size-32;
- color: #999999;
- }
- }
- }
- }
- }
- .register-input{
- width: 654rpx;
- height: 40rpx;
- padding: 24rpx;
- margin: 0 auto;
- margin-bottom: 60rpx;
- background: #F7F7F7;
- border-radius: 14rpx;
- .input{
- width: 100%;
- height: 100%;
- background: #F7F7F7;
- font-size: $font-size-28;
- line-height: 40rpx;
- color: #333333;
- border-radius: 14rpx;
- }
- }
- .register-fiexd{
- width: 100%;
- height: auto;
- padding: 20rpx 0;
- position: fixed;
- bottom: 0;
- left: 0;
- z-index: 99;
- background: #FFFFFF;
- .register-agree{
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 32rpx 0;
- .agree-text{
- .checkbox{
- float: left;
- margin: 4rpx 6rpx 0 0;
- color: #999999;
- font-size: $font-size-32;
- &.icon-gouxuan{
- color: $color-system;
- }
- }
- font-size: 20rpx;
- line-height: 44rpx;
- color: #999999;
- text{
- color:#0091FF;
- }
- }
- }
- }
- .register-btn{
- width: 702rpx;
- height: 88rpx;
- border-radius: 14rpx;
- font-size: $font-size-28;
- line-height: 88rpx;
- color: #FFFFFF;
- margin: 0 auto;
- text-align: center;
- background: $btn-confirm;
- margin-top: 96rpx;
- &.none{
- background: #FFFFFF;
- color: $text-color;
- margin-top: 0;
- }
- &.sub{
- margin-top: 0;
- }
- }
- }
- }
- </style>
|