LiveUserNickPanel.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <u-popup :show="show" mode="bottom" round="12" @close="$emit('close')">
  3. <view class="userlogo column">
  4. <view class="bold fs36 mt42">授权你的昵称信息</view>
  5. <view class="justify-between align-center mt42">
  6. <view class="button-container">
  7. <input type="nickname" class="hidden-input" placeholder-style="color:#ffffff; font-size:32rpx;"
  8. @blur="$emit('nickname-input', $event)" @input="$emit('nickname-input', $event)"
  9. placeholder="请点击授权微信昵称" />
  10. </view>
  11. </view>
  12. <view class="submitname" @click="$emit('confirm')">确定</view>
  13. </view>
  14. </u-popup>
  15. </template>
  16. <script>
  17. export default {
  18. name: 'LiveUserNickPanel',
  19. props: {
  20. show: { type: Boolean, default: false }
  21. }
  22. }
  23. </script>
  24. <style scoped lang="scss">
  25. .userlogo {
  26. padding: 36rpx 40rpx;
  27. color: #000000;
  28. .mt42 {
  29. margin-top: 42rpx;
  30. }
  31. .button-container {
  32. position: relative;
  33. margin: auto;
  34. .hidden-input {
  35. width: calc(100vw - 80rpx);
  36. text-align: center;
  37. height: 104rpx;
  38. background: #07C160;
  39. padding: 30rpx 0;
  40. box-sizing: border-box;
  41. border-radius: 12rpx;
  42. font-size: 32rpx !important;
  43. color: #FFFFFF !important;
  44. }
  45. }
  46. .submitname {
  47. width: calc(100vw - 80rpx);
  48. height: 104rpx;
  49. line-height: 104rpx;
  50. background: #F2F2F2;
  51. border-radius: 12rpx;
  52. font-size: 32rpx;
  53. color: #07C160;
  54. margin-top: 32rpx;
  55. text-align: center;
  56. }
  57. }
  58. </style>