feat: 第一次上传代码

This commit is contained in:
2025-06-29 23:41:37 +08:00
commit 875c60d3ec
478 changed files with 385642 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "DrawerHome",
emits: ["closeDrawer"],
setup(__props, { emit: __emit }) {
const emits = __emit;
const closeDrawer = () => {
emits("closeDrawer");
common_vendor.index.__f__("log", "at pages/drawer/DrawerHome.vue:23", "=============关闭抽屉");
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(closeDrawer),
b: common_vendor.f(100, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
})
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ce6d4433"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/drawer/DrawerHome.js.map

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="drawer-home data-v-ce6d4433"><view class="drawer-home-nav data-v-ce6d4433"><text class="data-v-ce6d4433">抽屉页面</text></view><button class="data-v-ce6d4433" bindtap="{{a}}" type="default">关闭</button><view class="drawer-list data-v-ce6d4433"><view wx:for="{{b}}" wx:for-item="item" wx:key="b" class="data-v-ce6d4433"><text class="message-item data-v-ce6d4433">{{item.a}}</text></view></view></view>

View File

@@ -0,0 +1,62 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.drawer-home.data-v-ce6d4433 {
width: 100%;
height: 100vh;
background-color: #E9F3F7;
padding-top: 44px;
}
.drawer-home .drawer-home-nav.data-v-ce6d4433 {
padding: 12px;
display: flex;
justify-content: center;
}
.drawer-home .drawer-home-nav text.data-v-ce6d4433 {
font-size: 20px;
text-align: center;
}
.drawer-home .drawer-list.data-v-ce6d4433 {
display: flex;
flex-direction: column;
height: 100%;
overflow-y: scroll;
}
.drawer-home .message-item.data-v-ce6d4433 {
display: flex;
justify-content: center;
background-color: white;
margin: 6px 12px;
padding: 8px 24px;
border-radius: 4px;
font-size: 14px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.drawer-home .message-item text.data-v-ce6d4433 {
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #333333;
}