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

预览页增加完成按钮

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