牛仔很忙

最近一直很忙,在公司忙工作,在家忙生活,几乎明天的时间都被安排的满满的。

最近几天,忙着公司新项目准备上线的测试,一直忙到很晚,几乎每天都是10点多才回家,每天早上又8点跑去上班。

很充实,但也很疲惫!

已经没有了多余的时间,拿来思考别的问题、去写博客,没有多余的时间去休闲娱乐,没有多余的时间去陪伴亲人朋友

相信这只是暂时的,等忙过之后,会有很大成长的~ 也会有超乎想象的收获的。


接下来一段时间可能注定要忙了,有几件重要的事情需要机会去做

1.做好本职工作 , 在工作之余思考一下如果进一步提高工作效率,工作状态

2.租房问题,还有不到1个月房屋合同就要到期,想换一个新的地方住,估计又要折腾了

3.家庭问题,考虑买房子问题、拍婚纱照计划

4.证券从业资格证考试 ,6月底有一次统考,过了这个时间点就是新的证券考试大纲了,所以想在6月底之前把考试给过了,1个月时间有点紧迫,尤其是在现在这种情况,不知道是否该给自己一点压力,一点挑战

似乎每一件时间都是那么急迫,但时间却只有那么一点,但是没有更好的办法,努力吧!

将设置页面美化成游玩扣分项目界面风格。设置项目主要是设置默认项目。项目过多时上下滑动。设置页面代码为:<template> <view class="setting"> <view class="section-title">设置</view> <view class="section"> <text class="subtitle">游玩项目:</text> <scroll-view scroll-y class="project-scroll"> <view class="project-list"> <view v-for="(item, index) in projects" :key="index" class="project-item"> <text class="project-name">{{ item.name }}</text> <text class="project-price">{{ item.price }}币</text> </view> </view> </scroll-view> </view> <button class="confirm-btn" @click="saveSettings">确认</button> </view> </template> <script> export default { data() { return { projects: [ { id: 1, name: '漫游巴黎', price: 58 }, { id: 2, name: '摇摇乐', price: 58 }, { id: 3, name: '牛仔很忙', price: 38 }, { id: 4, name: '风车蹦床', price: 58 }, { id: 5, name: '无动力乐园', price: 58 }, { id: 6, name: '太空探险', price: 68 }, { id: 7, name: '水上乐园', price: 78 } ] } }, methods: { saveSettings() { uni.showToast({ title: '设置已保存', icon: 'success' }); uni.navigateBack(); } } } </script> <style scoped> .setting { padding: 30rpx; } .section-title { font-size: 40rpx; font-weight: bold; margin-bottom: 40rpx; } .section { margin-bottom: 60rpx; } .subtitle { font-size: 32rpx; margin-bottom: 20rpx; display: block; } .project-scroll { height: 800rpx; } .project-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30rpx; } .project-item { background-color: #f0f0f0; border-radius: 16rpx; padding: 30rpx; text-align: center; } .project-name { display: block; font-size: 32rpx; margin-bottom: 10rpx; } .project-price { font-size: 28rpx; color: #ff3b30; } .confirm-btn { position: fixed; bottom: 80rpx; left: 40rpx; right: 40rpx; height: 90rpx; background-color: #007AFF; color: white; font-size: 36rpx; border-radius: 10rpx; } </style>游玩扣分界面代码为:<template> <view class="play-fee"> <view class="header"> <text class="title">游玩扣费</text> <uni-icons type="help" size="22" color="#999" /> </view> <view class="card"> <text class="card-title">选择游玩项目</text> <scroll-view scroll-x class="project-scroll"> <view class="project-list"> <view v-for="(item, index) in projects" :key="index" :class="['project-item', { 'active': item.id === selectedProject.id }]" @click="selectProject(item)"> <text class="project-name">{{ item.name }}</text> <text class="project-price">{{ item.price }}币</text> </view> </view> </scroll-view> </view> <view class="card"> <view class="default-section"> <checkbox-group @change="toggleDefault"> <label class="checkbox-label"> <checkbox :checked="isDefault" color="#007AFF" /> <text>游玩项目设为默认扣费项目</text> </label> </checkbox-group> </view> <view class="count-section"> <text class="section-title">扣费次数:</text> <view class="count-selector"> <button v-for="count in countOptions" :key="count.value" :class="['count-btn', { 'active': count.value === selectedCount }]" @click="selectCount(count.value)"> {{ count.label }} </button> </view> </view> </view> <view class="total-card"> <text class="total-text">扣值数量:</text> <text class="total-amount">{{ selectedProject.price }} × {{ selectedCount }} = {{ selectedProject.price * selectedCount }} 币</text> </view> <view class="card"> <view class="input-section"> <uni-icons type="search" size="22" color="#999" class="search-icon" /> <input class="member-input" placeholder="请输入卡号/手机号/会员号" /> <button class="fee-btn" @click="handleFee">扣费</button> </view> <view class="action-buttons"> <button class="action-btn scan-btn" @click="handleScan"> <uni-icons type="scan" size="22" color="#007AFF" /> <text>扫描会员码</text> </button> <button class="action-btn read-card-btn" @click="handleReadCard"> <uni-icons type="card" size="22" color="#007AFF" /> <text>读卡</text> </button> </view> </view> </view> </template> <script> export default { data() { return { projects: [{ id: 1, name: '牛仔很忙', price: 38 }, { id: 2, name: '漫游巴黎', price: 58 }, { id: 3, name: '摇摇乐', price: 58 }, { id: 4, name: '风车蹦床', price: 58 }, { id: 5, name: '风车蹦床', price: 60 }, { id: 6, name: '风车蹦床', price: 61 }, { id: 7, name: '风车蹦床', price: 77 } ], selectedProject: { id: 1, name: '牛仔很忙', price: 38 }, countOptions: [{ label: '1次', value: 1 }, { label: '2次', value: 2 }, { label: '3次', value: 3 }, { label: '自定义', value: 'custom' } ], selectedCount: 1, isDefault: false } }, methods: { selectProject(project) { this.selectedProject = project; }, selectCount(count) { this.selectedCount = count; }, toggleDefault(e) { this.isDefault = e.detail.value.length > 0; }, handleFee() { uni.showToast({ title: '扣费成功', icon: 'success' }); }, handleScan() { uni.scanCode({ success: (res) => { console.log('扫描结果:', res.result); } }); }, handleReadCard() { uni.showToast({ title: '读卡功能', icon: 'none' }); } } } </script> <style scoped> .play-fee { padding: 30rpx; background: #f8fcff; min-height: 100vh; } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40rpx; } .title { font-size: 46rpx; font-weight: bold; color: #333; } .card { background: #fff; border-radius: 24rpx; padding: 30rpx; margin-bottom: 30rpx; box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.03); } .card-title { font-size: 34rpx; font-weight: bold; color: #333; margin-bottom: 30rpx; display: block; } .project-scroll { height: 180rpx; } .project-list { display: flex; } .project-item { width: 240rpx; height: 160rpx; background: #f8f9ff; border-radius: 20rpx; text-align: center; margin-right: 25rpx; border: 2rpx solid #f0f0f0; transition: all 0.3s; } .project-item.active { width: 200rpx; background: linear-gradient(to right, #e6f7ff, #d1eeff); border-color: #b3e0ff; transform: translateY(-5rpx); box-shadow: 0 10rpx 20rpx rgba(0, 122, 255, 0.1); } .project-name { margin-top: 20rpx; width: 200rpx; display: block; font-size: 32rpx; margin-bottom: 15rpx; color: #333; } .project-price { font-size: 30rpx; font-weight: bold; color: #ff6b6b; } .default-section { margin-bottom: 40rpx; font-size: 32rpx; } .checkbox-label { display: flex; align-items: center; } .count-section { margin-top: 20rpx; } .section-title { font-size: 34rpx; font-weight: 500; margin-bottom: 30rpx; display: block; color: #333; } .count-selector { display: flex; gap: 20rpx; } .count-btn { flex: 1; height: 80rpx; font-size: 25rpx; background: #f8f9ff; border-radius: 12rpx; display: flex; justify-content: center; align-items: center; border: 2rpx solid #f0f0f0; color: #666; } .count-btn.active { background: linear-gradient(to right, #007AFF, #00a8ff); color: white; border-color: #007AFF; box-shadow: 0 6rpx 12rpx rgba(0, 122, 255, 0.2); } .total-card { background: linear-gradient(to right, #007AFF, #00a8ff); border-radius: 24rpx; padding: 40rpx 30rpx; margin-bottom: 30rpx; box-shadow: 0 10rpx 30rpx rgba(0, 122, 255, 0.2); } .total-text { font-size: 34rpx; color: rgba(255, 255, 255, 0.9); display: block; margin-bottom: 15rpx; } .total-amount { font-size: 46rpx; font-weight: bold; color: white; } .input-section { display: flex; align-items: center; position: relative; margin-bottom: 40rpx; } .search-icon { position: absolute; left: 25rpx; z-index: 2; } .member-input { flex: 1; height: 100rpx; background: #f8f9ff; border-radius: 16rpx; padding: 0 30rpx 0 70rpx; font-size: 32rpx; border: 2rpx solid #f0f0f0; } .fee-btn { width: 180rpx; height: 100rpx; background: linear-gradient(to right, #ff6b6b, #ff8e8e); color: white; font-size: 34rpx; border-radius: 16rpx; margin-left: 20rpx; box-shadow: 0 6rpx 12rpx rgba(255, 107, 107, 0.2); border: none; } .action-buttons { display: flex; gap: 30rpx; } .action-btn { flex: 1; height: 100rpx; background: #f8f9ff; color: #007AFF; font-size: 32rpx; border-radius: 16rpx; display: flex; justify-content: center; align-items: center; border: 2rpx solid #e6f7ff; } .action-btn text { margin-left: 15rpx; } </style>
07-23
<template> <view class="member-query"> <view class="header"> <text class="title">会员查询</text> <uni-icons type="help" size="22" color="#999" /> </view> <view class="search-card"> <view class="input-box"> <uni-icons type="search" size="22" color="#999" class="search-icon" /> <input class="search-input" placeholder="请输入卡号/手机号/会员号" /> </view> <button class="search-btn">搜索</button> </view> <view class="action-buttons"> <button class="action-btn" @click="handleScan"> <uni-icons type="scan" size="22" color="#007AFF" /> <text>扫描会员码</text> </button> <button class="action-btn" @click="handleReadCard"> <uni-icons type="card" size="22" color="#007AFF" /> <text>读卡</text> </button> </view> <view class="info-card" v-if="memberInfo"> <view class="info-header"> <text class="name">{{ memberInfo.name }}</text> <view class="status-badge"> <text>{{ memberInfo.status }}</text> </view> </view> <view class="info-grid"> <view class="info-item"> <text class="label">等级</text> <text class="value">{{ memberInfo.level }}</text> </view> <view class="info-item"> <text class="label">手机</text> <text class="value">{{ memberInfo.phone }}</text> </view> <view class="info-item"> <text class="label">性别</text> <text class="value">{{ memberInfo.gender }}</text> </view> <view class="info-item"> <text class="label">注册时间</text> <text class="value">{{ memberInfo.registerDate }}</text> </view> </view> <view class="assets-section"> <text class="section-title">账户资产</text> <view class="log-section"> <view class="log-header"> <text>所属门店</text> <text>本币</text> <text>赠币</text> </view> <view v-for="(log, index) in huiyuanlogs" :key="index" class="huiyuanlog-row"> <text>{{ log.name }}</text> <text>{{ log.currency }}</text> <text>{{ log.giftCurrency }}</text> </view> </view> </view> </view> <view class="log-section" v-if="logs.length > 0"> <text class="section-title">会员日志</text> <view class="log-header"> <text>序号</text> <text>本币</text> <text>赠币</text> <text>备注</text> <text>时间</text> </view> <view v-for="(log, index) in logs" :key="index" class="log-row"> <text>{{ log.id }}</text> <text>{{ log.currency }}</text> <text>{{ log.giftCurrency }}</text> <text>{{ log.remark }}</text> <text>{{ log.time }}</text> </view> </view> </view> </template> <script> export default { data() { return { memberInfo: { level: '普通会员', phone: '132****3113', gender: '男', registerDate: '2025-07-18', name: '张会员', status: '状态:正常', store: '卡皮巴拉乐园(宜兴店)', currency: '100', giftCurrency: '100' }, logs: [ { id: 1, currency: '+180', giftCurrency: '+100', remark: '游客转会员', time: '2025.7.18 14:30' }, { id: 2, currency: '-38', giftCurrency: '0', remark: '消耗币数:牛仔很忙', time: '2025.7.19 10:15' }, { id: 3, currency: '-38', giftCurrency: '0', remark: '消耗币数:牛仔很忙', time: '2025.7.20 15:20' } ], huiyuanlogs: [ { id: 1, currency: '180', giftCurrency: '100', name: '卡皮巴拉乐园(无锡宜兴店)' }, { id: 2, currency: '38', giftCurrency: '0', name: '卡皮巴拉乐园(无锡宜兴店)' }, { id: 3, currency: '38', giftCurrency: '0', name: '卡皮巴拉乐园(无锡宜兴店)' } ] } }, methods: { handleScan() { uni.scanCode({ success: (res) => { console.log('扫描结果:', res.result); } }); }, handleReadCard() { uni.showToast({ title: '读卡功能', icon: 'none' }); } } } </script> <style scoped> .member-query { padding: 30rpx; background: #f8fcff; min-height: 100vh; } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40rpx; } .title { font-size: 46rpx; font-weight: bold; color: #333; } .search-card { display: flex; background: #fff; border-radius: 24rpx; padding: 20rpx; margin-bottom: 30rpx; box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.03); } .input-box { flex: 1; position: relative; } .search-icon { position: absolute; left: 25rpx; top: 50%; transform: translateY(-50%); z-index: 2; } .search-input { width: 100%; height: 90rpx; background: #f8f9ff; border-radius: 16rpx; padding: 0 30rpx 0 70rpx; font-size: 32rpx; border: 2rpx solid #f0f0f0; } .search-btn { width: 160rpx; height: 90rpx; background: linear-gradient(to right, #007AFF, #00a8ff); color: white; font-size: 32rpx; border-radius: 16rpx; margin-left: 120rpx; box-shadow: 0 6rpx 12rpx rgba(0, 122, 255, 0.2); border: none; } .action-buttons { display: flex; gap: 30rpx; margin-bottom: 40rpx; } .action-btn { flex: 1; height: 90rpx; background: #f8f9ff; color: #007AFF; font-size: 32rpx; border-radius: 16rpx; display: flex; justify-content: center; align-items: center; border: 2rpx solid #e6f7ff; } .action-btn text { margin-left: 15rpx; } .info-card { background: #fff; border-radius: 24rpx; padding: 40rpx 30rpx; margin-bottom: 40rpx; box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.03); } .info-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40rpx; padding-bottom: 30rpx; border-bottom: 2rpx solid #f8f8f8; } .name { font-size: 42rpx; font-weight: bold; color: #333; } .status-badge { background: #e6f7ff; border-radius: 30rpx; padding: 10rpx 25rpx; font-size: 28rpx; color: #007AFF; border: 2rpx solid #b3e0ff; } .info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30rpx; margin-bottom: 40rpx; } .info-item { background: #f8f9ff; border-radius: 16rpx; padding: 25rpx; border: 2rpx solid #f0f0f0; } .label { font-size: 28rpx; color: #999; display: block; margin-bottom: 10rpx; } .value { font-size: 32rpx; font-weight: 500; color: #333; } .section-title { font-size: 36rpx; font-weight: bold; color: #333; margin-bottom: 30rpx; display: block; } .assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20rpx; } .asset-item { background: #f8f9ff; border-radius: 16rpx; padding: 25rpx; text-align: center; border: 2rpx solid #f0f0f0; } .asset-label { font-size: 28rpx; color: #999; display: block; margin-bottom: 15rpx; } .asset-value { font-size: 36rpx; font-weight: bold; display: block; } .currency { color: #007AFF; } .gift { color: #ff6b6b; } .assets-section .log-header, .assets-section .huiyuanlog-row { grid-template-columns: 10fr 1.5fr 1.5fr; /* 调整比例 */ padding: 20rpx 30rpx; /* 增加左右内边距 */ } .log-section { background: #fff; border-radius: 24rpx; padding: 40rpx 30rpx; box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.03); } .log-header, .log-row { display: grid; grid-template-columns: 0.8fr 1fr 1fr 2fr 1.5fr; gap: 15rpx; font-size: 28rpx; padding: 20rpx 0; } .log-header { font-weight: bold; color: #333; border-bottom: 2rpx solid #f8f8f8; margin-bottom: 10rpx; } .log-row:nth-child(odd) { background-color: #f8f9ff; border-radius: 12rpx; } .log-row text:nth-child(2) { color: #ff6b6b; font-weight: bold; } </style>账户资产列表隔行设置变色
07-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值