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

update: map.uvue

# Conflicts:
#	pages/component/map/map.uvue
上级 7e785174
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
type: String, type: String,
default: '' default: ''
}, },
disabled: {
type: Boolean,
default: false
},
defaultValue: { defaultValue: {
type: Boolean, type: Boolean,
default: false default: false
...@@ -32,7 +36,7 @@ ...@@ -32,7 +36,7 @@
<template> <template>
<view class="button-data-main uni-flex"> <view class="button-data-main uni-flex">
<view class="uni-title" style="width:80%">{{ title }}</view> <view class="uni-title" style="width:80%">{{ title }}</view>
<switch :checked="_checked" @change="_change" /> <switch :checked="_checked" :disabled="disabled" @change="_change" />
</view> </view>
</template> </template>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<input-data defaultValue="13" title="scale: 缩放级别,取值范围为5-18" type="number" <input-data defaultValue="13" title="scale: 缩放级别,取值范围为5-18" type="number"
@confirm="confirm_scale_input"></input-data> @confirm="confirm_scale_input"></input-data>
<boolean-data :defaultValue="showLocation" title="开启显示带有方向的当前定位点" @change="change_show_location"></boolean-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="showCompass" title="显示指南针" @change="change_show_campass"></boolean-data>
<boolean-data :default-value="enableOverlooking" title="俯视支持" @change="change_enable_overlooking"></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> <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.
先完成此消息的编辑!
想要评论请 注册