|
@@ -1,1148 +0,0 @@
|
|
|
-<template>
|
|
|
- <view class="container register" :style="{paddingTop:CustomBar+'px'}">
|
|
|
- <cu-custom :navbar-data='nvabarData' @navigateBack="hanldNavigateBack"></cu-custom>
|
|
|
- <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>
|
|
|
- <input class="row-input" type="text" v-model="clubContact" placeholder="请输入联系姓名" placeholder-class="placeholder" maxlength="6"/>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="register-row clearfix">
|
|
|
- <view class="register-from bordernone">
|
|
|
- <view class="label">手机号</view>
|
|
|
- <view class="row-input" placeholder="请输入手机号">{{ mobile }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="register-main clearfix" >
|
|
|
- <!-- v-if="userIdentity === 2" -->
|
|
|
- <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" name="input" v-model="email" placeholder="请输入邮箱地址"placeholder-class="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="clubName" placeholder="请输入您的机构名称" placeholder-class="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="abbreviation" placeholder="请输入您的机构简称" placeholder-class="placeholder" maxlength="10"/>
|
|
|
- </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="adddress show" v-if="isShowInput" placeholder-class="placeholder" @click="showTextareaFocus">{{addressData.addressDetail ? addressData.addressDetail :'详细地址:如道路、门牌号、小区等'}}</view>
|
|
|
- <textarea v-else
|
|
|
- class="adddress"
|
|
|
- type="text"
|
|
|
- v-model="addressData.addressDetail"
|
|
|
- placeholder="详细地址:如道路、门牌号、小区等"
|
|
|
- placeholder-class="placeholder"
|
|
|
- maxlength="25"
|
|
|
- @input="onTextareaInput"
|
|
|
- @focus="textareaFocus"
|
|
|
- @blur="hideTextareaFocus"
|
|
|
- :class="isShowInput ? '':''"
|
|
|
- />
|
|
|
- </view>
|
|
|
- <view class="register-row clearfix">
|
|
|
- <view class="register-from">
|
|
|
- <view class="label">营业执照编号</view>
|
|
|
- <input class="row-input" type="text" v-model="socialCreditCode" placeholder="请填写社会统一信用代码"placeholder-class="placeholder" maxlength="18"/>
|
|
|
- </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">
|
|
|
- <image src="https://static.caimei365.com/app/img/upload/club-zizhi.png"></image>
|
|
|
- </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">
|
|
|
- <image src="https://static.caimei365.com/app/img/upload/club-door.png"></image>
|
|
|
- </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 bordernone">
|
|
|
- <view class="label">机构类型</view>
|
|
|
- <view class="row-input">
|
|
|
- <radio-group @change="bindPickerChange">
|
|
|
- <label class="label-radio" v-for="(item, index) in typename" :key="item.value">
|
|
|
- <radio class="row-radio" :value="item.value" :checked="item.value === isOrganizationType" color='#E15616'/>{{item.name }}
|
|
|
- </label>
|
|
|
- </radio-group>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
|
- <view class="register-from bordernone second" >
|
|
|
- <view class="secondTyperadio" v-for="(item,index) in beautyList" :key="item.value" @click="radioChange(item)" :class="item.value==secondClubType?'active':''">
|
|
|
- <view class="secondRadio" >{{item.name}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
|
- <view class="register-picture zz">
|
|
|
- <view class="label zz">医疗执业许可证</view>
|
|
|
- <view class="upload-picture">
|
|
|
- <view class="upload-none" v-if="uploadMedicalImage == ''||uploadMedicalImage == null" @click="chooseMedicalImage">
|
|
|
- <image src="https://static.caimei365.com/app/img/upload/club-yiliao.png"></image>
|
|
|
- </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-show="isDepartment">
|
|
|
- <view class="register-from bordernone" >
|
|
|
- <view class="kes-title" >科室</view>
|
|
|
- <textarea class="keshi" placeholder="请填写经营的科室,至少三个,用逗号隔开" placeholder-style="placeholder" v-model="department" maxlength="16"></textarea>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
|
- <view class="register-from group bordernone">
|
|
|
- <view class="label">主营内容</view>
|
|
|
- <view class="content-class">
|
|
|
- <checkbox-group @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>
|
|
|
- <!-- <view class="register-from group btn">
|
|
|
- <view class="content-class btn">
|
|
|
- <view class="item" @click="showAustomItem">
|
|
|
- <text class="item-text">其他</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- v-show="isShowAustomItem"-->
|
|
|
- <view class="register-from group btn">
|
|
|
- <view class="content-class btn">
|
|
|
- <input class="row-input other" type="text" v-model="customItemValue" placeholder="请输入自定义项目" placeholder-class="placeholder" maxlength="5"/>
|
|
|
- <button type="default"
|
|
|
- class="confirm-btn"
|
|
|
- @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>
|
|
|
- <view class="content-class">
|
|
|
- <checkbox-group @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>
|
|
|
- <!-- <view class="register-from group btn">
|
|
|
- <view class="content-class btn">
|
|
|
- <view class="item" @click="showAustomItem">
|
|
|
- <text class="item-text">其他</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- v-show="isShowAustomItem"-->
|
|
|
- <view class="register-from group btn" >
|
|
|
- <view class="content-class btn">
|
|
|
- <input class="row-input other" type="text" v-model="customItemValue" placeholder="请输入自定义项目" placeholder-class="placeholder" maxlength="5"/>
|
|
|
- <button type="default"
|
|
|
- class="confirm-btn"
|
|
|
- @click.stop="addCustomItem"
|
|
|
- >确认添加</button>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <mpvue-city-picker :themeColor="themeColor"
|
|
|
- ref="mpvueCityPicker"
|
|
|
- :pickerValueDefault="cityPickerValueDefault"
|
|
|
- @onCancel="onCancel"
|
|
|
- @onConfirm="onConfirm">
|
|
|
- </mpvue-city-picker>
|
|
|
- </view>
|
|
|
- <view class="register-main detailed clearfix">
|
|
|
- <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="clubTelePhone" placeholder="请填写机构的固定电话" placeholder-class="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="clubFax" placeholder="请填写机构的传真" placeholder-class="placeholder" maxlength="15"/>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="register-row text-textarea clearfix">
|
|
|
- <view class="label">公司介绍</view>
|
|
|
- <textarea class="textarea"
|
|
|
- type="text"
|
|
|
- v-model="companyPprofile"
|
|
|
- placeholder="请填写公司简介,最多500字"
|
|
|
- placeholder-class="placeholder"
|
|
|
- maxlength="500"
|
|
|
- @input="onTextareaInputInfo"
|
|
|
- :class="isShowInput ? '':''"
|
|
|
- />
|
|
|
- </view>
|
|
|
- <view class="register-fiexd clearfix" :style="{paddingBottom :isIphoneX ? '68rpx' : '36rpx'}">
|
|
|
- <view class="register-row">
|
|
|
- <view class="register-btn sub" @click.stop="organizationUpdateInfo">确定</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
- import { mapMutations } from 'vuex';
|
|
|
- import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
|
|
|
- import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
|
|
|
- import { getClubMobileCode,getClubNewMobileCode,uploadFileImage } from "@/services/public.js"
|
|
|
- var self;
|
|
|
- export default{
|
|
|
- components:{
|
|
|
- mpvueCityPicker
|
|
|
- },
|
|
|
- data() {
|
|
|
- return{
|
|
|
- nvabarData: {//顶部自定义导航
|
|
|
- showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
|
|
|
- showSearch: 0,
|
|
|
- title: '修改资料', // 导航栏 中间的标题
|
|
|
- haveBack:true,
|
|
|
- textLeft:this.$store.state.isIphone
|
|
|
- },
|
|
|
- isIphoneX:this.$store.state.isIphoneX,
|
|
|
- CustomBar:this.CustomBar,// 顶部导航栏高度
|
|
|
- isPreviewImage:false, //预览图片开关
|
|
|
- userID:'', //用户ID
|
|
|
- clubID:'', //会所ID
|
|
|
- userIdentity:'', //机构用户类型
|
|
|
- email:'', //邮箱
|
|
|
- clubName:'', //机构名称
|
|
|
- abbreviation:'', //机构简称
|
|
|
- clubContact:'', //联系人
|
|
|
- mobile:'', //联系人手机号
|
|
|
- socialCreditCode:'', //统一社会信用代码
|
|
|
- isDisabled:true,
|
|
|
- isShowInput:true,
|
|
|
- textareaFocus:false,
|
|
|
- uploadBusinessImage:'', //营业执照图片
|
|
|
- uploadMentuzImage:'', //门头照图片
|
|
|
- uploadMedicalImage:'', //资质照图片
|
|
|
- department:'', //科室
|
|
|
- isDepartment:false, //是否显示科室
|
|
|
- secondClubType:'', //机构类型二级分类
|
|
|
- mainpro:'', //主营内容
|
|
|
- clubTelePhone:'', //固定电话
|
|
|
- clubFax:'', //传真
|
|
|
- companyPprofile:'', //公司简介
|
|
|
- firstClubType:'', //机构类型
|
|
|
- isOrganizationType:0,
|
|
|
- organizationTypeText:'请选择机构类型',
|
|
|
- beautyList:beautyList,
|
|
|
- mentuzCampNullList:mentuzCampNullList,
|
|
|
- medicaCampNullList:medicaCampNullList,
|
|
|
- mentuzCampList:[],
|
|
|
- medicaCampList:[],
|
|
|
- typtIndex:0,
|
|
|
- organizationType:0,
|
|
|
- current:0,
|
|
|
- isShowAustomItem:false, //是否显示其他添加
|
|
|
- customItemValue:'', //自定义项目
|
|
|
- isMainproCheck:false,
|
|
|
- addressData:{
|
|
|
- address:'请选择机构所在地区',
|
|
|
- townID:'', //区ID
|
|
|
- cityID:'', //市ID
|
|
|
- provinceID:'', //省ID
|
|
|
- addressDetail: '', //地址详情
|
|
|
- },
|
|
|
- typename:[
|
|
|
- {name:'医美',value:'1'},
|
|
|
- {name:'生美',value:'2'}
|
|
|
- ],
|
|
|
- }
|
|
|
- },
|
|
|
- onLoad(option) {
|
|
|
- this.organizationInfo()
|
|
|
- },
|
|
|
- methods:{
|
|
|
- hanldNavigateBack(){
|
|
|
- this.$util.modal('','确定放弃本次修改吗?','确定','取消',true,() =>{
|
|
|
- uni.navigateBack({
|
|
|
- delta: 1
|
|
|
- });
|
|
|
- })
|
|
|
- },
|
|
|
- organizationInfo(){
|
|
|
- this.$api.getStorage().then((resolve) =>{
|
|
|
- this.userID = resolve.userID
|
|
|
- this.UserService.OrganizationUpdateModifyInfo({userID:this.userID}).then(response =>{
|
|
|
- let organizationClub = response.data.club
|
|
|
- let organizationUser = response.data.user
|
|
|
- this.email = organizationUser.email ? organizationUser.email :''
|
|
|
- this.clubID = organizationUser.clubID
|
|
|
- this.userIdentity = organizationUser.userIdentity
|
|
|
- this.clubName = organizationClub.name ? organizationClub.name : ''
|
|
|
- this.clubContact = organizationClub.linkMan1
|
|
|
- this.mobile = organizationUser.bindMobile ? organizationUser.bindMobile : ''
|
|
|
- this.abbreviation = this.$reg.checkData(organizationClub.sname)
|
|
|
- if( organizationClub.provinceID == null ){
|
|
|
- this.addressData.provinceID = ''
|
|
|
- }else{
|
|
|
- this.addressData.provinceID = organizationClub.provinceID
|
|
|
- }
|
|
|
- if( organizationClub.cityID == null ){
|
|
|
- this.addressData.cityID = ''
|
|
|
- }else{
|
|
|
- this.addressData.cityID = organizationClub.cityID
|
|
|
- }
|
|
|
- if( organizationClub.townID == null ){
|
|
|
- this.addressData.townID = ''
|
|
|
- }else{
|
|
|
- this.addressData.townID = organizationClub.townID
|
|
|
- }
|
|
|
- this.addressData.addressDetail = organizationClub.address ? organizationClub.address : ''
|
|
|
- this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
|
|
|
- this.firstClubType = organizationClub.firstClubType
|
|
|
- this.secondClubType = this.$reg.checkData(organizationClub.secondClubType)
|
|
|
- this.addressData.address = organizationClub.provincialAddress ? organizationClub.provincialAddress : ''
|
|
|
- this.uploadBusinessImage = this.$reg.checkData(organizationClub.businessLicenseImage)
|
|
|
- this.uploadMedicalImage = this.$reg.checkData(organizationClub.medicalPracticeLicenseImg)
|
|
|
- this.uploadMentuzImage = this.$reg.checkData(organizationClub.headpic)
|
|
|
- this.department = organizationClub.department
|
|
|
- this.clubTelePhone = this.$reg.checkData(organizationClub.contractPhone)
|
|
|
- this.clubFax = this.$reg.checkData(organizationClub.fax)
|
|
|
- this.companyPprofile = this.$reg.checkData(organizationClub.info)
|
|
|
- //机构类型&&主营项目
|
|
|
- switch(this.firstClubType){
|
|
|
- case '1':
|
|
|
- this.organizationTypeText = '医美'
|
|
|
- this.isOrganizationType = 1
|
|
|
- break;
|
|
|
- case '2':
|
|
|
- this.organizationTypeText = '生美'
|
|
|
- this.isOrganizationType = 2
|
|
|
- break;
|
|
|
- case null:
|
|
|
- this.organizationTypeText = '请选择机构类型'
|
|
|
- this.isOrganizationType = 0
|
|
|
- break;
|
|
|
- }
|
|
|
- if(organizationClub.mainpro == "" || organizationClub.mainpro == null){
|
|
|
- this.mentuzCampList = this.mentuzCampNullList
|
|
|
- this.medicaCampList = this.medicaCampNullList
|
|
|
- }else{
|
|
|
- if(this.firstClubType == '1'){
|
|
|
- this.mentuzCampList = this.setNewMainpro(organizationClub.mainpro)
|
|
|
- this.medicaCampList = this.medicaCampNullList
|
|
|
- }else{
|
|
|
- this.medicaCampList = this.setNewMainpro(organizationClub.mainpro)
|
|
|
- this.mentuzCampList = this.mentuzCampNullList
|
|
|
- }
|
|
|
- }
|
|
|
- //机构类型
|
|
|
- switch(this.secondClubType){
|
|
|
- case '1':this.current = 0;break;
|
|
|
- case '2':this.current = 1;this.isDepartment=true;break;
|
|
|
- case '3':this.current = 2;this.isDepartment=true;break;
|
|
|
- }
|
|
|
- }).catch(error =>{
|
|
|
- this.$util.msg(error.msg,2000)
|
|
|
- })
|
|
|
- })
|
|
|
- },
|
|
|
- organizationUpdateInfo(){//提交审核
|
|
|
- let params = {}
|
|
|
- if(this.userIdentity === 4){
|
|
|
- params = {
|
|
|
- userID:this.userID,
|
|
|
- clubID:this.clubID, //会所ID
|
|
|
- linkMan1:this.clubContact,
|
|
|
- fax:this.clubFax,
|
|
|
- contractPhone:this.clubTelePhone,
|
|
|
- info : this.companyPprofile,
|
|
|
- }
|
|
|
- }else{
|
|
|
- if(!this.isMainproCheck){
|
|
|
- let mainproList = []
|
|
|
- if(this.firstClubType == '1'){
|
|
|
- this.mentuzCampList.forEach(item =>{
|
|
|
- mainproList.push(item.name)
|
|
|
- })
|
|
|
- }else{
|
|
|
- this.medicaCampList.forEach(item =>{
|
|
|
- mainproList.push(item.name)
|
|
|
- })
|
|
|
- }
|
|
|
- this.mainpro = mainproList.join('/')
|
|
|
- }
|
|
|
- params = {
|
|
|
- userID:this.userID,
|
|
|
- clubID:this.clubID, //会所ID
|
|
|
- name:this.clubName,
|
|
|
- linkMan1:this.clubContact,
|
|
|
- sname:this.abbreviation,
|
|
|
- contractEmail1:this.email,
|
|
|
- provinceID:this.addressData.provinceID,
|
|
|
- cityID:this.addressData.cityID,
|
|
|
- townID:this.addressData.townID,
|
|
|
- address:this.addressData.addressDetail,
|
|
|
- socialCreditCode:this.socialCreditCode,
|
|
|
- businessLicenseImage:this.uploadBusinessImage,
|
|
|
- headpic:this.uploadMentuzImage,
|
|
|
- firstClubType:this.isOrganizationType, //机构类型分类 医美:0和生美:1
|
|
|
- secondClubType:this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
|
|
|
- department:this.department, //科室
|
|
|
- medicalPracticeLicenseImg:this.uploadMedicalImage,//资质图片
|
|
|
- mainpro:this.mainpro,
|
|
|
- fax:this.clubFax,
|
|
|
- contractPhone:this.clubTelePhone,
|
|
|
- info : this.companyPprofile
|
|
|
- }
|
|
|
- }
|
|
|
- this.UserService.OrganizationUpdate(params).then(response =>{
|
|
|
- this.$util.msg('修改成功',2000,true,'success')
|
|
|
- setTimeout(()=>{
|
|
|
- uni.navigateBack();
|
|
|
- },2000)
|
|
|
- }).catch(error =>{
|
|
|
- this.$util.msg(error.msg,2000);
|
|
|
- })
|
|
|
- },
|
|
|
- // 三级联动选择
|
|
|
- showMulLinkageThreePicker() {
|
|
|
- this.isShowInput = true
|
|
|
- this.$refs.mpvueCityPicker.show()
|
|
|
- },
|
|
|
- onConfirm(e) {
|
|
|
- this.addressData.address = e.name;
|
|
|
- this.addressData.townID = e.townCode;
|
|
|
- this.addressData.cityID = e.cityCode;
|
|
|
- this.addressData.provinceID = e.provinceCode;
|
|
|
- },
|
|
|
- onTextareaInput(e){//文本框获取焦点
|
|
|
- this.addressData.addressDetail = e.detail.value;
|
|
|
- },
|
|
|
- showTextareaFocus(){//文本框获取焦点
|
|
|
- this.isShowInput = false
|
|
|
- this.textareaFocus = true
|
|
|
- },
|
|
|
- hideTextareaFocus(){//文本框失去焦点
|
|
|
- this.isShowInput = true
|
|
|
- this.textareaFocus = false
|
|
|
- },
|
|
|
- onTextareaInputInfo(e){
|
|
|
- this.companyPprofile = e.detail.value;
|
|
|
- },
|
|
|
- chooseBusinessImage() {//营业执照图片上传
|
|
|
- uploadFileImage().then(res =>{
|
|
|
- this.uploadBusinessImage = JSON.parse(res.data).data
|
|
|
- })
|
|
|
- },
|
|
|
- chooseMentuzImage() {//门头照图片上传
|
|
|
- uploadFileImage().then(res =>{
|
|
|
- this.uploadMentuzImage = JSON.parse(res.data).data
|
|
|
- })
|
|
|
- },
|
|
|
- chooseMedicalImage() {//资质照图片上传
|
|
|
- uploadFileImage().then(res =>{
|
|
|
- this.uploadMedicalImage = JSON.parse(res.data).data
|
|
|
- })
|
|
|
- },
|
|
|
- viewBusinessImage(e) {
|
|
|
- this.myPreviewImageFn(this.uploadBusinessImage)
|
|
|
- },
|
|
|
- viewMentuzImage(e) {
|
|
|
- this.myPreviewImageFn(this.uploadMentuzImage)
|
|
|
- },
|
|
|
- viewMedicalImage(e) {
|
|
|
- this.myPreviewImageFn(this.uploadMedicalImage)
|
|
|
- },
|
|
|
- myPreviewImageFn(url){
|
|
|
- this.isPreviewImage = true
|
|
|
- let mentuzArray = []
|
|
|
- mentuzArray.push(url)
|
|
|
- uni.previewImage({
|
|
|
- urls: mentuzArray,
|
|
|
- current: 0
|
|
|
- });
|
|
|
- },
|
|
|
- delBusinessImage(){
|
|
|
- this.$util.modal('','确定删除营业执照图片吗?','确定','取消',true,() =>{
|
|
|
- this.uploadBusinessImage = ''
|
|
|
- })
|
|
|
- },
|
|
|
- delMentuzImage(){
|
|
|
- this.$util.modal('','确定删除门头照图片吗?','确定','取消',true,() =>{
|
|
|
- this.uploadMentuzImage = ''
|
|
|
- })
|
|
|
- },
|
|
|
- delMedicalImage(){
|
|
|
- this.$util.modal('','确定删除资质图片吗?','确定','取消',true,() =>{
|
|
|
- this.uploadMedicalImage = ''
|
|
|
- })
|
|
|
- },
|
|
|
- bindPickerChange(e) {
|
|
|
- this.isOrganizationType = e.target.value;
|
|
|
- // let self = this
|
|
|
- // uni.showActionSheet({
|
|
|
- // title:'标题',
|
|
|
- // itemList: ['医美', '生美'],
|
|
|
- // success: (e) => {
|
|
|
- // self.isOrganizationType = e.tapIndex+1
|
|
|
- // switch(e.tapIndex){
|
|
|
- // case 0:
|
|
|
- // this.organizationTypeText = '医美'
|
|
|
- // break;
|
|
|
- // case 1:
|
|
|
- // this.organizationTypeText = '生美'
|
|
|
- // break;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
-
|
|
|
- },
|
|
|
- bindPickerChange2(e) {
|
|
|
- this.typtIndex = e.target.value
|
|
|
- this.isOrganizationType = e.target.value
|
|
|
- },
|
|
|
- radioChange(item) {
|
|
|
- this.secondClubType =item.value;
|
|
|
- if( this.secondClubType == '2' || this.secondClubType == '3'){
|
|
|
- this.isDepartment = true
|
|
|
- }else{
|
|
|
- this.isDepartment = false
|
|
|
- }
|
|
|
- for (let i = 0; i < this.beautyList.length; i++) {
|
|
|
- if (this.beautyList[i].value === this.secondClubType) {
|
|
|
- this.current = i;
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- chooseMaleLike(e){
|
|
|
- this.isMainproCheck = true
|
|
|
- this.mainpro = this.checkLikes(e,this.mentuzCampList)
|
|
|
- },
|
|
|
- chooseMaleLikes(e){
|
|
|
- this.isMainproCheck = true
|
|
|
- this.mainpro = this.checkLikes(e,this.medicaCampList)
|
|
|
- },
|
|
|
- checkLikes(e,list){
|
|
|
- let values = e.detail.value
|
|
|
- let arr = []
|
|
|
- list.forEach(item => {
|
|
|
- if(values.indexOf(item.value) >= 0){
|
|
|
- this.$set(item,'checked',true)
|
|
|
- arr.push(item.name)
|
|
|
- }else{
|
|
|
- this.$set(item,'checked',false)
|
|
|
- }
|
|
|
- })
|
|
|
- return arr.join('/')
|
|
|
- },
|
|
|
- onBlurInput(e){//
|
|
|
- if(e.detail.value ===''){
|
|
|
- this.isDisabled = true
|
|
|
- }else{
|
|
|
- this.isDisabled = false
|
|
|
- }
|
|
|
- },
|
|
|
- showAustomItem() {
|
|
|
- this.isShowAustomItem = !this.isShowAustomItem
|
|
|
- },
|
|
|
- setNewMainpro(arr){//回显处理主营内容
|
|
|
- let _ARRAY = []
|
|
|
- arr.split('/').forEach((item,index) =>{
|
|
|
- let _OBJ = {value:(index+1).toString(),name:item,checked:true}
|
|
|
- _ARRAY.push(_OBJ)
|
|
|
- })
|
|
|
- return _ARRAY
|
|
|
- },
|
|
|
- addCustomItem(){
|
|
|
- if(this.customItemValue==''){
|
|
|
- this.$util.msg('请输入自定义项目',2000);
|
|
|
- }else{
|
|
|
- if(this.isOrganizationType == 1){
|
|
|
- let item = {value:`${this.mentuzCampList.length+1}`,name:this.customItemValue,checked:true}
|
|
|
- if(this.checkedArray(this.customItemValue,this.mentuzCampList)){
|
|
|
- this.$util.msg('主营内容已存在!',2000)
|
|
|
- }else{
|
|
|
- this.mentuzCampList.push(item)
|
|
|
- }
|
|
|
- }else{
|
|
|
- let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue,checked:true}
|
|
|
- if(this.checkedArray(this.customItemValue,this.medicaCampList)){
|
|
|
- this.$util.msg('主营内容已存在!',2000)
|
|
|
- }else{
|
|
|
- this.medicaCampList.push(item)
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- checkedArray(content,arr){//判断主营内容是否已存在
|
|
|
- console.log(content,arr)
|
|
|
- for(var i in arr){
|
|
|
- if(arr[i].name == content){
|
|
|
- return true;
|
|
|
- }
|
|
|
- }
|
|
|
- return false;
|
|
|
- },
|
|
|
- },
|
|
|
- onShow() {
|
|
|
- this.$api.getStorage().then((resolve) =>{
|
|
|
- this.userIdentity = resolve.userIdentity
|
|
|
- })
|
|
|
- if(this.isPreviewImage){
|
|
|
- this.isPreviewImage = false
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-</script>
|
|
|
-
|
|
|
-<style lang="scss">
|
|
|
- .placeholder{color:#b2b2b2 ;}
|
|
|
- .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;
|
|
|
- }
|
|
|
- .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{
|
|
|
- height: auto;
|
|
|
- margin-bottom: 20rpx;
|
|
|
- .secondTyperadio{
|
|
|
- border: 2rpx solid #e1e1e1;
|
|
|
- display: inline-block;
|
|
|
- font-size: 26rpx;
|
|
|
- color: #999999;
|
|
|
- padding: 0 24rpx;
|
|
|
- border-radius: 22rpx;
|
|
|
- line-height: 42rpx;
|
|
|
- margin-right: 56rpx;
|
|
|
- float: left;
|
|
|
- &.active{
|
|
|
- border: 2rpx solid #ffe6dc;
|
|
|
- color: $color-system;
|
|
|
- }
|
|
|
- }
|
|
|
- .register-title{
|
|
|
- line-height: 80rpx;
|
|
|
- font-size: $font-size-30;
|
|
|
- color: $text-color;
|
|
|
- text-align: left;
|
|
|
- padding-left: 20rpx;
|
|
|
- background: #f7f7f7;
|
|
|
- font-weight: bold;
|
|
|
- .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: 702rpx;
|
|
|
- height: 88rpx;
|
|
|
- margin:0 24rpx;
|
|
|
- position: relative;
|
|
|
- border-bottom: 2rpx solid #e1e1e1;
|
|
|
- box-sizing: border-box;
|
|
|
- .keshi{
|
|
|
- width: 678rpx;
|
|
|
- border: 2rpx solid #b2b2b2;
|
|
|
- border-radius: 6rpx;
|
|
|
- height: 160rpx;
|
|
|
- font-size: $font-size-28;
|
|
|
- padding: 10rpx;
|
|
|
- }
|
|
|
- &.bordernone{
|
|
|
- border: none;
|
|
|
- height: auto;
|
|
|
- }
|
|
|
- &.second{
|
|
|
- padding-left: 160rpx;
|
|
|
- }
|
|
|
- .label{
|
|
|
- text-align: left;
|
|
|
- font-size: $font-size-28;
|
|
|
- color: #666666;
|
|
|
- line-height: 88rpx;
|
|
|
- float: left;
|
|
|
- }
|
|
|
- .kes-title{
|
|
|
- font-size: $font-size-28;
|
|
|
- color: #666666;
|
|
|
- line-height: 88rpx;
|
|
|
- }
|
|
|
- .row-input{
|
|
|
- width: 520rpx;
|
|
|
- padding-left:10rpx;
|
|
|
- font-size: $font-size-28;
|
|
|
- color: $text-color;
|
|
|
- line-height: 88rpx;
|
|
|
- float: right;
|
|
|
- height: 88rpx;
|
|
|
- &.none{
|
|
|
- color: #999999;
|
|
|
- }
|
|
|
- &.picker{
|
|
|
- text-align: left;
|
|
|
- color: #333333;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- &.code{
|
|
|
- width: 410rpx;
|
|
|
- float: left;
|
|
|
- margin-right: 20rpx;
|
|
|
- .row-input{
|
|
|
- width: 390rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- &.btn{
|
|
|
- width: 224rpx;
|
|
|
- height: 88rpx;
|
|
|
- float: left;
|
|
|
- background: $btn-confirm;
|
|
|
- padding: 0;
|
|
|
- .row-input{
|
|
|
- width: 224rpx;
|
|
|
- height: 88rpx;
|
|
|
- line-height: 88rpx;
|
|
|
- padding: 0;
|
|
|
- color: #FFFFFF;
|
|
|
- background: $btn-confirm;
|
|
|
- text-align: center;
|
|
|
- border-radius: 14rpx;
|
|
|
- &.other{
|
|
|
- width: 300rpx;
|
|
|
- background: #FFF;
|
|
|
- margin-right: 20rpx;
|
|
|
- border: 2rpx solid #b2b2b2;
|
|
|
- border-radius: 44rpx;
|
|
|
- padding: 0 24rpx;
|
|
|
- height: 64rpx;
|
|
|
- line-height: 64rpx;
|
|
|
- }
|
|
|
- &.none{
|
|
|
- background: #F7F7F7;
|
|
|
- }
|
|
|
- }
|
|
|
- &.disabled{
|
|
|
- background: #F7F7F7;
|
|
|
- .row-input{
|
|
|
- background: #F7F7F7;
|
|
|
- color: #999999;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- &.picker{
|
|
|
- width: 654rpx;
|
|
|
- height: 88rpx;
|
|
|
- line-height: 88rpx;
|
|
|
- .label{
|
|
|
- line-height: 88rpx;
|
|
|
- }
|
|
|
- .label-radio{margin-right: 70rpx;}
|
|
|
- .row-radio{
|
|
|
- transform: scale(.8);
|
|
|
- }
|
|
|
- .row-input{
|
|
|
- width: 500rpx;
|
|
|
- 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;
|
|
|
- transform: scale(0.8);
|
|
|
- }
|
|
|
- .row-text{
|
|
|
- width: 100rpx;
|
|
|
- text-align: center;
|
|
|
- float: left;
|
|
|
- }
|
|
|
- }
|
|
|
- &.group{
|
|
|
- padding: 0 24rpx;
|
|
|
- width: 702rpx;
|
|
|
- height: auto;
|
|
|
- background: #FFFFFF;
|
|
|
- margin-top: 30rpx;
|
|
|
- border: 0;
|
|
|
- .label{
|
|
|
- line-height: 76rpx;
|
|
|
- }
|
|
|
- .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 {
|
|
|
- margin: 20rpx auto;
|
|
|
- display: flex;
|
|
|
- flex-flow: row wrap;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- &.btn{
|
|
|
- margin: 0 auto;
|
|
|
- margin-left: 116rpx;
|
|
|
- }
|
|
|
- .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: 160rpx;
|
|
|
- height: 64rpx;
|
|
|
- border-radius: 10rpx;
|
|
|
- border-radius: 45rpx;
|
|
|
- line-height: 64rpx;
|
|
|
- text-align: center;
|
|
|
- background: #ffe6dc;
|
|
|
- color: $color-system;
|
|
|
- &.other{
|
|
|
- width: 213rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- .item {
|
|
|
- height: 60rpx;
|
|
|
- font-size:$font-size-28;
|
|
|
- line-height: 60rpx;
|
|
|
- border-radius:10rpx;
|
|
|
- margin-left: 40rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- float: left;
|
|
|
- }
|
|
|
- .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;
|
|
|
- color: #b2b2b2;
|
|
|
- }
|
|
|
- &.text-textarea{
|
|
|
- background: #FFFFFF;
|
|
|
- margin: 0 24rpx;
|
|
|
- .label{
|
|
|
- color: #666666;
|
|
|
- font-size: $font-size-28;
|
|
|
- line-height: 88rpx;
|
|
|
- }
|
|
|
- .textarea{
|
|
|
- width: 654rpx;
|
|
|
- height: 200rpx;
|
|
|
- // background: #F7F7F7;
|
|
|
- padding: 24rpx;
|
|
|
- font-size: $font-size-28;
|
|
|
- color: $text-color;
|
|
|
- z-index: 1;
|
|
|
- border-radius: 6rpx;
|
|
|
- border: 2rpx solid #b2b2b2;
|
|
|
- }
|
|
|
- .adddress{
|
|
|
- height: 147rpx;
|
|
|
- border-bottom: 2rpx solid #e1e1e1;
|
|
|
- font-size: $font-size-28;
|
|
|
- color: $text-color;
|
|
|
- padding: 24rpx;
|
|
|
- }
|
|
|
- .textarea.hide{
|
|
|
- opacity: 0;
|
|
|
- }
|
|
|
- .textarea.show{
|
|
|
- color: #999999;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .register-picture{
|
|
|
- // height: 102rpx;
|
|
|
- margin: 30rpx 0;
|
|
|
- // width: 42%;
|
|
|
- // float: left;
|
|
|
- &.zz{
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
- .label{
|
|
|
- // float: left;
|
|
|
- font-size: $font-size-28;
|
|
|
- color: #666666;
|
|
|
- line-height: 102rpx;
|
|
|
- // width: 150rpx;
|
|
|
- padding: 0 24rpx;
|
|
|
- // text-align: left;
|
|
|
- &.zz{
|
|
|
- width: 230rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- .upload-picture{
|
|
|
- // float: left;
|
|
|
- height: 180rpx;
|
|
|
- width: 200rpx;
|
|
|
- .upload-none{
|
|
|
- width: 200rpx;
|
|
|
- height: 180rpx;
|
|
|
- text-align: center;
|
|
|
- line-height: 100rpx;
|
|
|
- color: #999999;
|
|
|
- // border: 1px solid #999999;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin: 0 20rpx;
|
|
|
- // .iconfont{
|
|
|
- // font-size: $font-size-28;
|
|
|
- // }
|
|
|
- image{
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
- }
|
|
|
- .upload-image{
|
|
|
- width: 200rpx;
|
|
|
- height: 180rpx;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin: 0 20rpx;
|
|
|
- position: relative;
|
|
|
- image{
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- 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: 600rpx;
|
|
|
- height: 88rpx;
|
|
|
- border-radius: 44rpx;
|
|
|
- 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;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- checkbox .wx-checkbox-input{
|
|
|
- border-radius: 50%;
|
|
|
- width: 36rpx;
|
|
|
- height: 36rpx;
|
|
|
- }
|
|
|
- /* 选中后的 背景样式 */
|
|
|
- checkbox .wx-checkbox-input.wx-checkbox-input-checked{
|
|
|
- background: #E15616;
|
|
|
- border: 2rpx solid #e15616;
|
|
|
- }
|
|
|
- checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{
|
|
|
- border-radius: 50%;
|
|
|
- width: 36rpx;
|
|
|
- height: 36rpx;
|
|
|
- line-height: 36rpx;
|
|
|
- text-align: center;
|
|
|
- font-size:20rpx;
|
|
|
- color:#fff;
|
|
|
- transform:scale(.8);
|
|
|
- -webkit-transform:translate(-50%, -50%) scale(1);
|
|
|
- }
|
|
|
-</style>
|