|
@@ -1,51 +1,302 @@
|
|
|
<template>
|
|
|
- <view class="container login">
|
|
|
- <view class="login-main">
|
|
|
- <image class="logo" src="../../static/login-logo@3x.png" mode=""></image>
|
|
|
- <text class="logo-text">生美/医美采购服务平台</text>
|
|
|
- </view>
|
|
|
- <view class="login-input">
|
|
|
- <input type="number"
|
|
|
- v-model="invitationCode"
|
|
|
- maxlength="6"
|
|
|
- class="input"
|
|
|
- placeholder="请输入邀请码"
|
|
|
- />
|
|
|
+ <view class="container register">
|
|
|
+ <view class="register-error clearfix">
|
|
|
+ <view class="error-top animation" @click="showOpenError" :class="{'error-top--none': isOpenError}" >
|
|
|
+ <view class="name">审核未通过原因:</view>
|
|
|
+ <view class="icon">{{isOpenError ? '' : '查看详情'}}<text class="iconfont icon-xiangxiajiantou" :class="{'icon-xiangxiajiantou-active':isOpenError}"></text></view>
|
|
|
+ </view>
|
|
|
+ <view class="error-main animation" :class="{'error-main--hide':!isOpenError}"
|
|
|
+ :style="{'transform':isOpenError?'translateY(0)':'translateY(-50%)','-webkit-transform':isOpenError?'translateY(0)':'translateY(-50%)'}">
|
|
|
+ <view class="error-main-list">
|
|
|
+ <view class="item" v-for="(item, index) in errorList" :key="index">
|
|
|
+ <text class="num">{{index+1}}.</text>
|
|
|
+ <text>{{item.text}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="login-btn" @click="goLogin">登录</view>
|
|
|
- <view v-if="isToast" class="model-warp" >
|
|
|
- <view class="model-alert clearfix">
|
|
|
- <view class="alert-content">
|
|
|
- <view class="t-h1">{{toestText}}</view>
|
|
|
- <view class="t-p">请联系客服获取{{alertText}}后再登录,联系电话{{telPhone}}</view>
|
|
|
+ <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="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 class="alert-btn">
|
|
|
- <view class="btn btn-confirm" @click="hideToast">确定</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 === true ? '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 === true ? 'disabled' : 'none']">
|
|
|
+ <button class="row-input" type="button" @click.stop="getEmailCode" :disabled="isDisabled">获取验证码</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 授权按钮 -->
|
|
|
- <view class="model-warp" :class="[isUserInfo===false ? 'none':'show']">
|
|
|
- <view class="model-alert">
|
|
|
- <view class="alert-content">
|
|
|
- <view class="t-p">采美采购商城需要获取您的微信授权才能正常提供服务</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 class="alert-btn">
|
|
|
- <view class="btn btn-cancel" @click="hideModel">取消</view>
|
|
|
- <button type="primary" size="small" open-type="getUserInfo" lang="zh_CN" @getuserinfo="getuserinfo" class="btn btn-confirm">授权</button>
|
|
|
+ </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 === true ? '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 === true ? 'disabled' : 'none']"
|
|
|
+ :disabled="isDisabled"
|
|
|
+ @click.stop="addCustomItem"
|
|
|
+ >确认添加</button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </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:false,
|
|
|
+ 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:'', //自定义项目
|
|
|
invitationCode:'', //获取用户登录的邀请码
|
|
|
isToast:false, //控制显示未输入邀请码提示
|
|
|
isUserInfo:false, //控制显示授权弹窗
|
|
@@ -54,18 +305,28 @@
|
|
|
isSuccess:false,
|
|
|
toestText:'',
|
|
|
telPhone:'',
|
|
|
- loginType:'', //跳转类型
|
|
|
+ registerType:'', //跳转类型
|
|
|
alertText:'',
|
|
|
listType: '',
|
|
|
listVal: '',
|
|
|
detilType:'',
|
|
|
- id:''//商品ID
|
|
|
+ id:'',//商品ID
|
|
|
+ addressData:{
|
|
|
+ addressID:'',
|
|
|
+ address:'请选择机构所在地区',
|
|
|
+ userID: '', //用户id ,只在新增收货地址时传
|
|
|
+ shouHuoRen: '', //收货人
|
|
|
+ mobile:'', //收货人手机
|
|
|
+ townID:'', //区ID
|
|
|
+ addressDetail: '', //地址
|
|
|
+ defaultFlag:0, //是否默认收货地址(0 不是默认,1 默认)
|
|
|
+ },
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
console.log(option)
|
|
|
self = this;
|
|
|
- self.loginType = option.type;
|
|
|
+ self.registerType = option.type;
|
|
|
self.id = option.id
|
|
|
if(option.listType) {
|
|
|
self.listType = option.listType;
|
|
@@ -73,9 +334,9 @@
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
- ...mapMutations(['login']),
|
|
|
- goLogin() {
|
|
|
- self.$api.get('/login/isEnabled',{userOrganizeID:self.userOrganizeID,invitationCode:self.invitationCode}, res => {
|
|
|
+ ...mapMutations(['register']),
|
|
|
+ goregister() {
|
|
|
+ self.$api.get('/register/isEnabled',{userOrganizeID:self.userOrganizeID,invitationCode:self.invitationCode}, res => {
|
|
|
if (res.code == "1") {
|
|
|
//查看此微信用户是否已经授权过
|
|
|
authorize.getSetting().then(res =>{
|
|
@@ -108,183 +369,674 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- //授权登录
|
|
|
- getuserinfo: function (e) {
|
|
|
- if (e.detail.userInfo) {
|
|
|
- self.wxGetUserInfo()
|
|
|
- }else{
|
|
|
- //用户按了拒绝按钮
|
|
|
- uni.showModal({
|
|
|
- content: '获取用户信息失败,请允许授权后才能继续使用小程序哦~',
|
|
|
- showCancel: false,
|
|
|
- confirmText: '授权',
|
|
|
- success: function (res) {
|
|
|
- if (res.confirm) {
|
|
|
- uni.openSetting({
|
|
|
- success: res => {
|
|
|
- // console.log(res.authSetting)
|
|
|
- },
|
|
|
- fail: res => {
|
|
|
- // console.log(res)
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
- wxGetUserInfo(){
|
|
|
- authorize.getCode('weixin').then(wechatcode =>{
|
|
|
- wx.getUserInfo({
|
|
|
- success: res => {
|
|
|
- // console.log('useInfo:',res.userInfo)
|
|
|
- self.userInfo = res.userInfo;
|
|
|
- let params ={
|
|
|
- code:wechatcode,
|
|
|
- nickName:res.userInfo.nickName,
|
|
|
- invitationCode:self.invitationCode,
|
|
|
- userOrganizeID:self.userOrganizeID,
|
|
|
- }
|
|
|
- self.goUserLogininit(params);
|
|
|
- }
|
|
|
- });
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
- goUserLogininit(params){
|
|
|
- self.$api.lodingGet('/login/register',params, response => {
|
|
|
- // console.log(response)
|
|
|
- if (response.code == "1") {
|
|
|
- self.isUserInfo = false;
|
|
|
- self.login(self.userInfo);
|
|
|
- let user_key = {code:response.code,openid:response.data.openid,userID:response.data.userID}
|
|
|
- uni.setStorageSync('cookieKey','JSESSIONID='+response.data.sessionId);
|
|
|
- this.$store.commit('updateStatus',user_key)
|
|
|
- let url;
|
|
|
- if(self.loginType) {
|
|
|
- if(self.loginType=='detilType'){
|
|
|
- self.$api.redirectTo(`/pages/goods/product?id=${self.id}&page=2`);
|
|
|
- }else if(self.loginType=='search'){
|
|
|
- self.$api.redirectTo('/pages/search/search');
|
|
|
- }else if(self.loginType == 1){
|
|
|
- url ='/pages/tabBar/cart/cart'
|
|
|
- }else if(self.loginType == 2){
|
|
|
- url ='/pages/tabBar/user/user'
|
|
|
- }else {
|
|
|
- url ='/pages/tabBar/home/home'
|
|
|
+ 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);
|
|
|
}
|
|
|
- uni.switchTab({
|
|
|
- url
|
|
|
- })
|
|
|
- } else if(self.listType) {
|
|
|
- self.$api.navToListPage({type:self.listType,value:self.listVal,lType:'4'});
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.$util.msg(response.msg,3000);
|
|
|
+ })
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
+ },
|
|
|
+ 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
|
|
|
+ uni.previewImage({
|
|
|
+ urls: self.uploadMentuzImage,
|
|
|
+ current: e.currentTarget.dataset.url
|
|
|
+ });
|
|
|
+ },
|
|
|
+ viewBusinessImage(e) {
|
|
|
+ let self = this
|
|
|
+ uni.previewImage({
|
|
|
+ urls: self.uploadBusinessImage,
|
|
|
+ current: e.currentTarget.dataset.url
|
|
|
+ });
|
|
|
+ },
|
|
|
+ viewMedicalImage(e) {
|
|
|
+ let self = this
|
|
|
+ uni.previewImage({
|
|
|
+ urls: self.uploadMedicalImage,
|
|
|
+ current: e.currentTarget.dataset.url
|
|
|
+ });
|
|
|
},
|
|
|
- //关闭未填邀请码弹窗
|
|
|
- hideToast(){
|
|
|
- self.isToast = false;
|
|
|
+ delBusinessImage(){
|
|
|
+ this.uploadBusinessImage = ''
|
|
|
},
|
|
|
- //关闭未授权用户授权提示弹窗
|
|
|
- hideModel(){
|
|
|
- self.isUserInfo = false;
|
|
|
+ delMentuzImage(){
|
|
|
+ this.uploadMentuzImage = ''
|
|
|
+ },
|
|
|
+ delMedicalImage(){
|
|
|
+ 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)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ showCheckPhone(){
|
|
|
+ this.isShowCheckPhone = !this.isShowCheckPhone
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
- .login{
|
|
|
+ .register{
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
|
+ border-top: 1px solid #F7F7F7;
|
|
|
.model-warp.none{
|
|
|
display: none;
|
|
|
}
|
|
|
.model-warp.show{
|
|
|
display: block;
|
|
|
}
|
|
|
- .login-main{
|
|
|
+ .register-error{
|
|
|
width: 100%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- height: 198rpx;
|
|
|
- padding: 170rpx 0 60rpx 0;
|
|
|
- .logo{
|
|
|
- width: 138rpx;
|
|
|
- height: 118rpx;
|
|
|
- display: block;
|
|
|
+ height: auto;
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 999;
|
|
|
+ .error-top{
|
|
|
+ width: 702rpx;
|
|
|
+ padding: 0 24rpx;
|
|
|
+ height: 90rpx;
|
|
|
+ line-height: 90rpx;
|
|
|
+ background: #FF0000;
|
|
|
+ &.error-top--none{
|
|
|
+ background:#FFFFFF;
|
|
|
+ .name{
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ .icon{
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .name{
|
|
|
+ font-size: $font-size-lg;
|
|
|
+ color: #FFFFFF;
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ .icon{
|
|
|
+ float: right;
|
|
|
+ font-size: $font-size-lg;
|
|
|
+ color: #FFFFFF;
|
|
|
+ }
|
|
|
+ .icon-xiangxiajiantou{
|
|
|
+ transform: rotate(0deg);
|
|
|
+ transform-origin: center center;
|
|
|
+ float: right;
|
|
|
+ font-size: $font-size-lg;
|
|
|
+ color: #FFFFFF;
|
|
|
+ /* transition: transform 0.3s ease;*/
|
|
|
+ transition-property: transform;
|
|
|
+ transition-duration: 0.3s;
|
|
|
+ transition-timing-function: ease;
|
|
|
+ margin-left: 10rpx;
|
|
|
+ }
|
|
|
+ .icon-xiangxiajiantou-active{
|
|
|
+ transform: rotate(180deg);
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
}
|
|
|
- .logo-text{
|
|
|
- font-size: 30rpx;
|
|
|
- line-height: 44rpx;
|
|
|
- color: $color-system;
|
|
|
- font-weight: 600;
|
|
|
- margin-top: 20rpx;
|
|
|
+ .animation{
|
|
|
+ /* transition: transform 0.3s ease;*/
|
|
|
+ transition-property: transform;
|
|
|
+ transition-duration: 0.2s;
|
|
|
+ transition-timing-function: ease;
|
|
|
}
|
|
|
- }
|
|
|
- .login-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-base;
|
|
|
- line-height: 40rpx;
|
|
|
- color: #333333;
|
|
|
- border-radius: 14rpx;
|
|
|
+ .error-main{
|
|
|
+ width: 702rpx;
|
|
|
+ height: auto;
|
|
|
+ padding: 24rpx;
|
|
|
+ border-top: 1px solid #F7F7F7;
|
|
|
+ overflow: hidden;
|
|
|
+ background: #FFFFFF;
|
|
|
+ .error-main-list{
|
|
|
+ width:100% ;
|
|
|
+ height: auto;
|
|
|
+ background: #FFFFFF;
|
|
|
+ .item{
|
|
|
+ height: auto;
|
|
|
+ line-height: 60rpx;
|
|
|
+ font-size: $font-size-base;
|
|
|
+ color: #FF0000;
|
|
|
+ .num{
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
+ .error-main--hide {
|
|
|
+ padding: 0 0;
|
|
|
+ height: 0px;
|
|
|
+ line-height: 0px;
|
|
|
+ }
|
|
|
}
|
|
|
- .login-btn{
|
|
|
- width: 702rpx;
|
|
|
- height: 88rpx;
|
|
|
- border-radius: 14rpx;
|
|
|
- font-size: $font-size-base;
|
|
|
- line-height: 88rpx;
|
|
|
- color: #FFFFFF;
|
|
|
- margin: 0 auto;
|
|
|
- text-align: center;
|
|
|
- background: $btn-confirm;
|
|
|
- }
|
|
|
- .model-authorization{
|
|
|
+ .register-main{
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: 999;
|
|
|
- .authorization{
|
|
|
- width: 518rpx;
|
|
|
- height: 320rpx;
|
|
|
- position: absolute;
|
|
|
- background: rgba(255,255,255,.7);
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- top: 0;
|
|
|
- margin: auto;
|
|
|
- .to-btn{
|
|
|
+ height: auto;
|
|
|
+ &.detailed{
|
|
|
+ padding-bottom: 300rpx;
|
|
|
+ }
|
|
|
+ &.first{
|
|
|
+ padding-top: 110rpx;
|
|
|
+ }
|
|
|
+ .register-tips{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ line-height: 44rpx;
|
|
|
+ font-size: $font-size-sm;
|
|
|
+ color: #FF0000;
|
|
|
+ margin-bottom: 40rpx;
|
|
|
+ .iconfont{
|
|
|
+ font-size: $font-size-sm;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .register-row{
|
|
|
+ width: 702rpx;
|
|
|
+ height: auto;
|
|
|
+ padding: 0 24rpx;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+ .register-title{
|
|
|
+ line-height: 60rpx;
|
|
|
+ font-size: $font-size-lg;
|
|
|
+ color: $text-color;
|
|
|
+ text-align: left;
|
|
|
+ padding-left: 20rpx;
|
|
|
+ .txt{
|
|
|
+ font-size: $font-size-sb;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .row-btn{
|
|
|
position: absolute;
|
|
|
+ right: 24rpx;
|
|
|
top: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- margin: auto;
|
|
|
- width: 70%;
|
|
|
- height: 88rpx;
|
|
|
+ line-height: 88rpx;
|
|
|
+ text-align: center;
|
|
|
font-size: $font-size-base;
|
|
|
+ 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-base;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 40rpx;
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ .row-input{
|
|
|
+ width: 440rpx;
|
|
|
+ padding-left:10rpx;
|
|
|
+ font-size: $font-size-base;
|
|
|
+ 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-base;
|
|
|
+ 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-base;
|
|
|
+ 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;
|
|
|
- color: #FFFFFF;
|
|
|
text-align: center;
|
|
|
- border-radius: 44rpx;
|
|
|
+ }
|
|
|
+ &.text-textarea{
|
|
|
+ background: #FFFFFF;
|
|
|
+ .textarea{
|
|
|
+ width: 654rpx;
|
|
|
+ height: 180rpx;
|
|
|
+ background: #F7F7F7;
|
|
|
+ padding: 24rpx;
|
|
|
+ font-size: $font-size-base;
|
|
|
+ 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-base;
|
|
|
+ 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-base;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .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-lg;
|
|
|
+ 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-base;
|
|
|
+ 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-lg;
|
|
|
+ &.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-base;
|
|
|
+ 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;
|
|
|
}
|
|
|
}
|
|
|
}
|