{"version":3,"file":"traffic.js","sources":["pages/index/traffic.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvdHJhZmZpYy52dWU"],"sourcesContent":["<template>\r\n\t<view class=\"page-wrapper\">\r\n\t\t<div class=\"bg-top\"></div>\r\n\r\n\t\t<div class=\"content-wrapper\">\r\n\t\t\t<view style=\"display: flex; justify-content: center; gap: 16px; margin-bottom: 16px;\">\r\n\t\t\t\t<view\r\n\t\t\t\t\tstyle=\"flex: 1; text-align: center; padding: 12px 16px; border-radius: 8px; font-weight: bold; font-size: 16px; transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.1);\"\r\n\t\t\t\t\t:style=\"currentTab === 'in' ? 'background-color: #2563eb; color: #ffffff;' : 'background-color: #e5e7eb; color: #4b5563; opacity: 0.8;'\"\r\n\t\t\t\t\t@click=\"currentTab = 'in'\">\r\n\t\t\t\t\t园内交通\r\n\t\t\t\t</view>\r\n\t\t\t\t<view\r\n\t\t\t\t\tstyle=\"flex: 1; text-align: center; padding: 12px 16px; border-radius: 8px; font-weight: bold; font-size: 16px; transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.1);\"\r\n\t\t\t\t\t:style=\"currentTab === 'out' ? 'background-color: #2563eb; color: #ffffff;' : 'background-color: #e5e7eb; color: #4b5563; opacity: 0.8;'\"\r\n\t\t\t\t\t@click=\"currentTab = 'out'\">\r\n\t\t\t\t\t园外交通\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<!-- Content Area -->\r\n\t\t\t<view style=\"padding: 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);\">\r\n\t\t\t\t<block v-if=\"currentTab === 'in'\">\r\n\t\t\t\t\t<view style=\"display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: #1f2937;\">\r\n\t\t\t\t\t\t<view style=\"font-weight: bold; margin-bottom: 8px;\">园内交通信息</view>\r\n\t\t\t\t\t\t<view>1. 观光车:20元/人,可上下车三次;</view>\r\n\t\t\t\t\t\t<view>2. 扫码电瓶车(3-4人);30元半小时,半小时起租,超时按1元/分钟加收;</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</block>\r\n\t\t\t\t<block v-else>\r\n\t\t\t\t\t<view style=\"display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: #1f2937;\">\r\n\t\t\t\t\t\t<view style=\"font-weight: bold; margin-bottom: 8px;\">园外交通信息</view>\r\n\t\t\t\t\t\t<view>1. 市内公交到园区东门乘坐69路;</view>\r\n\t\t\t\t\t\t<view>2. 市内公交到园区南门乘坐13/16/58/68路;</view>\r\n\t\t\t\t\t\t<view>3. 市内公交到园区西门乘坐13/69/81路;</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</block>\r\n\t\t\t</view>\r\n\t\t</div>\r\n\t\t<div class=\"bg-bottom\"></div>\r\n\r\n\t</view>\r\n</template>\r\n\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcurrentTab: 'in'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.p-4 {\r\n\t\tpadding: 1rem;\r\n\t\t/* 16px */\r\n\t}\r\n\r\n\t.flex {\r\n\t\tdisplay: flex;\r\n\t}\r\n\r\n\t.flex-1 {\r\n\t\tflex: 1 1 0%;\r\n\t}\r\n\r\n\t.text-center {\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.py-2 {\r\n\t\tpadding-top: 0.5rem;\r\n\t\t/* 8px */\r\n\t\tpadding-bottom: 0.5rem;\r\n\t}\r\n\r\n\t.mb-4 {\r\n\t\tmargin-bottom: 1rem;\r\n\t}\r\n\r\n\t.border-b {\r\n\t\tborder-bottom-width: 1px;\r\n\t\tborder-style: solid;\r\n\t}\r\n\r\n\t.border-gray-200 {\r\n\t\tborder-color: #e5e7eb;\r\n\t\t/* light gray */\r\n\t}\r\n\r\n\t.text-blue-500 {\r\n\t\tcolor: #3b82f6;\r\n\t\t/* Tailwind blue-500 */\r\n\t}\r\n\r\n\t.border-b-2 {\r\n\t\tborder-bottom-width: 2px;\r\n\t}\r\n\r\n\t.border-blue-500 {\r\n\t\tborder-color: #3b82f6;\r\n\t}\r\n\r\n\t.text-gray-500 {\r\n\t\tcolor: #6b7280;\r\n\t}\r\n\r\n\t.space-y-6 {\r\n\t\tmargin-top: 1.5rem;\r\n\t\t/* 24px */\r\n\t}\r\n\r\n\t.text-lg {\r\n\t\tfont-size: 1.125rem;\r\n\t\t/* 18px */\r\n\t\tline-height: 1.75rem;\r\n\t}\r\n\r\n\t.font-bold {\r\n\t\tfont-weight: 700;\r\n\t}\r\n\r\n\t.mb-2 {\r\n\t\tmargin-bottom: 0.5rem;\r\n\t\t/* 8px */\r\n\t}\r\n\r\n\t.space-y-2 {\r\n\t\tmargin-top: 0.5rem;\r\n\t}\r\n\r\n\t.text-sm {\r\n\t\tfont-size: 0.875rem;\r\n\t\t/* 14px */\r\n\t\tline-height: 1.25rem;\r\n\t}\r\n\r\n\t.leading-relaxed {\r\n\t\tline-height: 1.625;\r\n\t\t/* 26px for 16px font */\r\n\t}\r\n\r\n\t.pl-4 {\r\n\t\tpadding-left: 1rem;\r\n\t}\r\n\r\n\t.text-gray-600 {\r\n\t\tcolor: #4b5563;\r\n\t}\r\n\r\n\t.py-6 {\r\n\t\tpadding-top: 1.5rem;\r\n\t\tpadding-bottom: 1.5rem;\r\n\t}\r\n\r\n\t.page-wrapper {\r\n\t\tposition: relative;\r\n\t\tmin-height: 100vh;\r\n\t\t/* 确保小内容时填满视口 */\r\n\t\toverflow: hidden;\r\n\t}\r\n\r\n\t/* 顶部背景 */\r\n\t.bg-top {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 500rpx;\r\n\t\t/* 可用固定像素或图片高度 */\r\n\t\tbackground: url('https://farm.evcc.top/Uploads/yuanboyuan/background/bg_top.jpg') no-repeat top center;\r\n\t\tbackground-size: cover;\r\n\t\tz-index: 0;\r\n\t}\r\n\r\n\t/* 底部背景 */\r\n\t.bg-bottom {\r\n\t\tposition: absolute;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 500rpx;\r\n\t\t/* 可用固定像素或图片高度 */\r\n\t\tbackground: url('https://farm.evcc.top/Uploads/yuanboyuan/background/bg_bottom.jpg') no-repeat bottom center;\r\n\t\tbackground-size: cover;\r\n\t\tz-index: 0;\r\n\t}\r\n\r\n\t/* 内容层 */\r\n\t.content-wrapper {\r\n\t\tposition: relative;\r\n\t\tz-index: 1;\r\n\t\tpadding: 2rem 1rem;\r\n\t}\r\n</style>","import MiniProgramPage from 'D:/HBuilderProjects/园博园/pages/index/traffic.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AA8CC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,YAAY;AAAA,IACb;AAAA,EACD;AACD;;;;;;;;;;;ACnDD,GAAG,WAAW,eAAe;"}
|