2.4 组件结构调整,调整会员权限判断

This commit is contained in:
尚政杰
2026-02-04 17:43:41 +08:00
parent eeca65538c
commit 995ee7f220
274 changed files with 7191 additions and 2186 deletions

View File

@@ -11,6 +11,17 @@ const _sfc_main = {
filteredData: [],
currentDate: "",
// 最终要赋值的日期
searchResultTop: "",
//搜索结果
contentTop: "",
keywords: "",
//搜索关键字
searchShow: false,
//是否展示搜索结果
searchResultList: [],
//搜索结果
selectSearchStockInfo: null,
//选中的搜索股票信息
topLists: [
{
title: "超大盘股",
@@ -30,10 +41,57 @@ const _sfc_main = {
},
onLoad(e) {
this.currentDate = e.currentDate;
this.searchResultTop = this.navH + (20 + 70) / 750 * common_vendor.inject("windowWidth");
this.contentTop = this.navH + (20 + 70 + 25) / 750 * common_vendor.inject("windowWidth");
this.marketHeatmap();
},
methods: {
/**
* 点击搜索
*/
clickSearch() {
if (this.keywords) {
this.getSearchStockInfoListData();
} else
this.selectSearchStockInfo = null;
},
/**
* 点击搜索结果背景
*/
clickSearchResultBg() {
this.searchShow = false;
},
/**
* 点击搜索结果列表项
*/
clickSearchResultListItem(item) {
this.selectSearchStockInfo = item;
this.searchShow = false;
this.getStockBasicInfoData();
},
/**
* 根据输入内容获取搜索列表项
*/
getSearchStockInfoListData() {
let param = { q: this.keywords, limit: 10 };
request_api.searchStockInfo(param).then((res) => {
this.searchResultList = res.data;
this.searchShow = this.searchResultList.length > 0;
}).catch((error) => {
});
},
/**
* 获取股票基本信息
*/
getStockBasicInfoData() {
let code = this.stockCode;
if (this.selectSearchStockInfo) {
code = this.selectSearchStockInfo.stock_code;
}
common_vendor.index.navigateTo({
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
});
},
handleTypeClick(index) {
this.list2Index = index;
this.marketHeatmap();
@@ -66,9 +124,11 @@ const _sfc_main = {
},
marketHeatmap() {
let param = {
limit: 500,
date: this.currentDate
limit: 500
};
if (this.currentDate && this.currentDate !== "undefined" && this.currentDate.trim() !== "") {
param.date = this.currentDate;
}
request_api.marketHeatmap(param).then((res) => {
this.allStockData = res.data || [];
this.filterStockByMarketCap();
@@ -113,18 +173,30 @@ if (!Math) {
_easycom_navBar();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.p({
leftText: "详情",
hideNavBg: true
}),
b: common_assets._imports_0,
c: common_assets._imports_1,
d: common_vendor.o(($event) => _ctx.clickSearch()),
e: _ctx.keywords,
f: common_vendor.o(($event) => _ctx.keywords = $event.detail.value),
g: common_vendor.s("top:" + $data.navH + "px;"),
h: common_vendor.f($data.topLists, (item, index, i0) => {
d: common_vendor.o([($event) => $data.keywords = $event.detail.value, ($event) => $options.clickSearch()]),
e: $data.keywords,
f: common_vendor.s("top:" + $data.navH + "px;"),
g: $data.searchShow
}, $data.searchShow ? {
h: common_vendor.f($data.searchResultList, (item, index, i0) => {
return {
a: common_vendor.t(item.stock_code),
b: common_vendor.t(item.stock_name),
c: index,
d: common_vendor.o(($event) => $options.clickSearchResultListItem(item), index)
};
}),
i: common_vendor.s("top:" + $data.searchResultTop + "px;"),
j: common_vendor.o(($event) => $options.clickSearchResultBg())
} : {}, {
k: common_vendor.f($data.topLists, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: $data.list2Index == index ? "#BB8520" : "#070707",
@@ -135,13 +207,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
g: $data.list2Index == index ? "1rpx solid #F2C369" : "none"
};
}),
i: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
l: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
j: common_vendor.f($data.filteredData, (obj, j, i0) => {
m: common_vendor.f($data.filteredData, (obj, j, i0) => {
return {
a: common_vendor.f($options.getTableItem(obj), (item, index, i1) => {
return common_vendor.e({
@@ -158,8 +230,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
c: j % 2 == 0 ? "#fff" : "#FAFAFC"
};
}),
k: common_vendor.s("top:" + $data.contentTop + "px;")
};
n: common_vendor.s("top:" + $data.contentTop + "px;")
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

View File

@@ -1 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="1d94e03e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="searchC fixed flex" style="{{g}}"><image class="icon" src="{{c}}" mode="widthFix"></image><input class="flex1" type="text" placeholder="输入股票代码或名称" placeholder-style="color:#eeeeee" confirm-type="search" bindconfirm="{{d}}" value="{{e}}" bindinput="{{f}}"/></view><scroll-view scroll-y class="stockDetailsC fixed" style="{{k}}"><view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:16rpx;margin:0 20rpx"><view wx:for="{{h}}" wx:for-item="item" wx:key="f" bindtap="{{item.e}}" style="{{'padding:12rpx' + ';' + ('border-bottom:' + item.g)}}"><view style="{{'font-size:24rpx;color:#070707;font-weight:bold;text-align:center' + ';' + ('color:' + item.b)}}">{{item.a}}</view><view style="{{'font-size:20rpx;font-weight:400;text-align:center' + ';' + ('color:' + item.d)}}">{{item.c}}</view></view></view><view style="height:1rpx;margin:0 20rpx;background-color:#E7E7E7"></view><view style="display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;background-color:#FAFAFC;line-height:60rpx;margin:0 20rpx;margin-top:20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="b" style="color:#666666;font-size:20rpx;font-weight:500;text-align:center">{{item.a}}</view></view><view wx:for="{{j}}" wx:for-item="obj" bindtap="{{obj.b}}" style="{{'display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;min-height:60rpx;margin:0 20rpx' + ';' + ('background-color:' + obj.c)}}"><view wx:for="{{obj.a}}" wx:for-item="item" wx:key="d" style="{{'padding:10rpx 0;color:#666666;font-size:20rpx;font-weight:500;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column' + ';' + ('color:' + item.e)}}"><view>{{item.a}}</view><view wx:if="{{item.b}}" style="color:#666666;font-size:20rpx;font-weight:500">{{item.c}}</view></view></view><view style="height:25rpx"></view></view></scroll-view></view>
<view><nav-bar wx:if="{{a}}" u-i="1d94e03e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="searchC fixed flex" style="{{f}}"><image class="icon" src="{{c}}" mode="widthFix"></image><input class="flex1" type="text" placeholder="输入股票代码或名称" placeholder-style="color:#eeeeee" confirm-type="search" bindinput="{{d}}" value="{{e}}"/></view><view wx:if="{{g}}" class="searchResultList fixed" style="{{i}}" bindtap="{{j}}"><view class="list"><view wx:for="{{h}}" wx:for-item="item" wx:key="c" class="item" catchtap="{{item.d}}">{{item.a}} {{item.b}}</view></view></view><scroll-view scroll-y class="stockDetailsC fixed" style="{{n}}"><view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:16rpx;margin:0 20rpx"><view wx:for="{{k}}" wx:for-item="item" wx:key="f" bindtap="{{item.e}}" style="{{'padding:12rpx' + ';' + ('border-bottom:' + item.g)}}"><view style="{{'font-size:24rpx;color:#070707;font-weight:bold;text-align:center' + ';' + ('color:' + item.b)}}">{{item.a}}</view><view style="{{'font-size:20rpx;font-weight:400;text-align:center' + ';' + ('color:' + item.d)}}">{{item.c}}</view></view></view><view style="height:1rpx;margin:0 20rpx;background-color:#E7E7E7"></view><view style="display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;background-color:#FAFAFC;line-height:60rpx;margin:0 20rpx;margin-top:20rpx"><view wx:for="{{l}}" wx:for-item="item" wx:key="b" style="color:#666666;font-size:20rpx;font-weight:500;text-align:center">{{item.a}}</view></view><view wx:for="{{m}}" wx:for-item="obj" bindtap="{{obj.b}}" style="{{'display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;min-height:60rpx;margin:0 20rpx' + ';' + ('background-color:' + obj.c)}}"><view wx:for="{{obj.a}}" wx:for-item="item" wx:key="d" style="{{'padding:10rpx 0;color:#666666;font-size:20rpx;font-weight:500;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column' + ';' + ('color:' + item.e)}}"><view>{{item.a}}</view><view wx:if="{{item.b}}" style="color:#666666;font-size:20rpx;font-weight:500">{{item.c}}</view></view></view><view style="height:25rpx"></view></view></scroll-view></view>

View File

@@ -34,3 +34,22 @@ page {
background-color: white;
border-radius: 10rpx;
}
.searchResultList {
background-color: #00000080;
left: 0;
right: 0;
bottom: 0;
padding: 0 25rpx;
z-index: 20;
}
.searchResultList .list {
background-color: white;
border-radius: 10rpx;
}
.searchResultList .list .item {
padding: 0 42rpx;
line-height: 60rpx;
font-size: 22rpx;
font-weight: 500;
color: #333;
}

View File

@@ -137,12 +137,26 @@ const _sfc_main = {
formattedAvg: 0,
upCount: 0,
downCount: 0,
limit_up_ratio: 0
limit_up_ratio: 0,
searchResultTop: "",
//搜索结果
contentTop: "",
keywords: "",
//搜索关键字
searchShow: false,
//是否展示搜索结果
searchResultList: [],
//搜索结果
selectSearchStockInfo: null,
//选中的搜索股票信息
isShowTime: false
};
},
onLoad(e) {
this.activeIndex = e.index;
this.searchResultTop = this.navH + (20 + 70) / 750 * common_vendor.inject("windowWidth");
this.contentTop = this.navH + (20 + 70 + 25) / 750 * common_vendor.inject("windowWidth");
this.conceptsDailyTop();
const now = /* @__PURE__ */ new Date();
const year = now.getFullYear();
const month = (now.getMonth() + 1).toString().padStart(2, "0");
@@ -150,11 +164,76 @@ const _sfc_main = {
this.currentDate = `${year}-${month}-${day}`;
},
onShow() {
this.isShowTime = false;
this.marketHeatmap();
this.marketStatistics();
this.marketHotspotListOverview();
},
methods: {
truncateText(text, length) {
if (!text)
return "";
return text.length > length ? text.substring(0, length) + "..." : text;
},
/**
* 点击搜索
*/
clickSearch() {
if (this.keywords) {
this.getSearchStockInfoListData();
} else
this.selectSearchStockInfo = null;
},
/**
* 点击搜索结果背景
*/
clickSearchResultBg() {
this.searchShow = false;
},
/**
* 点击搜索结果列表项
*/
clickSearchResultListItem(item) {
this.selectSearchStockInfo = item;
this.searchShow = false;
this.getStockBasicInfoData();
},
/**
* 根据输入内容获取搜索列表项
*/
getSearchStockInfoListData() {
let param = { q: this.keywords, limit: 10 };
request_api.searchStockInfo(param).then((res) => {
this.searchResultList = res.data;
this.searchShow = this.searchResultList.length > 0;
}).catch((error) => {
});
},
/**
* 获取股票基本信息
*/
getStockBasicInfoData() {
let code = this.stockCode;
if (this.selectSearchStockInfo) {
code = this.selectSearchStockInfo.stock_code;
}
common_vendor.index.navigateTo({
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
});
},
/**
* 获取股票当前市场价格信息
*/
getQuoteDetailsData() {
let code = this.stockCode;
if (this.selectSearchStockInfo) {
code = this.selectSearchStockInfo.stock_code;
}
quoteDetailsInfo(code).then((res) => {
this.quoteDetailsInfo = res.data;
}).catch((error) => {
});
},
formatAlpha(value) {
if (value === null || value === void 0 || isNaN(Number(value))) {
return "0.0";
@@ -209,8 +288,10 @@ const _sfc_main = {
let param = {
limit: 500
};
if (currentDate && currentDate !== "undefined" && currentDate.trim() !== "") {
param.date = currentDate;
if (this.isShowTime) {
if (currentDate && currentDate !== "undefined" && currentDate.trim() !== "") {
param.date = currentDate;
}
}
request_api.marketHeatmap(param).then((res) => {
this.topLists[2].value = res.statistics.rising_count + "/" + res.statistics.falling_count;
@@ -332,9 +413,15 @@ const _sfc_main = {
});
},
moreAction() {
common_vendor.index.navigateTo({
url: "/pages/geGuCenter/detail?currentDate=" + this.currentDate
});
if (this.isShowTime) {
common_vendor.index.navigateTo({
url: "/pages/geGuCenter/detail?currentDate=" + this.currentDate
});
} else {
common_vendor.index.navigateTo({
url: "/pages/geGuCenter/detail"
});
}
},
allAction(index) {
if (index == 1) {
@@ -354,7 +441,7 @@ const _sfc_main = {
},
handleDateChange(date) {
this.selectedDate = date;
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:719", "选中的日期:", date);
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:828", "选中的日期:", date);
},
confirmAction(index) {
if (index == 1) {
@@ -362,7 +449,7 @@ const _sfc_main = {
} else if (index == 2) {
if (this.selectedDate) {
this.currentDate = this.selectedDate;
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:728", "最终确认的日期:", this.currentDate);
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:837", "最终确认的日期:", this.currentDate);
} else {
const now = /* @__PURE__ */ new Date();
const year = now.getFullYear();
@@ -370,6 +457,7 @@ const _sfc_main = {
const day = now.getDate().toString().padStart(2, "0");
this.currentDate = `${year}-${month}-${day}`;
}
this.isShowTime = true;
this.marketHeatmap(this.currentDate);
this.marketStatistics();
this.marketHotspotListOverview();
@@ -381,7 +469,7 @@ const _sfc_main = {
this.formattedAvg = item.formattedAvg, this.upCount = item.upCount, this.downCount = item.downCount, this.limit_up_ratio = item.limit_up_ratio, this.conceptStocksDetails(item.concept_id);
},
conceptStocksDetails(concept_id) {
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:754", "concept_id", concept_id);
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:864", "concept_id", concept_id);
request_api.conceptStocks(concept_id, {}).then((res) => {
if (res.data && res.data.stocks) {
let rawData = res.data.stocks;
@@ -391,7 +479,7 @@ const _sfc_main = {
return bValue - aValue;
});
} else {
common_vendor.index.__f__("warn", "at pages/geGuCenter/geGuCenter.vue:773", "接口返回数据格式异常", res);
common_vendor.index.__f__("warn", "at pages/geGuCenter/geGuCenter.vue:883", "接口返回数据格式异常", res);
}
}).catch((error) => {
});
@@ -428,7 +516,7 @@ if (!Math) {
(_easycom_navBar + _easycom_uni_popup + _easycom_LCCalendar2)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
return common_vendor.e({
a: common_vendor.p({
leftText: "个股中心",
hideNavBg: true,
@@ -436,11 +524,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
b: common_assets._imports_0,
c: common_assets._imports_1,
d: common_vendor.o(($event) => _ctx.clickSearch()),
e: _ctx.keywords,
f: common_vendor.o(($event) => _ctx.keywords = $event.detail.value),
g: common_vendor.s("top:" + $data.navH + "px;"),
h: common_vendor.f($data.topLists, (item, index, i0) => {
d: common_vendor.o([($event) => $data.keywords = $event.detail.value, ($event) => $options.clickSearch()]),
e: $data.keywords,
f: common_vendor.s("top:" + $data.navH + "px;"),
g: $data.searchShow
}, $data.searchShow ? {
h: common_vendor.f($data.searchResultList, (item, index, i0) => {
return {
a: common_vendor.t(item.stock_code),
b: common_vendor.t(item.stock_name),
c: index,
d: common_vendor.o(($event) => $options.clickSearchResultListItem(item), index)
};
}),
i: common_vendor.s("top:" + $data.searchResultTop + "px;"),
j: common_vendor.o(($event) => $options.clickSearchResultBg())
} : {}, {
k: common_vendor.f($data.topLists, (item, index, i0) => {
return {
a: item.backIcon,
b: common_vendor.t(item.title),
@@ -449,7 +549,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: index
};
}),
i: common_vendor.f($data.topLists2, (item, index, i0) => {
l: common_vendor.f($data.topLists2, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: $data.list2Index == index ? "#BB8520" : "#070707",
@@ -461,13 +561,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
h: `1rpx solid ${$data.list2Index == index ? "#F2C369" : "#D2D2D2"}`
};
}),
j: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
m: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
k: common_vendor.f($data.filteredData, (obj, j, i0) => {
n: common_vendor.f($data.filteredData, (obj, j, i0) => {
return {
a: common_vendor.f($options.getTableItem(obj), (item, index, i1) => {
return common_vendor.e({
@@ -484,20 +584,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
c: j % 2 == 0 ? "#fff" : "#FAFAFC"
};
}),
l: common_assets._imports_1$2,
m: common_vendor.o((...args) => $options.moreAction && $options.moreAction(...args)),
n: common_assets._imports_3$7,
o: common_assets._imports_4$1,
p: common_vendor.o(($event) => $options.allAction(1)),
q: common_vendor.t($data.currentDate),
r: common_assets._imports_4$1,
s: common_vendor.o(($event) => $options.allAction(2)),
t: common_assets._imports_3$7,
v: common_vendor.f($data.marketAlertsList, (item, index, i0) => {
o: common_assets._imports_2$3,
p: common_vendor.o((...args) => $options.moreAction && $options.moreAction(...args)),
q: common_assets._imports_3$7,
r: common_vendor.t($data.currentDate),
s: common_assets._imports_4$1,
t: common_vendor.o(($event) => $options.allAction(2)),
v: common_assets._imports_3$7,
w: common_vendor.f($data.marketAlertsList, (item, index, i0) => {
var _a, _b, _c, _d;
return common_vendor.e({
a: common_vendor.t(item.time),
b: common_vendor.t(item.concept_name),
b: common_vendor.t($options.truncateText(item.concept_name, 5)),
c: ((_a = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _a.filter) || "",
d: common_vendor.t(((_b = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _b.text) || "异动"),
e: ((_c = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _c.color) || "#FF7A45",
@@ -517,40 +615,40 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
q: common_vendor.o(($event) => $options.bkydAction(item), index)
});
}),
w: common_assets._imports_5$3,
x: common_vendor.s("top:" + $data.contentTop + "px;"),
y: common_vendor.o(($event) => $options.closeAction(1)),
z: common_vendor.o(($event) => $options.confirmAction(1)),
A: common_vendor.f($data.typeList, (item, index, i0) => {
x: common_assets._imports_5$3,
y: common_vendor.s("top:" + $data.contentTop + "px;"),
z: common_vendor.o(($event) => $options.closeAction(1)),
A: common_vendor.o(($event) => $options.confirmAction(1)),
B: common_vendor.f($data.typeList, (item, index, i0) => {
return {
a: item.backIcon,
b: common_vendor.t(item.title),
c: index
};
}),
B: common_vendor.sr("typePopup", "c7f5c964-1"),
C: common_vendor.p({
C: common_vendor.sr("typePopup", "c7f5c964-1"),
D: common_vendor.p({
type: "bottom",
safeArea: false
}),
D: common_vendor.o(($event) => $options.closeAction(2)),
E: common_vendor.o(($event) => $options.confirmAction(2)),
F: common_vendor.o($options.handleDateChange),
G: common_vendor.sr("datePopup", "c7f5c964-2"),
H: common_vendor.p({
E: common_vendor.o(($event) => $options.closeAction(2)),
F: common_vendor.o(($event) => $options.confirmAction(2)),
G: common_vendor.o($options.handleDateChange),
H: common_vendor.sr("datePopup", "c7f5c964-2"),
I: common_vendor.p({
type: "bottom",
safeArea: false
}),
I: common_assets._imports_8,
J: common_vendor.o(($event) => $options.closeAction(3)),
K: common_vendor.t($data.formattedAvg),
L: Number($data.formattedAvg) > 0 ? "#EC3440" : "#01AB5D",
M: common_vendor.t($data.upCount),
N: $data.upCount > 0 ? "#EC3440" : "#888888",
O: common_vendor.t($data.downCount),
P: $data.downCount > 0 ? "#01AB5D" : "#888888",
Q: common_vendor.t($options.formatLimitUpRatio($data.limit_up_ratio, 0)),
R: common_vendor.f($data.conceptStocksList, (item, index, i0) => {
J: common_assets._imports_6$1,
K: common_vendor.o(($event) => $options.closeAction(3)),
L: common_vendor.t($data.formattedAvg),
M: Number($data.formattedAvg) > 0 ? "#EC3440" : "#01AB5D",
N: common_vendor.t($data.upCount),
O: $data.upCount > 0 ? "#EC3440" : "#888888",
P: common_vendor.t($data.downCount),
Q: $data.downCount > 0 ? "#01AB5D" : "#888888",
R: common_vendor.t($options.formatLimitUpRatio($data.limit_up_ratio, 0)),
S: common_vendor.f($data.conceptStocksList, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.t(item.code),
@@ -560,12 +658,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: index % 2 == 0 ? "#fff" : "#FAFAFC"
};
}),
S: common_vendor.sr("detailPopup", "c7f5c964-4"),
T: common_vendor.p({
T: common_vendor.sr("detailPopup", "c7f5c964-4"),
U: common_vendor.p({
type: "bottom",
safeArea: false
})
};
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

File diff suppressed because one or more lines are too long

View File

@@ -41,3 +41,22 @@ page {
border-radius: 20rpx 20rpx 0 0;
padding-bottom: env(safe-area-inset-bottom);
}
.searchResultList {
background-color: #00000080;
left: 0;
right: 0;
bottom: 0;
padding: 0 25rpx;
z-index: 20;
}
.searchResultList .list {
background-color: white;
border-radius: 10rpx;
}
.searchResultList .list .item {
padding: 0 42rpx;
line-height: 60rpx;
font-size: 22rpx;
font-weight: 500;
color: #333;
}