register.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <template>
  2. <view class="container register" :style="{paddingTop:CustomBar+'px'}">
  3. <cu-custom :navbar-data='nvabarData' @navigateBack="hanldNavigateBack"></cu-custom>
  4. <view class="register-main clearfix">
  5. <view class="register-logo">
  6. <image class="logo" src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/logo.png" mode=""></image>
  7. </view>
  8. <view class="register-row clearfix">
  9. <view class="register-from">
  10. <view class="label">联系人:</view>
  11. <input class="row-input" type="text" name="input" v-model="params.userName" placeholder="请输入机构联系人姓名" maxlength="6"/>
  12. </view>
  13. </view>
  14. <view class="register-row clearfix">
  15. <view class="register-from">
  16. <view class="label">手机号:</view>
  17. <input class="row-input" type="number" name="input" v-model="params.bindMobile" placeholder="请输入联系人常用手机号" maxlength="11"/>
  18. </view>
  19. </view>
  20. <view class="register-row clearfix">
  21. <view class="register-from">
  22. <view class="label">短信验证码:</view>
  23. <input class="row-input code" type="text" v-model="params.smsCode" placeholder="请输入短信验证码" maxlength="6"/>
  24. <view class="row-btn" :class="[isMobileDisabled ? 'disabled' : '']">
  25. <button class="row-input"
  26. type="button"
  27. @click.stop="getMobileCodeFn"
  28. :disabled="isMobileDisabled">
  29. {{ mobileCodeText }}
  30. </button>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="register-row clearfix">
  35. <view class="register-from">
  36. <view class="label">登录密码:</view>
  37. <input class="row-input" type="password" name="input" v-model="params.password" placeholder="密码必须为8-16位字母数字组合" maxlength="16"/>
  38. </view>
  39. </view>
  40. <view class="register-row clearfix">
  41. <view class="register-from">
  42. <view class="label">确认密码:</view>
  43. <input class="row-input" type="password" name="input" v-model="params.passWordConfirm" placeholder="请确认密码" maxlength="16"/>
  44. </view>
  45. </view>
  46. <view class="register-main clearfix">
  47. <view class="register-agree">
  48. <view class="agree-text" @tap.stop="agreeCheck()">
  49. <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
  50. 我已阅读并同意
  51. <text @click.stop="this.$api.navigateTo('/pages/service/organagree')">《机构协议》</text>
  52. <text @click.stop="this.$api.navigateTo('/pages/service/useragree')">《用户协议》</text>及
  53. <text @click.stop="this.$api.navigateTo('/pages/service/privacyagree')">《隐私权政策》</text>
  54. </view>
  55. </view>
  56. <view class="register-row ">
  57. <view class="register-btn sub" @click.stop="registerStepsfirst">注册</view>
  58. </view>
  59. <view class="register-row login">
  60. <view class="row-login" @click.stop="this.$api.navigateTo('/pages/login/login')">账号登录</view>
  61. <view class="row-logincode" @click.stop="this.$api.navigateTo('/pages/login/logincode')">邀请码登录</view>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. </template>
  67. <script>
  68. import { mapState,mapMutations } from 'vuex';
  69. import authorize from '@/common/config/authorize.js'
  70. import wxLogin from "@/common/config/wxLogin.js"
  71. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  72. import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
  73. import { uploadFileImage } from "@/services/public.js"
  74. export default{
  75. components:{
  76. mpvueCityPicker
  77. },
  78. data() {
  79. return{
  80. nvabarData: {//顶部自定义导航
  81. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  82. showSearch: 0,
  83. title: '机构注册', // 导航栏 中间的标题
  84. haveBack:true,
  85. textLeft:this.$store.state.isIphone
  86. },
  87. CustomBar:this.CustomBar,// 顶部导航栏高度
  88. isMobileDisabled: false, //手机验证码按钮控制
  89. mobilCount: '', //倒计时
  90. mobileCodeText: '获取验证码',
  91. mobilTime: null,
  92. params:{
  93. userName:'',
  94. bindMobile:'',
  95. isAgreed:0,
  96. password:'',
  97. passWordConfirm:'',
  98. smsCode:'',
  99. avatarUrl:'',
  100. nickName:'',
  101. source:1,
  102. unionId:''
  103. },
  104. imageCode:'', //图形验证码
  105. imageCodeUrl:'', //图形验证码图片
  106. imageCodetoken:'', //图形验证校验
  107. isCheck:false, //是否勾选协议
  108. userID:'', //机构userID
  109. clubID:'', //机构ID
  110. }
  111. },
  112. onLoad(option) {
  113. },
  114. computed:{
  115. ...mapState(['isWxAuthorize'])
  116. },
  117. methods:{
  118. ...mapMutations(['login','wxLogin']),
  119. hanldNavigateBack(){
  120. this.$util.modal('','注册尚未完成,确定放弃注册吗?','确定','取消',true,() =>{
  121. uni.navigateBack({
  122. delta: 1
  123. });
  124. })
  125. },
  126. registerStepsfirst(){
  127. if( this.params.userName == ''){
  128. this.$util.msg('请输入联系人名称',2000);
  129. return
  130. }
  131. if( this.params.bindMobile == ''){
  132. this.$util.msg('请输入手机号',2000);
  133. return
  134. }
  135. if(!this.$reg.isMobile(this.params.bindMobile)){
  136. this.$util.msg('手机格式不正确',2000);
  137. return
  138. }
  139. if( this.params.smsCode == ''){
  140. this.$util.msg('请输入手机验证码',2000);
  141. return
  142. }
  143. if(!this.$reg.isMobileCode(this.params.smsCode)){
  144. this.$util.msg('验证码格式不正确',2000);
  145. return
  146. }
  147. if( this.params.password == ''){
  148. this.$util.msg('请输入密码',2000);
  149. return
  150. }
  151. if(!this.$reg.checkPwd(this.params.password)){
  152. this.$util.msg('密码必须为8-16位字母数字的组合',2000);
  153. return
  154. }
  155. if( this.params.passWordConfirm == ''){
  156. this.$util.msg('请再次确认密码',2000);
  157. return
  158. }
  159. if( this.params.passWordConfirm !== this.params.password){
  160. this.$util.msg('两次输入的密码不一致',2000);
  161. return
  162. }
  163. if(this.params.isAgreed == 0){
  164. this.$util.msg('请勾选同意协议',2000);
  165. return
  166. }
  167. this.params.unionId = uni.getStorageSync('unionId')
  168. this.GetUserProfile()
  169. },
  170. GetUserProfile(){//获取用户微信个人信息
  171. const self = this
  172. wx.getUserProfile({
  173. desc: '采美采购商城小程序获取您的信息', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
  174. success(res) {
  175. console.log('微信获取用户信息新API',res)
  176. self.wxLogin(res.userInfo)
  177. self.params.nickName = res.userInfo.nickName
  178. self.params.avatarUrl = res.userInfo.avatarUrl
  179. self.UserRegisterClub(self.params)
  180. },
  181. fail() {
  182. self.$util.msg('授权失败', 2000)
  183. }
  184. })
  185. },
  186. UserRegisterClub(params){
  187. this.UserService.UserRegisterClub(params).then(response =>{
  188. wxLogin.wxLoginAuthorize()
  189. setTimeout(() =>{
  190. this.$api.switchTabTo('/pages/tabBar/user/user')
  191. },2000)
  192. }).catch(error =>{
  193. this.$util.msg(error.msg,2000);
  194. })
  195. },
  196. storeUpdataeStatus(data){
  197. uni.setStorageSync('token',data.token)
  198. this.$store.commit('updateStatus',data)
  199. this.login(data);
  200. },
  201. getMobileCodeFn(){
  202. if( this.params.bindMobile == ''){
  203. this.$util.msg('请输入手机号',2000);
  204. return
  205. }
  206. if(!this.$reg.isMobile(this.params.bindMobile)){
  207. this.$util.msg('请输入正确的手机号',2000);
  208. return
  209. }
  210. let params = {
  211. mobile:this.params.bindMobile,
  212. isCheckCaptcha:1,
  213. activateCodeType:2,
  214. platformType:2
  215. }
  216. this.isMobileDisabled = true;
  217. this.PublicService.GetRegisterMobileCode(params).then(response =>{
  218. this.$util.msg('验证短信已发送',2000);
  219. const TIME_COUNT = 60;
  220. if (!this.mobilTime) {
  221. this.mobilCount = TIME_COUNT;
  222. this.isMobileDisabled = true;
  223. this.mobilTime = setInterval(() => {
  224. if (this.mobilCount > 1 && this.mobilCount <= TIME_COUNT) {
  225. this.mobilCount--
  226. this.mobileCodeText = this.mobilCount +'s重新发送'
  227. } else {
  228. this.isMobileDisabled = false;
  229. clearInterval(this.mobilTime)
  230. this.mobilTime = null
  231. this.mobileCodeText = '获取验证码'
  232. }
  233. },1000)
  234. }
  235. }).catch( error =>{
  236. this.$util.msg(error.msg,2000);
  237. this.isMobileDisabled = false;
  238. })
  239. },
  240. agreeCheck() {
  241. this.isCheck = !this.isCheck
  242. if(this.isCheck){
  243. this.params.isAgreed = 1
  244. }else{
  245. this.params.isAgreed = 0
  246. }
  247. },
  248. async InitAuthorize(){ //是否已授权 0:为取消授权 1:为已授权 2:为未操作
  249. authorize.getSetting().then(res =>{
  250. console.log('用户是否授权过',res)
  251. if(res == 1){
  252. wxLogin.wxLoginQuick()
  253. }else{
  254. console.log(new Date +'用户未授权微信信息')
  255. this.$api.navigateTo('/pages/authorization/authorization?type=0')
  256. }
  257. })
  258. }
  259. },
  260. onShow() {
  261. this.InitAuthorize()
  262. }
  263. }
  264. </script>
  265. <style lang="scss">
  266. .register{
  267. width: 100%;
  268. height: 100%;
  269. background: url(https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E8%83%8C%E6%99%AF.png) no-repeat left bottom;
  270. box-sizing: border-box;
  271. background-size: contain;
  272. .register-main{
  273. width: 100%;
  274. height: auto;
  275. position: relative;
  276. .register-consult{
  277. width: 110rpx;
  278. height: 68rpx;
  279. background:linear-gradient(223deg,rgba(225,86,21,0.6) 0%,rgba(225,86,10,0.3) 100%);
  280. border-radius: 34rpx 0 0 34rpx;
  281. position: absolute;
  282. right: 0;
  283. bottom: 120rpx;
  284. text-align: left;
  285. line-height: 68rpx;
  286. padding-left: 20rpx;
  287. .icon-kefunv{
  288. font-size: 48rpx;
  289. color: #31313B;
  290. float: left;
  291. }
  292. .text{
  293. font-size: $font-size-24;
  294. display: block;
  295. float: left;
  296. width: 60rpx;
  297. line-height: 30rpx;
  298. color: #FFFFFF;
  299. margin-top: 6rpx;
  300. }
  301. }
  302. .register-agree{
  303. display: flex;
  304. flex-direction: column;
  305. align-items: center;
  306. margin: 100rpx 0 20rpx 0;
  307. .agree-text{
  308. .checkbox{
  309. float: left;
  310. margin: 4rpx 6rpx 0 0;
  311. color: #999999;
  312. font-size: $font-size-34;
  313. &.icon-gouxuan{
  314. color: $color-system;
  315. }
  316. }
  317. font-size: $font-size-22;
  318. line-height: 44rpx;
  319. color: #999999;
  320. text{
  321. color:#1890f9;
  322. }
  323. }
  324. }
  325. .register-logo{
  326. width: 100%;
  327. display: flex;
  328. flex-direction: column;
  329. align-items: center;
  330. height: 189rpx;
  331. padding:60rpx 0 40rpx 0;
  332. .logo{
  333. width:467rpx;
  334. height: 189rpx;
  335. display: block;
  336. }
  337. }
  338. &.detailed{
  339. padding-bottom: 330rpx;
  340. }
  341. .register-row{
  342. width: 100%;
  343. height: auto;
  344. padding: 0 75rpx;
  345. margin-bottom: 30rpx;
  346. box-sizing: border-box;
  347. &.none{
  348. margin-bottom: 0;
  349. }
  350. &.login{
  351. display: flex;
  352. }
  353. .register-text{
  354. line-height: 44rpx;
  355. margin-top: 100rpx;
  356. font-size: $font-size-24;
  357. color: #999999;
  358. text-align: justify;
  359. .txt{
  360. margin-right: 15rpx;
  361. }
  362. }
  363. .register-title{
  364. line-height: 44rpx;
  365. font-size: $font-size-24;
  366. color: $text-color;
  367. text-align: left;
  368. &.first{
  369. margin-top: 20rpx;
  370. }
  371. }
  372. .register-tip{
  373. line-height: 64rpx;
  374. font-size: $font-size-24;
  375. color: #CECECE;
  376. text-align: left;
  377. }
  378. .register-from{
  379. width: 100%;
  380. height: 80rpx;
  381. background: #FFFFFF;
  382. position: relative;
  383. border-bottom: 1px solid #e1e1e1;
  384. .label{
  385. text-align: left;
  386. font-size: $font-size-28;
  387. color:#666666;
  388. line-height: 88rpx;
  389. float: left;
  390. }
  391. .row-input{
  392. width: 440rpx;
  393. padding-left:10rpx;
  394. font-size: $font-size-28;
  395. color: $text-color;
  396. line-height: 80rpx;
  397. float: left;
  398. height: 80rpx;
  399. &.none{
  400. color: #999999;
  401. }
  402. &.picker{
  403. text-align: left;
  404. color: #333333;
  405. }
  406. &.keshi{
  407. width: 550rpx;
  408. }
  409. &.code{
  410. width: 264rpx;
  411. }
  412. }
  413. &.img-btn{
  414. width: 220rpx;
  415. height: 80rpx;
  416. padding: 0;
  417. float: left;
  418. background: #FFFFFF;
  419. display: block;
  420. .vscodeimg{
  421. width: 150rpx;
  422. height: 80rpx;
  423. float: left;
  424. display: flex;
  425. flex-direction: column;
  426. align-items: center;
  427. border-radius: 14rpx;
  428. image{
  429. width: 150rpx;
  430. height: 80rpx;
  431. border-radius: 14rpx;
  432. }
  433. }
  434. .vscod-refresh{
  435. width: 70rpx;
  436. float: right;
  437. text-align: right;
  438. display: flex;
  439. flex-direction: column;
  440. align-items: center;
  441. line-height: 44rpx;
  442. .icon-shuaxin{
  443. font-size: 48rpx;
  444. color: #333333;
  445. }
  446. .ref-text{
  447. font-size: 24rpx;
  448. color: #333333;
  449. }
  450. }
  451. }
  452. &.imgcode{
  453. width: 410rpx;
  454. float: left;
  455. margin-right: 20rpx;
  456. .row-input{
  457. width: 230rpx;
  458. }
  459. }
  460. .row-btn{
  461. width: 180rpx;
  462. height:64rpx;
  463. float: left;
  464. background: $btn-confirm;
  465. padding: 0;
  466. border-radius: 32rpx;
  467. .row-input{
  468. width: 180rpx;
  469. height: 64rpx;
  470. line-height: 64rpx;
  471. padding: 0;
  472. color: #FFFFFF;
  473. background: $btn-confirm;
  474. text-align: center;
  475. border-radius: 32rpx;
  476. &.other{
  477. width: 180rpx;
  478. background: #F7F7F7;
  479. margin-right: 20rpx;
  480. }
  481. &.none{
  482. background: #F7F7F7;
  483. }
  484. }
  485. &.disabled{
  486. background: #F7F7F7;
  487. .row-input{
  488. background: #F7F7F7;
  489. color: #999999;
  490. font-size: 24rpx;
  491. }
  492. }
  493. }
  494. &.picker{
  495. padding: 0 24rpx;
  496. width: 654rpx;
  497. height: 88rpx;
  498. line-height: 88rpx;
  499. .label{
  500. line-height: 88rpx;
  501. }
  502. .row-input{
  503. width: 470rpx;
  504. height: 88rpx;
  505. line-height: 88rpx;
  506. padding-left: 30rpx;
  507. }
  508. }
  509. &.radio{
  510. padding: 0 24rpx;
  511. width: 654rpx;
  512. height: 288rpx;
  513. .row-input{
  514. width: 100%;
  515. height: 88rpx;
  516. line-height: 88rpx;
  517. padding-left: 0;
  518. }
  519. .row-radio{
  520. float: left;
  521. transform: scale(0.8);
  522. }
  523. .row-text{
  524. width: 100rpx;
  525. text-align: center;
  526. float: left;
  527. }
  528. }
  529. &.group{
  530. padding: 0 24rpx;
  531. width: 654rpx;
  532. height: auto;
  533. background: #FFFFFF;
  534. margin-top: 30rpx;
  535. .label{
  536. line-height: 76rpx;
  537. }
  538. .row-input{
  539. width: 100%;
  540. height: 88rpx;
  541. line-height: 88rpx;
  542. padding-left: 0;
  543. }
  544. .row-radio{
  545. float: left;
  546. }
  547. .row-text{
  548. width: 100rpx;
  549. text-align: center;
  550. float: left;
  551. }
  552. }
  553. &.btn{
  554. margin-top: 0;
  555. }
  556. .content-class {
  557. margin: 20rpx auto;
  558. display: flex;
  559. flex-flow: row wrap;
  560. justify-content: space-between;
  561. align-items: center;
  562. &.btn{
  563. margin: 0 auto;
  564. margin-left: 116rpx;
  565. }
  566. .row-input{
  567. display: flex;
  568. width: 220rpx;
  569. height: 40rpx;
  570. padding: 24rpx;
  571. text-align: left;
  572. border-radius: 10rpx;
  573. font-size: $font-size-28;
  574. color: $text-color;
  575. }
  576. .confirm-btn{
  577. width: 200rpx;
  578. height: 88rpx;
  579. border-radius: 10rpx;
  580. line-height: 88rpx;
  581. text-align: center;
  582. &.other{
  583. width: 213rpx;
  584. }
  585. &.none{
  586. color: #FFFFFF;
  587. background: $btn-confirm;
  588. }
  589. &.disabled{
  590. color: #999999;
  591. }
  592. }
  593. .item {
  594. width: 155rpx;
  595. height: 60rpx;
  596. font-size:$font-size-28;
  597. line-height: 60rpx;
  598. border-radius:10rpx;
  599. margin: 10rpx;
  600. text-align: center;
  601. box-sizing: border-box;
  602. border: 1rpx solid #EFEFEF;
  603. float: left;
  604. checkbox {
  605. display: none;
  606. }
  607. }
  608. .on {
  609. border-color: $color-system;
  610. color:$color-system;
  611. }
  612. }
  613. }
  614. .row-login{
  615. flex: 1;
  616. font-size: $font-size-28;
  617. color: $text-color;
  618. text-align: left;
  619. }
  620. .row-logincode{
  621. flex: 1;
  622. font-size: $font-size-28;
  623. color: $text-color;
  624. text-align: right;
  625. }
  626. .icon-xiayibu{
  627. width: 88rpx;
  628. height: 88rpx;
  629. position: absolute;
  630. right: 0;
  631. top: 0;
  632. line-height: 88rpx;
  633. text-align: center;
  634. }
  635. &.text-textarea{
  636. background: #FFFFFF;
  637. .textarea{
  638. width: 654rpx;
  639. height: 180rpx;
  640. background: #F7F7F7;
  641. padding: 24rpx;
  642. font-size: $font-size-28;
  643. color: $text-color;
  644. z-index: 1;
  645. border-radius: 14rpx;
  646. }
  647. .textarea.hide{
  648. opacity: 0;
  649. }
  650. .textarea.show{
  651. color: #999999;
  652. }
  653. }
  654. }
  655. .register-picture{
  656. height: 102rpx;
  657. margin: 30rpx 0;
  658. width: 42%;
  659. float: left;
  660. &.zz{
  661. width: 100%;
  662. }
  663. .label{
  664. float: left;
  665. font-size: $font-size-28;
  666. color: $text-color;
  667. line-height: 102rpx;
  668. width: 150rpx;
  669. text-align: right;
  670. &.zz{
  671. width: 230rpx;
  672. }
  673. }
  674. .upload-picture{
  675. float: left;
  676. height: 100rpx;
  677. .upload-none{
  678. width: 100rpx;
  679. height: 100rpx;
  680. text-align: center;
  681. line-height: 100rpx;
  682. color: #999999;
  683. border: 1px solid #999999;
  684. border-radius: 10rpx;
  685. margin: 0 20rpx;
  686. .iconfont{
  687. font-size: $font-size-28;
  688. }
  689. }
  690. .upload-image{
  691. width: 100rpx;
  692. height: 100rpx;
  693. border-radius: 10rpx;
  694. margin: 0 20rpx;
  695. position: relative;
  696. image{
  697. width: 100rpx;
  698. height: 100rpx;
  699. border-radius: 10rpx;
  700. }
  701. .upload-del{
  702. width: 40rpx;
  703. height: 40rpx;
  704. position: absolute;
  705. top: -20rpx;
  706. right: -20rpx;
  707. line-height: 40rpx;
  708. text-align: center;
  709. .iconfont{
  710. font-size: $font-size-32;
  711. color: #999999;
  712. }
  713. }
  714. }
  715. }
  716. }
  717. .register-input{
  718. width: 654rpx;
  719. height: 40rpx;
  720. padding: 24rpx;
  721. margin: 0 auto;
  722. margin-bottom: 60rpx;
  723. background: #F7F7F7;
  724. border-radius: 14rpx;
  725. .input{
  726. width: 100%;
  727. height: 100%;
  728. background: #F7F7F7;
  729. font-size: $font-size-28;
  730. line-height: 40rpx;
  731. color: #333333;
  732. border-radius: 14rpx;
  733. }
  734. }
  735. .register-fiexd{
  736. width: 100%;
  737. height: auto;
  738. position: fixed;
  739. bottom: 0;
  740. left: 0;
  741. z-index: 999;
  742. background: #FFFFFF;
  743. }
  744. .register-btn{
  745. width: 100%;
  746. height: 88rpx;
  747. border-radius: 44rpx;
  748. font-size: $font-size-28;
  749. line-height: 88rpx;
  750. color: #FFFFFF;
  751. margin: 0 auto;
  752. text-align: center;
  753. background: $btn-confirm;
  754. margin-top: 96rpx;
  755. &.none{
  756. border: 1px solid $color-system;
  757. background: #FFFFFF;
  758. color:$color-system;
  759. margin-top: 0;
  760. }
  761. &.sub{
  762. margin-top: 0;
  763. }
  764. }
  765. }
  766. }
  767. </style>