feat:初始提交uni-app项目

This commit is contained in:
2026-01-14 18:19:33 +08:00
commit 0dcbd340e6
515 changed files with 38560 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-43a5d97b"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/common-title/common-title.js.map

View File

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

View File

@@ -0,0 +1 @@
<view class="content-title data-v-43a5d97b"><view class="name data-v-43a5d97b"><slot name="name"></slot></view><view class="custom data-v-43a5d97b"><slot name="custom"></slot></view></view>

View File

@@ -0,0 +1,34 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.content-title.data-v-43a5d97b {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 30rpx;
}
.content-title .name.data-v-43a5d97b {
font-size: 40rpx;
}

View File

@@ -0,0 +1,9 @@
"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/components.js.map

View File

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

View File

@@ -0,0 +1,38 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const utils_system = require("../../utils/system.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
const _sfc_main = {
__name: "custom-nav-bar",
props: {
title: {
type: String,
default: "壁纸"
}
},
setup(__props) {
return (_ctx, _cache) => {
return {
a: common_vendor.unref(utils_system.getStatusBarHeight)() + "px",
b: common_vendor.t(__props.title),
c: common_vendor.p({
type: "search",
size: "18",
color: "#888"
}),
d: common_vendor.unref(utils_system.getTitleBarHeight)() + "px",
e: common_vendor.unref(utils_system.getNavBarHeight)() + "px"
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-412fc155"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/custom-nav-bar/custom-nav-bar.js.map

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

View File

@@ -0,0 +1 @@
<view class="layout data-v-412fc155"><view class="navbar data-v-412fc155"><view class="statusBar data-v-412fc155" style="{{'height:' + a}}"></view><view class="titleBar data-v-412fc155" style="{{'height:' + d}}"><view class="title data-v-412fc155">{{b}}</view><navigator url="/pages/search/search" class="search data-v-412fc155"><uni-icons wx:if="{{c}}" class="icon data-v-412fc155" u-i="412fc155-0" bind:__l="__l" u-p="{{c}}"></uni-icons><text class="text data-v-412fc155">搜索</text></navigator></view></view><view class="fill data-v-412fc155" style="{{'height:' + e}}"></view></view>

View File

@@ -0,0 +1,60 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.layout .navbar.data-v-412fc155 {
position: fixed;
left: 0;
top: 0;
width: 100%;
z-index: 10;
background: linear-gradient(to bottom, transparent 0%, #fff 400rpx), linear-gradient(to right, #beecd8 20%, #F4E2D8);
}
.layout .navbar .titleBar.data-v-412fc155 {
display: flex;
padding: 0 30rpx;
align-items: center;
}
.layout .navbar .titleBar .title.data-v-412fc155 {
font-size: 22px;
font-weight: 700;
color: #000;
}
.layout .navbar .titleBar .search.data-v-412fc155 {
width: 200rpx;
height: 50rpx;
border-radius: 60rpx;
background: rgba(255, 255, 255, 0.4);
margin-left: 30rpx;
color: #999;
font-size: 28rpx;
display: flex;
align-items: center;
}
.layout .navbar .titleBar .search .icon.data-v-412fc155 {
margin-left: 5rpx;
}
.layout .navbar .titleBar .search .text.data-v-412fc155 {
padding-left: 10rpx;
}

View File

@@ -0,0 +1,56 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const utils_common = require("../../utils/common.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
const _sfc_main = {
__name: "theme-item",
props: {
isMore: {
type: Boolean,
default: false
},
item: {
type: Object,
default() {
return {
name: "默认名称",
picurl: "/common/images/classify1.jpg",
updateTime: Date.now()
};
}
}
},
setup(__props) {
return (_ctx, _cache) => {
return common_vendor.e({
a: !__props.isMore
}, !__props.isMore ? common_vendor.e({
b: __props.item.picurl,
c: common_vendor.t(__props.item.name),
d: common_vendor.unref(utils_common.compareTimestamp)(__props.item.updateTime)
}, common_vendor.unref(utils_common.compareTimestamp)(__props.item.updateTime) ? {
e: common_vendor.t(common_vendor.unref(utils_common.compareTimestamp)(__props.item.updateTime))
} : {}, {
f: "/pages/classlist/classlist?id=" + __props.item._id + "&name=" + __props.item.name
}) : {
g: common_assets._imports_0$1,
h: common_vendor.p({
type: "more-filled",
size: "34",
color: "#fff"
})
});
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f4eafbca"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/theme-item/theme-item.js.map

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

View File

@@ -0,0 +1 @@
<view class="themeItem data-v-f4eafbca"><navigator wx:if="{{a}}" url="{{f}}" class="box data-v-f4eafbca"><image class="pic data-v-f4eafbca" src="{{b}}" mode="aspectFill"></image><view class="mask data-v-f4eafbca">{{c}}</view><view wx:if="{{d}}" class="tab data-v-f4eafbca">{{e}}前更新</view></navigator><navigator wx:else url="/pages/classify/classify" open-type="reLaunch" class="box more data-v-f4eafbca"><image class="pic data-v-f4eafbca" src="{{g}}" mode="aspectFill"></image><view class="mask data-v-f4eafbca"><uni-icons wx:if="{{h}}" class="data-v-f4eafbca" u-i="f4eafbca-0" bind:__l="__l" u-p="{{h}}"></uni-icons><view class="text data-v-f4eafbca">更多</view></view></navigator></view>

View File

@@ -0,0 +1,73 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.themeItem .box.data-v-f4eafbca {
height: 340rpx;
border-radius: 10rpx;
overflow: hidden;
position: relative;
}
.themeItem .box .pic.data-v-f4eafbca {
width: 100%;
height: 100%;
}
.themeItem .box .mask.data-v-f4eafbca {
width: 100%;
height: 70rpx;
position: absolute;
font-size: 40rpx;
font-weight: 600;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.2);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
-webkit-backdrop-filter: blur(20rpx);
backdrop-filter: blur(20rpx);
}
.themeItem .box .tab.data-v-f4eafbca {
position: absolute;
left: 0;
top: 0;
background: rgba(250, 129, 90, 0.7);
-webkit-backdrop-filter: blur(20rpx);
backdrop-filter: blur(20rpx);
color: #fff;
font-size: 22rpx;
border-radius: 0 0 20rpx 0;
padding: 6rpx 12rpx;
transform: scale(0.8);
transform-origin: left top;
}
.themeItem .box.more .mask.data-v-f4eafbca {
width: 100%;
height: 100%;
flex-direction: column;
}
.themeItem .box.more .text.data-v-f4eafbca {
font-size: 28rpx;
}