自定义扫码界面

This commit is contained in:
xk_guohonglei
2020-10-28 10:47:16 +08:00
parent 9320a99366
commit 679c43a03e
10 changed files with 301 additions and 189 deletions

View File

@@ -36,7 +36,9 @@
<view class="margin-lg padding-lg bottom-bg">
<button class="bg-main-oil round" v-if="showRandom" @tap="loginRandom">登录</button>
<button class="bg-main-oil round" v-else @tap="loginPwd">登录</button>
</view>
<official-account @binderror="bindload" @bindload="binderror"></official-account>
<view class="bottom-part">
<service-hotline />
</view>
@@ -66,6 +68,12 @@
uni.showShareMenu()
},
methods: {
bindload(){
console.log('组件夹杂')
},
binderror(){
console.log('组件夹杂失败')
},
loginWeixin() {
uni.login({
provider: 'weixin',