diff --git a/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php b/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php index 103db5a..7c80dd1 100644 --- a/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php +++ b/shopxo/app/plugins/vr_ticket/admin/controller/Venue.php @@ -183,6 +183,11 @@ class Venue extends Base $row['venue_address'] = $seatMap['venue']['address'] ?? ''; $row['venue_image'] = $seatMap['venue']['image'] ?? ''; $row['zones_json'] = json_encode($seatMap['sections'] ?? [], JSON_UNESCAPED_UNICODE); + $row['venue_json'] = json_encode([ + 'name' => $seatMap['venue']['name'] ?? '', + 'address' => $seatMap['venue']['address'] ?? '', + 'image' => $seatMap['venue']['image'] ?? '', + ], JSON_UNESCAPED_UNICODE); $row['map_json'] = json_encode($seatMap['map'] ?? [], JSON_UNESCAPED_UNICODE); $info = $row; } diff --git a/shopxo/app/plugins/vr_ticket/admin/view/venue/save.html b/shopxo/app/plugins/vr_ticket/admin/view/venue/save.html new file mode 100644 index 0000000..5a17594 --- /dev/null +++ b/shopxo/app/plugins/vr_ticket/admin/view/venue/save.html @@ -0,0 +1,453 @@ + + + + + {if isset($info['id'])}编辑{else}添加{/if}场馆 + + + + + +
+
+
+ {if isset($info['id'])}编辑{else}添加{/if}场馆 +
+
+
+ + +
+ +
+ +
+
+ + +
+ +
票务配置
+ + +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ + +
+ +
+
+ +
+ 暂无座位,请添加分区和排布 +
+
+ 总座位数:{{ totalSeats }} + 总排数:{{ seatMapRows.filter(r => r.trim()).length }} + 分区数:{{ activeZones.length }} +
+
+
+
+ + +
+ +
+
+ + + + + +
+
+ +
+
+ 预设色: + +
+
+
+ + +
+ +
+
+ + + +
+
+ + 每排字符对应上方分区,例:ABABAB 表示交替座位 +
+
+
+ +
+ + + + + + + +
+
+ + + 返回 + +
+
+ +
+
+
+
+ + + + + +