|
@@ -48,30 +48,25 @@
|
|
|
<view class="fx-g1"></view>
|
|
|
<image @tap="showPass = !showPass" :src="showPass ? '/static/img/mis_pass.png' : '/static/img/ck_pass.png' " class="miss-pass"></image>
|
|
|
</view>
|
|
|
- <view class="login-input fx-r">
|
|
|
+ <view class="login-input fx-r" v-if="showData">
|
|
|
<view class="left fx-h fx-ac">
|
|
|
<image class="icon" style="margin-left: 20rpx;" src="/static/img/login-password.png"></image>
|
|
|
</view>
|
|
|
- <input type="text" v-model="form.code" placeholder="请输入邀请码" />
|
|
|
+ <input type="text" v-model="form.code" placeholder="请输入邀请码(非必填)" />
|
|
|
</view>
|
|
|
<view class="btn ihover" @tap="tapSubmit">注册账号</view>
|
|
|
-
|
|
|
<view class="agament fx-r fx-bc fx-ac">
|
|
|
<view @tap="isRead = !isRead" class="fx-r fx-ac fx-bc">
|
|
|
<image v-if="!isRead" src="/static/img/radio_buttons.png"></image>
|
|
|
<image v-else src="/static/img/radio_buttons_btn.png"></image>
|
|
|
注册及同意
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
<text @tap="tapOpen" data-url="/pages/operation/user">《用户协议》</text>
|
|
|
,认真阅读<text @tap="tapOpen" data-url="/pages/operation/package">《易趣CBB产品购买协议》</text>
|
|
|
</view>
|
|
|
<view id="captcha"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
</template>
|
|
|
<style lang="scss">
|
|
@@ -224,10 +219,20 @@
|
|
|
verifyCount : 0,
|
|
|
showPass : false,
|
|
|
captchaIns : null,
|
|
|
- validate : ""
|
|
|
+ validate : "",
|
|
|
+ // #ifdef APP
|
|
|
+ showData:false,
|
|
|
+ // #endif
|
|
|
+ // #ifndef APP
|
|
|
+ showData:true,
|
|
|
+ // #endif
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
+ // #ifdef APP
|
|
|
+ this.showData = uni.getStorageSync("showData");
|
|
|
+ console.log(this.showData)
|
|
|
+ // #endif
|
|
|
this.initView();
|
|
|
this.$nextTick(()=>{
|
|
|
this.initNeCaptcha();
|