<template> <view class="pages"> <view class="tip-icon-wrap"> <image class="tip-icon" src="/static/img/icon-success.png" mode=""></image> </view> <view class="tip-text">操作成功</view> <view class="tip-sub">商品已发布成功,请等待后台审核</view> <navigator url="/pages/index/index" class="big-btn primary" open-type="switchTab">返回主页</navigator> <!-- <navigator url="/" class="big-btn big-btn-hollow">查看商品</navigator> --> </view> </template> <script> export default { data() { return { params:{ token:'', } } }, onShow() { let serf = this; //检查登录,获取token // let loginRes = this.checkLogin('/pages/index/index', '2'); // if(!loginRes){return false;} // serf.params.token=loginRes[0]; }, onLoad() { }, methods: { } } </script> <style scoped> /* @import url("./publishsuccess.css"); */ page{background-color: #fff;} .tip-icon-wrap{text-align: center;} .tip-icon{width: 128rpx;height: 128rpx;margin-top: 64rpx;margin-bottom: 40rpx;} .tip-text{margin-bottom: 16rpx;font-size: 36rpx;font-weight: 400;color: #333;line-height: 50rpx;text-align: center;} .tip-sub{margin-bottom: 104rpx;min-height: 74rpx;font-size: 26rpx;font-weight: 400;color: #999;line-height: 37rpx;text-align: center;} </style>