2020-06-01 11:41:09 +08:00
|
|
|
|
<template>
|
2020-06-02 08:49:13 +08:00
|
|
|
|
<!-- login页面 -->
|
|
|
|
|
<view>
|
2020-06-02 11:40:14 +08:00
|
|
|
|
<view class="login">
|
|
|
|
|
<image class="images" src="../../static/pageA/loginbackground.png"></image>
|
|
|
|
|
<view class="backes"></view>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="title">手机登录</view>
|
|
|
|
|
<view class="labales">
|
2020-06-11 08:43:51 +08:00
|
|
|
|
<!-- <text></text> -->
|
2020-07-29 15:04:57 +08:00
|
|
|
|
<input type="tel" placeholder="请输入您的手机号" maxlength="11" v-model="member_mobile" />
|
2020-06-02 11:40:14 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="labales">
|
2020-06-11 08:43:51 +08:00
|
|
|
|
<!-- <text></text> -->
|
2020-07-29 15:04:57 +08:00
|
|
|
|
<input type="number" placeholder="请输入验证码" maxlength="6" v-model="sms_code" />
|
2020-06-15 15:31:31 +08:00
|
|
|
|
<!-- <text class="identifying" @click="getCode">{{text}}</text> -->
|
2020-06-19 19:20:33 +08:00
|
|
|
|
<identifying @tochange="tochange" :smslog_type="smslog_type" :member_mobile="member_mobile"></identifying>
|
2020-06-02 11:40:14 +08:00
|
|
|
|
</view>
|
2020-06-19 19:20:33 +08:00
|
|
|
|
|
2020-06-02 11:40:14 +08:00
|
|
|
|
<!-- 服务协议 -->
|
2020-08-05 21:06:29 +08:00
|
|
|
|
<view class="pact" v-if="0">
|
2020-06-19 19:20:33 +08:00
|
|
|
|
<view>
|
2020-08-05 21:39:02 +08:00
|
|
|
|
<view style="padding-bottom: 10px;"></view>
|
2020-06-19 19:20:33 +08:00
|
|
|
|
<text>我已详细阅读并同意</text>
|
2020-07-29 15:04:57 +08:00
|
|
|
|
<text class="pact_text" v-for="(item,index) in pact_text" :key="index" @click="pact_click(index)"> {{item.text}}
|
|
|
|
|
</text>
|
2020-06-19 19:20:33 +08:00
|
|
|
|
</view>
|
2020-06-08 11:32:07 +08:00
|
|
|
|
<u-checkbox-group @change="checkboxGroupChange" size="27">
|
|
|
|
|
<u-checkbox @change="checkboxChange" v-model="item.checked" v-for="(item, index) in list" :key="index" :name="item.name"
|
2020-07-13 08:39:42 +08:00
|
|
|
|
shape="circle" size="30" active-color="#19BE6B"></u-checkbox>
|
2020-06-02 15:35:03 +08:00
|
|
|
|
</u-checkbox-group>
|
2020-06-02 11:40:14 +08:00
|
|
|
|
</view>
|
2020-06-02 09:27:35 +08:00
|
|
|
|
</view>
|
2020-06-02 11:40:14 +08:00
|
|
|
|
<!-- 注册 -->
|
|
|
|
|
<view class="more_Login">
|
2020-07-29 15:04:57 +08:00
|
|
|
|
<text @click="registerUrl()">{{register}}</text>
|
2020-06-08 11:32:07 +08:00
|
|
|
|
<text class="other" @click="mask_u">其他方式登录</text>
|
2020-07-29 15:04:57 +08:00
|
|
|
|
</view>
|
2020-06-08 11:32:07 +08:00
|
|
|
|
<!-- denglu QQ weixin -->
|
2020-06-15 15:31:31 +08:00
|
|
|
|
<view class="buttones">
|
2020-08-03 21:40:22 +08:00
|
|
|
|
<view @click="loginOn" class="btn">{{login}}</view>
|
|
|
|
|
<view class="a-go" @click="goIndex">暂不登录</view>
|
2020-06-15 15:31:31 +08:00
|
|
|
|
</view>
|
2020-06-08 11:32:07 +08:00
|
|
|
|
<u-mask :show="show" @click="show = false">
|
|
|
|
|
<view class="warp">
|
|
|
|
|
<view class="rect" @tap.stop>
|
2020-07-31 08:45:30 +08:00
|
|
|
|
<view class="rect_view" @click="loginOther(1)">
|
2020-06-08 11:32:07 +08:00
|
|
|
|
<image src="../../static/pageA/qq.png" class="image"></image>
|
|
|
|
|
<view>QQ登录</view>
|
|
|
|
|
</view>
|
2020-07-31 08:45:30 +08:00
|
|
|
|
<view class="rect_view" @click="loginOther(2)">
|
2020-06-15 15:31:31 +08:00
|
|
|
|
<image src="../../static/pageA/weixin.png" class="image"></image>
|
2020-06-08 11:32:07 +08:00
|
|
|
|
<view>微信登录</view>
|
|
|
|
|
</view>
|
2020-07-29 15:04:57 +08:00
|
|
|
|
<view class="rect_butoon" @click="show = false">取消</view>
|
2020-06-08 11:32:07 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</u-mask>
|
2020-06-02 09:27:35 +08:00
|
|
|
|
</view>
|
2020-06-17 12:09:28 +08:00
|
|
|
|
<u-toast ref="uToast" />
|
2020-06-02 08:49:13 +08:00
|
|
|
|
</view>
|
2020-06-01 11:41:09 +08:00
|
|
|
|
</template>
|
|
|
|
|
<script>
|
2020-06-17 12:09:28 +08:00
|
|
|
|
import identifying from '@/components/logininput/identifying'
|
2020-07-31 08:45:30 +08:00
|
|
|
|
import {
|
|
|
|
|
mapMutations
|
|
|
|
|
} from 'vuex';
|
2020-06-02 12:01:13 +08:00
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
list: [{
|
2020-06-17 12:09:28 +08:00
|
|
|
|
checked: true,
|
2020-06-02 15:35:03 +08:00
|
|
|
|
disabled: false
|
|
|
|
|
}],
|
2020-06-02 12:01:13 +08:00
|
|
|
|
value: '',
|
2020-06-19 19:20:33 +08:00
|
|
|
|
phones: '',
|
2020-06-15 15:31:31 +08:00
|
|
|
|
text: '获取验证码',
|
2020-06-08 11:32:07 +08:00
|
|
|
|
login: '登录',
|
2020-06-19 19:20:33 +08:00
|
|
|
|
register: '新用户点击注册',
|
2020-06-15 15:31:31 +08:00
|
|
|
|
show: false,
|
|
|
|
|
tips: '',
|
|
|
|
|
// refCode: null,
|
|
|
|
|
seconds: 60,
|
2020-06-17 12:09:28 +08:00
|
|
|
|
member_mobile: '', //手机号
|
2020-06-19 19:20:33 +08:00
|
|
|
|
smslog_type: '2', //状态
|
|
|
|
|
sms_code: '', //验证码
|
|
|
|
|
// 协议渲染
|
|
|
|
|
pact_text: [{
|
2020-07-31 08:45:30 +08:00
|
|
|
|
"id": '1',
|
|
|
|
|
"text": "《用户协议》"
|
|
|
|
|
}, {
|
|
|
|
|
"id": '2',
|
|
|
|
|
"text": "《隐私协议》"
|
|
|
|
|
}, {
|
|
|
|
|
"id": '3',
|
|
|
|
|
"text": "《使用协议》"
|
|
|
|
|
}, ],
|
|
|
|
|
temp_url: "", // 上个页面路径
|
|
|
|
|
pagesArr: ["pages/mine/index"], // 特殊路径
|
2020-06-02 12:01:13 +08:00
|
|
|
|
};
|
|
|
|
|
},
|
2020-06-17 12:09:28 +08:00
|
|
|
|
onLoad() {
|
|
|
|
|
// 数据的请求
|
2020-08-07 19:56:47 +08:00
|
|
|
|
// this.apiwelcome();
|
2020-06-17 12:09:28 +08:00
|
|
|
|
},
|
2020-07-31 08:45:30 +08:00
|
|
|
|
onShow() {
|
|
|
|
|
let pages = getCurrentPages();
|
|
|
|
|
let prePage = pages[pages.length - 2];
|
|
|
|
|
this.temp_url = prePage.route;
|
|
|
|
|
// console.log(this.temp_url);
|
|
|
|
|
},
|
|
|
|
|
// 切断正常返回
|
|
|
|
|
onBackPress(e) {
|
|
|
|
|
console.log(1, e);
|
|
|
|
|
if (this.pagesArr.includes(this.temp_url) && !this.hasLogin) {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: '../../pages/index/index'
|
|
|
|
|
})
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-06-02 12:01:13 +08:00
|
|
|
|
methods: {
|
2020-07-29 15:04:57 +08:00
|
|
|
|
...mapMutations(['loginIn']),
|
2020-06-19 19:20:33 +08:00
|
|
|
|
apiwelcome() {
|
2020-07-31 08:45:30 +08:00
|
|
|
|
this.$u.api.sendSmsCode({}).then((res) => {
|
2020-08-07 19:56:47 +08:00
|
|
|
|
if (res.errCode == 0) {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
2020-06-17 12:09:28 +08:00
|
|
|
|
})
|
|
|
|
|
},
|
2020-06-19 19:20:33 +08:00
|
|
|
|
// 协议跳转
|
2020-07-29 15:04:57 +08:00
|
|
|
|
pact_click(index) {
|
2020-06-19 19:20:33 +08:00
|
|
|
|
console.log(index)
|
|
|
|
|
uni.navigateTo({
|
2020-07-29 15:04:57 +08:00
|
|
|
|
url: '/pageA/pactList/pactList?index=' + index
|
2020-06-19 19:20:33 +08:00
|
|
|
|
});
|
|
|
|
|
},
|
2020-06-17 12:09:28 +08:00
|
|
|
|
// 用户登录
|
2020-06-19 19:20:33 +08:00
|
|
|
|
loginOn() {
|
2020-07-29 15:04:57 +08:00
|
|
|
|
let me = this;
|
2020-07-03 09:09:21 +08:00
|
|
|
|
// uni.navigateTo({
|
|
|
|
|
// url: '/pageE/zhibo/index'
|
|
|
|
|
// });
|
2020-06-19 19:20:33 +08:00
|
|
|
|
console.log("登录")
|
2020-06-17 12:09:28 +08:00
|
|
|
|
// console.log(this.member_mobile)
|
|
|
|
|
// console.log(this.sms_code)
|
2020-06-19 19:20:33 +08:00
|
|
|
|
// 判断手机号是否为空
|
|
|
|
|
// 校验手机号
|
2020-07-29 15:04:57 +08:00
|
|
|
|
let type_phone = this.$u.test.mobile(this.member_mobile)
|
|
|
|
|
if (this.member_mobile == '') {
|
2020-06-19 19:20:33 +08:00
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: '手机号不能为空',
|
|
|
|
|
})
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (type_phone == false) {
|
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: '手机号格式不正确',
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2020-07-29 15:04:57 +08:00
|
|
|
|
if (this.sms_code == '') {
|
|
|
|
|
this.$refs.uToast.show({
|
2020-06-19 19:20:33 +08:00
|
|
|
|
title: '验证码不能为空',
|
|
|
|
|
})
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2020-06-17 12:09:28 +08:00
|
|
|
|
this.$u.api.phoneLogin({
|
|
|
|
|
member_mobile: this.member_mobile,
|
|
|
|
|
sms_code: this.sms_code
|
|
|
|
|
}).then((res) => {
|
2020-06-19 19:20:33 +08:00
|
|
|
|
console.log(res)
|
2020-06-17 12:09:28 +08:00
|
|
|
|
// console.log(res)
|
2020-06-19 19:20:33 +08:00
|
|
|
|
if (res.errCode == 0) {
|
2020-07-29 15:04:57 +08:00
|
|
|
|
if (res.data == '') {
|
2020-07-03 10:50:02 +08:00
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
})
|
|
|
|
|
return false
|
2020-07-29 15:04:57 +08:00
|
|
|
|
} else {
|
|
|
|
|
me.loginIn(res.data.token); //存储一个字符传值
|
2020-08-03 14:41:49 +08:00
|
|
|
|
// 缓存用户的信息
|
2020-08-03 14:26:52 +08:00
|
|
|
|
uni.setStorageSync('user_info',res.data);
|
2020-08-01 11:16:53 +08:00
|
|
|
|
if (res.data.member.has_labels) {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: '/pages/index/index'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pageA/topick/topick'
|
|
|
|
|
})
|
|
|
|
|
}
|
2020-07-03 10:50:02 +08:00
|
|
|
|
}
|
2020-07-29 15:04:57 +08:00
|
|
|
|
|
2020-06-18 14:57:26 +08:00
|
|
|
|
// 存储接口请求所需token
|
2020-07-04 11:03:20 +08:00
|
|
|
|
// // 注册返回参数
|
|
|
|
|
// this.$refs.uToast.show({
|
|
|
|
|
// title: res.message,
|
|
|
|
|
// type: 'success',
|
|
|
|
|
// url: '/pageA/topick/topick'
|
|
|
|
|
// })
|
2020-07-31 08:45:30 +08:00
|
|
|
|
} else {
|
2020-06-17 12:09:28 +08:00
|
|
|
|
this.$refs.uToast.show({
|
|
|
|
|
title: res.message,
|
|
|
|
|
})
|
|
|
|
|
}
|
2020-07-29 15:04:57 +08:00
|
|
|
|
})
|
2020-06-17 12:09:28 +08:00
|
|
|
|
},
|
|
|
|
|
// qq授权登录
|
2020-07-31 08:45:30 +08:00
|
|
|
|
loginOther(type) {
|
|
|
|
|
var me = this;
|
2020-06-17 12:09:28 +08:00
|
|
|
|
uni.getProvider({
|
|
|
|
|
service: 'oauth',
|
2020-07-31 08:45:30 +08:00
|
|
|
|
success: (res) => {
|
|
|
|
|
if (type == 1) {
|
2020-06-17 12:09:28 +08:00
|
|
|
|
uni.login({
|
2020-06-19 19:20:33 +08:00
|
|
|
|
provider: 'qq',
|
2020-07-31 08:45:30 +08:00
|
|
|
|
success: (qqres) => {
|
|
|
|
|
console.log(qqres);
|
|
|
|
|
uni.getUserInfo({
|
|
|
|
|
provider: 'qq',
|
|
|
|
|
success: (data) => {
|
|
|
|
|
console.log(data);
|
|
|
|
|
this.$u.api.qqLogin({
|
|
|
|
|
member_qqopenid: data.userInfo.openId,
|
|
|
|
|
member_nickname: data.userInfo.nickName,
|
|
|
|
|
member_avatar: data.userInfo.avatarUrl,
|
|
|
|
|
}).then(res => {
|
|
|
|
|
console.log(res.errCode);
|
|
|
|
|
if (res.errCode == 0) {
|
|
|
|
|
this.loginIn(res.data.token);
|
|
|
|
|
this.show = false;
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: "../../pages/index/index"
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
fail: (e) => {
|
|
|
|
|
console.log(e);
|
2020-06-17 12:09:28 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
2020-06-19 19:20:33 +08:00
|
|
|
|
} else {
|
2020-07-31 08:45:30 +08:00
|
|
|
|
uni.login({
|
|
|
|
|
provider: 'weixin',
|
|
|
|
|
success: (wxres) => {
|
|
|
|
|
console.log(wxres);
|
|
|
|
|
uni.getUserInfo({
|
|
|
|
|
provider: 'weixin',
|
|
|
|
|
success: (data) => {
|
|
|
|
|
console.log(data);
|
|
|
|
|
this.$u.api.wechatLogin({
|
|
|
|
|
member_wxopenid: data.userInfo.openId,
|
|
|
|
|
member_nickname: data.userInfo.nickName,
|
|
|
|
|
member_avatar: data.userInfo.avatarUrl,
|
|
|
|
|
}).then(res => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
if (res.errCode == 0) {
|
|
|
|
|
this.loginIn(res.data.token);
|
|
|
|
|
this.show = false;
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: "../../pages/index/index"
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
fail: (e) => {
|
|
|
|
|
console.log(e);
|
|
|
|
|
}
|
|
|
|
|
});
|
2020-06-17 12:09:28 +08:00
|
|
|
|
}
|
2020-07-31 08:45:30 +08:00
|
|
|
|
},
|
|
|
|
|
fail: (e) => {
|
|
|
|
|
console.log(e);
|
2020-06-17 12:09:28 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 跳转注册页面
|
2020-06-19 19:20:33 +08:00
|
|
|
|
registerUrl() {
|
2020-06-17 12:09:28 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pageA/register/register'
|
|
|
|
|
});
|
|
|
|
|
},
|
2020-06-02 15:35:03 +08:00
|
|
|
|
// 选中某个复选框时,由checkbox时触发
|
2020-06-08 11:32:07 +08:00
|
|
|
|
checkboxChange(e) {
|
|
|
|
|
//console.log(e);
|
|
|
|
|
},
|
|
|
|
|
// 选中任一checkbox时,由checkbox-group触发
|
|
|
|
|
checkboxGroupChange(e) {
|
|
|
|
|
// console.log(e);
|
|
|
|
|
},
|
2020-06-15 15:31:31 +08:00
|
|
|
|
mask_u() {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
this.show = !this.show
|
|
|
|
|
},
|
2020-06-19 19:20:33 +08:00
|
|
|
|
tochange() {
|
|
|
|
|
|
2020-08-03 21:40:22 +08:00
|
|
|
|
},
|
|
|
|
|
goIndex() {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: "/pages/index/index"
|
|
|
|
|
})
|
|
|
|
|
}
|
2020-06-17 12:09:28 +08:00
|
|
|
|
},
|
2020-06-19 19:20:33 +08:00
|
|
|
|
components: {
|
2020-06-17 12:09:28 +08:00
|
|
|
|
identifying
|
2020-06-02 12:01:13 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
2020-06-01 11:41:09 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
2020-06-02 12:01:13 +08:00
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.login {
|
|
|
|
|
|
2020-06-02 11:40:14 +08:00
|
|
|
|
// background: url(../../static/pageA/loginbackground.png) no-repeat!important;
|
2020-06-02 12:01:13 +08:00
|
|
|
|
.images {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
position: fixed;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.backes {
|
|
|
|
|
background: rgba(0, 0, 0, 0.4);
|
2020-06-02 11:40:14 +08:00
|
|
|
|
position: fixed;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2020-06-02 12:01:13 +08:00
|
|
|
|
z-index: -1;
|
|
|
|
|
|
2020-06-02 11:40:14 +08:00
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
text {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
z-index: 9;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.more_Login {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
zoom: 1;
|
|
|
|
|
width: 630rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2020-07-29 15:04:57 +08:00
|
|
|
|
|
|
|
|
|
.u-checkbox__icon-wrap .u-icon {
|
|
|
|
|
width: 26rpx !important;
|
2020-07-13 08:39:42 +08:00
|
|
|
|
height: 26rpx;
|
|
|
|
|
}
|
2020-07-29 15:04:57 +08:00
|
|
|
|
|
2020-06-02 12:01:13 +08:00
|
|
|
|
.more_Login text {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 50%;
|
|
|
|
|
float: left;
|
2020-06-02 12:01:13 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
color: rgba(255, 255, 255, 1);
|
|
|
|
|
line-height: 36px;
|
2020-06-02 11:40:14 +08:00
|
|
|
|
margin: 97rpx 0;
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.more_Login .other {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
font-weight: bold;
|
2020-06-02 11:40:14 +08:00
|
|
|
|
margin-bottom: 150rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.content {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
width: 630rpx;
|
|
|
|
|
z-index: 99999;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding-top: 130rpx;
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.labales text {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.labales {
|
2020-06-18 14:57:26 +08:00
|
|
|
|
color: #FFF;
|
2020-06-02 11:40:14 +08:00
|
|
|
|
border-bottom: 1px #fff solid;
|
|
|
|
|
margin-bottom: 90rpx;
|
2020-06-11 08:43:51 +08:00
|
|
|
|
height: 70rpx;
|
|
|
|
|
line-height: 70rpx;
|
2020-06-02 11:40:14 +08:00
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
2020-06-11 08:43:51 +08:00
|
|
|
|
.labales:nth-child(3) {
|
2020-06-02 11:40:14 +08:00
|
|
|
|
position: relative;
|
2020-06-11 08:43:51 +08:00
|
|
|
|
margin-bottom: 10px;
|
2020-06-02 11:40:14 +08:00
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
2020-06-19 19:20:33 +08:00
|
|
|
|
.identifying {}
|
2020-06-02 11:40:14 +08:00
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.uni-input-input,
|
|
|
|
|
.uni-input-placeholder {
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
letter-spacing: 2rpx;
|
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.pact text {
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: rgba(255, 255, 255, 1);
|
2020-06-19 19:20:33 +08:00
|
|
|
|
// line-height: 36px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pact>view:first-child {
|
|
|
|
|
float: left;
|
|
|
|
|
|
2020-06-02 11:40:14 +08:00
|
|
|
|
}
|
2020-06-02 12:01:13 +08:00
|
|
|
|
|
|
|
|
|
.pact_text {
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: rgba(129, 188, 253, 1) !important;
|
2020-06-19 19:20:33 +08:00
|
|
|
|
// line-height: 36px;
|
2020-06-02 09:27:35 +08:00
|
|
|
|
}
|
2020-06-08 11:32:07 +08:00
|
|
|
|
|
2020-06-02 15:35:03 +08:00
|
|
|
|
//单选框的样式
|
2020-06-08 11:32:07 +08:00
|
|
|
|
.pact {
|
2020-06-02 15:35:03 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
padding-left: 40rpx;
|
2020-06-19 19:20:33 +08:00
|
|
|
|
overflow: hidden;
|
2020-08-05 21:39:02 +08:00
|
|
|
|
padding-bottom:10px
|
2020-06-19 19:20:33 +08:00
|
|
|
|
// overflow: hidden; //超出的文本隐藏
|
|
|
|
|
// text-overflow: ellipsis; //溢出用省略号显示
|
|
|
|
|
// white-space: nowrap; //溢出不换行
|
2020-06-02 15:35:03 +08:00
|
|
|
|
}
|
2020-06-08 11:32:07 +08:00
|
|
|
|
|
|
|
|
|
.u-checkbox-group {
|
2020-06-02 15:35:03 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin: auto;
|
|
|
|
|
}
|
2020-06-08 11:32:07 +08:00
|
|
|
|
|
|
|
|
|
.u-checkbox__icon--square {
|
|
|
|
|
border-radius: 50rpx !important;
|
2020-06-02 15:35:03 +08:00
|
|
|
|
width: 22rpx;
|
|
|
|
|
height: 22rpx;
|
|
|
|
|
}
|
2020-06-08 11:32:07 +08:00
|
|
|
|
|
2020-08-03 21:40:22 +08:00
|
|
|
|
.buttones {
|
|
|
|
|
.btn {
|
|
|
|
|
width: 628rpx;
|
|
|
|
|
height: 98rpx;
|
|
|
|
|
background: rgba(255, 120, 15, 1) !important;
|
|
|
|
|
border-radius: 49rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: rgba(255, 255, 255, 1) !important;
|
|
|
|
|
line-height: 98rpx;
|
|
|
|
|
border: 1px #ff780f solid;
|
|
|
|
|
outline: none;
|
|
|
|
|
border-color: rgba(255, 120, 15, 1) !important;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
.a-go {
|
|
|
|
|
margin-top: 24rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #f2f2f2;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-08 11:32:07 +08:00
|
|
|
|
|
|
|
|
|
.warp {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rect {
|
|
|
|
|
width: 558rpx;
|
|
|
|
|
height: 300rpx;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
zoom: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
2020-06-15 15:31:31 +08:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
|
|
|
|
|
/* Safari */
|
|
|
|
|
.rect_view {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
width: 100rpx;
|
|
|
|
|
height: 100rpx;
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.image {
|
|
|
|
|
width: 45rpx;
|
|
|
|
|
height: 53rpx;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
2020-06-08 11:32:07 +08:00
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
2020-06-08 11:32:07 +08:00
|
|
|
|
flex:1;
|
|
|
|
|
margin-top: 77rpx;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(2) image {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
width: 57rpx;
|
|
|
|
|
height: 45rpx;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_butoon {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
height: 85rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 85rpx;
|
|
|
|
|
border-top: 1px #999999 solid;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
view {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
color: #666;
|
2020-06-15 15:31:31 +08:00
|
|
|
|
font-size: 24rpx;
|
2020-06-08 11:32:07 +08:00
|
|
|
|
margin-top: 30rpx;
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
2020-06-08 11:32:07 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(1) image,
|
|
|
|
|
.rect_view:nth-child(1) view {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
float: right;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(1) image {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(1) {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
margin-right: 79rpx;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(1) view {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(2) image,
|
|
|
|
|
.rect_view:nth-child(2) view {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
float: left;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(2) image {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(2) {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2020-06-15 15:31:31 +08:00
|
|
|
|
|
|
|
|
|
.rect_view:nth-child(2) view {
|
2020-06-08 11:32:07 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
2020-06-01 11:41:09 +08:00
|
|
|
|
</style>
|