| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- /* pages/takePhoto/takePhoto.wxss */
- /* 全局样式 */
- page {
- background-color: #f5f7fa;
- color: #333;
- font-size: 14px;
- line-height: 1.5;
- }
- .container {
- background-color: #fff;
- min-height: 100vh;
- position: relative;
- padding-bottom: 60px;
- }
- .header {
- background-color: #1e88e5;
- color: white;
- padding: 15px;
- text-align: center;
- font-size: 18px;
- font-weight: bold;
- position: sticky;
- top: 0;
- z-index: 100;
- }
- .content {
- padding: 15px;
- }
- /* 按钮样式 */
- .btn-group {
- display: flex;
- flex-direction: column;
- gap: 15px;
- margin-bottom: 15px;
- }
- .btn {
- display: block;
- width: 100%;
- padding: 15px;
- border-radius: 8px;
- text-align: center;
- color: white;
- font-weight: bold;
- margin-bottom: 0;
- line-height: 1.5;
- border: none;
- }
- .btn-green {
- background-color: #4caf50;
- }
- .btn-blue {
- background-color: #1e88e5;
- }
- .btn-red {
- background-color: #f44336;
- }
- .btn-phone {
- background-color: #2196f3;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 220rpx;
- padding: 10rpx 0px;
- font-size: 12px;
- }
- .tel {
- margin-right: 12rpx;
- }
- /* 卡片样式 */
- .card {
- background-color: #fff;
- border-radius: 8px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
- margin-bottom: 15px;
- overflow: hidden;
- }
- .card-header {
- padding: 12px 15px;
- border-bottom: 1px solid #eee;
- font-weight: bold;
- font-size: 16px;
- color: #333;
- background-color: #f9f9f9;
- }
- .card-content {
- padding: 20rpx 30rpx;
- }
- /* 搜索框 */
- .search-box {
- display: flex;
- margin-bottom: 15px;
- }
- .search-input {
- flex: 1;
- padding: 10px 15px;
- border: 1px solid #ddd;
- border-radius: 8px 0 0 8px;
- }
- .search-btn {
- background-color: #1e88e5;
- color: white;
- border: none;
- padding: 0 15px;
- border-radius: 0 8px 8px 0;
- line-height: 88rpx;
- font-size: 14px;
- }
- /* 列表样式 */
- .list-item {
- padding: 12px 6px;
- border-bottom: 1px solid #eee;
- }
- .list-item:last-child {
- border-bottom: none;
- }
- /* 标签样式 */
- .tag {
- display: inline-block;
- padding: 4px 8px;
- border-radius: 4px;
- font-size: 12px;
- color: white;
- margin-right: 5px;
- background-color: #1e88e5;
- }
- .tag-warning {
- background-color: #ff9800;
- }
- .tag-danger {
- background-color: #f44336;
- }
- .tag-blue {
- background-color: #1e88e5;
- }
- /* 证书项目样式 */
- .cert-item {
- padding: 5px 8rpx;
- border-bottom: 1px dashed #eee;
- display: flex;
- justify-content: space-between;
- }
- .cert-item:last-child {
- border-bottom: none;
- }
- .expire-date {
- color: #f44336;
- }
- .upgrade-info {
- color: #1e88e5;
- }
- .contact-info {
- text-align: center;
- }
- .contact-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10rpx 0;
- margin-bottom: 10rpx;
- }
- .text-danger {
- color: #f44336;
- }
- .cert-status {
- display: flex;
- flex-direction: column;
- font-size: 12px;
- margin-top: 5rpx;
- }
- /* 热门推荐服务样式 */
- .section-title {
- background-color: #1e88e5;
- color: white;
- padding: 10px 15px;
- border-radius: 8px 8px 0 0;
- font-weight: bold;
- font-size: 16px;
- margin-top: 15px;
- margin-bottom: 0;
- }
- .hot-services {
- margin-top: 10px;
- }
- .service-item {
- padding: 20rpx;
- border-bottom: 1px solid #eee;
- display: flex;
- /* flex-direction: column; */
- align-items: center;
- justify-content: space-between;
- }
- .no-data {
- text-align: center;
- padding: 30rpx;
- color: #999;
- font-size: 28rpx;
- }
- .loading {
- text-align: center;
- padding: 30rpx;
- color: #666;
- font-size: 28rpx;
- }
- .dock-name {
- font-size: 20rpx;
- color: #666;
- margin-right: 20rpx;
- padding: 4rpx 12rpx;
- background-color: #f5f5f5;
- border-radius: 4rpx;
- }
- .service-name {
- font-size: 24rpx;
- font-weight: bold;
- color: #333;
- margin-right: 20rpx;
- }
- .service-type {
- color: #666;
- /* margin: 5px 0; */
- }
- /* 水位信息样式 */
- .water-level-info {
- margin-top: 10px;
- max-height: 400rpx;
- }
- .water-level-item {
- display: flex;
- align-items: center;
- /* justify-content: space-around; */
- text-align: center;
- padding: 12rpx;
- border: 1px solid #eee;
- border-radius: 4px;
- margin-bottom: 12rpx;
- }
- .water-level-item:last-child {
- margin-right: 0;
- }
- .water-level-station {
- font-weight: bold;
- color: #777;
- width: 35%;
- }
- .water-level-value {
- font-size: 16px;
- margin: 5px 0;
- color: #555;
- width: 35%;
- }
- .water-level-trend {
- font-size: 14px;
- width: 30%;
- text-align: center;
- }
- .rising {
- color: #f44336;
- }
- .falling {
- color: #4caf50;
- }
- .stable {
- color: #1e88e5;
- }
- /* 政策解读样式 */
- .policy-list {
- margin-top: 10px;
- }
- .policy-item {
- padding: 10px 0;
- border-bottom: 1px solid #eee;
- }
- .policy-item:last-child {
- border-bottom: none;
- }
- .policy-ship-type {
- font-weight: bold;
- }
- .policy-energy-type {
- color: #1e88e5;
- margin: 5px 0;
- }
- .policy-subsidy {
- color: #f44336;
- font-weight: bold;
- }
- /* 地图容器 */
- .map-container {
- height: 200px;
- background-color: #e0e0e0;
- margin-bottom: 15px;
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #666;
- position: relative;
- }
- .map-marker {
- position: absolute;
- width: 20px;
- height: 20px;
- background-color: #1e88e5;
- border-radius: 50%;
- transform: translate(-50%, -50%);
- }
- .map-marker.ship {
- background-color: #4caf50;
- top: 40%;
- left: 45%;
- }
- .map-marker.cargo {
- background-color: #f44336;
- }
- /* 货盘列表样式 */
- .cargo-list {
- margin-top: 10px;
- }
- .cargo-item {
- padding: 10px;
- border-bottom: 1px solid #eee;
- }
- .cargo-item:last-child {
- border-bottom: none;
- }
- .cargo-info {
- margin-bottom: 20rpx;
- display: flex;
- justify-content: space-around;
- }
- .cargo-type {
- font-weight: bold;
- }
- .cargo-meta {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .cargo-distance {
- color: #666;
- font-size: 24rpx;
- margin-left: 20rpx;
- }
- /* 政策表格样式 */
- .policy-table {
- width: 100%;
- border: 1px solid #eee;
- border-radius: 4px;
- overflow: hidden;
- }
- .policy-header {
- display: flex;
- background-color: #f5f7fa;
- font-weight: bold;
- border-bottom: 1px solid #eee;
- }
- .policy-row {
- display: flex;
- border-bottom: 1px solid #eee;
- }
- .policy-row:last-child {
- border-bottom: none;
- }
- .policy-cell {
- flex: 1;
- padding: 10px;
- text-align: center;
- border-right: 1px solid #eee;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #333;
- }
- .policy-header .policy-cell {
- color: #777;
- }
- .policy-cell:last-child {
- border-right: none;
- }
|