Files
xl-mobile/src/pages/taskDetails/components/TaskDetails.vue

67 lines
2.2 KiB
Vue
Raw Normal View History

2025-03-28 15:34:00 +08:00
<script setup>
import fmt from "../../../static/images/fmt.png";
import linkIcon from '../../../static/icons/link.png';
2025-03-28 16:04:56 +08:00
import XImage from "../../../components/XImage.vue";
2025-03-28 15:34:00 +08:00
</script>
<template>
<!--任务详情-->
<view class="w-full">
<view class="title">
案例概览
</view>
<view class="block">
<view class="block-title">任务案例:</view>
<view class="block-info w-full overflow-hidden">
<view class="text-[#165DFF] !flex items-center gap-[10rpx]">
<image class="!size-[24rpx] flex-shrink-0" :src="linkIcon"></image>
<text class="ellipsis-1 flex-grow">
https://www.baidu.com/s?wd=%E7%8C%8E%E8%81%98&sa=fyb_n_homepage&rsv_dl=fyb_n_homepage&from=super&cl=3&tn=baidutop10&fr=top1000&rsv_idx=2&hisfilter=1
</text>
2025-03-28 16:04:56 +08:00
<view class="nowrap flex-shrink !py-[7rpx] !px-[32rpx] rounded-full bg-[#E8F3FF]"
style="font-size: 24rpx">
2025-03-28 15:34:00 +08:00
复制
</view>
</view>
</view>
</view>
<view class="block">
<view class="block-title">评论区案例:</view>
<view class="block-info !grid grid-cols-3 gap-[20rpx]">
2025-03-28 16:04:56 +08:00
<x-image class="!size-[160rpx]" :src="fmt" mode="aspectFill" :draggable="false"></x-image>
<x-image class="!size-[160rpx]" :src="fmt" mode="aspectFill" :draggable="false"></x-image>
<x-image class="!size-[160rpx]" :src="fmt" mode="aspectFill" :draggable="false"></x-image>
2025-03-28 15:34:00 +08:00
</view>
</view>
</view>
</template>
<style scoped lang="scss">
.title {
color: rgb(29, 33, 41);
font-size: 28rpx;
font-weight: 500;
line-height: 140%;
letter-spacing: 0;
text-align: left;
margin-bottom: 32rpx;
}
.block {
display: flex;
gap: 20rpx;
margin-bottom: 20rpx;
.block-title {
flex-shrink: 0;
color: rgb(134, 144, 156);
font-size: 24rpx;
font-weight: 500;
line-height: 140%;
letter-spacing: 0;
text-align: left;
width: 130rpx;
}
}
</style>