Browse Source

核销返利图片调整,任务统计统计图,奖励明细页面。

tong 4 years ago
parent
commit
66b256b15a

+ 5 - 3
pages/me/Reward-details/index.vue

@@ -411,9 +411,11 @@
 	}
 
 	.content-one-text {
-		position: relative;
-		top: -8rpx;
-		left: 60rpx;
+		// position: relative;
+		// top: -8rpx;
+		// left: 60rpx;
+		margin-left: 50rpx;
+		margin-top: -14rpx;
 		font-size: 24rpx;
 		font-weight: bold;
 		color: #000;

+ 2 - 3
pages/me/Settlement-center/index.vue

@@ -18,7 +18,7 @@
 				<checkbox-group @change="checkboxChange($event,index,item.storegentBrandList)">
 					<view class="content-five" v-for="(item,brandIndex) in item.storegentBrandList" :key="brandIndex">
 						<view class="content-five-img">
-							<u-image width="100%" height="65%" scaleType="matrix" :src="item.logoUrl"></u-image>
+							<u-image width="100%" height="80%" scaleType="matrix" :src="item.logoUrl"></u-image>
 						</view>
 						<view class="content-five-view">
 							{{item.usableMoney}}元
@@ -30,7 +30,6 @@
 								<checkbox @click="checkbox" disabled v-if="item.usableMoney==0" color="#FFCC33" style="transform:scale(0.7)" />
 							</label>
 						</view>
-
 					</view>
 				</checkbox-group>
 			</view>
@@ -173,7 +172,7 @@
 						console.log(res)
 						if (res.data.msg == "success") {
 							uni.showToast({
-								title: '核销返利成功!',
+								title: '核销成功',
 								duration: 2000
 							});
 							this.getData()

+ 6 - 4
pages/me/Statistical-task/index.vue

@@ -119,7 +119,7 @@
 							format: (val) => {
 								console.log(val)
 								// return val.toFixed(0) + ''
-								return val * 100 + '%'
+								return (val * 100).toFixed()+"%"
 							}
 
 						}
@@ -128,8 +128,9 @@
 							name: '',
 							percent: '',
 							format: (val) => {
-								console.log(val)
-								return val * 100 + '%'
+								console.log(val * 100)
+								console.log((val * 100).toFixed())
+								return (val * 100).toFixed()+"%"
 							}
 						}
 						monthObj.data = this.orderList[i].storeMonthList[j].data
@@ -138,8 +139,9 @@
 						quarterObj.data = this.orderList[i].storeQuarterList[j].data
 						quarterObj.name = this.orderList[i].storeQuarterList[j].name
 						quarterObj.percent = this.orderList[i].storeQuarterList[j].percent
-						monthPie.series.push(monthObj)
 						quarterPie.series.push(quarterObj)
+						monthPie.series.push(monthObj)
+						
 					}
 					this.showPie(`mouthPie${i}`, monthPie);
 					this.showPie(`quarterPie${i}`, quarterPie)