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 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../utils/system.js");if(!Array){e.resolveComponent("uni-icons")()}Math;const r={__name:"custom-nav-bar",props:{title:{type:String,default:"壁纸"}},setup:r=>(s,o)=>({a:e.unref(t.getStatusBarHeight)()+"px",b:e.t(r.title),c:e.p({type:"search",size:"18",color:"#888"}),d:e.unref(t.getTitleBarHeight)()+"px",e:e.unref(t.getNavBarHeight)()+"px"})},s=e._export_sfc(r,[["__scopeId","data-v-d803e843"]]);wx.createComponent(s);

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-d803e843"><view class="navbar data-v-d803e843"><view class="statusBar data-v-d803e843" style="{{'height:' + a}}"></view><view class="titleBar data-v-d803e843" style="{{'height:' + d}}"><view class="title data-v-d803e843">{{b}}</view><navigator url="/pages/search/search" class="search data-v-d803e843"><uni-icons wx:if="{{c}}" class="icon data-v-d803e843" u-i="d803e843-0" bind:__l="__l" u-p="{{c}}"></uni-icons><text class="text data-v-d803e843">搜索</text></navigator></view></view><view class="fill data-v-d803e843" style="{{'height:' + e}}"></view></view>

View File

@@ -0,0 +1 @@
.layout .navbar.data-v-d803e843{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-d803e843{display:flex;padding:0 30rpx;align-items:center}.layout .navbar .titleBar .title.data-v-d803e843{font-size:22px;font-weight:700;color:#000}.layout .navbar .titleBar .search.data-v-d803e843{width:200rpx;height:50rpx;border-radius:60rpx;background:rgba(255,255,255,.4);margin-left:30rpx;color:#999;font-size:28rpx;display:flex;align-items:center}.layout .navbar .titleBar .search .icon.data-v-d803e843{margin-left:5rpx}.layout .navbar .titleBar .search .text.data-v-d803e843{padding-left:10rpx}