Selaa lähdekoodia

fix: 用券详情样式修改

xuyunhui 1 vuosi sitten
vanhempi
sitoutus
5c5bb8e7c7

+ 1 - 1
pages/index/attach/attach.vue

@@ -28,7 +28,7 @@
 				</view>
 				<view class="flex-col gridItem" @click="navigateToPage('/pages/earningsList/earningsList')">
 					<view  class="title flex-row justify-center">
-						<text>业绩推广</text>
+						<text>推广业绩</text>
 					</view>
 					<view class="number flex-row justify-center">
 						<text>{{homeStaticsData.performance || 0}}</text>

+ 1 - 0
pages/index/index.rpx.css

@@ -1,2 +1,3 @@
 .page{
+    background-color: #F9F9F9;
 }

+ 2 - 2
pages/index/index.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="page">
+	<view class="page" :style="{height:height}">
 
 		<!-- #ifdef H5-->
 		<uni-nav-bar v-if="!$isWxBrowser()" :fixed="true" background-color="#FFE05C" :border="false" :statusBar="false"
@@ -34,7 +34,7 @@
 				ruleList: [],
 				roleList: [],
 				roleBindRuleParam: {},
-				userInfo: {}
+				userInfo: {},
 			}
 		},
 		onLoad() {

+ 6 - 0
pages/todaySpecialistsList/index.rpx.css

@@ -0,0 +1,6 @@
+.page {
+    padding: 0 32rpx;
+    background: #f7f7f7;
+    height: 100vh;
+}
+

+ 9 - 6
pages/todaySpecialistsList/module/index.rpx.css

@@ -2,11 +2,10 @@
     background: #F7F7F7;
 }
 .item{
-    margin: 20rpx;
-    background: #d7d2d2;
-    padding: 10rpx 32rpx;
-    border-bottom: 2rpx solid #f7f7f7;
-
+    padding: 20rpx 32rpx;
+    background: #ffffff;
+    margin-top: 24rpx;
+    border-radius: 15rpx;
 }
 
 .listItemMsg{
@@ -24,7 +23,7 @@
 }
 .time{
     font-weight: 400;
-    font-size: 24rpx;
+    font-size: 30rpx;
     color: #999999;
     line-height: 44rpx;
 }
@@ -40,3 +39,7 @@
     font-size: 28rpx;
     line-height: 44rpx;
 }
+.name{
+    font-size: 32rpx;
+    font-weight: bold;
+}

+ 8 - 8
pages/todaySpecialistsList/module/mescrollUni-item.vue

@@ -9,14 +9,14 @@
 		:up="upOption" @up="upCallback" @emptyclick="emptyClick">
 		<view>
 			<view class="flex-col justify-between item" v-for="(item,index) in list" :key="index">
-				<view class="flex-row justify-between listItemMsg">
-					<view class="memberNo">
-						<text>{{ item.couponName }}</text>
-					</view>
-					<view class="flex-row justify-between">
-						<text>{{item.useCoupon}}/{{item.totalUseCoupon}}</text>
-					</view>
-				</view>
+        <view class="flex-row justify-between">
+          <view class="flex-col justify-center">
+            <text class="name">{{ item.couponName }}</text>
+          </view>
+          <view class="flex-col justify-around">
+            <text class="time">{{item.useCoupon}}/{{item.totalUseCoupon}}</text>
+          </view>
+        </view>
 			</view>
 		</view>
 	</mescroll-uni>

+ 2 - 2
pages/todaySpecialistsList/todaySpecialistsList.vue

@@ -1,8 +1,8 @@
 <template>
-    <view class="page">
+    <view class="page" >
         <!-- #ifdef H5-->
         <uni-nav-bar v-if="!$isWxBrowser()" :fixed="true" background-color="#FFE05C" :border="false" :statusBar="false"
-                     left-icon="left" title="今日新增专员记录" @clickLeft="back"/>
+                     left-icon="left" title="用券情况" @clickLeft="back"/>
         <!-- #endif -->
 
         <view :style="{height:height}">