no message

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:00:29 +08:00
commit 4d06351f6a
2830 changed files with 166480 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
_easycom_up_input2();
}
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
if (!Math) {
_easycom_up_input();
}
const _sfc_main = {
__name: "search",
props: {
Fixed: {
type: Boolean,
default: false
}
},
emits: ["change", "search"],
setup(__props, { emit: __emit }) {
let value = common_vendor.ref("");
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
const emits = __emit;
let change = (e) => {
emits("change", e);
};
let confirm = (e) => {
emits("search", e);
};
return (_ctx, _cache) => {
return {
a: statusBarHeight,
b: common_vendor.o(common_vendor.unref(change)),
c: common_vendor.o(common_vendor.unref(confirm)),
d: common_vendor.o(($event) => common_vendor.isRef(value) ? value.value = $event : value = $event),
e: common_vendor.p({
placeholder: "查找地点、电站",
confirmType: "search",
suffixIcon: "/static/icon/search.png",
border: "none",
modelValue: common_vendor.unref(value)
}),
f: common_vendor.n(__props.Fixed ? "Fixed" : "")
};
};
}
};
wx.createComponent(_sfc_main);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/search/search.js.map

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
}
}

View File

@@ -0,0 +1 @@
<view class="{{f}}"><view style="{{'height:' + a}}"></view><view style="height:44px"></view><view class="search"><view class="search_right p30"><up-input wx:if="{{e}}" bindchange="{{b}}" bindconfirm="{{c}}" u-i="030144b5-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></up-input></view></view></view>

View File

@@ -0,0 +1,44 @@
.Fixed {
position: fixed;
left: 0;
width: 100%;
padding: 0 30rpx;
z-index: 99;
}
.search {
display: flex;
align-items: center;
flex-direction: row;
justify-content: space-between;
}
.search_left {
display: flex;
align-items: center;
flex-direction: row;
justify-content: start;
font-weight: bold;
font-size: 40rpx;
color: #232323;
height: 86rpx;
}
.search_left_img {
width: 36rpx;
height: 36rpx;
margin-right: 15rpx;
}
.search .opacityLeft {
background: rgba(255, 255, 255, 0.27);
border-radius: 10rpx 10rpx 10rpx 10rpx;
padding: 0 10rpx;
}
.search_right {
flex: 1;
display: flex;
align-items: center;
flex-direction: row;
justify-content: start;
height: 86rpx;
background: #ffffff;
box-shadow: inset 0rpx 0rpx 22rpx 2rpx #f9fbff;
border-radius: 20rpx 20rpx 20rpx 20rpx;
}