<div>
  <div class="item item-divider">
    网络状态
  </div>
  <div class="form-item-group" ng-click="setConnectedInfo()">
    <div class="item-input item item-icon-right" style="color:rgb(0, 139, 255);">
      能否连接到服务器
      <i class="icon ion-ios-checkmark-empty" ng-if="connected"></i>
      <ion-spinner icon="ios-small" class="icon" ng-if="!connected"></ion-spinner>
    </div>
    <div class="item-input item item-icon-right" style="color:rgb(0, 139, 255);">
      物理网络状态
      <span class="input-right" ng-if="netStatus.networkConnected && loaded">
        <span ng-if="netStatus.wifiConnected">wifi在线</span>
        <span ng-if="netStatus.mobileConnected">2/3/4G在线</span>
        <span ng-if="!netStatus.wifiConnected && !netStatus.mobileConnected">在线</span>
      </span>
      <span class="input-right" ng-if="!netStatus.networkConnected && loaded" style="color:red;">
        没有在线
      </span>
       <ion-spinner icon="ios-small" class="icon" ng-if="!loaded"></ion-spinner>
    </div>
  </div>
</div>
