index.wxml
1.42 KB
<view class="page">
<view class="app__bgc bgc">
<image src="../../image/oss/index/index-c1.png" mode="scaleToFill" />
</view>
<view class="app__bg bg">
<image src="../../image/oss/index/index-c2.png" mode="scaleToFill" />
</view>
<view class="decoration">
<image class="d1" src="../../image/oss/index/index-c4.png" mode="widthFix" />
<image class="d2" src="../../image/oss/index/index-c3.png" mode="widthFix" />
</view>
<view class="app__content main" >
<view class="top-space"></view>
<view class="content">
<!-- 已授权 直接到下一步操作 -->
<!-- 需要授权 -->
<button wx:if="{{indexInfo.isNeedAuth == 1}}" bindgetuserinfo="bindGetUserInfo" class="btn">
马上测弹力值
</button>
<!-- 已授权 -->
<button wx:else bindtap="onStartHandler" class="btn">马上测弹力值</button>
<!-- 未授权 拉起授权弹窗 -->
<!-- <button class="btn" wx:else open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">马上测弹力值2</button> -->
</view>
<view class="rule-btn" bindtap="onShowRuleHandler">
<span class="c1">活动详情</span>
</view>
</view>
</view>
<van-popup show="{{ authorizeVisible }}" >
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<van-popup show="{{ tipsRuleVisible }}" bind:click-overlay="hideMask">
<tips-rule-comp bind:evtcomp="evtcomp"></tips-rule-comp>
</van-popup>