- 创建代码忽略文件列表 (.gitignore) - 设置代码格式化规则 (.prettierrc)- 添加各种样式文件,包括背景、边框、按钮、卡片等组件样式 - 创建暗黑主题样式文件 - 添加表单和代码样式文件
33 lines
623 B
Vue
33 lines
623 B
Vue
<script setup>
|
|
import { onLaunch, onShow, onError } from '@dcloudio/uni-app';
|
|
import { ShoproInit } from './sheep';
|
|
|
|
onLaunch(() => {
|
|
// 隐藏原生导航栏 使用自定义底部导航
|
|
uni.hideTabBar({
|
|
fail: () => {},
|
|
});
|
|
|
|
// 加载Shopro底层依赖
|
|
ShoproInit();
|
|
});
|
|
|
|
onShow(() => {
|
|
// #ifdef APP-PLUS
|
|
// 获取urlSchemes参数
|
|
const args = plus.runtime.arguments;
|
|
if (args) {
|
|
}
|
|
|
|
// 获取剪贴板
|
|
uni.getClipboardData({
|
|
success: (res) => {},
|
|
});
|
|
// #endif
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import '@/sheep/scss/index.scss';
|
|
</style>
|