style(login.vue): remove redundant harmony platform conditional comments
clean up the mp-harmony specific code blocks that are no longer needed
This commit is contained in:
@@ -48,11 +48,9 @@
|
||||
</view>
|
||||
<view class="regisiter-agreement"
|
||||
style="margin: 0 50rpx;padding-top: 40rpx;line-height: 1.5;display: flex;">
|
||||
<!-- #ifndef MP-HARMONY -->
|
||||
<view style="" class="iconfont"
|
||||
:class="isAgree ? 'icon-fuxuankuang1 color-base-text' : 'icon-fuxuankuang2'"
|
||||
@tap="isAgree = !isAgree"></view>
|
||||
<!-- #endif -->
|
||||
<view style="text-align: left;margin-left: 10rpx;padding-top: 2rpx;">{{
|
||||
$lang('login.login.registerAgreementText') }} <text
|
||||
@tap="tourl('/pages_tool/agreement/contenr?type=0')"
|
||||
@@ -194,14 +192,12 @@ export default {
|
||||
* 登录
|
||||
*/
|
||||
login() {
|
||||
// #ifndef MP-HARMONY
|
||||
if (!this.isAgree) {
|
||||
this.$util.showToast({
|
||||
title: this.$lang('login.login.agreeAgreementTip')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
// #endif
|
||||
if (this.loginMode == 'account') {
|
||||
var url = '/api/login/login';
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user