|
@@ -1,18 +1,16 @@
|
|
|
<template>
|
|
|
<van-swipe-cell>
|
|
|
<div class="relative flex mb-10 border-[#fff] space-x-10 p-10 rounded-xl bg-[#FFF]">
|
|
|
-
|
|
|
<div class="w-147 h-109 border-box">
|
|
|
<img
|
|
|
- :src="formatImgSrc(data?.tourismUrlsAfterConvert) || noteDraftCoverBg"
|
|
|
- class="w-full h-full shrink-0 object-cover"
|
|
|
- />
|
|
|
+ :src="formatImgSrc(data?.tourismUrlsAfterConvert) || noteDraftCoverBg"
|
|
|
+ class="w-full h-full shrink-0 object-cover"
|
|
|
+ />
|
|
|
</div>
|
|
|
-
|
|
|
|
|
|
- <div class="flex w-0 flex-1 flex-col justify-between">
|
|
|
- <div class="mt-15">
|
|
|
- <div class="line-clamp-1 truncate break-all text-base font-semibold text-black-3">
|
|
|
+ <div class="w-152 flex justify-between break-words">
|
|
|
+ <div class="w-full mt-15">
|
|
|
+ <div class="truncate text-base font-semibold text-black-3">
|
|
|
{{ data?.projectTitle || '未命名草稿' }}
|
|
|
</div>
|
|
|
<div class="mt-2 text-sm text-black-3">
|
|
@@ -28,14 +26,14 @@
|
|
|
|
|
|
<template #right>
|
|
|
<div class="pl-2 h-full">
|
|
|
- <van-button
|
|
|
- square
|
|
|
- text="撤销审核"
|
|
|
- @click="$emit('onRevoke')"
|
|
|
- type="warning"
|
|
|
- class="delete-button"
|
|
|
- />
|
|
|
- </div>
|
|
|
+ <van-button
|
|
|
+ square
|
|
|
+ text="撤销审核"
|
|
|
+ @click="$emit('onRevoke')"
|
|
|
+ type="warning"
|
|
|
+ class="delete-button"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</van-swipe-cell>
|
|
|
</template>
|
|
@@ -65,9 +63,8 @@ function handleWrite() {
|
|
|
<style lang="scss" scoped>
|
|
|
.delete-button {
|
|
|
height: 100%;
|
|
|
-
|
|
|
}
|
|
|
-.van-button--warning{
|
|
|
- border:none;
|
|
|
+.van-button--warning {
|
|
|
+ border: none;
|
|
|
}
|
|
|
</style>
|