提交 8d7e6047 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: map.uvue

上级 f36b7b3e
......@@ -6,6 +6,10 @@
type: String,
default: ''
},
disabled: {
type: Boolean,
default: false
},
defaultValue: {
type: Boolean,
default: false
......@@ -32,7 +36,7 @@
<template>
<view class="button-data-main uni-flex">
<view class="uni-title" style="width:80%">{{ title }}</view>
<switch :checked="_checked" @change="_change" />
<switch :checked="_checked" :disabled="disabled" @change="_change" />
</view>
</template>
......
......@@ -15,7 +15,7 @@
<input-data defaultValue="13" title="scale: 缩放级别,取值范围为5-18" type="number"
@confirm="confirm_scale_input"></input-data>
<boolean-data :defaultValue="showLocation" title="开启显示带有方向的当前定位点" @change="change_show_location"></boolean-data>
<boolean-data :default-value="enable3D" title="3D效果" @change="change_enable_3d"></boolean-data>
<boolean-data :default-value="enable3D" :disabled="enableSatellite" title="3D效果(放大缩放级别才能看到建筑物3D效果)" @change="change_enable_3d"></boolean-data>
<boolean-data :default-value="showCompass" title="显示指南针" @change="change_show_campass"></boolean-data>
<boolean-data :default-value="enableOverlooking" title="俯视支持" @change="change_enable_overlooking"></boolean-data>
<boolean-data :default-value="enableRotate" title="旋转支持" @change="change_enable_rotate"></boolean-data>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册