From fb681b8a93e707968dbde10865e6c89eb3a276f7 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Sun, 28 Apr 2024 09:12:52 +0800 Subject: [PATCH] =?UTF-8?q?4.28=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user/pages/yishi/addServiceContent/index.js | 1 + user/pages/yishi/addServiceContent/index.wxml | 10 +- user/pages/yishi/addServiceContent/index.wxss | 254 ++++++++++-------- 3 files changed, 154 insertions(+), 111 deletions(-) diff --git a/user/pages/yishi/addServiceContent/index.js b/user/pages/yishi/addServiceContent/index.js index 7ac29f8..f578e0d 100644 --- a/user/pages/yishi/addServiceContent/index.js +++ b/user/pages/yishi/addServiceContent/index.js @@ -26,6 +26,7 @@ Page({ threePrice:null, sixPrice:null, yearPrice:null, + static_host: api.getStaticHost(), items:[{ service_period:'', service_price:'' diff --git a/user/pages/yishi/addServiceContent/index.wxml b/user/pages/yishi/addServiceContent/index.wxml index b4e1a35..9ed50ef 100644 --- a/user/pages/yishi/addServiceContent/index.wxml +++ b/user/pages/yishi/addServiceContent/index.wxml @@ -23,7 +23,7 @@ 服务内容 - + 服务周期 @@ -40,8 +40,12 @@ - 建议服务价格设置为:{{(item.service_period/30)==1?'¥'+onePrice:(item.service_period/30)==3?'¥'+threePrice:(item.service_period/30)==6?'¥'+sixPrice:(item.service_period/30)==12?'¥'+yearPrice:'单次图文*10次*0.5'}} - 删除 + 建议服务价格设置为:{{(item.service_period/30)==1?'¥'+onePrice:(item.service_period/30)==3?'¥'+threePrice:(item.service_period/30)==6?'¥'+sixPrice:(item.service_period/30)==12?'¥'+yearPrice:'单次图文*10次*0.5'}} + + + diff --git a/user/pages/yishi/addServiceContent/index.wxss b/user/pages/yishi/addServiceContent/index.wxss index 27b994b..0834702 100644 --- a/user/pages/yishi/addServiceContent/index.wxss +++ b/user/pages/yishi/addServiceContent/index.wxss @@ -1,30 +1,35 @@ -page{ +page { background-color: #F6F6F6; - } - .page{ - overflow: hidden; - display: flex; - flex-direction: column; - } - .title{ - width:90vw; - margin: 0 auto 20rpx; - font-weight: 550; - font-size: 32rpx; - color: rgba(0,0,0,0.85); - } - .checked_box{ +} + +.page { + overflow: hidden; + display: flex; + flex-direction: column; +} + +.title { + width: 90vw; + margin: 0 auto 20rpx; + font-weight: 550; + font-size: 32rpx; + color: rgba(0, 0, 0, 0.85); +} + +.checked_box { margin-top: 30rpx; - } - .price_title{ +} + +.price_title { width: 90vw; margin: 20rpx auto 0 auto; font-size: 32rpx; margin-bottom: 20rpx; /* font-family: "AlibabaPuHuiTi-2-55-Regular"; */ color: #333333; - } - .price_steup_box{ +} + +.price_steup_box { display: flex; width: 90vw; height: 180rpx; @@ -32,47 +37,55 @@ page{ border-radius: 20rpx; flex-direction: column; background-color: rgb(255, 255, 255); - } - .price_steup_box_top{ +} + +.price_steup_box_top { position: relative; display: flex; justify-content: space-between; margin: 20rpx 20rpx 20rpx 30rpx; align-items: center; padding-bottom: 30rpx; - } - .price_steup_box_bottom{ +} + +.price_steup_box_bottom { position: relative; display: flex; justify-content: space-between; margin: 0rpx 20rpx 0rpx 30rpx; align-items: center; - } - .price_steup_box_top_title, .price_steup_box_bottom_title{ +} + +.price_steup_box_top_title, +.price_steup_box_bottom_title { flex: 1; font-size: 32rpx; color: #333; - } +} - .price{ - text-align: right!important; - font-size: 28rpx; - } - .price_steup_box_bottom_num{ +.price { + text-align: right !important; + font-size: 28rpx; +} + +.price_steup_box_bottom_num { flex: 1.5; display: flex; justify-content: flex-end; text-align: right; - align-items:center; - } - .ipt{ + align-items: center; +} + +.ipt { font-size: 28rpx; color: #E34D59; - } - .unit{ - font-size: 28rpx; - } - .price_steup_box_top::after{ +} + +.unit { + font-size: 28rpx; +} + +.price_steup_box_top::after { position: absolute; box-sizing: border-box; content: ' '; @@ -82,96 +95,121 @@ page{ bottom: 0; border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7)); transform: scaleY(0.5); - } - .price_steup_box_top_stepper{ - display: flex; +} + +.price_steup_box_top_stepper { + display: flex; text-align: right; align-items: center; - } - .bottom{ +} + +.bottom { width: 90vw; margin: -20rpx auto; color: #999; letter-spacing: 2rpx; font-size: 28rpx; line-height: 40rpx; - } - .go{ +} + +.go { position: fixed; left: 50%; transform: translateX(-50%); bottom: 100rpx; width: 90vw; - } - .weui-input{ +} + +.weui-input { color: red; display: inline-block; text-align: right; - } - .price{ +} + +.price { text-align: center; flex: 1; - } - .green{ - color:#3CC7C0; - } - .tips{ - margin:15rpx 30rpx; +} + +.green { + color: #3CC7C0; +} + +.tips { + margin: 15rpx 30rpx; + margin-right: 0; font-weight: 400; -font-size: 24rpx; -display: flex; -justify-content: space-between; -color: #E34D59; - } - .continueadd{ - + font-size: 24rpx; + display: flex; + justify-content: space-between; + color: #E34D59; +} + +.continueadd { + font-size: 30rpx; color: #3CC7C0; - display: flex; - align-items: center; - justify-content: center; - width:90vw; - height: 80rpx; - margin:80rpx auto 0; -background: rgba(44,241,248,0.28); -border-radius: 8rpx; - } - .btn{ - bottom:60rpx; - position: fixed; + display: flex; + align-items: center; + justify-content: center; + width: 90vw; + height: 80rpx; + margin: 80rpx auto 0; + background: rgba(44, 241, 248, 0.28); + border-radius: 8rpx; +} + +.btn { + bottom: 60rpx; + position: fixed; font-size: 32rpx; color: #fff; - display: flex; - align-items: center; - justify-content: center; - width:90vw; - left:50%; - transform: translate(-50%); - height: 80rpx; - margin:160rpx auto 0; - background: #3CC7C0; -border-radius: 8rpx; - } - .van-picker__cancel{ - font-size: 32rpx!important; -color: rgba(0,0,0,0.6)!important; - } - .van-picker__confirm{ - font-size: 32rpx!important; - color: #3CC7C0!important; - } - .van-picker__title{ - font-size: 32rpx!important; - } - .van-picker__toolbar{ - border-bottom:.5px solid #E7E7E7; - } - .amount.nodata{ + display: flex; + align-items: center; + justify-content: center; + width: 90vw; + left: 50%; + transform: translate(-50%); + height: 80rpx; + margin: 160rpx auto 0; + background: #3CC7C0; + border-radius: 8rpx; +} + +.van-picker__cancel { + font-size: 32rpx !important; + color: rgba(0, 0, 0, 0.6) !important; +} + +.van-picker__confirm { + font-size: 32rpx !important; + color: #3CC7C0 !important; +} + +.van-picker__title { + font-size: 32rpx !important; +} + +.van-picker__toolbar { + border-bottom: .5px solid #E7E7E7; +} + +.amount.nodata { font-size: 28rpx; -color: rgba(0,0,0,0.45); - } - .vontent{ - flex:1; - margin-bottom: 150rpx; - overflow-y: scroll; - } \ No newline at end of file + color: rgba(0, 0, 0, 0.45); +} + +.vontent { + flex: 1; + margin-bottom: 150rpx; + overflow-y: scroll; +} + +.del_img { + width: 160rpx; + height: 64rpx; +} + +.advice_price { + margin-top: 10rpx; +} \ No newline at end of file