Browse Source

头部导航调整

kk.shi 3 years ago
parent
commit
1b75aef4dc

+ 0 - 2
pages/luckDraw/profile.wxss

@@ -288,8 +288,6 @@
 }
 
 .head_profile{
-  width: 114rpx;
-  height: 28rpx;
   font-size: 28rpx;
   font-weight: 500;
   color: #000000;

+ 3 - 1
pages/signIn/record/record.json

@@ -1,5 +1,7 @@
 {
-  "usingComponents": {},
+  "usingComponents": {
+    "topbar": "../../../components/topbar"
+  },
   "navigationStyle":"custom",
   "navigationBarTextStyle": "white"
 }

+ 4 - 0
pages/signIn/record/record.wxml

@@ -2,6 +2,10 @@
 <view class="record flex-column">
   <!-- 首部信息 -->
   <view class="head flex-column">
+    <topbar />
+    <view class="head_profile" wx:if="{{noCoupon}}">签到优惠券</view>
+    <view class="head_profile" wx:if="{{noDetail}}">获取明细</view>
+    <view class="head_profile" wx:if="{{noUtility}}">使用/失效</view>
     <view class="head_num" wx:if="{{!isLogin}}">{{notUseNum}}</view>
     <view class="head_num" wx:if="{{isLogin}}">{{notUseNum?notUseNum:0}}</view>
     <view class="head_text" wx:if="{{isLogin}}">请在优惠券有效期内尽快使用</view>

+ 8 - 1
pages/signIn/record/record.wxss

@@ -33,7 +33,7 @@
   font-family: Source Han Sans CN;
   font-weight: 500;
   color: #FEFEFE;
-  margin-top: 120rpx;
+  margin-top: 80rpx;
 }
 
 .head_text{
@@ -313,3 +313,10 @@
 	text-overflow: ellipsis;
 }
 
+.head_profile{
+  font-size: 28rpx;
+  font-weight: 500;
+  color: #000000;
+  margin-top: 60rpx;
+}
+