Commit c186de06 authored by 李俊赕's avatar 李俊赕

预览页增加完成按钮

parent 9cbee1f3
......@@ -7,6 +7,7 @@
<image class="btn" :src="btn_remake" @click="remakePhoto"></image>
<image class="btn" :src="btn_continue" @click="continuePhoto"></image>
</view>
<image class="btn finish" src="/static/photo/finish.png" @click="finishPhoto"></image>
</view>
</template>
......@@ -19,7 +20,7 @@
return {
protocolContent: '',
btn_remake: 'https://qn-static.banshouhui.com/take_order/photo/remake.png',
btn_continue: 'https://qn-static.banshouhui.com/take_order/photo/continue.png',
btn_continue: '/static/photo/continue.png',
standardId: '',
images: [],
files: [],
......@@ -119,7 +120,12 @@
delta:1
})
},
finishPhoto(){
// 完成本项
uni.navigateBack({
delta:2
})
},
// 确认图片
continuePhoto() {
let self = this
......@@ -211,7 +217,7 @@
box-shadow: 0 0 1rpx 6rpx rgba(255,255,255,0.05);
background-color: #333333;
width: 100%;
padding:70rpx;
padding:70rpx 0;
position: fixed;
bottom: 0;
display: flex;
......@@ -223,4 +229,14 @@
height: 88rpx;
}
}
.btn{
display: block;
width: 232rpx;
height: 80rpx;
&.finish{
position: fixed;
top:30rpx;
right:30rpx;
}
}
</style>
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