identity.vue 445 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <view></view>
  3. </template>
  4. <script>
  5. export default {
  6. data() {
  7. return {
  8. // 1为商户,2为业主
  9. type: ''
  10. }
  11. },
  12. onLoad(options) {
  13. this.type = options.type
  14. this.handleCheck(this.type)
  15. },
  16. methods: {
  17. handleCheck(type) {
  18. uni.navigateTo({
  19. url: `/pagesSub/web/web?url=https://www.jinganrenjiams.com/hotelReservation/getLoginCode/&type=${type}&check=1`
  20. })
  21. }
  22. }
  23. }
  24. </script>
  25. <style lang="scss" scoped></style>