publishsuccess.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <view class="pages">
  3. <view class="tip-icon-wrap">
  4. <image class="tip-icon" src="/static/img/icon-success.png" mode=""></image>
  5. </view>
  6. <view class="tip-text">操作成功</view>
  7. <view class="tip-sub">商品已发布成功,请等待后台审核</view>
  8. <navigator url="/pages/index/index" class="big-btn primary" open-type="switchTab">返回主页</navigator>
  9. <!-- <navigator url="/" class="big-btn big-btn-hollow">查看商品</navigator> -->
  10. </view>
  11. </template>
  12. <script>
  13. export default {
  14. data() {
  15. return {
  16. params:{
  17. token:'',
  18. }
  19. }
  20. },
  21. onShow() {
  22. let serf = this;
  23. //检查登录,获取token
  24. // let loginRes = this.checkLogin('/pages/index/index', '2');
  25. // if(!loginRes){return false;}
  26. // serf.params.token=loginRes[0];
  27. },
  28. onLoad() {
  29. },
  30. methods: {
  31. }
  32. }
  33. </script>
  34. <style scoped>
  35. /* @import url("./publishsuccess.css"); */
  36. page{background-color: #fff;}
  37. .tip-icon-wrap{text-align: center;}
  38. .tip-icon{width: 128rpx;height: 128rpx;margin-top: 64rpx;margin-bottom: 40rpx;}
  39. .tip-text{margin-bottom: 16rpx;font-size: 36rpx;font-weight: 400;color: #333;line-height: 50rpx;text-align: center;}
  40. .tip-sub{margin-bottom: 104rpx;min-height: 74rpx;font-size: 26rpx;font-weight: 400;color: #999;line-height: 37rpx;text-align: center;}
  41. </style>