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,6 +1,6 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="quick-access flex flex-row ml-12 pt-8 pb-8 scroll-x whitespace-nowrap">
|
||||
<view class="quick-access flex flex-row ml-[12px] pt-8 pb-8 scroll-x whitespace-nowrap">
|
||||
<view class="item border-box rounded-50 flex flex-row items-center" v-for="(item, index) in itemList" :key="index"
|
||||
@click="sendReply(item)">
|
||||
<view class="flex items-center justify-center">
|
||||
|
||||
@@ -8,44 +8,41 @@
|
||||
<uni-icons type="location" size="16" color="#171717" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="center ml-12">
|
||||
<view class="center ml-[12px]">
|
||||
<view class="font-color-900 font-size-14">打开导览地图</view>
|
||||
<view class="font-color-500 font-size-12 mt-6">距你 {{ distance }} · 步行 {{ walk }}</view>
|
||||
</view>
|
||||
<view class="ml-12 flex flex-items-center flex-justify-center w-32 h-32 rounded-full bg-F2F5F8">
|
||||
<view class="ml-[12px] flex flex-items-center flex-justify-center w-32 h-32 rounded-full bg-F2F5F8">
|
||||
<uni-icons class="mb-2" type="right" size="12" color="#99A0AE" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'OpenMapComponent',
|
||||
props: {
|
||||
distance: {
|
||||
type: String,
|
||||
default: '500m'
|
||||
},
|
||||
walk: {
|
||||
type: String,
|
||||
default: '8分钟'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
openMap() {
|
||||
this.$emit('open')
|
||||
}
|
||||
}
|
||||
name: 'OpenMapComponent',
|
||||
props: {
|
||||
distance: {
|
||||
type: String,
|
||||
default: '500m'
|
||||
},
|
||||
walk: {
|
||||
type: String,
|
||||
default: '8分钟'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
openMap() {
|
||||
this.$emit('open')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.center {
|
||||
flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user