register.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <view>
  3. <view class="">
  4. </view>
  5. <u-card padding="30" box-shadow="0px 1px 10px rgba(0,0,0,0.2)" border-radius="20" :show-foot="false">
  6. <view slot="head">
  7. <view class="u-flex">
  8. <view style="width: 8rpx;height: 34rpx;background: #0292FD;margin-right:20rpx;"></view>
  9. 请按照要求上传您的营业执照和门店照
  10. </view>
  11. </view>
  12. <view slot="body">
  13. <u-upload :custom-btn="true" max-count="1" :action="action" class="u-flex u-row-center">
  14. <view slot="addBtn" hover-class="slot-btn__hover" hover-stay-time="150">
  15. <u-image width="475rpx" height="303rpx" src="../../static/sailun/upload_preview.png"></u-image>
  16. </view>
  17. </u-upload>
  18. <view class="u-flex u-row-center" style="color: #787878;margin: 20rpx 0 60rpx 0;">
  19. 点击上传营业执照
  20. </view>
  21. <u-upload :custom-btn="true" max-count="1" :action="action" class="u-flex u-row-center">
  22. <view slot="addBtn" hover-class="slot-btn__hover" hover-stay-time="150">
  23. <u-image width="475rpx" height="303rpx" src="../../static/sailun/upload_preview.png"></u-image>
  24. </view>
  25. </u-upload>
  26. <view class="u-flex u-row-center" style="color: #787878;margin: 20rpx 0;">
  27. 点击上传门头照
  28. </view>
  29. </view>
  30. </u-card>
  31. <view style="color: #787878;margin-left: 40rpx;">
  32. 注:上传完营业执照请确认和营业执照一致。
  33. </view>
  34. <view style="margin: 30rpx;">
  35. <u-button type="primary" :ripple="true" ripple-bg-color="#99d4ff" @click="nextStep">下一步</u-button>
  36. </view>
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. data() {
  42. return {
  43. action: 'http://www.example.com', // 演示地址
  44. };
  45. },
  46. methods: {
  47. nextStep() {
  48. this.$u.route({
  49. url: 'pages/login/register_2',
  50. })
  51. }
  52. },
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. .slot-btn__hover {
  57. background-color: rgb(235, 236, 238);
  58. }
  59. </style>