<wrapper>
  <view class="get-phone-container">
    <!-- title -->
    <view class="phone-title">收货人</view>
    <view class="phone">
      <!-- 电话号文字 -->
      <view class="phone-text">电话号</view>
      <!-- 输入框 -->
      <input
        controlled
        class="phone-input-number"
        maxlength="{{11}}"
        onInput="handleInput"
        value="{{inputPhone}}"
        placeholder="请输入电话号"
        type="number"
      />
      <!-- 一键获取 -->
      <button
        a:if="{{hasPermission}}"
        class="phone-get-phone"
        scope="phoneNumber"
        open-type="getAuthorize"
        onGetAuthorize="onGetAuthorize"
      >一键获取</button>
    </view>
  </view>
</wrapper>