register-select.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <template>
  2. <view class="container register">
  3. <view class="main">
  4. <view class="title">请选择注册的账号类型</view>
  5. <view class="main-item">
  6. <view class="item" @click.stop="this.$api.navigateTo('/pages/login/register')">
  7. <view class="icon"><image src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E6%9C%BA%E6%9E%84.png" mode=""></image></view>
  8. <view class="text">机构</view>
  9. </view>
  10. <view class="item" @click.stop="this.$api.navigateTo('/pages/login/register-supplier')">
  11. <view class="icon"><image src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E4%BE%9B%E5%BA%94%E5%95%86.png" mode=""></image></view>
  12. <view class="text">供应商</view>
  13. </view>
  14. </view>
  15. </view>
  16. <image class="bg_image" src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/%E8%83%8C%E6%99%AF.png" mode=""></image>
  17. </view>
  18. </template>
  19. <script>
  20. export default{
  21. data() {
  22. return{
  23. }
  24. },
  25. onLoad(option) {
  26. },
  27. computed: {
  28. },
  29. methods:{
  30. }
  31. }
  32. </script>
  33. <style lang="scss">
  34. .register{
  35. width: 100%;
  36. height: 100%;
  37. position: relative;
  38. box-sizing: border-box;
  39. padding-top: 300rpx;
  40. .main{
  41. width: 100%;
  42. height: 370rpx;
  43. .title{
  44. width: 100%;
  45. height: 46rpx;
  46. line-height: 46rpx;
  47. float: left;
  48. text-align: center;
  49. font-size: $font-size-32;
  50. color: $text-color;
  51. font-weight: bold;
  52. }
  53. .main-item{
  54. width: 100%;
  55. height: 324rpx;
  56. float: left;
  57. box-sizing: border-box;
  58. padding: 0 89rpx;
  59. margin-top: 70rpx;
  60. .item{
  61. width: 186rpx;
  62. height: auto;
  63. margin: 0 50rpx;
  64. float: left;
  65. .icon{
  66. width: 186rpx;
  67. height: 186rpx;
  68. image{
  69. width: 186rpx;
  70. height: 186rpx;
  71. display: block;
  72. }
  73. }
  74. .text{
  75. line-height: 54rpx;
  76. font-size: $font-size-30;
  77. text-align: center;
  78. color: #3b77ff;
  79. }
  80. }
  81. }
  82. }
  83. .bg_image{
  84. position: absolute;
  85. width: 100%;
  86. height:354rpx;
  87. left: 0;
  88. bottom: 0;
  89. }
  90. }
  91. </style>