mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-08-06 19:07:23 +08:00
- 将多个组件转换为 `<script setup>` 语法,提升可读性和性能 - 优化状态管理和事件处理逻辑,简化代码结构 - 更新样式和布局以适应新组件结构 - 添加新功能和修复已知问题,提升用户体验
29 lines
678 B
Vue
29 lines
678 B
Vue
<template>
|
|
<view>
|
|
<u-popup v-model:show="show" mode="bottom" height="800rpx" border-radius="14">
|
|
<view class="wrapper">
|
|
<view class="down-goods-tips">该商品已下架</view>
|
|
<scroll-view scroll-y="true" style="height: 670rpx">
|
|
<goodsRecommend title="其他商品" />
|
|
</scroll-view>
|
|
</view>
|
|
</u-popup>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
import goodsRecommend from "@/components/m-goods-recommend/index.vue"
|
|
|
|
const show = ref(true)
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.down-goods-tips {
|
|
font-size: 36rpx;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
padding: 40rpx 0;
|
|
}
|
|
</style>
|