环卫车小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

7 months ago
  1. <template>
  2. <view>
  3. <view class="se-fs-40 se-fw-6 se-ta-c se-pt-120">
  4. 请选择您的身份
  5. </view>
  6. <view @click="onBusiness" class="business se-mt-80 se-br-10 se-mx-35 se-bgc-red se-flex se-flex-h-sb se-w-680 se-h-240 se-fs-48 se-c-white">
  7. <text class="se-ml-80">企业</text>
  8. <image class="se-a-170 se-br-p-50 se-mr-80" src="@/static/image/7525122.png" mode=""></image>
  9. </view>
  10. <view @click="onPerson" class="master se-mt-80 se-br-10 se-mx-35 se-bgc-orange se-flex se-flex-h-sb se-w-680 se-h-240 se-fs-48 se-c-white">
  11. <text class="se-ml-80">个人</text>
  12. <image class="se-a-170 se-br-p-50 se-mr-80" src="@/static/image/7525121.png" mode=""></image>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default{
  18. data(){
  19. return{
  20. }
  21. },
  22. methods:{
  23. onBusiness(){
  24. uni.navigateTo({
  25. url:"/pages_subpack/business/index"
  26. })
  27. },
  28. onPerson(){
  29. uni.navigateTo({
  30. url:"/pages_subpack/person/index"
  31. })
  32. }
  33. }
  34. }
  35. </script>
  36. <style>
  37. .business{
  38. width: 690rpx;
  39. height: 240rpx;
  40. background: #f0a921;
  41. border: 8rpx solid rgba(255,255,255,0.64);
  42. border-radius: 16rpx;
  43. }
  44. .master{
  45. width: 690rpx;
  46. height: 240rpx;
  47. background: #87bf53;
  48. border: 8rpx solid rgba(255,255,255,0.64);
  49. border-radius: 16rpx;
  50. }
  51. </style>