Commit cb0fbbd4 authored by 刘文虎's avatar 刘文虎

首页打开日常记账

parent 77119105
Pipeline #2937 canceled with stages
<template>
<view class="index-view">
<!-- <u-navbar
<view class="index-view">
<!-- <u-navbar
:is-back="false"
:border-bottom="false"
:background="background"
></u-navbar> -->
<view class="content-view" :style="'padding-top: ' + paddingTop + 'px'">
<view class="head-view">
<view class="left-view">
<view class="logo-image"></view>
<view class="title-view">扳手记账</view>
</view>
<view class="right-view">
<view class="location-view">
<view class="location-icon-view">
<image :src="dingweidizhiImage"></image>
</view>
<view>{{ weather.city }}</view>
</view>
<view class="weather-view">
<!-- <view class="weather-icon-view">
<view class="content-view" :style="'padding-top: ' + paddingTop + 'px'">
<view class="head-view">
<view class="left-view">
<view class="logo-image"></view>
<view class="title-view">扳手记账</view>
</view>
<view class="right-view">
<view class="location-view">
<view class="location-icon-view"><image :src="dingweidizhiImage"></image></view>
<view>{{ weather.city }}</view>
</view>
<view class="weather-view">
<!-- <view class="weather-icon-view">
<image :src="weather.icon"></image>
</view> -->
<view class="weather-text">{{ weather.weather }}</view>
<view>{{ weather.temp }}℃</view>
</view>
</view>
</view>
<view class="info-view">
<image class="info-back-image" :src="infoBackImage"></image>
<view class="info-content">
<view class="info-head-view">
<view class="left-view">本月结余(元)</view>
<view
class="right-view"
hover-class="u-hover-class"
@click="$u.throttle(handleSelectDate, 500)"
>
<view class="date-view">{{ date }}</view>
<u-icon name="arrow-down-fill" color="#ffffff" size="22"></u-icon>
</view>
</view>
<view class="info-money-view">{{ formatCount(money.money) }}</view>
<view class="info-bottom-view">
<view class="left-view"
><view>本月收入(元)</view
><view class="money-view">{{
formatCount(money.income)
}}</view></view
>
<view class="right-view"
><view>本月支付(元)</view
><view class="money-view">{{
formatCount(money.expense)
}}</view></view
>
</view>
</view>
</view>
<view class="tool-view">
<view
class="item-view"
v-for="(item, index) in toolArray"
:key="index"
hover-class="u-hover-class"
@click="handleClickTool(item.path)"
>
<view class="left-view">
<view class="name-view">{{ item.name }}</view>
<view class="tip-view">
<view class="tip-text">立即记账</view>
<u-icon name="arrow-right" color="#02A074" size="22"></u-icon>
</view>
</view>
<view class="right-view">
<image :src="item.image"></image>
</view>
</view>
</view>
<view class="operate-view">
<view
class="item-view"
v-for="(item, index) in operateArray"
:key="index"
hover-class="u-hover-class"
@click="handleClickOperate(item.path)"
>
<view class="image-view">
<image :src="item.image"></image>
</view>
<view class="name-view">{{ item.name }}</view>
</view>
</view>
<view class="detail-view">
<view class="detail-head-view">
<view class="title-view">收支明细</view>
<view class="tip-view">展示近3天数据</view>
</view>
<BillList :list="list" @select="handleSelectCell" />
<!-- <view class="list-view" v-if="list.length > 0">
<view class="weather-text">{{ weather.weather }}</view>
<view>{{ weather.temp }}℃</view>
</view>
</view>
</view>
<view class="info-view">
<image class="info-back-image" :src="infoBackImage"></image>
<view class="info-content">
<view class="info-head-view">
<view class="left-view">本月结余(元)</view>
<view class="right-view" hover-class="u-hover-class" @click="$u.throttle(handleSelectDate, 500)">
<view class="date-view">{{ date }}</view>
<u-icon name="arrow-down-fill" color="#ffffff" size="22"></u-icon>
</view>
</view>
<view class="info-money-view">{{ formatCount(money.money) }}</view>
<view class="info-bottom-view">
<view class="left-view">
<view>本月收入(元)</view>
<view class="money-view">{{ formatCount(money.income) }}</view>
</view>
<view class="right-view">
<view>本月支付(元)</view>
<view class="money-view">{{ formatCount(money.expense) }}</view>
</view>
</view>
</view>
</view>
<view class="tool-view">
<view class="item-view" v-for="(item, index) in toolArray" :key="index" hover-class="u-hover-class" @click="handleClickTool(item)">
<view class="left-view">
<view class="name-view">{{ item.name }}</view>
<view class="tip-view">
<view class="tip-text">立即记账</view>
<u-icon name="arrow-right" color="#02A074" size="22"></u-icon>
</view>
</view>
<view class="right-view"><image :src="item.image"></image></view>
</view>
</view>
<view class="operate-view">
<view class="item-view" v-for="(item, index) in operateArray" :key="index" hover-class="u-hover-class" @click="handleClickOperate(item.path)">
<view class="image-view"><image :src="item.image"></image></view>
<view class="name-view">{{ item.name }}</view>
</view>
</view>
<view class="detail-view">
<view class="detail-head-view">
<view class="title-view">收支明细</view>
<view class="tip-view">展示近3天数据</view>
</view>
<BillList :list="list" @select="handleSelectCell" />
<!-- <view class="list-view" v-if="list.length > 0">
<view
class="list-day-view"
v-for="(items, index) in list"
......@@ -128,519 +102,518 @@
</view>
</view>
<NoData v-else imageWidth="374" text="当前暂无收支明细"/> -->
</view>
</view>
<u-picker
:default-time="date"
mode="time"
v-model="showDatePicker"
:params="params"
@confirm="handleComfirmDate"
bottomTip="※ 体验会员,仅非会员用户领取,每个ID限领1次"
></u-picker>
<PopNormal :visible.sync="visible" :isShare="true" />
<u-toast ref="uToast" />
<mid-popup ref="midPopup"></mid-popup>
<u-tabbar
:list="tabbar"
:mid-button="true"
:mid-button-size="80"
:before-switch="beforeSwitch"
></u-tabbar>
</view>
</view>
</view>
<u-picker
:default-time="date"
mode="time"
v-model="showDatePicker"
:params="params"
@confirm="handleComfirmDate"
bottomTip="※ 体验会员,仅非会员用户领取,每个ID限领1次"
></u-picker>
<PopNormal :visible.sync="visible" :isShare="true" />
<u-toast ref="uToast" />
<mid-popup ref="midPopup"></mid-popup>
<u-tabbar :list="tabbar" :mid-button="true" :mid-button-size="80" :before-switch="beforeSwitch"></u-tabbar>
</view>
</template>
<script>
let systemInfo = uni.getSystemInfoSync()
let systemInfo = uni.getSystemInfoSync();
import MidPopup from '@/components/mid-popup/mid-popup.vue'
import MidPopup from '@/components/mid-popup/mid-popup.vue';
// import CellBill from '@/components/cell-bill-list/index.vue'
// import NoData from '@/components/no-data'
import BillList from '@/components/bill-list'
import PopNormal from '@/components/pop-normal'
import { tabbar } from '@/utils/settings.js'
import { getWeather, bookRecord, monthRecord } from '@/api/maintain/index.js'
import { checkVip } from '@/utils/common.js'
import { mapGetters } from 'vuex'
import BillList from '@/components/bill-list';
import PopNormal from '@/components/pop-normal';
import { tabbar } from '@/utils/settings.js';
import { getWeather, bookRecord, monthRecord } from '@/api/maintain/index.js';
import { checkVip } from '@/utils/common.js';
import { mapGetters } from 'vuex';
export default {
components: {
MidPopup,
BillList,
PopNormal,
// CellBill,
// NoData
},
data() {
return {
tabbar,
showDatePicker: false,
visible: false,
weather: { city: '-', temp: '-' },
date: this.$u.timeFormat(new Date().getTime(), 'yyyy-mm'),
money: {
income: '-',
expense: '-',
},
list: [],
}
},
computed: {
...mapGetters(['userInfo']),
baseUrl() {
return process.uniEnv.qn_base_url
},
infoBackImage() {
return this.baseUrl + 'beijing@3x.png'
},
background() {
return {
backgroundColor: 'transparent',
}
},
shareImage() {
return this.baseUrl + 'share_index.png'
},
dingweidizhiImage() {
return this.baseUrl + 'dingweidizhi@3x.png'
},
toolArray() {
return [
{
image: this.baseUrl + 'weixiujizhangtubiao@3x.png',
path: 'pages/maintain-bill/index',
name: '维修记账',
},
{
image: this.baseUrl + 'richangjizhangtubiao@3x.png',
path: '',
name: '日常记账',
},
]
},
operateArray() {
return [
{
image: this.baseUrl + 'shoukuanma@3x.png',
path: 'pages/card/payee-code',
name: '收款码',
},
{
image: this.baseUrl + 'famingpian@3x.png',
path: 'pages/card/index',
name: '发名片',
},
{
image: this.baseUrl + 'chabaojia@3x.png',
path: '/pages/bill/quoted-price/quoted-price',
name: '查报价',
},
{
image: this.baseUrl + 'chaqianzhang@3x.png',
path: '/pages/bill/debit-note/debit-note',
name: '查欠账',
},
]
},
paddingTop() {
var top = systemInfo.safeAreaInsets.top
// #ifdef APP-PLUS || H5
return 44 + top
// #endif
// #ifdef MP
return (systemInfo.platform == 'ios' ? 44 : 48) + top
// #endif
},
params() {
return {
year: true,
month: true,
day: false,
hour: false,
minute: false,
second: false,
}
},
dateString() {
var string = this.date.replace(/-/g, '/')
return this.$u.timeFormat(new Date(string).getTime(), 'yyyy年mm月')
},
},
onLoad(options) {
if (options.q) {
const q = decodeURIComponent(options.q) // 获取到二维码原始链接内容
console.log(q)
}
},
onShow() {
console.log('----------------')
this.getWeather()
this.monthRecord()
this.bookRecord()
},
onReady() {},
methods: {
getWeather() {
uni.getLocation({
type: 'wgs84',
success: (res) => {
console.log(res)
getWeather({
latitude: res.latitude,
longitude: res.longitude,
}).then((res) => {
console.log('--------getWeather--------', res)
if (res.data) {
this.weather = res.data
}
})
},
})
},
beforeSwitch(index) {
if (index === 2) {
this.$refs['midPopup'].open()
return false
}
return true
},
handleSelectDate() {
this.showDatePicker = true
},
handleComfirmDate(date) {
console.log(date)
this.date = `${date.year}-${date.month}`
this.monthRecord()
},
monthRecord() {
monthRecord({ month: this.date + '-01' })
.then((res) => {
var obj = res.data
if (obj) {
this.money = {
money: Number(obj.income || 0) - Number(obj.expense || 0),
income: Number(obj.income || 0),
expense: Number(obj.expense || 0),
}
}
})
.catch((res) => {})
},
bookRecord() {
bookRecord({}).then((res) => {
if (res.data) {
this.list = res.data
}
})
},
handleClickTool(path) {
if (!this.checkVip()) return
uni.navigateTo({
url: path,
})
},
handleClickOperate(path) {
if (!this.checkVip()) return
uni.navigateTo({
url: path,
})
},
handleSelectCell(id) {
console.log('-----------', id)
uni.navigateTo({
url: `/pages/bill/bill-detail/bill-detail?id=${id}`,
})
},
checkVip() {
// 测试数据
return true
components: {
MidPopup,
BillList,
PopNormal
// CellBill,
// NoData
},
data() {
return {
tabbar,
showDatePicker: false,
visible: false,
weather: { city: '-', temp: '-' },
date: this.$u.timeFormat(new Date().getTime(), 'yyyy-mm'),
money: {
income: '-',
expense: '-'
},
list: []
};
},
computed: {
...mapGetters(['userInfo']),
baseUrl() {
return process.uniEnv.qn_base_url;
},
infoBackImage() {
return this.baseUrl + 'beijing@3x.png';
},
background() {
return {
backgroundColor: 'transparent'
};
},
shareImage() {
return this.baseUrl + 'share_index.png';
},
dingweidizhiImage() {
return this.baseUrl + 'dingweidizhi@3x.png';
},
toolArray() {
return [
{
image: this.baseUrl + 'weixiujizhangtubiao@3x.png',
path: 'pages/maintain-bill/index',
name: '维修记账'
},
{
image: this.baseUrl + 'richangjizhangtubiao@3x.png',
path: '',
name: '日常记账'
}
];
},
operateArray() {
return [
{
image: this.baseUrl + 'shoukuanma@3x.png',
path: 'pages/card/payee-code',
name: '收款码'
},
{
image: this.baseUrl + 'famingpian@3x.png',
path: 'pages/card/index',
name: '发名片'
},
{
image: this.baseUrl + 'chabaojia@3x.png',
path: '/pages/bill/quoted-price/quoted-price',
name: '查报价'
},
{
image: this.baseUrl + 'chaqianzhang@3x.png',
path: '/pages/bill/debit-note/debit-note',
name: '查欠账'
}
];
},
paddingTop() {
var top = systemInfo.safeAreaInsets.top;
// #ifdef APP-PLUS || H5
return 44 + top;
// #endif
// #ifdef MP
return (systemInfo.platform == 'ios' ? 44 : 48) + top;
// #endif
},
params() {
return {
year: true,
month: true,
day: false,
hour: false,
minute: false,
second: false
};
},
dateString() {
var string = this.date.replace(/-/g, '/');
return this.$u.timeFormat(new Date(string).getTime(), 'yyyy年mm月');
}
},
onLoad(options) {
if (options.q) {
const q = decodeURIComponent(options.q); // 获取到二维码原始链接内容
console.log(q);
}
},
onShow() {
console.log('----------------');
this.getWeather();
this.monthRecord();
this.bookRecord();
},
onReady() {},
methods: {
getWeather() {
uni.getLocation({
type: 'wgs84',
success: res => {
console.log(res);
getWeather({
latitude: res.latitude,
longitude: res.longitude
}).then(res => {
console.log('--------getWeather--------', res);
if (res.data) {
this.weather = res.data;
}
});
}
});
},
beforeSwitch(index) {
if (index === 2) {
this.$refs['midPopup'].open();
return false;
}
return true;
},
handleSelectDate() {
this.showDatePicker = true;
},
handleComfirmDate(date) {
console.log(date);
this.date = `${date.year}-${date.month}`;
this.monthRecord();
},
monthRecord() {
monthRecord({ month: this.date + '-01' })
.then(res => {
var obj = res.data;
if (obj) {
this.money = {
money: Number(obj.income || 0) - Number(obj.expense || 0),
income: Number(obj.income || 0),
expense: Number(obj.expense || 0)
};
}
})
.catch(res => {});
},
bookRecord() {
bookRecord({}).then(res => {
if (res.data) {
this.list = res.data;
}
});
},
handleClickTool(item) {
if (!this.checkVip()) return;
if (item.name === '日常记账') {
this.$refs['midPopup'].open();
} else {
uni.navigateTo({
url: item.path
});
}
},
handleClickOperate(path) {
if (!this.checkVip()) return;
uni.navigateTo({
url: path
});
},
handleSelectCell(id) {
console.log('-----------', id);
uni.navigateTo({
url: `/pages/bill/bill-detail/bill-detail?id=${id}`
});
},
checkVip() {
// 测试数据
return true;
if (checkVip()) {
return true
} else {
this.visible = true
return false
}
},
formatCount(count) {
return (Math.trunc((count || 0) * 100) / 100).toFixed(2)
},
toLogin() {
this.$refs.uToast.show({
duration: 1500,
title: '请先登录',
type: 'error',
callback: () => {
this.$u.route({
url: 'pages/login/index',
})
},
})
},
// 朋友圈
onShareTimeline(res) {
return {
title: '扳手记账',
path: `/pages/index/index?shareUserId=${this.userInfo.id}`,
imageUrl: this.shareImage,
}
},
// 好友
onShareAppMessage(res) {
return {
title: '扳手记账',
path: `/pages/index/index?shareUserId=${this.userInfo.id}`,
imageUrl: this.shareImage,
}
},
},
}
if (checkVip()) {
return true;
} else {
this.visible = true;
return false;
}
},
formatCount(count) {
return (Math.trunc((count || 0) * 100) / 100).toFixed(2);
},
toLogin() {
this.$refs.uToast.show({
duration: 1500,
title: '请先登录',
type: 'error',
callback: () => {
this.$u.route({
url: 'pages/login/index'
});
}
});
},
// 朋友圈
onShareTimeline(res) {
return {
title: '扳手记账',
path: `/pages/index/index?shareUserId=${this.userInfo.id}`,
imageUrl: this.shareImage
};
},
// 好友
onShareAppMessage(res) {
return {
title: '扳手记账',
path: `/pages/index/index?shareUserId=${this.userInfo.id}`,
imageUrl: this.shareImage
};
}
}
};
</script>
<style lang="scss" scoped>
.index-view {
height: 100vh;
display: flex;
flex-direction: column;
height: 100vh;
display: flex;
flex-direction: column;
.content-view {
height: 100%;
overflow-x: scroll;
padding: 0rpx 24rpx 80rpx 24rpx;
margin-bottom: -60rpx;
.content-view {
height: 100%;
overflow-x: scroll;
padding: 0rpx 24rpx 80rpx 24rpx;
margin-bottom: -60rpx;
.head-view {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 32rpx;
.left-view {
display: flex;
align-items: center;
.logo-image {
width: 64rpx;
height: 64rpx;
border-radius: 50%;
background-color: #02a074;
margin-right: 16rpx;
}
.title-view {
font-size: 44rpx;
color: #333333;
font-weight: bold;
}
}
.right-view {
display: flex;
align-items: center;
justify-content: flex-end;
.location-view {
font-size: 24rpx;
color: #333333;
display: flex;
align-items: center;
.location-icon-view {
margin-right: 8rpx;
width: 24rpx;
height: 28rpx;
}
}
.weather-view {
font-size: 24rpx;
color: #333333;
display: flex;
align-items: center;
margin-left: 24rpx;
.weather-icon-view {
margin-right: 8rpx;
width: 28rpx;
height: 28rpx;
}
.weather-text {
font-size: 24rpx;
color: #333333;
margin-right: 8rpx;
font-weight: bold;
}
}
}
}
.info-view {
box-shadow: 0 8rpx 24rpx rgba(24, 204, 100, 0.35);
position: relative;
.info-back-image {
position: absolute;
top: 0;
right: 0;
left: 0;
}
.info-content {
color: #ffffff;
position: relative;
padding: 20rpx 24rpx 24rpx 24rpx;
.info-head-view {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
.left-view {
font-size: 28rpx;
}
.right-view {
border-radius: 8rpx;
background-color: rgba(24, 204, 100, 0.3);
height: 56rpx;
padding: 0rpx 16rpx;
display: flex;
justify-content: flex-end;
align-items: center;
.date-view {
font-size: 24rpx;
margin-right: 8rpx;
}
}
}
.info-money-view {
font-size: 64rpx;
font-weight: bold;
margin-top: 28rpx;
margin-bottom: 32rpx;
}
.info-bottom-view {
display: flex;
justify-content: space-between;
align-items: center;
.left-view {
display: flex;
align-items: center;
font-size: 24rpx;
}
.money-view {
font-weight: bold;
font-size: 28rpx;
margin-left: 16rpx;
}
.right-view {
display: flex;
justify-content: flex-end;
align-items: center;
font-size: 24rpx;
}
}
}
}
.tool-view {
border-radius: 16rpx;
background-color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0rpx 24rpx 0 48rpx;
margin-top: 40rpx;
height: 136rpx;
.item-view {
display: flex;
align-items: center;
.left-view {
margin-right: 20rpx;
.name-view {
font-weight: bold;
font-size: 32rpx;
color: #333333;
margin-bottom: 8rpx;
}
.tip-view {
color: #02a074;
font-size: 24rpx;
display: flex;
align-items: center;
justify-content: flex-end;
.tip-text {
margin-right: 12rpx;
}
}
}
.right-view {
width: 128rpx;
height: 128rpx;
}
}
}
.operate-view {
display: flex;
justify-content: space-between;
align-items: center;
margin: 72rpx 56rpx 64rpx 56rpx;
.item-view {
display: flex;
align-items: center;
flex-direction: column;
.image-view {
width: 56rpx;
height: 56rpx;
margin-bottom: 28rpx;
}
.name-view {
color: #333333;
font-size: 28rpx;
}
}
}
.detail-view {
.detail-head-view {
display: flex;
align-items: center;
.title-view {
font-weight: bold;
color: #333333;
font-size: 32rpx;
margin-right: 16rpx;
}
.tip-view {
color: #8d8d8d;
font-size: 24rpx;
margin-top: 6rpx;
}
}
// .list-view {
// .list-day-view {
// background-color: #ffffff;
// border-radius: 16rpx;
// margin-top: 24rpx;
// .cell-head {
// display: flex;
// justify-content: space-between;
// align-items: center;
// padding: 24rpx 24rpx 8rpx 24rpx;
// .left-view {
// display: flex;
// align-items: center;
// .week-view {
// font-size: 28rpx;
// font-weight: bold;
// color: #333333;
// }
// .day-view {
// color: #8d8d8d;
// font-size: 24rpx;
// }
// }
// .right-view {
// display: flex;
// align-items: center;
// color: #8d8d8d;
// font-size: 24rpx;
// .count-view {
// font-weight: bold;
// color: #333333;
// }
// }
// }
// }
// }
}
}
// .red-text {
// color: #fc524d;
// }
.head-view {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 32rpx;
.left-view {
display: flex;
align-items: center;
.logo-image {
width: 64rpx;
height: 64rpx;
border-radius: 50%;
background-color: #02a074;
margin-right: 16rpx;
}
.title-view {
font-size: 44rpx;
color: #333333;
font-weight: bold;
}
}
.right-view {
display: flex;
align-items: center;
justify-content: flex-end;
.location-view {
font-size: 24rpx;
color: #333333;
display: flex;
align-items: center;
.location-icon-view {
margin-right: 8rpx;
width: 24rpx;
height: 28rpx;
}
}
.weather-view {
font-size: 24rpx;
color: #333333;
display: flex;
align-items: center;
margin-left: 24rpx;
.weather-icon-view {
margin-right: 8rpx;
width: 28rpx;
height: 28rpx;
}
.weather-text {
font-size: 24rpx;
color: #333333;
margin-right: 8rpx;
font-weight: bold;
}
}
}
}
.info-view {
box-shadow: 0 8rpx 24rpx rgba(24, 204, 100, 0.35);
position: relative;
.info-back-image {
position: absolute;
top: 0;
right: 0;
left: 0;
}
.info-content {
color: #ffffff;
position: relative;
padding: 20rpx 24rpx 24rpx 24rpx;
.info-head-view {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
.left-view {
font-size: 28rpx;
}
.right-view {
border-radius: 8rpx;
background-color: rgba(24, 204, 100, 0.3);
height: 56rpx;
padding: 0rpx 16rpx;
display: flex;
justify-content: flex-end;
align-items: center;
.date-view {
font-size: 24rpx;
margin-right: 8rpx;
}
}
}
.info-money-view {
font-size: 64rpx;
font-weight: bold;
margin-top: 28rpx;
margin-bottom: 32rpx;
}
.info-bottom-view {
display: flex;
justify-content: space-between;
align-items: center;
.left-view {
display: flex;
align-items: center;
font-size: 24rpx;
}
.money-view {
font-weight: bold;
font-size: 28rpx;
margin-left: 16rpx;
}
.right-view {
display: flex;
justify-content: flex-end;
align-items: center;
font-size: 24rpx;
}
}
}
}
.tool-view {
border-radius: 16rpx;
background-color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0rpx 24rpx 0 48rpx;
margin-top: 40rpx;
height: 136rpx;
.item-view {
display: flex;
align-items: center;
.left-view {
margin-right: 20rpx;
.name-view {
font-weight: bold;
font-size: 32rpx;
color: #333333;
margin-bottom: 8rpx;
}
.tip-view {
color: #02a074;
font-size: 24rpx;
display: flex;
align-items: center;
justify-content: flex-end;
.tip-text {
margin-right: 12rpx;
}
}
}
.right-view {
width: 128rpx;
height: 128rpx;
}
}
}
.operate-view {
display: flex;
justify-content: space-between;
align-items: center;
margin: 72rpx 56rpx 64rpx 56rpx;
.item-view {
display: flex;
align-items: center;
flex-direction: column;
.image-view {
width: 56rpx;
height: 56rpx;
margin-bottom: 28rpx;
}
.name-view {
color: #333333;
font-size: 28rpx;
}
}
}
.detail-view {
.detail-head-view {
display: flex;
align-items: center;
.title-view {
font-weight: bold;
color: #333333;
font-size: 32rpx;
margin-right: 16rpx;
}
.tip-view {
color: #8d8d8d;
font-size: 24rpx;
margin-top: 6rpx;
}
}
// .list-view {
// .list-day-view {
// background-color: #ffffff;
// border-radius: 16rpx;
// margin-top: 24rpx;
// .cell-head {
// display: flex;
// justify-content: space-between;
// align-items: center;
// padding: 24rpx 24rpx 8rpx 24rpx;
// .left-view {
// display: flex;
// align-items: center;
// .week-view {
// font-size: 28rpx;
// font-weight: bold;
// color: #333333;
// }
// .day-view {
// color: #8d8d8d;
// font-size: 24rpx;
// }
// }
// .right-view {
// display: flex;
// align-items: center;
// color: #8d8d8d;
// font-size: 24rpx;
// .count-view {
// font-weight: bold;
// color: #333333;
// }
// }
// }
// }
// }
}
}
// .red-text {
// color: #fc524d;
// }
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment