|
|
@@ -7,7 +7,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div style="display: flex; align-items: center; width: 100%; justify-content: space-between">
|
|
|
- <p>{{ thisUrl }}</p>
|
|
|
+ <p class="multiline">{{ thisUrl }}</p>
|
|
|
</div>
|
|
|
<a-button type="primary" @click="copyLink()">复制链接</a-button>
|
|
|
</div>
|
|
|
@@ -23,31 +23,11 @@
|
|
|
import sysConfig from '@/config/index'
|
|
|
const emit = defineEmits(['selectTab'])
|
|
|
|
|
|
- // id: 1,
|
|
|
- // name: '张三',是1000元,请给我一个好评,谢谢',
|
|
|
- // follw: 0,
|
|
|
-
|
|
|
const props = defineProps({
|
|
|
item: {
|
|
|
type: Object,
|
|
|
default: () => {}
|
|
|
}
|
|
|
- // name: {
|
|
|
- // type: String,
|
|
|
- // default: () => ''
|
|
|
- // },
|
|
|
- // talk: {
|
|
|
- // type: String,
|
|
|
- // default: () => ''
|
|
|
- // },
|
|
|
- // follw: {
|
|
|
- // type: Number,
|
|
|
- // default: () => 0
|
|
|
- // },
|
|
|
- // callBackTalk: {
|
|
|
- // type: Array,
|
|
|
- // default: () => []
|
|
|
- // }
|
|
|
})
|
|
|
const listUnpublishedView = ref(null)
|
|
|
const tallTag = ref(false)
|
|
|
@@ -56,17 +36,11 @@
|
|
|
const thisUrl = ref('')
|
|
|
|
|
|
const handleOk = () => {
|
|
|
- // console.log('查询内容', form)
|
|
|
- // tallTag.value == true ? (tallTag.value = false) : (tallTag.value = true)
|
|
|
- // EventBus.emit('closeInput', null, props.item.id)
|
|
|
- //....
|
|
|
visible.value = false
|
|
|
- // listUnpublishedView.value.setData(tableData.value)
|
|
|
}
|
|
|
const open = (shareLink) => {
|
|
|
console.log('要 打开分享弹窗', shareLink)
|
|
|
visible.value = true
|
|
|
- // itemData.value = data
|
|
|
thisUrl.value = sysConfig.API_URL + shareLink
|
|
|
}
|
|
|
const copyLink = () => {
|
|
|
@@ -82,18 +56,12 @@
|
|
|
const handerPublish = () => {
|
|
|
tallTag.value = false
|
|
|
emit('publish')
|
|
|
-
|
|
|
- //....
|
|
|
- // listUnpublishedView.value.setData(tableData.value)
|
|
|
}
|
|
|
const handleCloseInput = (data, tag) => {
|
|
|
if (props.item.id != tag) {
|
|
|
tallTag.value = false
|
|
|
}
|
|
|
}
|
|
|
- onMounted(() => {
|
|
|
- // getList()
|
|
|
- })
|
|
|
|
|
|
defineExpose({
|
|
|
open
|
|
|
@@ -120,7 +88,9 @@
|
|
|
color: white;
|
|
|
}
|
|
|
|
|
|
- .tab-switcher div:not(:last-child) {
|
|
|
+ .multiline {
|
|
|
+ width: 100%;
|
|
|
+ white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
.user-info {
|