提交 45a92cd1 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

update: 隐私协议授权示例样式调整

(cherry picked from commit 99b10f44)
上级 1a197182
...@@ -2,18 +2,18 @@ ...@@ -2,18 +2,18 @@
<view class="uni-padding-wrap"> <view class="uni-padding-wrap">
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="item-box"> <view class="item-box">
<text>当前应用隐私状态:</text> <text>当前应用隐私授权状态:</text>
<text>{{ appPrivacy }}</text> <text>{{ appPrivacy }}</text>
</view> </view>
<view> <view>
<button class="privacy-button" type="primary" @tap="getPrivacySetting"> <button class="privacy-button" type="primary" @tap="getPrivacySetting">
获取隐私协议状态 获取隐私协议授权状态
</button> </button>
<button class="privacy-button" type="primary" open-type="agreePrivacyAuthorization"> <button class="privacy-button" type="primary" open-type="agreePrivacyAuthorization">
同意隐私协议 同意隐私协议
</button> </button>
<button class="privacy-button" type="primary" @tap="resetPrivacyAuthorization"> <button class="privacy-button" type="primary" @tap="resetPrivacyAuthorization">
重置隐私协议状态 重置隐私协议授权状态
</button> </button>
</view> </view>
</view> </view>
...@@ -70,13 +70,13 @@ ...@@ -70,13 +70,13 @@
<style> <style>
.item-box { .item-box {
margin-bottom: 15px; margin-bottom: 10px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
} }
.privacy-button{ .privacy-button{
margin-top: 15px; margin-top: 5px;
margin-bottom: 15px; margin-bottom: 5px;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册