You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<view style="background-color: aliceblue;height: 100vh;overflow: hidden;">
<view style="margin: 100rpx auto;text-align: center;">
<image style="width: 117rpx;height: 134rpx;" src="../../../../static/resource/icon/icon_success.png">
</image>
</view>
<view style="margin: 40rpx auto;display: flex;justify-content: center;" class="flex-col">
<view style="text-align: center;">订单已经提交成功,请等待工作人员确认</view>
<view class="btn btnlogin" style="margin: 40rpx auto;" @click="toOrder">
<text>查看订单</text>
<image src="../../static/resource/imgs/btn_bg.png" class="btnbg"></image>
</view>
</view>
<view class="btn btnCancel" style="margin: 40rpx auto;" @click="toback">
<text>返回首页</text>
</view>
</view>
</template>
<script>
import util from "../../../../utils/util.js";
export default {
data() {
return {
id: ""
}
},
onShareAppMessage() {},
onLoad(options) {
this.id = options.id
},
onReady() {},
onHide() {},
methods: {
toOrder() {
var that = this;
uni.navigateTo({
url: "/packages/packagesOrder/pages/orderInfo/index?id=" + that.id
})
},
toback: function() {
uni.switchTab({
url: '/pages/index/index'
});
}
}
}
</script>
<style>
.btn {
border-radius: 36rpx 36rpx 36rpx 36rpx;
height: 72rpx;
width: 347rpx;
font-weight: 300;
font-size: 26rpx;
line-height: 72rpx;
text-align: center;
position: relative;
}
.btnbg {
width: 400rpx;
height: 76rpx;
position: absolute;
bottom: -36rpx;
left: -27rpx;
}
.btnlogin {
background: linear-gradient(90deg, #0ee2ba, #67f7dc);
color: #fff !important;
}
.btnCancel {
background: #fff;
color: #303233;
}
</style>