feat: 第一次上传代码
This commit is contained in:
35
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
Normal file
35
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Math) {
|
||||
(DrawerHome + ChatMainList + exDrawer)();
|
||||
}
|
||||
const exDrawer = () => "../../third/ex-drawer/ex-drawer.js";
|
||||
const DrawerHome = () => "../drawer/DrawerHome.js";
|
||||
const ChatMainList = () => "../chat/ChatMainList.js";
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const drawer = common_vendor.ref();
|
||||
const openDrawer = () => {
|
||||
drawer.value.open();
|
||||
};
|
||||
const closeDrawer = () => {
|
||||
drawer.value.close();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(closeDrawer),
|
||||
b: common_vendor.o(openDrawer),
|
||||
c: common_vendor.sr(drawer, "1cf27b2a-0", {
|
||||
"k": "drawer"
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
width: "488"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|
||||
8
unpackage/dist/dev/mp-weixin/pages/index/index.json
vendored
Normal file
8
unpackage/dist/dev/mp-weixin/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"ex-drawer": "../../third/ex-drawer/ex-drawer",
|
||||
"drawer-home": "../drawer/DrawerHome",
|
||||
"chat-main-list": "../chat/ChatMainList"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<ex-drawer wx:if="{{d}}" class="r data-v-1cf27b2a" u-s="{{['d']}}" u-r="drawer" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{d}}"><view class="mian-drawer data-v-1cf27b2a" slot="drawerContent"><drawer-home class="data-v-1cf27b2a" bindcloseDrawer="{{a}}" u-i="1cf27b2a-1,1cf27b2a-0" bind:__l="__l"></drawer-home></view><view class="mian-container data-v-1cf27b2a" slot="containerContent"><chat-main-list class="data-v-1cf27b2a" bindopenDrawer="{{b}}" u-i="1cf27b2a-2,1cf27b2a-0" bind:__l="__l"></chat-main-list></view></ex-drawer>
|
||||
34
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
34
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.mian-drawer.data-v-1cf27b2a {
|
||||
height: 100vh;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.mian-container.data-v-1cf27b2a {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
Reference in New Issue
Block a user