fill-code.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <modal v-model="vValue">
  3. <view class="screen_all center" @click="closeModal">
  4. <view class="fill-code center" @click.stop>
  5. <view class="fill-code-icon-container overflow relative">
  6. <view class="absolute fill-code-screen">
  7. <view class="fill-code-title">填写好友邀请码</view>
  8. <view class="fill-code-info">每个账号仅可绑定一次</view>
  9. </view>
  10. <image src="/static/images/code.png" class="fill-code-icon"></image>
  11. </view>
  12. <view class="fill-code-input-container">
  13. <input v-model="content" confirm-type="done" @confirm="submit" type="text" class="screen_all fill-code-input" maxlength="8" placeholder-class="fill-code-input-placeholder" placeholder="请输入邀请码" />
  14. </view>
  15. <view @click="submit" class="fill-code-button center">确定</view>
  16. </view>
  17. <view @click="closeModal" class="fill-code-close center">
  18. <text class="iconfont iconfont-close fill-code-close-icon"></text>
  19. </view>
  20. </view>
  21. </modal>
  22. </template>
  23. <script>
  24. import modal from "@/components/modal/main";
  25. import mixins from './mixins';
  26. import props from "./props";
  27. export default {
  28. name: "fill-code",
  29. mixins,
  30. props,
  31. components:{
  32. modal
  33. }
  34. }
  35. </script>
  36. <style lang="scss" src="./style.scss">
  37. </style>