From 581109a1f7ad34d505d28f8eab658542f61efa4b Mon Sep 17 00:00:00 2001 From: ydq <1961264062@qq.com> Date: Fri, 25 Nov 2022 19:11:52 +0800 Subject: [PATCH] 瘦身日记排版优化 --- packageE/pages/user/slimming/slimming.wxml | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------- packageE/pages/user/slimming/slimming.wxss | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 179 insertions(+), 86 deletions(-) diff --git a/packageE/pages/user/slimming/slimming.wxml b/packageE/pages/user/slimming/slimming.wxml index d984044..16a6541 100644 --- a/packageE/pages/user/slimming/slimming.wxml +++ b/packageE/pages/user/slimming/slimming.wxml @@ -1,34 +1,34 @@ - - + - + - {{item.customername || '-'}} - {{item.mobiletel || '-'}} - {{item.age || '-'}} - 岁 + {{item.customername || '-'}} + {{item.mobiletel || '-'}} + {{item.age || '-'}} + - 减重疗程数: - + 减重疗程数: + {{item.weightlosscourse || '0'}} - 塑身疗程数: - {{item.shapecourse || '0'}} + 塑身疗程数: + {{item.shapecourse || '0'}} - 购买日期: - {{item.signingdate || '-'}} + 购买日期: + {{item.signingdate || '-'}} @@ -37,125 +37,106 @@ - 日常打卡 + 日常打卡 查看全部 + class="fs26 fw_see_more">查看全部 - - - + + {{ g_filter.toFixTwo(item.dayweight ) }} - + _ _ - - + - + 今日体重 - - - - {{g_filter.toFixTwo(item.ringratioweight)}} + + + + {{g_filter.toFixTwo(item.ringratioweight)}} + - - 环比重量 + 环比重量 - - - {{ g_filter.toFixTwo(item.actualweight)}} + + + {{ g_filter.toFixTwo(item.actualweight)}} + - 斤 - + - 实际减重 + 实际减重 - - - {{g_filter.toFixTwo(item.diffweight)}} + + + {{g_filter.toFixTwo(item.diffweight)}} + - 斤 - - 累计减重 + 累计减重 - - - - {{item.tostoreqty || '0'}} - - 次 + + + + {{item.tostoreqty || '0'}} + + - 累计到店 + 累计到店 - - - {{ g_filter.toFixTwo(item.undeduced)}} - - - 斤 + + + {{ g_filter.toFixTwo(item.undeduced)}} + + - 未减斤数 + 未减斤数 - - - {{g_filter.toFixTwo(item.minweight) }} + + + {{g_filter.toFixTwo(item.minweight) }} + - - 最低体重 + 最低体重 - - 初始体重{{ g_filter.toFixTwo(item.weight) }}斤 + + 初始体重{{ g_filter.toFixTwo(item.weight) }} - 标准体重{{ g_filter.toFixTwo(item.standardweight)}}斤 + 标准体重{{ g_filter.toFixTwo(item.standardweight)}} - 应减斤数{{g_filter.toFixTwo(item.subtracted)}}斤 + 应减斤数{{g_filter.toFixTwo(item.subtracted)}} - - 减重顾问 - {{item.advisername || '-'}} + + 减重顾问 + {{item.advisername || '-'}} - - 减重美体师 - {{item.beautyconsultant || '-'}} + + 减重美体师 + {{item.beautyconsultant || '-'}} diff --git a/packageE/pages/user/slimming/slimming.wxss b/packageE/pages/user/slimming/slimming.wxss index 26a34f5..76e091d 100644 --- a/packageE/pages/user/slimming/slimming.wxss +++ b/packageE/pages/user/slimming/slimming.wxss @@ -29,4 +29,116 @@ page{ } .txt-center{ text-align: center; +} +.fw_box { + height: 210rpx; + box-sizing: border-box; +} + +.fw_img { + margin-right: 26rpx; + width: 158rpx; + height: 158rpx; + border-radius: 50%; +} + +.img_right { + width: 70%; + flex-direction: column; +} + +.c-38 { + color: #383838; +} + +.mgl { + margin-left: 30rpx; +} + +.fw_see_more { + border: 1.75rpx solid #FE3A62; + border-radius: 88rpx; + width: 123rpx; + height: 48rpx; + color: #FE3A62; + line-height: 48rpx; + text-align: center; +} + +.fw_detail_box { + flex-direction: column; + border-bottom: 1rpx solid #F0F0F0; +} + +.fw_day_weight { + color: #FE3A62; + font-size: 84rpx; + width: 250rpx; + text-align: right; + margin-left: 40rpx; +} + +.fw_no_day_weight { + color: #FE3A62; + font-size: 84rpx; + width: 250rpx; + text-align: right; + margin-left: 40rpx; + margin-right: 50rpx; + margin-bottom: 20rpx; +} + +.mgt40 { + margin-top: 40rpx +} + +.fw_edit_img_box { + width: 30rpx; + height: 30rpx; + margin-top: 20rpx; + padding: 20rpx; +} + +.fw_edit_img { + width: 30rpx; + height: 30rpx; +} + +.fw_tiny_box { + height: 160rpx; + padding: 20rpx 0; + box-sizing: border-box; + border-bottom: 1rpx solid #F0F0F0; +} + +.fw_tiny_top { + flex-direction: column; + width: 33%; +} + +.fs52 { + font-size: 52rpx; +} + +.fw_3weight { + height: 68rpx; + border-bottom: 1rpx solid #F0F0F0; + padding: 20rpx 0; + box-sizing: border-box; +} + +.fw_bottom_box { + height: 68rpx; + border-bottom: 1rpx solid #F0F0F0; + padding: 20rpx 0; + box-sizing: border-box; + padding: 0 20rpx; +} + +.lh68 { + line-height: 68rpx; +} + +.jc_c{ + justify-content: center; } \ No newline at end of file -- libgit2 0.21.4