Commit 8544acb8 authored by renjie's avatar renjie

相册首页添加返回

parent 04feaacc
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<view class="big-box" :style="{'padding-top': statusBarHeight + 'px'}" v-show="show"> <view class="big-box" :style="{'padding-top': statusBarHeight + 'px'}" v-show="show">
<view class="nav-bar" :style="{'top': statusBarHeight + 'px', 'height': navHeight + 'px','line-height': navHeight + 'px'}"> <view class="nav-bar" :style="{'top': statusBarHeight + 'px', 'height': navHeight + 'px','line-height': navHeight + 'px'}">
<u-icon name="arrow-left" v-if="options.index" @click="returnClick"></u-icon>
摄影/旅拍 摄影/旅拍
</view> </view>
...@@ -144,6 +145,9 @@ export default { ...@@ -144,6 +145,9 @@ export default {
} }
}, },
methods: { methods: {
returnClick() {
uni.navigateBack({delta: 1})
},
closeMask() {//---关闭遮罩 closeMask() {//---关闭遮罩
this.showtip = false this.showtip = false
this.showUseRule = false this.showUseRule = false
......
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