Ver código fonte

feature: 处理登录界面选择与不选择不明显问题

332777428@qq.com 6 meses atrás
pai
commit
af5bb0590d
3 arquivos alterados com 7 adições e 5 exclusões
  1. BIN
      img/login_agree_nor.png
  2. BIN
      img/login_agree_sel.png
  3. 7 5
      pages/pageA/login/login.wxml

BIN
img/login_agree_nor.png


BIN
img/login_agree_sel.png


+ 7 - 5
pages/pageA/login/login.wxml

@@ -3,16 +3,18 @@
   <nav-bar bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{nvabarData}}'>
   </nav-bar>
   <view class="mair">
-    <image mode="widthFix" src="../../../img/k.png"></image>
+    <image mode="widthFix" src="./../../img/k.png"></image>
     <view class="loginbut">
       <view class="mode" wx:if="{{!isAgree}}" catchtap="notlogin"></view>
       <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号快速登录</button>
     </view>
     <view class="ys">
-      <image bindtap="egree" mode="aspectFill" src="../../../img/{{isAgree ? 'h' : 'j'}}.png"></image>
-      <view>我已阅读并同意<text data-index="0"  bindtap="goabout">《猫王妙播用户服务协议》</text>
-        <text data-index="1"  bindtap="goabout">《猫王妙播用户隐私协议》</text></view>
+      <!-- <image bindtap="egree" mode="aspectFill" src="./../../img/{{isAgree ? 'h' : 'j'}}.png"></image> -->
+      <image style="margin-top: 5rpx;" bindtap="egree" mode="aspectFill" src="../../../img/login_agree_{{isAgree ? 'sel' : 'nor'}}.png"></image>
+      <view>我已阅读并同意<text data-index="0" bindtap="goabout">《猫王妙播用户服务协议》</text>
+        <text data-index="1" bindtap="goabout">《猫王妙播用户隐私协议》</text>
+      </view>
     </view>
   </view>
   <!-- <view wx:if="{{isYs}}"><web-view src="https://ohplay.radio1964.net/privacy/protocol"></web-view></view> -->
-</view>
+</view>