messageSubmit.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <view class="container">
  3. <view class="top-box">
  4. <img class="img" src="@/static/mine/icon_mine_success.png" alt="" />
  5. <p class="top-text">提交成功</p>
  6. </view>
  7. <view class="content-box">
  8. <view class="content-item">
  9. <view class="item-l">店铺名称</view>
  10. <view class="item-r">{{ listInfo.storeName }}</view>
  11. </view>
  12. <view class="content-item">
  13. <view class="item-l">法人名称</view>
  14. <view class="item-r">{{ listInfo.legalRepresentativeName }}</view>
  15. </view>
  16. <view class="content-item">
  17. <view class="item-l">详情地址</view>
  18. <view class="item-r">{{ listInfo.storeAddressDetail }}</view>
  19. </view>
  20. </view>
  21. <button class="btn" @click="handlerBackHome">返回首页</button>
  22. <button class="btn" @click="handlerViewDetail">查看详情</button>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. listInfo: {},
  30. };
  31. },
  32. onShow() {
  33. let legalInfo = this.$store.state.data.legalInfo;
  34. let storeInfo = this.$store.state.data.storeInfo;
  35. let aptitudeInfo = this.$store.state.data.aptitudeInfo;
  36. this.listInfo = Object.assign(
  37. {},
  38. {
  39. ...legalInfo,
  40. ...storeInfo,
  41. ...aptitudeInfo,
  42. },
  43. );
  44. console.log(this.listInfo);
  45. },
  46. methods: {
  47. // 点击跳转到开店详情页面
  48. handlerViewDetail() {
  49. uni.redirectTo({
  50. url: '/pageMerchant/mineModule/certification/openStoreAppealDetail',
  51. });
  52. },
  53. // 点击跳转到首页
  54. handlerBackHome() {
  55. // uni.redirectTo({
  56. // url: '/pageMerchant/tabbar/mine',
  57. // });
  58. uni.switchTab({
  59. url: '/pages/home/index',
  60. });
  61. },
  62. },
  63. };
  64. </script>
  65. <style lang="scss" scoped>
  66. .container {
  67. .top-box {
  68. text-align: center;
  69. margin-top: 100rpx;
  70. .img {
  71. width: 200rpx;
  72. height: 200rpx;
  73. }
  74. .top-text {
  75. font-size: 40rpx;
  76. font-weight: bold;
  77. margin-top: 20rpx;
  78. }
  79. }
  80. .content-box {
  81. margin: 200rpx auto 50rpx;
  82. width: 80%;
  83. border-top: 2rpx solid #f3f3f3;
  84. border-bottom: 2rpx solid #f3f3f3;
  85. padding: 20rpx;
  86. .content-item {
  87. display: flex;
  88. justify-content: space-between;
  89. margin: 20rpx 0;
  90. font-size: 28rpx;
  91. .item-l {
  92. color: #000;
  93. }
  94. .item-r {
  95. color: #9a9a9a;
  96. }
  97. }
  98. }
  99. .btn {
  100. background-color: #5992bb !important;
  101. color: #fff;
  102. font-size: 32rpx;
  103. border-radius: 40rpx;
  104. margin-top: 100rpx;
  105. margin-bottom: 100rpx;
  106. width: 90%;
  107. }
  108. }
  109. </style>
  110. s