第一次上传

This commit is contained in:
Ls
2026-03-09 16:39:03 +08:00
commit 3d9efaf15c
924 changed files with 326227 additions and 0 deletions

View File

@@ -0,0 +1,422 @@
<template>
<view class="about-us-page">
<!-- 沉浸式状态栏 -->
<view v-if="!isZFB" class="status-bar"></view>
<!-- 顶部导航 -->
<view v-if="!isZFB" class="nav-bar">
<image class="back-icon" src="/static/icons/back.svg" @click="goBack" mode="aspectFit" />
<text class="nav-title">关于我们</text>
<view class="nav-placeholder"></view>
</view>
<!-- 主要内容区域 -->
<view class="content">
<!-- 关于我们卡片 -->
<view class="about-card">
<!-- 顶部装饰 -->
<view class="card-header">
<text class="ri-store-2-line header-icon"></text>
<text class="header-title">关于平台</text>
</view>
<!-- 平台介绍 -->
<view class="intro-section">
<view class="intro-text">
<text class="text-paragraph">我们是一家专注于为用户提供优质餐饮服务的平台,致力于连接商家与消费者,打造便捷、高效、优惠的到店体验。</text>
</view>
</view>
<!-- 分割线 -->
<view class="divider"></view>
<!-- 我们的使命 -->
<view class="mission-section">
<view class="section-title">
<text class="ri-flag-line section-icon"></text>
<text class="title-text">我们的使命</text>
</view>
<view class="mission-list">
<view class="mission-item">
<text class="mission-dot"></text>
<text class="mission-text">为用户提供便捷、优惠的到店服务</text>
</view>
<view class="mission-item">
<text class="mission-dot"></text>
<text class="mission-text">帮助商家拓展客源,提升经营效益</text>
</view>
<view class="mission-item">
<text class="mission-dot"></text>
<text class="mission-text">构建诚信、共赢的生活服务生态系统</text>
</view>
</view>
</view>
<!-- 分割线 -->
<view class="divider"></view>
<!-- 核心价值 -->
<view class="values-section">
<view class="section-title">
<text class="ri-heart-line section-icon"></text>
<text class="title-text">核心价值</text>
</view>
<view class="values-grid">
<view class="value-card">
<text class="ri-shield-check-line value-icon"></text>
<text class="value-title">诚信可靠</text>
<text class="value-desc">坚持诚信经营,保障用户权益</text>
</view>
<view class="value-card">
<text class="ri-lightbulb-line value-icon"></text>
<text class="value-title">创新进取</text>
<text class="value-desc">持续创新,提升用户体验</text>
</view>
<view class="value-card">
<text class="ri-team-line value-icon"></text>
<text class="value-title">合作共赢</text>
<text class="value-desc">携手商家,共同成长发展</text>
</view>
<view class="value-card">
<text class="ri-customer-service-2-line value-icon"></text>
<text class="value-title">用心服务</text>
<text class="value-desc">以用户为中心,贴心服务</text>
</view>
</view>
</view>
<!-- 分割线 -->
<view class="divider"></view>
<!-- 联系我们 -->
<view class="contact-section">
<view class="section-title">
<text class="ri-phone-line section-icon"></text>
<text class="title-text">联系我们</text>
</view>
<view class="contact-list">
<view class="contact-item" @click="callPhone">
<text class="contact-label">客服电话</text>
<text class="contact-value">155-6530-8847</text>
</view>
<view class="contact-item" @click="copyEmail">
<text class="contact-label">邮箱</text>
<text class="contact-value">fuxiao@kexunkeji.cn</text>
</view>
</view>
</view>
<!-- 温馨提示 -->
<view class="tips-box">
<view class="tips-header">
<text class="ri-error-warning-line tips-icon"></text>
<text class="tips-title">服务时间</text>
</view>
<view class="tips-content">
<text class="tips-item">客服热线7×24小时全天候服务</text>
<text class="tips-item">邮箱咨询我们将在1-3个工作日内回复</text>
</view>
</view>
</view>
<!-- 版本信息 -->
<!-- <view class="version-info">
<text class="version-text">当前版本 v1.0.0</text>
</view> -->
</view>
</view>
</template>
<script setup>
import { Service } from "@/Service/Service"
import {
inject
} from 'vue';
const isZFB = inject('isZFB');
// 返回
const goBack = () => {
Service.GoPageBack()
}
// 拨打电话
const callPhone = () => {
uni.makePhoneCall({
phoneNumber: '155-6530-8847'
})
}
// 复制邮箱
const copyEmail = () => {
uni.setClipboardData({
data: 'fuxiao@kexunkeji.cn',
success: () => {
uni.showToast({
title: '邮箱已复制',
icon: 'success'
})
}
})
}
</script>
<style lang="scss" scoped>
.about-us-page {
min-height: 100vh;
background: #F5F5F5;
display: flex;
flex-direction: column;
}
/* 状态栏 */
.status-bar {
background: linear-gradient(135deg, #FF6B00, #FF9500);
height: var(--status-bar-height);
width: 100%;
}
/* 导航栏 */
.nav-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 60rpx 24rpx 20rpx 24rpx;
background: linear-gradient(135deg, #FF6B00, #FF9500);
}
.back-icon {
width: 48rpx;
height: 48rpx;
padding: 8rpx;
}
.nav-title {
font-size: 36rpx;
font-weight: 600;
color: #FFFFFF;
}
.nav-placeholder {
width: 48rpx;
}
/* 内容区域 */
.content {
flex: 1;
padding: 32rpx 24rpx;
}
/* 关于我们卡片 */
.about-card {
background: #FFFFFF;
border-radius: 24rpx;
padding: 32rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
}
/* 卡片头部 */
.card-header {
display: flex;
align-items: center;
justify-content: center;
gap: 12rpx;
margin-bottom: 32rpx;
padding-bottom: 24rpx;
border-bottom: 2rpx solid #F5F5F5;
}
.header-icon {
font-size: 48rpx;
color: #FF6B00;
}
.header-title {
font-size: 36rpx;
font-weight: 600;
color: #222222;
}
/* 平台介绍 */
.intro-section {
margin-bottom: 32rpx;
}
.intro-text {
display: flex;
flex-direction: column;
gap: 16rpx;
}
.text-paragraph {
font-size: 26rpx;
color: #666666;
line-height: 1.8;
text-align: justify;
}
/* 分割线 */
.divider {
height: 2rpx;
background: linear-gradient(90deg, transparent, #E0E0E0, transparent);
margin-bottom: 32rpx;
}
/* 通用section */
.section-title {
display: flex;
align-items: center;
gap: 12rpx;
margin-bottom: 20rpx;
}
.section-icon {
font-size: 32rpx;
color: #FF9800;
}
.title-text {
font-size: 28rpx;
font-weight: 600;
color: #222222;
}
/* 使命部分 */
.mission-list {
display: flex;
flex-direction: column;
gap: 16rpx;
}
.mission-item {
display: flex;
align-items: flex-start;
gap: 12rpx;
}
.mission-dot {
width: 8rpx;
height: 8rpx;
background: #FF6B00;
border-radius: 50%;
margin-top: 12rpx;
flex-shrink: 0;
}
.mission-text {
flex: 1;
font-size: 24rpx;
color: #666666;
line-height: 1.6;
}
/* 核心价值 */
.values-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16rpx;
}
.value-card {
background: #F5F5F5;
border-radius: 12rpx;
padding: 20rpx;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 8rpx;
}
.value-icon {
font-size: 40rpx;
color: #FF6B00;
}
.value-title {
font-size: 26rpx;
font-weight: 600;
color: #222222;
}
.value-desc {
font-size: 20rpx;
color: #999999;
line-height: 1.4;
}
/* 联系方式 */
.contact-list {
display: flex;
flex-direction: column;
gap: 16rpx;
}
.contact-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx;
background: #F5F5F5;
border-radius: 12rpx;
}
.contact-label {
font-size: 26rpx;
color: #666666;
}
.contact-value {
font-size: 26rpx;
color: #FF6B00;
font-weight: 600;
}
/* 温馨提示 */
.tips-box {
background: #FFF9F0;
border-radius: 16rpx;
padding: 24rpx;
border-left: 4rpx solid #FF9800;
margin-top: 32rpx;
}
.tips-header {
display: flex;
align-items: center;
gap: 8rpx;
margin-bottom: 16rpx;
}
.tips-icon {
font-size: 28rpx;
color: #FF9800;
}
.tips-title {
font-size: 26rpx;
font-weight: 600;
color: #FF9800;
}
.tips-content {
display: flex;
flex-direction: column;
gap: 12rpx;
}
.tips-item {
font-size: 22rpx;
color: #666666;
line-height: 1.6;
}
/* 版本信息 */
.version-info {
margin-top: 32rpx;
text-align: center;
}
.version-text {
font-size: 22rpx;
color: #CCCCCC;
}
</style>

View File

@@ -0,0 +1,231 @@
<template>
<view style="display: flex; flex-direction: column; height: 100vh; ">
<view class="merchant-info">
<view class="">
<text class="section-title">付款给商户</text>
<text class="merchant-name">星巴克 · 北京国贸店</text>
</view>
<image :src="Service.GetIconImg('/static/dele/dele2.jpg')" mode="aspectFill" class="merchant-icon">
</image>
</view>
<view class=""
style=" padding: 30rpx 40rpx; flex: 1; background-color: #fff; width: 100%; border-top-right-radius: 30rpx; border-top-left-radius: 30rpx; ">
<view class="" style="font-size: 24rpx; font-weight: 600;">
余额
</view>
<view class="" style="margin: 20rpx 0; padding: 20rpx 0; border-bottom: 1rpx solid #e2e2e2; ">
<!-- <up-input prefixIcon='rmb' :prefixIconStyle="{ 'color':'#000','font-weight': 600,'font-size':'60rpx' }"
fontSize='50rpx'
auto-blur="false"
@focus="focusFunc"
:customStyle="{'color':'#000', height: '90rpx', 'padding-left': 0, 'font-weight': 600,'padding-bottom':'20rpx' }"
border="bottom" v-model="account"></up-input> -->
<view class="" style="display: flex; align-items: center; width: 100%; " >
<view class="" style="height: 70rpx; display: flex; align-items: center; " >
<up-icon name="rmb" :bold='true' size='50rpx' color="#000" ></up-icon>
</view>
<view class="" style=" height: 70rpx; line-height: 70rpx; font-weight: 600;font-size: 70rpx; " >
{{account}}
</view>
<view class="" v-if="isShow" style="margin: 0 10rpx; width: 4rpx; height: 70rpx; background-color: var(--nav-mian); " >
</view>
</view>
</view>
<view class="" style="font-size: 24rpx; color: #6B6B6B; ">
<text>我的积分 1,250 积分</text>
<text style="margin-left: 10rpx;">可抵扣 ¥12.50</text>
</view>
<!-- <view class="" style="font-size: 28rpx; margin-top: 10rpx; ">
<text :style="{'margin-right':!des?'':'15rpx'}">{{des}}</text>
<text @click="showDes=true" style="font-weight: 600; color: #586B95;">添加备注</text>
</view> -->
<view class=""
style="background-color: #f5f5f5; padding: 20rpx; position: fixed; bottom: 0; left: 0; width: 100%; padding-top: 25rpx; padding-bottom: 20rpx; ">
<view class="" style="display: grid; grid-template-columns: repeat(4,1fr); ">
<view class="button" @click="input(item)" v-for="(item,index) in 3" :key="index">
{{item}}
</view>
<view @click="deleInput()" class="button">
<up-icon name="backspace" :bold='true' size="26"></up-icon>
</view>
</view>
<view class="" style="display: grid; grid-template-columns: 3fr 1fr; ">
<view class="">
<view class="" style="display: grid; grid-template-columns: repeat(3,1fr); ">
<view class="button" @click="input(item+3)" v-for="(item,index) in 3" :key="index">
{{item+3}}
</view>
</view>
<view class="" style="display: grid; grid-template-columns: repeat(3,1fr); ">
<view class="button" @click="input(item+6)" v-for="(item,index) in 3" :key="index">
{{item+6}}
</view>
</view>
<view class="" style="display: grid; grid-template-columns: 2fr 1fr; ">
<view @click="input(0)" class="button" >
0
</view>
<view @click="input('.')" class="button" >
.
</view>
</view>
</view>
<view @click="save()" class="button" style="background-color: var(--nav-mian); color: #fff; " >
付款
</view>
</view>
</view>
</view>
</view>
<!-- <up-popup :show="showDes">
<view style="width: 100%; padding: 50rpx 30rpx; ">
<view class="">
<text style="font-size: 28rpx; font-weight: 600;">添加备注</text>
</view>
<view class=""
style=" margin-top: 30rpx; padding: 20rpx 0; border-bottom: 1rpx solid #e2e2e2; border-top: 1rpx solid #e2e2e2; ">
<up-input placeholder="请输入内容" border="none" v-model="des"></up-input>
</view>
<view class=""
style=" margin: 0 110rpx; margin-top: 50rpx; display: flex; align-items: center; justify-content: space-between; ">
<view class="" @click="showDes=false,des=''"
style=" background-color: #f2f2f2; color: #000; padding: 20rpx 80rpx;border-radius: 20rpx; display: flex; align-items: center; justify-content: center; ">
取消
</view>
<view class="" @click="showDes=false"
style=" background-color: #07c160; color: #fff; padding: 20rpx 80rpx;border-radius: 20rpx; display: flex; align-items: center; justify-content: center; ">
确定
</view>
</view>
</view>
</up-popup> -->
</template>
<script setup lang="ts">
import { onShow, onLoad } from "@dcloudio/uni-app";
import { Service } from "@/Service/Service"
import { onUnmounted, ref } from "vue";
let account = ref('')
// let showDes = ref(false)
let des = ref()
let isShow=ref(false)
let timeOut=ref()
onLoad(() => {
focusFunc()
});
onShow(() => {
});
onUnmounted(()=>{
clearInterval(timeOut.value)
})
const input=(val:any)=>{
if(account.value.split('').length>8){
return
}
if(val=='.'){
let arr=account.value.split('').filter((item=>item==val))
if(arr.length>0){
return
}
if(!account.value){
account.value='0.'
return
}
}
account.value=account.value+val
}
const deleInput=()=>{
let arr=account.value.split('')
arr.pop()
account.value=arr.join('')
}
const save=()=>{
}
const focusFunc=()=>{
timeOut.value=setInterval(()=>{
isShow.value=!isShow.value
},1000)
}
</script>
<style lang="scss">
page {
background-color: #f5f5f5;
}
// 按键
.button {
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 18rpx 0;
border-radius: 10rpx;
font-weight: 700;
margin: 8rpx;
font-size: 38rpx;
}
.button:active {
background-color: #ababab;
}
/* 商户信息 */
.merchant-info {
padding: 30rpx 40rpx;
margin-bottom: 20rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.merchant-name {
font-size: 24rpx;
color: #999999;
display: block;
margin-top: 20rpx;
}
.section-title {
font-size: 32rpx;
font-weight: 700;
}
.merchant-icon {
width: 95rpx;
height: 95rpx;
border-radius: 50%;
margin-right: 20rpx;
}
</style>