Commit 2c6150dd authored by Damon's avatar Damon

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

parent 80cdc868
......@@ -33,18 +33,14 @@
<view v-show="standardShow" class="page-mask" :z-index="10000">
<photo-standard :currentItem="currentItem" />
<view class="btn-close">
<image @click="closeShadow" class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png">
</image>
<image @click="closeShadow" class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"></image>
</view>
</view>
</view>
<photo-preview v-if="showType === 2" @changeType="changeType" @finish="finish" />
<photo-setting v-if="showType === 3" @changeType="changeType" />
</view>
</template>
// 加载该组件需要在当前页面隐藏顶部导航栏,然后加上自定义导航栏,通过状态切换显示隐藏
<!-- <u-navbar v-if="!takeStatus" :is-back="false" :title-size="26" title-color="#000" title="我的"></u-navbar> -->
</template>
<script>
let r = require("@/libs/bmap-wx.min.js");
......@@ -105,7 +101,7 @@
ratio: 0,
cameraChange: false,
waterSetting: null,
shadowInitShow: true, // 第一次进入页面需显示弹窗
shadowInitShow: false, // 第一次进入页面需显示弹窗
}
},
created(e) {
......@@ -120,7 +116,10 @@
this.initData()
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: {
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