123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966 |
- <template>
- <view class="page" :style="'height:'+windowHeight">
- <view class="loginbox">
- <image src="../static/img/closebtn.png" class="close" @tap='close'></image>
- <ul class="nav1">
- <li :class="{'active':type=='login'}" @tap="changetype('login')">登录</li>
- <li :class="{'active':type=='reg'}" @tap="changetype('reg')">注册</li>
- </ul>
-
- <view class="login-bg">
- <view class="login-card">
-
-
-
- <view v-if="type=='login'">
-
- <label class="lines" >
- <label class="label-2-text" >
- <image src="../static/img/icon_user.png" class="icons" style="width: 20px;height: 20px;" ></image>
- </label>
- <view >
- <input type="text" class="uni-input" placeholder="ID\用户名\手机号" v-model="form.username" />
- </view>
-
-
- </label>
- <label class="lines" >
- <label class="label-2-text" >
- <image src="../static/img/icon_lock.png" class="icons" style="width: 16px;"></image>
- </label>
- <view >
- <input class="uni-input" placeholder="请输入密码" :password="showPassword" v-model="form.password"/>
- </view>
- <uni-icons style="display: none;" class='tip-icons' type="eye-filled" :class="[showPassword ? '' : 'active']" @tap="changePassword"></uni-icons>
-
- </label>
- <view class="line" style="display: none;">
- <checkbox id="save" :checked="form.save" value="1">记住登录状态</checkbox>
- </view>
- </view>
-
-
- <view v-if="type=='reg'">
-
- <label class="lines" >
- <label class="label-2-text" >
- <image src="../static/img/icon_user.png" class="icons" style="width: 20px;height: 20px;" ></image>
- </label>
- <view >
- <input class="uni-input" maxlength="11" placeholder="请输入用户名" v-model="form.username" @blur="check_name($event.detail.value)" />
- </view>
-
- <uni-icons :type="usernamemsg=='ok'?'checkbox-filled':'clear'" :class="{'tip-icons':true,'ok':usernamemsg=='ok','error':usernamemsg=='error'}" ></uni-icons>
- </label>
-
- <label class="lines" >
- <label class="label-2-text" >
- <image src="../static/img/icon_lock.png" class="icons" style="width: 16px;"></image>
- </label>
- <view >
- <input class="uni-input" placeholder="请输入登录密码" :password="showPassword" v-model="form.password" @input="checkpwd($event.detail.value)" @blur="check_other($event.detail.value,'password')"/>
- </view>
- <uni-icons :type="passwordmsg=='ok'?'checkbox-filled':'clear'" :class="{'tip-icons':true,'ok':passwordmsg=='ok','error':passwordmsg=='error'}" ></uni-icons>
-
- </label>
- <view class="passwordtips" v-if="passwordtips">
- 密码强度:<view :class="passwordcolor">{{passwordtiphtml}}</view>
-
- </view>
- <label class="lines" >
- <label class="label-2-text" >
- <image src="../static/img/icon_lock.png" class="icons" style="width: 16px;"></image>
- </label>
- <view >
- <input class="uni-input" placeholder="请再次输入密码" :password="showPassword" v-model="form.password2" @blur="check_other($event.detail.value,'password1')"/>
- </view>
- <uni-icons :type="passwordmsg2=='ok'?'checkbox-filled':'clear'" :class="{'tip-icons':true,'ok':passwordmsg2=='ok','error':passwordmsg2=='error'}" ></uni-icons>
-
-
- </label>
- <label class="lines" v-if="system.inviteopen==1">
- <label class="label-2-text" >
- <image src="../static/img/icon-tip.png" class="icons" style="width: 20px;height: 20px;" ></image>
- </label>
- <view >
- <input class="uni-input" maxlength="6" placeholder="请输入邀请码" v-model="form.randcode" />
- <view class="getcode" @tap="getcode" v-if="system.invite_code!=''" >获取邀请码</view>
-
- </view>
-
- </label>
- <label class="lines" >
- <label class="label-2-text" >
- <image src="../static/img/icon-tip.png" class="icons" ></image>
-
- </label>
- <view >
- <input class="uni-input" style="width: 100%;" maxlength="4" placeholder="输入右侧验证码" v-model="form.captch" @blur="check_other($event.detail.value,'randcode')" />
- </view>
- <image :src="codeurl" class="captchimg" @tap="changecode()" ></image>
- <uni-icons :type="captchmsg=='ok'?'checkbox-filled':'clear'" :class="{'tip-icons':true,'ok':captchmsg=='ok','error':captchmsg=='error'}" ></uni-icons>
-
- </label>
-
- </view>
-
-
- </view>
- <view class="login-btn">
-
-
- <button v-if="type=='login'" class="landing_true" :disabled="checkIn ? false : true" type="primary" @tap="click_login">立即登录</button>
- <button v-else class="landing_true" :disabled="checkIn ? false : true" type="primary" @tap="click_reg">确认并注册</button>
- </view>
-
- <view class="line1">
- <view style="color:#2319DC;" v-if="type=='login'" @tap="changetype('reg')">免费注册 </view>
- <view style="color:#2319DC;" v-else @tap="changetype('login')">立即登录</view>
-
- <view @click="go_forget">忘记密码</view>
-
- </view>
- </view>
- <view style="text-align: center;margin-top: 30px;display: none;">
- <checkbox v-bind:checked="isread" @tap="isread=!isread" id="readrule" value="1">我已阅读并同意</checkbox>《<view class="rule" @tap="go_rule(0)">用户协议</view>》及《<view class="rule" @tap="go_rule(1)">隐私条款</view>》
-
-
- </view>
- </view>
- </view>
- </template>
- <script>
- var windowHeight= uni.getSystemInfoSync().windowHeight;
- import cache from '../library/cache.js'
- import api from "../library/index.js"
- import uniIcons from '../components/uni-icons/uni-icons.vue'
- import config from "../config.js";
- import http from '../library/http.js'
-
- var windowHeight= uni.getSystemInfoSync().windowHeight;
- var statusBarHeight = uni.getSystemInfoSync().statusBarHeight ;
- export default {
- components: {
- uniIcons,
- },
- props:{
- isreg:{
- default:true
- }
- },
- data() {
- return {
- windowHeight:windowHeight+'px' ,
- showPassword: true,
- type: 'login',
- getCodeTime:60,
- issend:false,
- timer1:'',
- method:'login',
- system:uni.getStorageSync('system'),
- codeurl:'',
- passwordcolor:'color0',
- passwordtiphtml:'',
- passwordtips:false,
- usernamemsg:false,
- passwordmsg:false,
- passwordmsg2:false,
- captchmsg:false,
- name_status:false,
- code_status:false,
- checkIn:true,
- title:'登录',
- isread:true,
- form: {
- username: '',
- password: '',
- password2:'',
- mobile:'',
- captch:'',
- nickname:'',
- save:true,
- randcode:uni.getStorageSync('invite_code')
-
- },
-
- };
- },
- methods:{
- close(){
- this.$emit('close')
- },
- getcode(){
- this.form.randcode=this.system.invite_code;
- },
- changecode(){
- this.codeurl=config.imgUri+'inc/checkcode.inc.php?rand='+Math.random()+'&agentid='+this.agentid();
- },
- changePassword() {
- this.showPassword = !this.showPassword;
- },
- delInputUsernameText(){
- this.form.username = ''
- },
- delInputPasswordText(){
- this.form.password = ''
- },
- delInputMobileText(){
- this.form.mobile='';
- },
- delInputCaptchText(){
- this.form.captch='';
- },
- agentid(){
- if(uni.getStorageSync('agentid')) return uni.getStorageSync('agentid');
- else{
- var agentid=this.randomstr(18);
- uni.setStorageSync('agentid',agentid);
- return agentid;
- }
- },
- randomstr(len){
- var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
- var maxPos = chars.length;
- var pwd='';
-
- for (var i = 0; i < len; i++) {
- pwd += chars.charAt(Math.floor(Math.random() * maxPos));
- }
- return pwd;
- },
- changetype(type){
- this.type=type;
- if(type=='login'){
- // uni.setNavigationBarTitle({
- // title: '登录'
- // });
- this.title='登录'
- }else{
- // uni.setNavigationBarTitle({
- // title: '注册'
- // });
- this.title='注册'
- }
-
- },
-
- login_success(res){
- console.log(res);
- var resdata=res.data;
- var id=resdata.id;
- uni.setStorageSync('access_token', id);
- uni.setStorageSync('userid', id);
- uni.setStorageSync(id+'_groups',res.groups);
- uni.setStorageSync(id+'_frienddata',res.friends);
- uni.setStorageSync('shownote',true);
- this.$socket.send({type:'otherlogin',uid:id});
- this.$socket.emit('no_auth');
- uni.setStorageSync('userInfo',resdata);
- // this.$store.commit('update_userinfo', resdata);
- // console.log(res);
- // api.getMyGroup({userid:id}).then(res => {
- // uni.setStorageSync(id+'_groups',res.data)
- // })
-
-
- // api.getMyFriend({userid:id}).then(resss => {
- // uni.setStorageSync(id+'_frienddata',resss.data);
- // })
- var data11 = {
- token:id,
- type:'setting'
- }
- this.$socket.send(data11);
- var urls= uni.getStorageSync('loginurl');
- if(urls){
- // console.log(urls);
- uni.reLaunch({
- url:urls
- })
- }
- else{
- uni.reLaunch({
- url: '../mine/index'
- })
- }
-
-
- },
-
- click_login(){
- let _this = this;
-
- if(this.isread==false){
- uni.showToast({
- icon:'none',
- title:'请阅读《用户协议》及《隐私条款》',
- duration:1000
- })
- return false;
- }
- if(_this.form.username==''){
- uni.showToast({
- icon:'none',
- title:'请输入登录账号',
- duration:1000
- })
- return false;
- }
-
- if(_this.form.password==''){
- uni.showToast({
- icon:'none',
- title:'请输入登录密码',
- duration:1000
- })
- return false;
- }
- var data ={username:_this.form.username,password:_this.form.password};
- this.checkIn=false;
- api.login(data).then(res=>{
- this.checkIn=true;
- this.login_success(res);
- })
- var that=this;
- setTimeout(function(){
- that.checkIn=true;
-
- },2000)
-
- },
-
- check_name(value) {
- var reg=/^[\d\w]+$/;
- if(reg.test(value)){
- if(value.length>5){
-
- http.setWait(false).post('user.php?act=checkname1',{username:value}).then(res=>{
-
- var data=res.data;
-
- if(res.status==200){
-
- this.name_status=true;
- this.usernamemsg='ok';
- }else{
-
- this.usernamemsg='error';
- this.name_status=false;
- uni.showToast({
- icon:'none',
- title:res.message,
- duration:1000
- })
- }
- })
-
-
- }else{
-
- this.name_status=false;
- this.usernamemsg='error';
-
- }
-
-
- }else{
- this.usernamemsg='error';
- this.name_status=false;
-
-
- }
- },
- checkpwd(pwd) {
-
- var p1 = (pwd.search(/[a-zA-Z]/) != -1) ? 1 : 0;
- var p2 = (pwd.search(/[0-9]/) != -1) ? 1 : 0;
- var p3 = (pwd.search(/[A-Z]/) != -1) ? 1 : 0;
- var pa = p1 + p2 + p3;
-
- if(pa>0){
-
- var num=pa-1;
- var arr=['弱','中','强'];
- this.passwordtiphtml=arr[num];
- this.passwordcolor='color'+num;
- this.passwordtips=true;
-
- }else{
- this.passwordtips=false;
- }
-
- },
- check_other(value,name) {
-
-
- if(name=='password'){
- if(value.length>0){
- if(value.length>5){
- this.passwordmsg='ok';
-
- } else{
- this.passwordmsg='error';
- }
-
-
- }
- else{
- this.passwordmsg=false;
- }
- }
-
-
-
- if(name=='password1'){
- if(value.length>0){
- if(value==this.form.password){
- this.passwordmsg2='ok';
-
- } else{
- this.passwordmsg2='error';
- }
-
- }
- else{
- this.passwordmsg2=false;
- }
-
- }
- if(name=='randcode'){
-
- if(value.length>0){
-
- if(value.length==4){
- http.setWait(false).post('user.php?act=checkcode1',{randcode:value}).then(res=>{
- var data=res.data;
-
- if(res.status==200){
-
- this.code_status=true;
- this.captchmsg='ok';
- }else{
-
- this.captchmsg='error';
- this.code_status=false;
- uni.showToast({
- icon:'none',
- title:"验证码错误",
- duration:1000
- })
- }
- })
-
- }else{
- this.code_status=false;
- this.captchmsg='error';
- }
-
- }else{
-
- this.code_status=false;
- this.captchmsg=false;
-
- }
-
-
- }
-
-
- },
- click_reg() {
- var _this=this;
-
- if(this.isread==false){
- uni.showToast({
- icon:'none',
- title:'请阅读《用户协议》及《隐私条款》',
- duration:1000
- })
- return false;
- }
-
- if(_this.form.username==''){
- uni.showToast({
- icon:'none',
- title:'请输入用户名',
- duration:1000
- })
- return false;
- }
- if(_this.form.username.length<6){
- uni.showToast({
- icon:'none',
- title:'用户长度不能小于6位',
- duration:1000
- })
- return false;
- }
-
- if(_this.form.password==''){
- uni.showToast({
- icon:'none',
- title:'请输入登录密码',
- duration:1000
- })
- return false;
- }
- if(this.form.password.length<6){
- uni.showToast({
- icon:'none',
- title:'密码长度不能小于6位',
- duration:1000
- })
- return false;
- }
-
- if(this.form.password!=this.form.password2){
- uni.showToast({
- icon:'none',
- title:'两次密码输入不一致',
- duration:1000
- })
- return false;
- }
- if(this.system.inviteopen==1 && this.form.randcode==''){
- uni.showToast({
- icon:'none',
- title:'请输入邀请码',
- duration:1000
- })
- return false;
- }
- if(this.form.captch==''){
- uni.showToast({
- icon:'none',
- title:'请输入验证码',
- duration:1000
- })
- return false;
- }
-
- if(this.form.captch.length!=4){
- uni.showToast({
- icon:'none',
- title:'验证码长度不正确',
- duration:1000
- })
- return false;
- }
- if(this.name_status==false){
- uni.showToast({
- icon:'none',
- title:'该账号已被注册',
- duration:1000
- })
- return false;
- }
-
- if(this.code_status==false){
- uni.showToast({
- icon:'none',
- title:'您输入的验证码不正确',
- duration:1000
- })
- this.changecode();
- return false;
- }
- this.checkIn=false;
- api.register({username:this.form.username,password:this.form.password,randcode:this.form.captch,invite_code:this.form.randcode}).then(res=>{
- this.checkIn=true;
- if(res.code==200){
- this.login_success(res);
- // var reg=res.data.reg;
- // var that=this;
- // var uid=id;
- // setTimeout(function(){
- // that.sendtips(reg,uid);
- // },500)
- }else{
- this.changecode();
- }
-
- })
- var that=this;
- setTimeout(function(){
- that.checkIn=true;
- that.changecode();
- },2000)
- },
- sendtips(reg,uid){
- if(reg.kefu && reg.kefu_tips){
- let data = {
- userid: reg.kefu,
- friend_uid:uid,
- content:reg.kefu_tips,
- msgtype:'text',
- type:'chat'
- }
-
- this.$socket.send(data);
- }
- if(reg.admin && reg.admin_tips){
- let data = {
- userid: reg.admin,
- friend_uid:uid,
- content:reg.admin_tips,
- msgtype:'text',
- type:'chat'
- }
- this.$socket.send(data);
- }
-
- },
-
- go_forget(){
- uni.navigateTo({
- url: '/pages/login/froget'
- })
- //this.$emit('forget')
- },
-
- go_rule(type){
- console.log(type)
- uni.navigateTo({
- url: 'rule?type='+type
- })
- },
- },
- mounted() {
- this.codeurl=config.imgUri+'inc/checkcode.inc.php?rand='+Math.random()+'&agentid='+this.agentid();
- if(this.isreg) this.type='reg';
- }
- }
- </script>
- <style lang="scss">
- @import '../static/css/uni.css';
- .page{
- position: fixed;
- z-index: 100;
- left: 0px;
- width: 100%;
- top:0px;
- background-color: rgba($color: #000000, $alpha: 0.3);
- }
- .getcode{
- position: absolute;
- right:10px;
- top:8px;
- height: 30px;
- line-height: 30px;
- display: inline-block;
- color:#666;
- }
- .loginbox{
- position: fixed;
- left: 10%;
- width: 80%;
- top: 20%;
- height: auto;
-
- border-radius: 10px;
- background-color: #fff;
- padding-bottom: 10px;
- }
- .loginbox .close{
- position: absolute;
- right: -12px;
- top:-12px;
- width: 30px;
- height:30px;
-
- }
-
-
- .nav1{
- width: 100%;
- display: table;
- height: 50px;
- line-height: 50px;
- padding: 0px !important;
- margin: 0px !important;
-
- border-top-right-radius: 10px;
- }
- .nav1 li{
- display: table-cell;
- color:#666;
- background-color: #eee;
- text-align: center;
- font-size: 16px;
- cursor: pointer;
- }
- .nav1 li:first-child{
- border-top-left-radius: 10px;
- }
-
- .nav1 li:last-child{
- border-top-right-radius: 10px;
- }
- .nav1 li i{
- margin-right: 0px;
- }
- .nav1 li.active{
- background-color: #3f6df5;
- color: #fff;
- }
- .lines {
- display: inline-block;
- width: calc(100% - 16px);
- clear: both;
- border-bottom: 1px solid #eee;
- padding: 2px 8px;
- margin-top: 10px;
- text-align: left;
- position: relative;
- }
- .lines> view ,.lines> label{
- padding: 0px 0px;
- margin: 0px 0px;
- display: inline-block;;
-
- height: 40px;
- line-height: 40px;;
- vertical-align: middle;
- }
- .lines> label{
- width: 40px;
- text-align: center;
- }
- .lines> label image{
- vertical-align: middle;
- }
- .lines > view {
- width: calc(100% - 100px) !important;
-
- }
- .lines .uni-input{
- vertical-align: bottom;
- padding-bottom: 0px;
- }
- .rule{
- color:#2319dc;
- display:inline-block ;
- }
- .passwordtips{
- width:calc(100% - 52px);
- padding-left: 52px;
- height: 16px;
- line-height: 16px;
- color:#666;
- text-align: left;
- display:block;
- font-size: 12px;
- margin-top: 5px;;
- }
- .passwordtips > view{
- display: inline-block;
- }
-
- .passwordtips .color0{
- color: #ff0000;
- }
- .passwordtips .color1{
- color: #1834ab;
- }
- .passwordtips .color2{
- color: #2FE30E;
- }
- .label-2-text{
- width: 40px;
- display: inline-block;
- text-align: center;
- margin: 0px 0px;
- }
- .icons{
- font-size: 26px !important;
- color: #1834AB !important;
- height: 23px;
- width: 23px;
-
- }
- .tip-icons {
- position: absolute;
- right:5px;
- top:11px;
- font-size: 22px !important;
- display: none;
-
- }
- .tip-icons.ok{
- color: #1D830D !important;
- display: inline-block;
- }
- .tip-icons.error{
- color: #e7202a !important;
- display: inline-block;
- }
- .tip-icons.active {
- color: #2319dc !important;
- }
- .captchimg{
- position: absolute;
- right: 30px;;
- height: 40px;top:3px;
- width: 80px;;
- border-radius: 5px;;
- }
- .line{
- text-align: left;display:block;
- margin: 0 auto;
- width: calc(100% - 30px);
- height: 30px;line-height: 30px;
- margin-top: 20px;;
- }
- .uni-media-image{
- padding: 10upx 10upx;
- margin-top: 10upx;
- text-align: center;
- }
- .uni-media-loading {
- width:180px;
- height:75px;
-
- }
- .landing {
- height: 84upx;
- line-height: 84upx;
- color: #FFFFFF;
- font-size: 32upx;
- bordor: none;
- border-radius: 10upx;
- }
- .placeholdertext{
- /* #ifdef H5 */
- width: 40upx;
- /* #endif */
-
- /*#ifdef APP-PLUS */
- width: 40upx;
- /* #endif */
-
- height:24upx;
- }
- .landing_true {
-
- }
- .landing_false {
- background-color: #d8d8d8;
- }
- .uni-button[type=primary] {
-
- }
-
- .login-btn{
- padding: 10upx 20upx;
- margin-top: 30upx;
- text-align: center;
-
- }
- .login-btn button{
- border-radius: 25px;
- background: -webkit-linear-gradient(left top, #3388ff , #2319dc);
- background: -o-linear-gradient(bottom right, #3388ff, #2319dc);
- background: -moz-linear-gradient(bottom right, #3388ff, #2319dc);
- background: linear-gradient(to bottom right, #3388ff , #2319dc);
- }
- .login-function{
-
- /* #ifdef H5 */
- margin-top:350upx;
- /* #endif */
-
- /*#ifdef APP-PLUS */
- margin-top: 260upx;
-
-
- /* #endif */
-
- color: #999;
- text-align: center;
- }
- .login-function-old{
- margin-top:60upx;
- margin-right:30upx;
- color: red;
- text-align: center;
- }
- .login-forget{
- float: left;
- font-size: 26upx;
- color: #999;
- }
- .textspace {
- padding: 10upx 10upx;
- }
-
- .line1{
- width: calc(100% - 100px);
- margin: 10px auto;
- display: block;
- height: 20px;
- line-height: 20px;
- text-align: center;
- }
- .line1 view{
- color: #666;
- float: text-align;
- font-size: 28upx;
- width: calc(50% - 1px);
- display: inline-block;
- border-right: 0px solid #666;
- height: 20px;
- line-height: 20px;
- }
- .line1 view:last-child{
- border-right: 0px;;
- }
- .login-register{
- color: #666;
- float: text-align;
- font-size: 26upx;
- width: 50%;
- display: inline-block;
- }
- .login-input input{
- background: #F2F5F6;
- font-size: 28upx;
- padding: 10upx 25upx;
- height: 62upx;
- line-height: 62upx;
- border-radius: 8upx;
- }
- .login-margin-b{
- margin-bottom: 25upx;
- }
- .login-input{
- padding: 20upx 20upx;
- }
- .login-head{
- font-size: 34upx;
- text-align: center;
- height: 30upx;
- }
- .login-card{
- background: #fff;
- border-radius: 12upx;
- padding: 10upx 25upx;
- /* box-shadow: 0 6upx 18upx rgba(0,0,0,0.12); */
- position: relative;
-
- }
- .login-bg {
- /* height: 260upx;
- padding: 25upx;
- background: linear-gradient(#FF978D, #FFBB69); */
- }
- .uni-form-item .with-fun .uni-icon {
- text-align: left;
- }
-
- </style>
|