Commit 2c6150dd authored by Damon's avatar Damon

相机组件-无示意图不弹窗

parent 80cdc868
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
<view v-show="standardShow" class="page-mask" :z-index="10000"> <view v-show="standardShow" class="page-mask" :z-index="10000">
<photo-standard :currentItem="currentItem" /> <photo-standard :currentItem="currentItem" />
<view class="btn-close"> <view class="btn-close">
<image @click="closeShadow" class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"> <image @click="closeShadow" class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"></image>
</image>
</view> </view>
</view> </view>
</view> </view>
...@@ -43,9 +42,6 @@ ...@@ -43,9 +42,6 @@
</view> </view>
</template> </template>
// 加载该组件需要在当前页面隐藏顶部导航栏,然后加上自定义导航栏,通过状态切换显示隐藏
<!-- <u-navbar v-if="!takeStatus" :is-back="false" :title-size="26" title-color="#000" title="我的"></u-navbar> -->
<script> <script>
let r = require("@/libs/bmap-wx.min.js"); let r = require("@/libs/bmap-wx.min.js");
let h = new r.BMapWX({ let h = new r.BMapWX({
...@@ -105,7 +101,7 @@ ...@@ -105,7 +101,7 @@
ratio: 0, ratio: 0,
cameraChange: false, cameraChange: false,
waterSetting: null, waterSetting: null,
shadowInitShow: true, // 第一次进入页面需显示弹窗 shadowInitShow: false, // 第一次进入页面需显示弹窗
} }
}, },
created(e) { created(e) {
...@@ -120,7 +116,10 @@ ...@@ -120,7 +116,10 @@
this.initData() this.initData()
photo.currentItem = this.currentItem photo.currentItem = this.currentItem
if (this.currentItem.images.length > 0) this.standardShow = true if (this.currentItem.images.length > 0) {
this.shadowInitShow = true
this.standardShow = true
}
}, },
computed: { computed: {
titleTxt() { titleTxt() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment