|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view class="login"> |
|
|
|
<!-- <view class="login"> |
|
|
|
<view class="refund-navbar"> |
|
|
|
<view class="refund-navbar"> |
|
|
|
<u-navbar title="" :border-bottom="false" :background="background"></u-navbar> |
|
|
|
<u-navbar title="" :border-bottom="false" :background="background"></u-navbar> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -21,7 +21,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="login-fd login-fd-on" @click="login">登录</view> |
|
|
|
<view class="login-fd login-fd-on" @click="login">登录</view> |
|
|
|
<view class="" v-if="isCheckout"> |
|
|
|
<view class="" v-if="isCheckout"> |
|
|
|
<mpWeiXinMobile :refereeId="refereeId"></mpWeiXinMobile> |
|
|
|
<mpWeiXinMobile :refereeId="refereeId" :isNew='1'></mpWeiXinMobile> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="" v-else style=" |
|
|
|
<view class="" v-else style=" |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
@ -31,22 +31,25 @@ |
|
|
|
" @click="login"> |
|
|
|
" @click="login"> |
|
|
|
手机号快捷登录 |
|
|
|
手机号快捷登录 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="login-box" style="display: none;"> |
|
|
|
<view class="login-box"> |
|
|
|
<view class="refund-navbar"> |
|
|
|
<view class="refund-navbar"> |
|
|
|
<u-navbar title="" :border-bottom="false" background="rgba(255, 233, 240, 1)"></u-navbar> |
|
|
|
<u-navbar title="" :border-bottom="false" background="rgba(255, 233, 240, 1)"></u-navbar> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="login-logo"> |
|
|
|
<view class="login-logo"> |
|
|
|
<image src="../../static/login_logo.png" mode=""></image> |
|
|
|
<image :src="loginInfo.login_img" mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="login-name"> |
|
|
|
<view class="login-name"> |
|
|
|
京苏云商 |
|
|
|
{{loginInfo.store_name}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="c"> |
|
|
|
<view class="c"> |
|
|
|
<u-checkbox active-color="#FF343C" v-model="isCheckout" style="margin-right: -20rpx"></u-checkbox> |
|
|
|
<u-checkbox active-color="#FF343C" v-model="isCheckout" style="margin-right: -20rpx"></u-checkbox> |
|
|
|
同意<text @click="toTextPage(1)">《用户服务协议》</text>和<text @click="toTextPage(2)">《隐私政策》</text> |
|
|
|
同意<text @click="toTextPage(1)">《用户服务协议》</text>和<text @click="toTextPage(2)">《隐私政策》</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="fd fd-on" @click="login">登录</view> |
|
|
|
<view class="" v-if="isCheckout"> |
|
|
|
|
|
|
|
<mpWeiXinMobile :isNew='2' :refereeId="refereeId"></mpWeiXinMobile> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="fd fd-on" v-else @click="login">登录</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -80,6 +83,7 @@ |
|
|
|
countDownFun: null, |
|
|
|
countDownFun: null, |
|
|
|
code: "", |
|
|
|
code: "", |
|
|
|
refereeId: "", |
|
|
|
refereeId: "", |
|
|
|
|
|
|
|
loginInfo:{} |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(o) { |
|
|
|
onLoad(o) { |
|
|
@ -93,8 +97,25 @@ |
|
|
|
console.log(scene.refereeId) |
|
|
|
console.log(scene.refereeId) |
|
|
|
console.log("refereeId", refereeId) |
|
|
|
console.log("refereeId", refereeId) |
|
|
|
console.log(this.refereeId) |
|
|
|
console.log(this.refereeId) |
|
|
|
|
|
|
|
this.getLogoName() |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
getLogoName() { |
|
|
|
|
|
|
|
let that = this |
|
|
|
|
|
|
|
CaptchaApi.getStoreInfo({ |
|
|
|
|
|
|
|
mobile: that.phoneNum |
|
|
|
|
|
|
|
}).then((res) => { |
|
|
|
|
|
|
|
if (res.status == 200) { |
|
|
|
|
|
|
|
that.loginInfo=res.data |
|
|
|
|
|
|
|
console.log(that.loginInfo) |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
|
|
icon: "none", |
|
|
|
|
|
|
|
title: res.message, |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
toTextPage(n) { |
|
|
|
toTextPage(n) { |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/news1/text?pageFlag=" + n, |
|
|
|
url: "/pages/news1/text?pageFlag=" + n, |
|
|
@ -226,30 +247,31 @@ |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.login-box { |
|
|
|
.login-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
background: linear-gradient(180deg, rgba(255, 233, 240, 1) 0%, rgba(226, 244, 243, 0) 35%); |
|
|
|
background: linear-gradient(180deg, rgba(255, 233, 240, 1) 0%, rgba(226, 244, 243, 0) 30%); |
|
|
|
min-height: 100vh; |
|
|
|
min-height: 100vh; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
|
|
|
|
.login-logo { |
|
|
|
.login-logo { |
|
|
|
margin: 365rpx auto 0 auto; |
|
|
|
margin: 38% auto 0 auto; |
|
|
|
width: 132rpx; |
|
|
|
width: 132rpx; |
|
|
|
height: 132rpx; |
|
|
|
height: 132rpx; |
|
|
|
border-radius: 24rpx; |
|
|
|
border-radius: 24rpx; |
|
|
|
background: rgba(243, 74, 64, 1); |
|
|
|
overflow: hidden; |
|
|
|
box-shadow: -4rpx -8rpx 20rpx rgba(243, 74, 64, 0.16); |
|
|
|
// background: rgba(243, 74, 64, 1); |
|
|
|
|
|
|
|
// box-shadow: -4rpx -8rpx 20rpx rgba(243, 74, 64, 0.16); |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 75rpx; |
|
|
|
width: 100%; |
|
|
|
height: 85rpx; |
|
|
|
height: 100%; |
|
|
|
margin: 23.5rpx 0 0 28.5rpx; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.login-name { |
|
|
|
.login-name { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
margin-bottom: 70rpx; |
|
|
|
font-weight: bold; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 36rpx; |
|
|
|
font-size: 38rpx; |
|
|
|
color: rgba(243, 74, 64, 1); |
|
|
|
color: rgba(243, 74, 64, 1); |
|
|
|
margin-top: 22rpx; |
|
|
|
margin-top: 22rpx; |
|
|
|
} |
|
|
|
} |
|
|
@ -281,7 +303,7 @@ |
|
|
|
border-radius: 88rpx; |
|
|
|
border-radius: 88rpx; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
margin: 0 auto; |
|
|
|
margin: 0 auto; |
|
|
|
margin-top: 50rpx; |
|
|
|
margin-top: 20rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
color: #ffffff; |
|
|
|
color: #ffffff; |
|
|
|