铝交易,微信公众号
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.

92 lines
1.9 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view>
  3. <navbar :title="$t('pageTitle.selectIdentity')"
  4. :leftClick="!$route.query.back" @leftClick="$utils.navigateBack" />
  5. <view class="container">
  6. <view class="title">{{ $t('components.selectIdentity') }}</view>
  7. <view class="button-group">
  8. <!--供应商-->
  9. <view class="identity-button" @click="selectIdentity(0)">
  10. <view class="identity-text"> {{ $t('other.iAmBuyer') }}</view>
  11. <view class="identity-icon">
  12. <img src="../../static/image/index/5.png" style="width: 100%; height: 100%;">
  13. </view>
  14. </view>
  15. <!--采购-->
  16. <view class="identity-button" @click="selectIdentity(1)">
  17. <view class="identity-text"> {{ $t('other.iAmSupplier') }}</view>
  18. <view class="identity-icon">
  19. <img src="../../static/image/index/6.png" style="width: 100%; height: 100%;">
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. methods: {
  29. selectIdentity(identity) {
  30. uni.navigateTo({
  31. url: `/pages_order/auth/registerShop?identity=${identity}`
  32. })
  33. },
  34. }
  35. }
  36. </script>
  37. <style scoped lang="scss">
  38. * {
  39. box-sizing: border-box;
  40. }
  41. .container {
  42. display: flex;
  43. flex-direction: column;
  44. align-items: center;
  45. justify-content: center;
  46. //height: 100vh;
  47. background-color: #f5f5f5;
  48. .title {
  49. font-size: 40rpx;
  50. color: #333;
  51. margin: 80rpx 0;
  52. }
  53. .button-group {
  54. display: flex;
  55. flex-direction: column;
  56. align-items: center;
  57. justify-content: center;
  58. width: 100vw;
  59. //padding: 0 20px;
  60. .identity-button {
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-between;
  64. width: 80%;
  65. margin-bottom: 40rpx;
  66. padding: 40rpx 50rpx;
  67. background-color: #2d2f59;
  68. border-radius: 20rpx;
  69. color: white;
  70. .identity-text {
  71. font-size: 40rpx;
  72. }
  73. .identity-icon {
  74. width: 130rpx;
  75. height: 130rpx;
  76. }
  77. }
  78. }
  79. }
  80. </style>