chore: clean up unused legacy components and assets
remove deprecated unused component implementations, their image assets, prompt, README, demo and style sheet files update AGENTS.md to remove references to the removed components and refine the project's style guidance
This commit is contained in:
@@ -1,29 +1,13 @@
|
||||
<template>
|
||||
<uni-popup
|
||||
ref="popupRef"
|
||||
type="bottom"
|
||||
:safe-area="false"
|
||||
@maskClick="handleClose"
|
||||
>
|
||||
<uni-popup ref="popupRef" type="bottom" :safe-area="false" @maskClick="handleClose">
|
||||
<view class="refund-popup bg-F5F7FA border-box">
|
||||
<view
|
||||
class="border-box flex flex-items-center justify-between pt-12 pb-12 relative"
|
||||
>
|
||||
<view
|
||||
class="flex-full font-size-16 color-171717 line-height-24 text-center"
|
||||
>取消政策</view
|
||||
>
|
||||
<view class="border-box flex flex-items-center justify-between pt-12 pb-12 relative">
|
||||
<view class="flex-full font-size-16 color-171717 line-height-24 text-center">取消政策</view>
|
||||
<!-- 关闭按钮 -->
|
||||
<uni-icons
|
||||
class="close absolute"
|
||||
type="close"
|
||||
size="20"
|
||||
color="#CACFD8"
|
||||
@click="handleClose"
|
||||
/>
|
||||
<uni-icons class="close absolute" type="close" size="20" color="#CACFD8" @click="handleClose" />
|
||||
</view>
|
||||
<!-- 内容区域 -->
|
||||
<view class="border-box rounded-12 bg-white p-12 ml-12 mr-12 mb-40">
|
||||
<view class="border-box rounded-12 bg-white p-12 ml-[12px] mr-12 mb-40">
|
||||
<view class="flex flex-items-center mb-8">
|
||||
<uni-icons fontFamily="znicons" size="20" color="#333">
|
||||
{{ zniconsMap["zn-refund"] }}
|
||||
@@ -32,11 +16,8 @@
|
||||
{{ refundTitle }}
|
||||
</text>
|
||||
</view>
|
||||
<view
|
||||
class="font-size-14 color-525866 line-height-16 mb-4"
|
||||
v-for="(item, index) in commodityPurchaseInstruction"
|
||||
:key="index"
|
||||
>
|
||||
<view class="font-size-14 color-525866 line-height-16 mb-4"
|
||||
v-for="(item, index) in commodityPurchaseInstruction" :key="index">
|
||||
{{ item }}
|
||||
</view>
|
||||
</view>
|
||||
@@ -58,7 +39,7 @@ const props = defineProps({
|
||||
// 订单数据
|
||||
orderData: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
default: () => { },
|
||||
},
|
||||
});
|
||||
|
||||
@@ -80,8 +61,8 @@ const refundTitle = computed(() => {
|
||||
});
|
||||
|
||||
const commodityPurchaseInstruction = computed(() => {
|
||||
if (props.orderData.commodityPurchaseInstruction &&
|
||||
props.orderData.commodityPurchaseInstruction.refundContent) {
|
||||
if (props.orderData.commodityPurchaseInstruction &&
|
||||
props.orderData.commodityPurchaseInstruction.refundContent) {
|
||||
// 以换行符为分隔符,将字符串转换为数组
|
||||
return props.orderData.commodityPurchaseInstruction.refundContent.split(
|
||||
"\n"
|
||||
|
||||
Reference in New Issue
Block a user