apply.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <view class="page" :style="{'height':h+'px','padding-top':mt+'px'}">
  3. <c-nav-bar title="选择门店" backUrl="/pages/login/index" :showHome="false"></c-nav-bar>
  4. <view class="info">
  5. <image src="https://fsy.shengsi.gov.cn/file/20240711/d7fa683293c643649ea467e906919497.png"></image>
  6. <view class="text">您暂未入驻,还没有门店信息 请去“游嵊泗”小程序用户端 提交资料申请入驻~</view>
  7. </view>
  8. <view class="apply" @tap="apply">申请入驻</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. methods: {
  14. apply() {
  15. uni.navigateToMiniProgram({
  16. appId: "wx3ff22b7cc3ede307",
  17. path: "pages/my/index",
  18. success(res) {
  19. },
  20. fail(err) {
  21. this.$showToast('跳转“游嵊泗”小程序失败')
  22. }
  23. })
  24. }
  25. }
  26. }
  27. </script>
  28. <style scoped lang="less">
  29. .page {
  30. background: #F5F8FA;
  31. display: flex;
  32. flex-direction: column;
  33. align-items: center;
  34. width: 100%;
  35. padding: 0 88rpx;
  36. box-sizing: border-box;
  37. .info {
  38. width: 100%;
  39. padding: 0 68rpx;
  40. box-sizing: border-box;
  41. display: flex;
  42. flex-direction: column;
  43. align-items: center;
  44. margin-top: 220rpx;
  45. image {
  46. width: 438rpx;
  47. height: 310rpx;
  48. }
  49. .text {
  50. width: 100%;
  51. padding: 0 11rpx;
  52. box-sizing: border-box;
  53. margin-top: 37rpx;
  54. font-family: PingFangSC, PingFang SC;
  55. font-weight: 400;
  56. font-size: 32rpx;
  57. color: #333333;
  58. line-height: 45rpx;
  59. text-align: center;
  60. }
  61. }
  62. .apply {
  63. margin-top: 288rpx;
  64. width: 100%;
  65. height: 90rpx;
  66. background: #1372FF;
  67. border-radius: 47rpx;
  68. line-height: 90rpx;
  69. text-align: center;
  70. font-family: PingFang-SC, PingFang-SC;
  71. font-weight: bold;
  72. font-size: 32rpx;
  73. color: #FFFFFF;
  74. letter-spacing: 2rpx;
  75. }
  76. }
  77. </style>