小程序登录页面去除账户登录方式,地址添加优化

master
gongfuxiang 2023-04-10 20:46:21 +08:00
parent ea46c9b91f
commit f662fe2385
3 changed files with 4 additions and 12 deletions

View File

@ -279,16 +279,6 @@
<button class="margin-left-lg bg-green br-green cr-white round" type="default" size="mini" open-type="getAuthorize" @getAuthorize="get_user_info_event" scope="userInfo">使用授权自动登录</button>
<!-- #endif -->
</view>
<view class="margin-top-xxxl padding-top-xxxl padding-horizontal-main padding-bottom-main">
<!-- 登录 -->
<view v-if="(home_user_login_type || null) != null && home_user_login_type.length > 0" class="margin-bottom-xxxl tc">
<text class="cr-main round padding-top-xs padding-bottom-xs padding-horizontal-main" data-value="login" @tap="opt_form_event"></text>
</view>
<!-- 注册 -->
<view v-if="(home_user_reg_type || null) != null && home_user_reg_type.length > 0" class="margin-bottom-xl tc">
<text class="cr-main-pair round padding-top-xs padding-bottom-xs padding-horizontal-main" data-value="reg" @tap="opt_form_event"></text>
</view>
</view>
</view>
<!-- #endif -->

View File

@ -38,7 +38,7 @@
z-index: 2;
}
.auto-discern button {
line-height: inherit;
line-height: normal;
padding: 5rpx 20rpx !important;
}
@ -78,4 +78,6 @@
border-bottom-left-radius: 0 !important;
border-top-right-radius: 50rpx !important;
border-bottom-right-radius: 50rpx !important;
padding: 0 !important;
width: 120rpx !important;
}

View File

@ -65,7 +65,7 @@
<view v-if="is_user_address_discern == 1" class="form-gorup pr br-main-pair">
<textarea @input="address_discern_value_event" class="margin-0" placeholder="粘贴整段地址,自动拆分姓名、电话及地址" placeholder-class="cr-grey" />
<cover-view class="auto-discern pa">
<button type="default" size="mini" class="round bg-main-pair cr-white br-main-pair" @tap="address_discern_submit_event"></button>
<button type="default" size="mini" class="round bg-main-pair cr-white br-main-pair text-size-xs" @tap="address_discern_submit_event"></button>
</cover-view>
</view>