update
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import {computed} from 'vue';
|
||||
import messageIcon from "../static/icons/messageIcon.png";
|
||||
import XActionsheet from "./XActionsheet.vue";
|
||||
import OpenTypeFun from "./OpenTypeFun.js";
|
||||
|
||||
const itemList = computed(() => {
|
||||
const item = [];
|
||||
@@ -10,10 +11,18 @@ const itemList = computed(() => {
|
||||
item.push({text: '标记已读', type: 1});
|
||||
return item;
|
||||
})
|
||||
const {contextRow} = defineProps({
|
||||
const {contextRow, type, data} = defineProps({
|
||||
contextRow: {
|
||||
type: String,
|
||||
default: 'ellipsis-1'
|
||||
},
|
||||
type: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
data: {
|
||||
type: Object,
|
||||
default: null
|
||||
}
|
||||
});
|
||||
|
||||
@@ -27,19 +36,20 @@ const selectActionsheet = (e) => {
|
||||
@success="selectActionsheet"
|
||||
:itemList="itemList">
|
||||
<view
|
||||
@click.stop="OpenTypeFun(data)"
|
||||
class="!py-[30rpx] !px-[24rpx] bg-[#fff] rounded-[8rpx] !flex items-center gap-[20rpx] overflow-hidden relative !mb-[20rpx]">
|
||||
<image class="!size-[72rpx] flex-shrink-0" mode="aspectFill" :src="messageIcon"></image>
|
||||
<view class="flex-grow !flex flex-col gap-[12rpx]">
|
||||
<view class="!flex justify-between items-center">
|
||||
<view class="bh">任务编号: DF12122</view>
|
||||
<view class="bh">{{ type === 0 ? '任务编号: DF12122' : data.title }}</view>
|
||||
<view class="time">2024-01-26 14:00</view>
|
||||
</view>
|
||||
<view :class="['context', contextRow]">
|
||||
商家:您的回填数据1由于***未通过,请按照文档文档文档文档文档文档文档文档文档文档文档文档文档文档文档文档文档文档中操作
|
||||
{{ data.content }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="status">置顶</view>
|
||||
<view class="status" v-if="data.is_top === 1">置顶</view>
|
||||
</view>
|
||||
</x-actionsheet>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user