123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <template>
- <view>
- <navbar :iSimmersive="false" title-color="#ffffff" background="#1b43c4" :placeholder="true" title="订单提示"></navbar>
- <view class="wrap">
- <view class="top c">
- <image v-if="static" :src="static+'app/empty.png'"></image>
- </view>
- <view class="title c">抱歉,页面发生错误</view>
- <view class="intro c">{{msg}}</view>
- <view class="btn c">
- <text @click="$utils.switchTab('cart/index')">返回购物车</text>
- </view>
- </view>
- </view>
- </template>
- <script>
- import navbar from "@/components/navbar/navbar";
- export default {
- components: {
- navbar
- },
- data(){
- return {
- static: "",
- msg: ""
- };
- },
- onLoad() {
- this.static = this.$static;
- this.msg = this.$storage.get("order_msg");
- }
- }
- </script>
- <style lang="scss" scoped>
- .wrap{
- background-color: #fff;
- height: 100vh;
- .c{
- width: 100%;
- float: left;
- text-align: center;
- }
- .top{
- margin-top: 100rpx;
- image {
- width: 300rpx;
- height: 300rpx;
- }
- }
- .title{
- font-size: 46rpx;
- color: #333;
- margin-top: 70rpx;
- }
- .intro{
- margin-top: 60rpx;
- color: #666;
- }
- .btn{
- margin-top: 90rpx;
- text{
- width: 100px;
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- color: #fff;
- background-color: #1b43c4;
- font-size: 30rpx;
- display: inline-block;
- border-radius: 10rpx;
- }
- }
- }
- </style>
|