nvue直播间需要调整分享样式
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
@onDialogPopupShowOrHide="handleSwiperDotShow"
|
||||
/> -->
|
||||
<!-- 红包 -->
|
||||
<RedEnvelope />
|
||||
<RedEnvelope @onDialogPopupShowOrHide="handleSwiperDotShow" />
|
||||
|
||||
<!-- 直播按钮 -->
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import ToolbarItemContainer from '../toolbar-item-container/index.vue'
|
||||
import { isUniFrameWork } from '../../../../utils/env'
|
||||
import { navigateTo } from '../../../../../utils/router'
|
||||
import { getAnchorDetail } from '../../../../../api/tui-kit'
|
||||
import { getAnchorDetail, getLiveId } from '../../../../../api/tui-kit'
|
||||
import { useUI } from '../../../../../utils/use-ui'
|
||||
|
||||
const { showDialog } = useUI()
|
||||
@@ -44,11 +44,13 @@
|
||||
return
|
||||
}
|
||||
if (stateData.value === 1) {
|
||||
const { data } = await getLiveId()
|
||||
// 跳转到开播页面
|
||||
uni.$liveID = data
|
||||
uni.navigateTo({
|
||||
url: `/pages/anchor/index?groupId=${encodeURIComponent(
|
||||
props.groupId
|
||||
)}&creatorType=1`
|
||||
)}&creatorType=1&roomId=${data}`
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
import { sendRedEnvelope } from '../../../../../api/tui-kit'
|
||||
import { useUserStore } from '../../../../../stores/user'
|
||||
|
||||
const emits = defineEmits(['onDialogPopupShowOrHide']);
|
||||
|
||||
const { showDialog, showToast } = useUI()
|
||||
|
||||
const placeholderStyle = `font-family: PingFang SC, PingFang SC; font-weight: 500; color: #a9a9a9; font-size: 32rpx; font-style: normal; text-transform: none;`
|
||||
@@ -114,10 +116,12 @@
|
||||
formData.num = ''
|
||||
errorData.integralShow = false
|
||||
errorData.numShow = false
|
||||
emits('onDialogPopupShowOrHide', true);
|
||||
}
|
||||
|
||||
const onDialogClose = () => {
|
||||
console.log('关闭窗口')
|
||||
emits('onDialogPopupShowOrHide', false);
|
||||
}
|
||||
|
||||
const closeDialog = () => {
|
||||
@@ -261,6 +265,7 @@
|
||||
@click.stop="closeDialog"
|
||||
></uni-icons>
|
||||
</view>
|
||||
<input />
|
||||
<!-- 红包个数 -->
|
||||
<view v-if="isGroup" class="group-box">
|
||||
<view
|
||||
|
||||
Reference in New Issue
Block a user