chore: pages.json/manifest.json/App.vue 路由配置 + 应用配置更新

master
Council 2026-06-25 17:12:07 +08:00
parent a079025aa3
commit 02adc5f1c5
6 changed files with 293 additions and 649 deletions

4
.gitignore vendored
View File

@ -24,4 +24,6 @@ node_modules/
.prettierrc.cjs
# Local init data (generated per environment)
pages/diy/init_data.js
pages/diy/init_data.js
docs/test.json
ag-stop-probe.json

31
App.vue
View File

@ -7,11 +7,12 @@
data: {
//
//
request_url:'http://localhost:10000/',
// request_url:'http://localhost:10000/',
request_url:'http://192.168.1.223:10000/',
// publicpublichttps://d1.shopxo.vip/public/
static_url:'http://localhost:10000/',
// static_url:'http://localhost:10000/',
static_url:'http://192.168.1.223:10000/',
// default
system_type: 'default',
@ -3169,14 +3170,32 @@
uni.removeStorageSync('plugins_startad_cache_key');
},
// 访
// 访30
goods_data_cache_handle(goods_id, goods_data = null) {
var key = this.data.cache_goods_data_key;
var cache_ttl = 30 * 1000; // 30
if((goods_data || null) == null) {
var res = uni.getStorageSync(key) || null;
return (res != null && res.id == goods_id) ? res : null;
//
var cache = uni.getStorageSync(key) || null;
if (cache != null && cache.id == goods_id) {
//
var now = Date.now();
var cached_at = cache._cached_at || 0;
if (now - cached_at < cache_ttl) {
console.log('[Cache] goods cache hit, age:', Math.floor((now - cached_at) / 1000) + 's');
return cache;
} else {
console.log('[Cache] goods cache expired, age:', Math.floor((now - cached_at) / 1000) + 's');
return null;
}
}
return null;
} else {
//
goods_data._cached_at = Date.now();
uni.setStorageSync(key, goods_data);
console.log('[Cache] goods cached at:', new Date().toLocaleTimeString());
}
},

View File

@ -2,20 +2,20 @@
"code": 0,
"msg": "success",
"data": {
"goods_id": 119,
"goods_id": 115,
"group_by": [
"venue",
"session",
"venue",
"room",
"section"
],
"tree": {
"venues": {
"测试场馆": {
"name": "测试场馆",
"sessions": {
"08:00-23:59": {
"name": "08:00-23:59",
"sessions": {
"08:00-23:59": {
"name": "08:00-23:59",
"venues": {
"测试场馆": {
"name": "测试场馆",
"rooms": {
"老展厅 1": {
"name": "老展厅 1",
@ -138,304 +138,228 @@
"has_available": true,
"min_price": 0,
"max_price": 0
},
"B": {
"name": "B",
"seats": {
"2排3座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=测试场馆|$vr-座位号=2排3座|$vr-演播室=老展厅 1",
"venue": "测试场馆",
"session": "08:00-23:59",
"room": "老展厅 1",
"section": "B",
"seat": "2排3座",
"price": 0,
"inventory": 1,
"original_price": 0
},
"3排1座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=测试场馆|$vr-座位号=3排1座|$vr-演播室=老展厅 1",
"venue": "测试场馆",
"session": "08:00-23:59",
"room": "老展厅 1",
"section": "B",
"seat": "3排1座",
"price": 0,
"inventory": 1,
"original_price": 0
},
"3排2座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=测试场馆|$vr-座位号=3排2座|$vr-演播室=老展厅 1",
"venue": "测试场馆",
"session": "08:00-23:59",
"room": "老展厅 1",
"section": "B",
"seat": "3排2座",
"price": 0,
"inventory": 1,
"original_price": 0
},
"3排3座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=测试场馆|$vr-座位号=3排3座|$vr-演播室=老展厅 1",
"venue": "测试场馆",
"session": "08:00-23:59",
"room": "老展厅 1",
"section": "B",
"seat": "3排3座",
"price": 0,
"inventory": 1,
"original_price": 0
},
"3排4座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=测试场馆|$vr-座位号=3排4座|$vr-演播室=老展厅 1",
"venue": "测试场馆",
"session": "08:00-23:59",
"room": "老展厅 1",
"section": "B",
"seat": "3排4座",
"price": 0,
"inventory": 1,
"original_price": 0
},
"3排5座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=测试场馆|$vr-座位号=3排5座|$vr-演播室=老展厅 1",
"venue": "测试场馆",
"session": "08:00-23:59",
"room": "老展厅 1",
"section": "B",
"seat": "3排5座",
"price": 0,
"inventory": 1,
"original_price": 0
}
},
"inventory": 6,
"has_available": true,
"min_price": 0,
"max_price": 0
}
},
"inventory": 16,
"inventory": 10,
"has_available": true,
"min_price": 0,
"max_price": 0
}
},
"inventory": 16,
"inventory": 10,
"has_available": true,
"min_price": 0,
"max_price": 0
}
},
"inventory": 16,
"inventory": 10,
"has_available": true,
"min_price": 0,
"max_price": 0
},
"万达国际电影城(朝阳国贸店)": {
"name": "万达国际电影城(朝阳国贸店)",
"sessions": {
"08:00-23:59": {
"name": "08:00-23:59",
"rooms": {
"主要展厅": {
"name": "主要展厅",
"sections": {
"A": {
"name": "A",
"seats": {
"1排1座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=1排1座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "1排1座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"1排2座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=1排2座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "1排2座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"1排4座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=1排4座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "1排4座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"1排5座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=1排5座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "1排5座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"2排1座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=2排1座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "2排1座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"2排2座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=2排2座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "2排2座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"2排4座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=2排4座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "2排4座",
"price": 999,
"inventory": 1,
"original_price": 0
},
"2排5座": {
"spec_key": "$vr-分区=A|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=2排5座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "A",
"seat": "2排5座",
"price": 999,
"inventory": 1,
"original_price": 0
}
},
"inventory": 8,
"has_available": true,
"min_price": 999,
"max_price": 999
},
"B": {
"name": "B",
"seats": {
"2排3座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=2排3座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "B",
"seat": "2排3座",
"price": 299,
"inventory": 1,
"original_price": 0
},
"3排1座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=3排1座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "B",
"seat": "3排1座",
"price": 299,
"inventory": 1,
"original_price": 0
},
"3排2座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=3排2座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "B",
"seat": "3排2座",
"price": 299,
"inventory": 1,
"original_price": 0
},
"3排3座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=3排3座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "B",
"seat": "3排3座",
"price": 299,
"inventory": 1,
"original_price": 0
},
"3排4座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=3排4座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "B",
"seat": "3排4座",
"price": 299,
"inventory": 1,
"original_price": 0
},
"3排5座": {
"spec_key": "$vr-分区=B|$vr-场次=08:00-23:59|$vr-场馆=万达国际电影城(朝阳国贸店)|$vr-座位号=3排5座|$vr-演播室=主要展厅",
"venue": "万达国际电影城(朝阳国贸店)",
"session": "08:00-23:59",
"room": "主要展厅",
"section": "B",
"seat": "3排5座",
"price": 299,
"inventory": 1,
"original_price": 0
}
},
"inventory": 6,
"has_available": true,
"min_price": 299,
"max_price": 299
}
},
"inventory": 14,
"has_available": true,
"min_price": 299,
"max_price": 999
}
},
"inventory": 14,
"has_available": true,
"min_price": 299,
"max_price": 999
}
},
"inventory": 14,
"has_available": true,
"min_price": 299,
"max_price": 999
}
},
"sessions": [],
"venues": [],
"rooms": [],
"sections": []
},
"goods": {
"id": 115,
"brand_id": 0,
"site_type": -1,
"title": "测试",
"title_color": "",
"simple_desc": "",
"spec_desc": "",
"approval_number": "",
"approval_number_expire": "",
"batch_number": "",
"batch_number_expire": "2026-06-01",
"coding": "11",
"model": "",
"produce_company": "",
"produce_region": 36,
"inventory": 10,
"inventory_unit": "张",
"images": "http:\/\/192.168.1.223:10000\/static\/upload\/images\/goods\/2026\/05\/29\/1779992950817492.png",
"original_price": "0",
"min_original_price": "0.00",
"max_original_price": "0.00",
"price": "0.00",
"min_price": "0.00",
"max_price": "0.00",
"give_integral": 0,
"buy_min_number": 1,
"buy_max_number": 1,
"is_deduction_inventory": 1,
"is_shelves": 1,
"item_type": "ticket",
"vr_goods_config": "[{\"template_id\":5,\"selected_rooms\":[\"69e5b802-c71e-4cc2-437f-2f1ef5f6afad\"],\"selected_sections\":{\"69e5b802-c71e-4cc2-437f-2f1ef5f6afad\":[\"A\"]},\"sessions\":[{\"start\":\"08:00\",\"end\":\"23:59\"}],\"template_snapshot\":{\"venue\":{\"name\":\"一个测试场馆信息\",\"address\":\"嘉庚体育馆\",\"location\":{\"lng\":\"\",\"lat\":\"\"},\"images\":[\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcSYCSihMSLyWjofZ9zgb-CKfhZKckvioKSAeA&s\",\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcQvditAZptaXNoJB9auyNWggC7_F_r19MAE8Q&s\"]},\"rooms\":[{\"name\":\"老展厅 1\",\"map\":[\"AAAAA\",\"AAB__AA\",\"BBBBBA\"],\"sections\":[{\"char\":\"A\",\"name\":\"VIP区\",\"price\":0,\"color\":\"#ff4d4f\"},{\"char\":\"B\",\"name\":\"普通区\",\"price\":0,\"color\":\"#1677ff\"}],\"seats\":{\"A\":{\"char\":\"A\",\"name\":\"VIP区\",\"price\":0,\"color\":\"#ff4d4f\"},\"B\":{\"char\":\"B\",\"name\":\"普通区\",\"price\":0,\"color\":\"#1677ff\"}},\"id\":\"69e5b802-c71e-4cc2-437f-2f1ef5f6afad\"}]}}]",
"photo_count": 1,
"sales_count": 0,
"access_count": 21,
"video": "",
"is_exist_many_spec": 1,
"spec_base": "",
"use_guide": "",
"sort_level": 0,
"share_images": "",
"seo_title": "",
"seo_keywords": "",
"seo_desc": "",
"is_delete_time": 0,
"add_time": "2026-04-18 15:12:41",
"upd_time": "2026-06-08 21:44:21",
"data_index": 1,
"show_field_original_price_text": "原价",
"show_original_price_symbol": "¥",
"show_original_price_unit": "",
"show_field_original_price_status": "1",
"show_field_price_text": "售价",
"show_price_symbol": "¥",
"show_price_unit": "",
"show_field_price_status": "1",
"show_sales_number_status": "1",
"show_inventory_status": "1",
"plugins_view_panel_data": [],
"plugins_view_icon_data": [],
"price_container": {
"price": "0.00",
"min_price": "0.00",
"max_price": "0.00",
"original_price": "0",
"min_original_price": "0.00",
"max_original_price": "0.00"
},
"goods_url": "\/pages\/goods-detail\/goods-detail?id=115",
"photo": [
{
"id": 2360,
"goods_id": 115,
"images": "http:\/\/192.168.1.223:10000\/static\/upload\/images\/goods\/2026\/04\/18\/1776496358725362.png",
"is_show": 1,
"sort": 0,
"add_time": 1780926261
}
],
"produce_region_name": "北京市",
"brand_name": "",
"brand_goods_url": "\/pages\/goods-search\/goods-search?brand=0",
"specifications": {
"choose": [
{
"id": 2860,
"goods_id": 115,
"value": [
{
"name": "08:00-23:59",
"images": ""
}
],
"name": "$vr-场次",
"add_time": "2026-06-08 21:44:21"
},
{
"id": 2861,
"goods_id": 115,
"value": [
{
"name": "测试场馆",
"images": ""
}
],
"name": "$vr-场馆",
"add_time": "2026-06-08 21:44:21"
},
{
"id": 2862,
"goods_id": 115,
"value": [
{
"name": "老展厅 1",
"images": ""
}
],
"name": "$vr-演播室",
"add_time": "2026-06-08 21:44:21"
},
{
"id": 2863,
"goods_id": 115,
"value": [
{
"name": "A",
"images": ""
}
],
"name": "$vr-分区",
"add_time": "2026-06-08 21:44:21"
},
{
"id": 2864,
"goods_id": 115,
"value": [
{
"name": "1排1座",
"images": ""
},
{
"name": "1排2座",
"images": ""
},
{
"name": "1排3座",
"images": ""
},
{
"name": "1排4座",
"images": ""
},
{
"name": "1排5座",
"images": ""
},
{
"name": "2排1座",
"images": ""
},
{
"name": "2排2座",
"images": ""
},
{
"name": "2排6座",
"images": ""
},
{
"name": "2排7座",
"images": ""
},
{
"name": "3排6座",
"images": ""
}
],
"name": "$vr-座位号",
"add_time": "2026-06-08 21:44:21"
}
]
},
"parameters": [],
"content_app": [
{
"id": 9,
"goods_id": 115,
"images": "http:\/\/192.168.1.223:10000\/static\/upload\/images\/goods\/2026\/05\/29\/1779993080881348.jpg",
"content": [
"测试正文详情"
],
"content_old": "测试正文详情"
}
],
"user_is_favor": 1,
"is_error": 0,
"error_msg": ""
},
"seat_templates": {
"测试场馆_老展厅 1_A": {
"template_key": "测试场馆_老展厅 1_A",
@ -451,8 +375,8 @@
"lat": ""
},
"images": [
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSYCSihMSLyWjofZ9zgb-CKfhZKckvioKSAeA&s",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQvditAZptaXNoJB9auyNWggC7_F_r19MAE8Q&s"
"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcSYCSihMSLyWjofZ9zgb-CKfhZKckvioKSAeA&s",
"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcQvditAZptaXNoJB9auyNWggC7_F_r19MAE8Q&s"
]
},
"rooms": [
@ -536,328 +460,6 @@
],
"layout_cols": 10,
"layout_rows": 10
},
"测试场馆_老展厅 1_B": {
"template_key": "测试场馆_老展厅 1_B",
"name": "测试场馆",
"room_name": "老展厅 1",
"section_name": "B",
"seat_map": {
"venue": {
"name": "一个测试场馆信息",
"address": "嘉庚体育馆",
"location": {
"lng": "",
"lat": ""
},
"images": [
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSYCSihMSLyWjofZ9zgb-CKfhZKckvioKSAeA&s",
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQvditAZptaXNoJB9auyNWggC7_F_r19MAE8Q&s"
]
},
"rooms": [
{
"name": "老展厅 1",
"map": [
"AAAAA",
"AAB__AA",
"BBBBBA"
],
"sections": [
{
"char": "A",
"name": "VIP区",
"price": 0,
"color": "#ff4d4f"
},
{
"char": "B",
"name": "普通区",
"price": 0,
"color": "#1677ff"
}
],
"seats": {
"A": {
"char": "A",
"name": "VIP区",
"price": 0,
"color": "#ff4d4f"
},
"B": {
"char": "B",
"name": "普通区",
"price": 0,
"color": "#1677ff"
}
},
"id": "69e5b802-c71e-4cc2-437f-2f1ef5f6afad"
}
]
},
"rooms": [
{
"name": "老展厅 1",
"map": [
"AAAAA",
"AAB__AA",
"BBBBBA"
],
"sections": [
{
"char": "A",
"name": "VIP区",
"price": 0,
"color": "#ff4d4f"
},
{
"char": "B",
"name": "普通区",
"price": 0,
"color": "#1677ff"
}
],
"seats": {
"A": {
"char": "A",
"name": "VIP区",
"price": 0,
"color": "#ff4d4f"
},
"B": {
"char": "B",
"name": "普通区",
"price": 0,
"color": "#1677ff"
}
},
"id": "69e5b802-c71e-4cc2-437f-2f1ef5f6afad"
}
],
"layout_cols": 10,
"layout_rows": 10
},
"万达国际电影城(朝阳国贸店)_主要展厅_A": {
"template_key": "万达国际电影城(朝阳国贸店)_主要展厅_A",
"name": "万达国际电影城(朝阳国贸店)",
"room_name": "主要展厅",
"section_name": "A",
"seat_map": {
"venue": {
"name": "北京市朝阳区万达国际电影城",
"address": "中国北京市朝阳区国贸建国路93号",
"location": {
"lng": "116.471099",
"lat": "39.907398"
},
"images": [
"https://www.ruyifilm.com/image/20190101/W020160119569970428777.jpg",
"https://www.ruyifilm.com/image/20190101/W020160119569970447104.jpg"
],
"notices": {
"buy": [],
"watch": [],
"service": [
{
"title": "近视镜",
"desc": "近视观众请自备近视眼镜",
"status": "warning"
}
]
}
},
"rooms": [
{
"name": "主要展厅",
"map": [
"AA_AA",
"AABAA",
"BBBBB"
],
"sections": [
{
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
{
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
],
"seats": {
"A": {
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
"B": {
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
},
"id": "6a03d61e-25bc-eb5c-467a-9077b5f26e47"
}
]
},
"rooms": [
{
"name": "主要展厅",
"map": [
"AA_AA",
"AABAA",
"BBBBB"
],
"sections": [
{
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
{
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
],
"seats": {
"A": {
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
"B": {
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
},
"id": "6a03d61e-25bc-eb5c-467a-9077b5f26e47"
}
],
"layout_cols": 10,
"layout_rows": 10
},
"万达国际电影城(朝阳国贸店)_主要展厅_B": {
"template_key": "万达国际电影城(朝阳国贸店)_主要展厅_B",
"name": "万达国际电影城(朝阳国贸店)",
"room_name": "主要展厅",
"section_name": "B",
"seat_map": {
"venue": {
"name": "北京市朝阳区万达国际电影城",
"address": "中国北京市朝阳区国贸建国路93号",
"location": {
"lng": "116.471099",
"lat": "39.907398"
},
"images": [
"https://www.ruyifilm.com/image/20190101/W020160119569970428777.jpg",
"https://www.ruyifilm.com/image/20190101/W020160119569970447104.jpg"
],
"notices": {
"buy": [],
"watch": [],
"service": [
{
"title": "近视镜",
"desc": "近视观众请自备近视眼镜",
"status": "warning"
}
]
}
},
"rooms": [
{
"name": "主要展厅",
"map": [
"AA_AA",
"AABAA",
"BBBBB"
],
"sections": [
{
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
{
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
],
"seats": {
"A": {
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
"B": {
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
},
"id": "6a03d61e-25bc-eb5c-467a-9077b5f26e47"
}
]
},
"rooms": [
{
"name": "主要展厅",
"map": [
"AA_AA",
"AABAA",
"BBBBB"
],
"sections": [
{
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
{
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
],
"seats": {
"A": {
"char": "A",
"name": "VIP区",
"price": 999,
"color": "#ff4d4f"
},
"B": {
"char": "B",
"name": "普通区",
"price": 299,
"color": "#1677ff"
}
},
"id": "6a03d61e-25bc-eb5c-467a-9077b5f26e47"
}
],
"layout_cols": 10,
"layout_rows": 10
}
},
"session_meta": [
@ -865,33 +467,17 @@
"session": "08:00-23:59",
"start": "08:00",
"end": "23:59",
"session_date": "2026-05-18",
"session_datetime": "2026-05-18 08:00:00",
"batch_expire_ts": 1779062100
}
],
"peer_goods": [
{
"id": 116,
"title": "测试3",
"date": ""
},
{
"id": 117,
"title": "测试4",
"date": ""
},
{
"id": 118,
"title": "测试测试「XXXX」巡演",
"date": "2026-05-22"
"session_date": "2026-06-01",
"session_datetime": "2026-06-01 08:00:00",
"batch_expire_ts": 1780271700
}
],
"peer_goods": [],
"meta": {
"seat_count": 30,
"template_count": 4,
"seat_count": 10,
"template_count": 1,
"cache_hit": true,
"computed_at": 1779125108
"computed_at": 1782375753
}
}
}

View File

@ -1,7 +1,7 @@
{
"name": "ShopXO",
"name": "EncorePark",
"appid": "__UNI__50E3C11",
"description": "ShopXO开源商城、MIT协议、可商用、可二次开发、满足99%电商运营需求",
"description": "EncorePark VR票务",
"versionName": "1.0.0",
"versionCode": 100,
"transformPx": false,
@ -190,7 +190,7 @@
"startLocationUpdate",
"startLocationUpdateBackground"
],
"appid": "wxda7779770f53e901",
"appid": "wx98b1b887e4173c9d",
"setting": {
"urlCheck": false,
"es6": true,
@ -207,10 +207,10 @@
"__usePrivacyCheck__": true,
"plugins": {
// 线->->线 https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx50b5593e81dd937a
// "routePlan" : {
// "version" : "1.0.19",
// "provider" : "wx50b5593e81dd937a"
// },
"routePlan": {
"version": "1.0.19",
"provider": "wx50b5593e81dd937a"
}
// ->-> https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx2b03c6e691cd7370
// "live-player-plugin" : {
// "version" : "1.3.5",

View File

@ -2237,8 +2237,8 @@
"navigationBarTitleText": "",
"usingComponents": {
"u-popup": "/components/u-popup/u-popup",
"w-qrcode": "@/uni_modules/wmf-code/components/w-qrcode/w-qrcode",
"w-barcode": "@/uni_modules/wmf-code/components/w-barcode/w-barcode"
"w-qrcode": "/uni_modules/wmf-code/components/w-qrcode/w-qrcode",
"w-barcode": "/uni_modules/wmf-code/components/w-barcode/w-barcode"
}
}
},

View File

@ -618,6 +618,43 @@
var data = res.data.data;
var active_index = this.nav_active_index;
var temp_category = data.category || [];
//
console.log('原始分类数据:', temp_category.map(c => c.name));
//
var hidden_category_names = ['票务服务'];
//
temp_category = temp_category.filter(function(category) {
var should_show = hidden_category_names.indexOf(category.name) === -1;
console.log('一级分类:', category.name, '是否显示:', should_show);
return should_show;
});
//
temp_category.forEach(function(category) {
if ((category.items || null) != null && category.items.length > 0) {
category.items = category.items.filter(function(subCategory) {
var should_show = hidden_category_names.indexOf(subCategory.name) === -1;
console.log('二级分类:', subCategory.name, '(父:', category.name + ') 是否显示:', should_show);
return should_show;
});
//
category.items.forEach(function(subCategory) {
if ((subCategory.items || null) != null && subCategory.items.length > 0) {
subCategory.items = subCategory.items.filter(function(thirdCategory) {
var should_show = hidden_category_names.indexOf(thirdCategory.name) === -1;
console.log('三级分类:', thirdCategory.name, '是否显示:', should_show);
return should_show;
});
}
});
}
});
console.log('过滤后分类数据:', temp_category.map(c => c.name));
//
var category_one_subset_count = 0;
//