123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="" style="margin:300rpx auto;width:80%;">
  3. <view class="button-sp-area">
  4. <button @tap="logarBitration(1)" class="login-btn cu-btn block bg-blue lg round">登录仲裁系统</button>
  5. </view>
  6. <view class="action-btn"style="margin-top:100rpx">
  7. <button @tap="logarBitration(2)" class="login-btn cu-btn block bg-blue lg round">登录调解系统</button>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data(){
  14. return {
  15. }
  16. },
  17. methods:{
  18. // 登录仲裁调节系统
  19. logarBitration(val){
  20. uni.setStorageSync('sysType',val)
  21. let params ={values:val}
  22. let url ='/pages/login?values='+encodeURIComponent(params.values)
  23. uni.navigateTo({ url })
  24. }
  25. },
  26. onShow() {
  27. uni.removeStorageSync('sysType')
  28. }
  29. }
  30. </script>
  31. <style lang="scss">
  32. page {
  33. background-color: #ffffff;
  34. }
  35. </style>