|
|
@ -5,14 +5,23 @@ |
|
|
|
<image class="d" :src="configList?.logo_icon?.paramValueImage" mode="aspectFill"></image> |
|
|
|
</view> |
|
|
|
<view class="login-submit"> |
|
|
|
<up-button class="mt24" type="primary" text="微信授权登陆" @tap="loginWx" shape="circle" |
|
|
|
<up-button class="mt24" type="primary" text="微信授权登陆" @click="loginWx" shape="circle" |
|
|
|
color="#FFBF60"></up-button> |
|
|
|
<up-button @click="cancelLogin" class="mt24" type="primary" text="取消登录" shape="circle" |
|
|
|
color="#FFBF60"></up-button> |
|
|
|
</view> |
|
|
|
<view class="flex-rowc"> |
|
|
|
<view class="select"> |
|
|
|
<image mode="widthFix"></image> |
|
|
|
<view> |
|
|
|
<up-checkbox |
|
|
|
v-model:checked="isAgree" |
|
|
|
size="29rpx" |
|
|
|
icon-size="29rpx" |
|
|
|
name="agree" |
|
|
|
usedAlone |
|
|
|
shape="circle" |
|
|
|
activeColor="#FFBF60" |
|
|
|
> |
|
|
|
</up-checkbox> |
|
|
|
</view> |
|
|
|
<view class="size-26"> |
|
|
|
<text>我已阅读并同意猫爸狗妈</text> |
|
|
@ -60,8 +69,16 @@ |
|
|
|
const show = ref(false) |
|
|
|
const content = ref('') |
|
|
|
|
|
|
|
const isAgree = ref(false) |
|
|
|
|
|
|
|
// 微信授权登陆 |
|
|
|
const loginWx = () => { |
|
|
|
if (!isAgree.value) { |
|
|
|
return uni.showToast({ |
|
|
|
title: '请先同意隐私协议', |
|
|
|
icon:'none' |
|
|
|
}) |
|
|
|
} |
|
|
|
store.dispatch("login") |
|
|
|
} |
|
|
|
|
|
|
@ -149,18 +166,6 @@ |
|
|
|
@import "index"; |
|
|
|
@import "@/style/index.scss"; |
|
|
|
|
|
|
|
.select { |
|
|
|
width: 24rpx; |
|
|
|
height: 24rpx; |
|
|
|
border-radius: 50%; |
|
|
|
border: 1rpx solid #C7C7C7; |
|
|
|
margin-right: 8rpx; |
|
|
|
|
|
|
|
.active { |
|
|
|
background-color: $mainColor; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.footer { |
|
|
|
color: #C7C7C7; |
|
|
|
position: fixed; |
|
|
|