李浩杰 hace 4 años
padre
commit
81b1c36009
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mini/pages/user/index.wxml

+ 1 - 1
mini/pages/user/index.wxml

xqd
@@ -11,7 +11,7 @@
     </view>
     <view class="sg-flex sg-align-center sg-space-between sg-pad sg-bottom-border">
       <view class="sg-gray-color">手机号码</view>
-      <input class="sg-input sg-text-right" value="{{phone}}" bindinput="updateInput" data-name="phone" wx:if="{{userInfo.phone}}"></input>
+      <input class="sg-input sg-text-right" value="{{phone}}" bindinput="updateInput" data-name="phone" wx:if="{{userInfo.phone}}" disabled="{{true}}"></input>
       <van-button type="info" open-type="getPhoneNumber" bind:getphonenumber="updatePhoneNumber" size="small" wx:else>点击授权获取</van-button>
     </view>
   </view>