<!--pages/common-setting/common-setting.wxml-->
<view class="container safe-area-bottom">

	<view class="logo">
		<image src="/images/icon/logo.png" class="logo-image"></image>
		<text class="version">版本号 V{{version}}</text>
	</view>




	<!-- 个人信息 -->
	<view class="cell-group">
		<navigator class="cell" url="/pages/web-view/web-view?url={{userAgreement}}" hover-class="none">
			<view class="content">
				<!-- <image class="cell-pic" src="/images/icon/agreement-privacy.png"></image> -->
				<text>用户协议</text>
			</view>
			<image src="/images/icon/right.png" class="right"></image>
		</navigator>

		<navigator class="cell" url="/pages/web-view/web-view?url={{privacyPolicy}}" hover-class="none">
			<view class="content">
				<!-- <image class="cell-pic" src="/images/icon/version.png"></image> -->
				<text>隐私政策</text>
			</view>
			<image src="/images/icon/right.png" class="right"></image>
		</navigator>
		<!-- <navigator class="cell" url="/pages/version/version" hover-class="none">
      <view class="content">
        <image class="cell-pic" src="/images/icon/version.png"></image>
        <text>版本信息</text>
      </view>
      <image src="/images/icon/right.png" class="right"></image>
    </navigator> -->
	</view>
	<view class="cancellation global-family" bindtap="showCancellation">
		注销账户
	</view>
</view>
<view class="quit safe-area-bottom" bindtap="logout">
	<view>
		退出登录
	</view>
</view>
<view class="cover" wx:if='{{cancellation}}'>

	<view class="cover-content">

		<view class="body">
			注销账号是一个不可逆操作， 注销后会失去所有记录，请谨慎操作。
		</view>
		<view class="action">
			<view class="cancel" bindtap="showCancellation">取消</view>
			<view class="confirm" bindtap="cancellation">确认</view>
		</view>
	</view>


</view>