帮助中心-计费规则页面开发

This commit is contained in:
小朱 2025-04-14 16:49:31 +08:00
parent 8316feb78c
commit 4f2d57153e
2 changed files with 44 additions and 26 deletions

View File

@ -1,35 +1,53 @@
<template> <template>
<view class="billing-rules"> <view class="billing-rules">
<text class="title">计费规则</text> <view class="billing-header">计费规则</view>
<view class="content">
<text>这里是计费规则的详细描述</text> <view class="billing-item">
<view class="item-title">起步价</view>
<view class="item-value">1.50</view>
</view>
<view class="billing-item">
<view class="item-title">包含时长</view>
<view class="item-value">30分钟以内</view>
</view> </view>
</view> </view>
</template> </template>
<script setup> <script setup>
// Vue 3 <script setup> import {
// 使 Composition API ref
} from 'vue';
import { ref } from 'vue';
const message = ref("这里是计费规则的详细描述"); const message = ref("这里是计费规则的详细描述");
</script> </script>
<style scoped> <style scoped>
.billing-rules { .billing-rules {
height: 100vh;
background-color: white;
padding: 20px; padding: 20px;
} }
.title { .billing-header {
font-size: 24px; font-size: 16px;
font-weight: bold; font-weight: bold;
margin-bottom: 16px;
}
.billing-item {
display: flex;
justify-content: space-between;
margin-bottom: 12px;
}
.item-title {
font-size: 13px;
color: #333; color: #333;
} }
.content { .item-value {
margin-top: 10px; font-size: 13px;
font-size: 16px; color: #666;
color: #555;
} }
</style> </style>

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="container"> <view class="container">
<view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius"> <view class="cu-list menu card-menu margin-bottom-xl shadow-lg radius">
<view class="cu-item arrow"> <view class="cu-item arrow">
<view class="content flex" @click="goToBillingRules"> <view class="content flex" @click="goToBillingRules">
<text class="text-black text-bold">计费规则</text> <text class="text-black text-bold">计费规则</text>