From fa6fac02ffbf1290f062d88c00b247e4d172fcd3 Mon Sep 17 00:00:00 2001 From: rui <1593038819@qq.com> Date: Sat, 3 Aug 2019 00:06:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=AF=E5=88=86=E6=8D=A2=E7=A4=BC=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5][=E4=BF=AE=E6=94=B9][=E9=A1=B6=E9=83=A8]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [分享][修改][样式] --- pages/bargain/bargain.wxss | 16 ++++++++++------ pages/coupon/detail/index.js | 2 +- pages/coupon/detail/index.wxml | 5 ++--- pages/coupon/detail/index.wxss | 8 ++++---- pages/index/searchbar/detail/index.wxml | 4 ++-- pages/index/searchbar/detail/index.wxss | 15 ++++++--------- pages/integralmall/payIntegcouponStatus/index.js | 2 ++ .../integralmall/payIntegcouponStatus/index.json | 4 +++- .../integralmall/payIntegcouponStatus/index.wxml | 3 ++- .../integralmall/payIntegcouponStatus/index.wxss | 10 ++++++---- pages/integralmall/payIntegcoupondetail/index.js | 2 ++ .../integralmall/payIntegcoupondetail/index.json | 5 ++++- .../integralmall/payIntegcoupondetail/index.wxml | 3 ++- .../integralmall/payIntegcoupondetail/index.wxss | 13 ++++++------- pages/radetail/index.js | 1 - pages/radetail/index.wxml | 4 ++-- pages/radetail/index.wxss | 16 +++++++++------- pages/user/myactivity/index.wxss | 16 ++++++++++------ 18 files changed, 73 insertions(+), 56 deletions(-) diff --git a/pages/bargain/bargain.wxss b/pages/bargain/bargain.wxss index 15e1b94..8cf9919 100644 --- a/pages/bargain/bargain.wxss +++ b/pages/bargain/bargain.wxss @@ -77,12 +77,16 @@ page{ top: 0; } .frImg text{ - transform: rotate(45deg); - color: #FFFFFF; - font-size: 18rpx; - position: absolute; - right: 0; - top: 22rpx; + height:78rpx; + width:78rpx; + transform:rotate(45deg); + color:#FFFFFF; + font-size:16rpx; + position:absolute; + text-align:center; + line-height:53rpx; + top:0; + left:0; } .money{ display: inline-block!important; diff --git a/pages/coupon/detail/index.js b/pages/coupon/detail/index.js index 07b8b17..b126aaa 100644 --- a/pages/coupon/detail/index.js +++ b/pages/coupon/detail/index.js @@ -1,4 +1,4 @@ -const navigationBarHeight = (getApp().statusBarHeight + 50) + 'px' +const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' var config = require("../../../config/config.js"); var app = getApp(); const Http = require("../../../utils/HttpBasics"); diff --git a/pages/coupon/detail/index.wxml b/pages/coupon/detail/index.wxml index 0c10011..2b89d36 100644 --- a/pages/coupon/detail/index.wxml +++ b/pages/coupon/detail/index.wxml @@ -20,9 +20,8 @@ - - - + + 分享 diff --git a/pages/coupon/detail/index.wxss b/pages/coupon/detail/index.wxss index c0e0003..326b548 100644 --- a/pages/coupon/detail/index.wxss +++ b/pages/coupon/detail/index.wxss @@ -78,19 +78,19 @@ button::after { position: absolute; right: 28rpx; top: 27rpx; - width: 108rpx; - height: 180rpx; - /* display: flex; - flex-direction:column; */ + display: flex; + flex-direction: column; } .fenxiang image { width:48rpx; height: 48rpx; + margin: 0 auto; } .gift{ color: #3C3C3C; font-size: 20rpx; + margin: 0 auto; } .user-motto { diff --git a/pages/index/searchbar/detail/index.wxml b/pages/index/searchbar/detail/index.wxml index f5201c7..d6cf9ae 100644 --- a/pages/index/searchbar/detail/index.wxml +++ b/pages/index/searchbar/detail/index.wxml @@ -24,8 +24,8 @@ {{data.title}} - - 分享有礼 + + 分享 diff --git a/pages/index/searchbar/detail/index.wxss b/pages/index/searchbar/detail/index.wxss index 07587b2..25ea876 100644 --- a/pages/index/searchbar/detail/index.wxss +++ b/pages/index/searchbar/detail/index.wxss @@ -274,9 +274,10 @@ page{ } .fenxiang { position: absolute; - right: 0; - top: 0; - width: 108rpx; + right:28rpx; + top: 27rpx; + display: flex; + flex-direction: column; } .merchant-activity{ padding: 0 4% 10rpx; @@ -284,16 +285,12 @@ page{ .fenxiang image { width: 48rpx; height: 48rpx; - position: absolute; - top: 16rpx; - right: 14rpx; + margin: 0 auro; } .gift{ color: #3C3C3C; font-size: 20rpx; - position: absolute; - right: 0; - top: 65rpx; + margin: 0 auro; } .user-motto { width: 270rpx; diff --git a/pages/integralmall/payIntegcouponStatus/index.js b/pages/integralmall/payIntegcouponStatus/index.js index 41aa814..4d0c716 100644 --- a/pages/integralmall/payIntegcouponStatus/index.js +++ b/pages/integralmall/payIntegcouponStatus/index.js @@ -1,5 +1,6 @@ // pages/integralmall/payIntegcouponStatus/index.js // pages/spellGroup/mySpellGroup/index.js +const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'; var config = require("../../../config/config.js"); const Http = require("../../../utils/HttpBasics"); const imgurl = require("../../../utils/imgurl"); @@ -10,6 +11,7 @@ Page({ * 页面的初始数据 */ data: { + navigationBarHeight, teljpgUrl: imgurl.teljpg.url, }, diff --git a/pages/integralmall/payIntegcouponStatus/index.json b/pages/integralmall/payIntegcouponStatus/index.json index 3f5a942..9140c62 100644 --- a/pages/integralmall/payIntegcouponStatus/index.json +++ b/pages/integralmall/payIntegcouponStatus/index.json @@ -3,5 +3,7 @@ "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#F13C42", "enablePullDownRefresh": true, - "usingComponents": {} + "usingComponents": { + "navbar": "../../../components/navbar/navbar" + } } \ No newline at end of file diff --git a/pages/integralmall/payIntegcouponStatus/index.wxml b/pages/integralmall/payIntegcouponStatus/index.wxml index 176d267..53559f8 100644 --- a/pages/integralmall/payIntegcouponStatus/index.wxml +++ b/pages/integralmall/payIntegcouponStatus/index.wxml @@ -1,4 +1,5 @@ - + + 兑换成功 diff --git a/pages/integralmall/payIntegcouponStatus/index.wxss b/pages/integralmall/payIntegcouponStatus/index.wxss index 7802fa3..70c9528 100644 --- a/pages/integralmall/payIntegcouponStatus/index.wxss +++ b/pages/integralmall/payIntegcouponStatus/index.wxss @@ -1,4 +1,7 @@ /* pages/integralmall/payIntegcouponStatus/index.wxss */ +page{ + background: #F4F5F9; +} .tilte{ text-align: center; height:50rpx; @@ -16,6 +19,7 @@ margin: 0 auto; box-shadow:0px 10rpx 27rpx 0rpx rgba(15,15,15,0.09); border-radius:20rpx; + background: #fff; } .c-left{ width: 160rpx; @@ -51,8 +55,7 @@ width:710rpx; height:94rpx; line-height: 94rpx; - background:rgba(82,160,253,1); - box-shadow:0px 10rpx 22rpx 2rpx rgba(82,160,253,0.51); + background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); border-radius:10rpx; color: #fff; margin-top: 120rpx; @@ -61,8 +64,7 @@ width:710rpx; height:94rpx; line-height: 94rpx; - background:rgba(82,160,253,1); - box-shadow:0px 10rpx 22rpx 2rpx rgba(82,160,253,0.51); + background:linear-gradient(130deg,rgba(50,177,252,1) 0%,rgba(47,108,255,1) 100%); border-radius:10rpx; color: #fff; margin-top: 30rpx; diff --git a/pages/integralmall/payIntegcoupondetail/index.js b/pages/integralmall/payIntegcoupondetail/index.js index 128416d..b0c70fc 100644 --- a/pages/integralmall/payIntegcoupondetail/index.js +++ b/pages/integralmall/payIntegcoupondetail/index.js @@ -1,4 +1,5 @@ // pages/spellDetail/index.js +const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px'; var config = require("../../../config/config.js"); const Http = require("../../../utils/HttpBasics"); const imgurl = require("../../../utils/imgurl"); @@ -9,6 +10,7 @@ Page({ * 页面的初始数据 */ data: { + navigationBarHeight, tuanzhang: imgurl.tuanzhang.url, spellBg: imgurl.spellBg.url, position: imgurl.position.url, diff --git a/pages/integralmall/payIntegcoupondetail/index.json b/pages/integralmall/payIntegcoupondetail/index.json index c2fa498..600c226 100644 --- a/pages/integralmall/payIntegcoupondetail/index.json +++ b/pages/integralmall/payIntegcoupondetail/index.json @@ -2,5 +2,8 @@ "navigationBarTitleText": "积分换礼", "navigationBarBackgroundColor": "#F13C42", "navigationBarTextStyle": "white", - "enablePullDownRefresh": true + "enablePullDownRefresh": true, + "usingComponents": { + "navbar": "../../../components/navbar/navbar" + } } \ No newline at end of file diff --git a/pages/integralmall/payIntegcoupondetail/index.wxml b/pages/integralmall/payIntegcoupondetail/index.wxml index 90751af..fc59747 100644 --- a/pages/integralmall/payIntegcoupondetail/index.wxml +++ b/pages/integralmall/payIntegcoupondetail/index.wxml @@ -1,5 +1,6 @@ - + + diff --git a/pages/integralmall/payIntegcoupondetail/index.wxss b/pages/integralmall/payIntegcoupondetail/index.wxss index 3fe5114..d7ab3a2 100644 --- a/pages/integralmall/payIntegcoupondetail/index.wxss +++ b/pages/integralmall/payIntegcoupondetail/index.wxss @@ -2,8 +2,8 @@ page { height: auto; overflow: auto; - background: #f89132; - background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/spelldetail-bg.png'); + background: #F4F5F9; + /* background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/spelldetail-bg.png'); */ background-size: cover; background-repeat: no-repeat; } @@ -244,7 +244,7 @@ page { font-size:26rpx; font-family:PingFang-SC-Medium; font-weight:500; - color:rgba(134,134,134,1); + color:#FD782D; line-height:44rpx; } .detail-p-price{ @@ -252,7 +252,7 @@ page { font-size:26rpx; font-family:PingFang-SC-Medium; font-weight:500; - color:rgba(51,51,51,1); + color:#FD782D; } .detail-bottom{ border-top: 1rpx solid #F9F9F9; @@ -311,7 +311,7 @@ page { font-size:26rpx; font-family:PingFang-SC-Medium; font-weight:500; - color:rgba(134,134,134,1); + color:#FD782D; } .user-motto { border: 0; @@ -330,7 +330,7 @@ page { border: 0; width:650rpx; height:85rpx; - background:linear-gradient(90deg,rgba(248,85,45,1) 0%,rgba(241,60,66,1) 0%,rgba(248,86,46,1) 100%); + background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); border-radius:43rpx; font-size:36rpx; font-family:PingFang-SC-Medium; @@ -338,7 +338,6 @@ page { color:rgba(254,254,254,1); line-height: 85rpx; margin-top: 100rpx; - box-shadow:0px 8rpx 8rpx 1rpx rgba(242,61,65,0.32); } .user-motto::after { border: none; diff --git a/pages/radetail/index.js b/pages/radetail/index.js index 077b78a..dfbc6ac 100644 --- a/pages/radetail/index.js +++ b/pages/radetail/index.js @@ -10,7 +10,6 @@ let configUrls = extConfig.attr.configUrl; Page({ data: { fenxiang: imgurl.fenxiang.url, - isshowposter: false,//是否显示分享弹框 navigationBarHeight, data: {}, status: 1, diff --git a/pages/radetail/index.wxml b/pages/radetail/index.wxml index 1a41240..3b00c5f 100644 --- a/pages/radetail/index.wxml +++ b/pages/radetail/index.wxml @@ -13,8 +13,8 @@ - - 分享有礼 + + 分享 {{data.title}} {{data.subTitle}} diff --git a/pages/radetail/index.wxss b/pages/radetail/index.wxss index f16c40b..626dc58 100644 --- a/pages/radetail/index.wxss +++ b/pages/radetail/index.wxss @@ -1136,20 +1136,22 @@ scroll-view { color: #666; } - +.fenxiang{ + position: absolute; + top: 3.2%; + right: 27rpx; + display: flex; + flex-direction: column; +} .fenxiang image { width:48rpx; height: 48rpx; - position: absolute; - top: 2.5%; - right: 36rpx; + margin: 0 auto; } .gift{ color: #3C3C3C; font-size: 20rpx; - position: absolute; - top: 65rpx; - right: 24rpx; + margin: 0 auto; } .modal { width: 100%; diff --git a/pages/user/myactivity/index.wxss b/pages/user/myactivity/index.wxss index 1903468..ec1aaf7 100644 --- a/pages/user/myactivity/index.wxss +++ b/pages/user/myactivity/index.wxss @@ -292,10 +292,14 @@ button::after{ border: none; } top: 0; } .frImg text{ - transform: rotate(45deg); - color: #FFFFFF; - font-size: 18rpx; - position: absolute; - right: 0; - top: 17rpx; + height:78rpx; + width:78rpx; + transform:rotate(45deg); + color:#FFFFFF; + font-size:16rpx; + position:absolute; + text-align:center; + line-height:53rpx; + top:0; + left:0; } \ No newline at end of file