This commit is contained in:
2026-01-05 12:47:14 +08:00
commit 1fc846fae3
1614 changed files with 162035 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_nut_animate2 = common_vendor.resolveComponent("nut-animate");
_easycom_nut_animate2();
}
const _easycom_nut_animate = () => "../../uni_modules/nutui-uni/components/animate/animate.js";
if (!Math) {
_easycom_nut_animate();
}
const navbarSearchBoxHeight = 0;
const _sfc_main = {
__name: "index",
props: {
statusBarHeight: Number,
windowWidth: Number,
navbarHeight: Number,
title: String,
desc: String
// onIndexPageSearch:Function,
// onIndexPageClear:Function
},
setup(__props) {
const props = __props;
return (_ctx, _cache) => {
return {
a: props.statusBarHeight + "px",
b: common_vendor.t(__props.title),
c: common_vendor.t(__props.desc),
d: common_vendor.p({
type: "flicker",
loop: true
}),
e: props.navbarHeight + "px",
f: props.windowWidth + "px",
g: __props.statusBarHeight + __props.navbarHeight + navbarSearchBoxHeight + "px"
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f853d1cb"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/index-custom-navigationbar/index.js.map

View File

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

View File

@@ -0,0 +1 @@
<view class="navbar data-v-f853d1cb"><view class="navbar-fixed data-v-f853d1cb"><view class="data-v-f853d1cb" style="{{'height:' + a}}"></view><view class="navbar-content data-v-f853d1cb" style="{{'height:' + e + ';' + ('width:' + f)}}"><view class="header data-v-f853d1cb"><view class="company-name data-v-f853d1cb">{{b}}</view><nut-animate wx:if="{{d}}" class="data-v-f853d1cb" u-s="{{['d']}}" u-i="f853d1cb-0" bind:__l="__l" u-p="{{d}}"><view class="description data-v-f853d1cb">{{c}}</view></nut-animate></view></view></view><view class="data-v-f853d1cb" style="{{'height:' + g}}"></view></view>

View File

@@ -0,0 +1,88 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.navbar-fixed.data-v-f853d1cb {
/* // 固定定位 */
position: fixed;
top: 0;
left: 0;
z-index: 999;
width: 100%;
/* background: linear-gradient(90deg, #b79dff, #f2a4ff); */
/* 渐变背景 */
background-image: linear-gradient(30deg, #e96443, #c64dff);
background-position: 0 0;
background-repeat: no-repeat;
background-size: 100% auto;
opacity: 1;
/* 确保背景不透明 */
}
.navbar-content.data-v-f853d1cb {
display: flex;
flex-flow: column;
/* // 水平居中 */
justify-content: center;
/* // 垂直居中 */
/* // align-items: center; */
padding: 0 30rpx;
/* // 盒内显示 (父元素和子元素宽度都是100%,但是父元素加了左右内填充,会导致子元素不在父元素内) */
box-sizing: border-box;
}
.company-name.data-v-f853d1cb {
font-family: Akrobat ExtraBold !important;
color: #fff;
font-size: 24rpx;
font-weight: 700;
}
.description.data-v-f853d1cb {
font-family: Akrobat ExtraBold !important;
color: #fff;
font-size: 16rpx;
}