提交 c75b08fb 编写于 作者: W wanganxp

完善措辞

上级 84b7104b
......@@ -3,7 +3,7 @@
<scroll-view style="flex:1">
<!-- #endif -->
<image src="/static/uni.png" style="margin: 30rpx 200rpx;height:350rpx;width: 350rpx;"></image>
<button style="margin: 30rpx;" @click="saveImage">将图片保存到相册</button>
<button style="margin: 30rpx;" @click="saveImage">将图片保存到手机相册</button>
<!-- #ifdef APP -->
</scroll-view>
<!-- #endif -->
......@@ -23,15 +23,14 @@
uni.showToast({
position: "center",
icon: "none",
title: "图片保存成功,请到相册查看"
title: "图片保存成功,请到手机相册查看"
})
},
fail(e) {
uni.showToast({
position: "center",
icon: "none",
title: "图片保存失败,code:" + e.errCode + ",message:" + e.errMsg
})
uni.showModal({
content: "保存相册失败,errCode:" + e.errCode + ",errMsg:" + e.errMsg + ",errSubject:" + e.errSubject,
showCancel: false
});
}
})
}
......
......@@ -50,7 +50,7 @@
<view class="content">
<boolean-data :defaultValue="false" title="按钮是否镂空,背景色透明" @change="change_plain_boolean"></boolean-data>
<boolean-data :defaultValue="false" title="是否禁用" @change="change_disabled_boolean"></boolean-data>
<boolean-data :defaultValue="false" title="设置默认样式和点击效果" @change="change_default_style"></boolean-data>
<boolean-data :defaultValue="false" title="修改默认样式和点击效果(高优先)" @change="change_default_style"></boolean-data>
<enum-data :items="size_enum" title="按钮的大小" @change="radio_change_size_enum"></enum-data>
<enum-data :items="type_enum" title="按钮的类型" @change="radio_change_type_enum"></enum-data>
</view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册