xialei 1 år sedan
förälder
incheckning
9c21b2c4de

+ 2 - 1
pages/cashier/index.vue

@@ -410,6 +410,7 @@ export default {
410
           console.log(res);
410
           console.log(res);
411
           if (res.data.status == 200) {
411
           if (res.data.status == 200) {
412
             this.merchantCashierShow = res.data.data.merchantCashierShow;
412
             this.merchantCashierShow = res.data.data.merchantCashierShow;
413
+			this.merchantCashierShow.create_time = this.merchantCashierShow.create_time.split(' ')[0]
413
           }
414
           }
414
         },
415
         },
415
         (fail) => {
416
         (fail) => {
@@ -669,7 +670,7 @@ page {
669
           }
670
           }
670
 
671
 
671
           .cashier-tablin-nie-left-text {
672
           .cashier-tablin-nie-left-text {
672
-            width: 247rpx;
673
+            width: 280rpx;
673
             height: 100%;
674
             height: 100%;
674
             display: flex;
675
             display: flex;
675
             flex-direction: column;
676
             flex-direction: column;

+ 3 - 3
pages/cashier/latestRecords.vue

@@ -6,8 +6,8 @@
6
         <image class="user-avatar" :src="item.avatar" @error="handleError" v-if="item.avatar&&!isError"></image>
6
         <image class="user-avatar" :src="item.avatar" @error="handleError" v-if="item.avatar&&!isError"></image>
7
         <image class="user-avatar" src="/static/images/new_ui/wutu.png" v-else></image>
7
         <image class="user-avatar" src="/static/images/new_ui/wutu.png" v-else></image>
8
         <view class="user-details">
8
         <view class="user-details">
9
-          <view class="user-name">用户 {{ item.nickname }}</view>
10
-          <view class="user-id">ID:{{ item.out_trade_no }}</view>
9
+          <view class="user-name">{{ item.nickname }}</view>
10
+          <!-- <view class="user-id">ID:{{ item.out_trade_no }}</view> -->
11
           <view class="consume-amount">消费金额 {{ item.money || "0.00" }}</view>
11
           <view class="consume-amount">消费金额 {{ item.money || "0.00" }}</view>
12
         </view>
12
         </view>
13
       </view>
13
       </view>
@@ -15,7 +15,7 @@
15
         <view class="record-time">{{ item.pay_time }}</view>
15
         <view class="record-time">{{ item.pay_time }}</view>
16
         <view class="pv-info">pv: {{ item.pv }}</view>
16
         <view class="pv-info">pv: {{ item.pv }}</view>
17
         <view v-for="(reward, rewardIndex) in rewards" :key="rewardIndex" class="reward-info">
17
         <view v-for="(reward, rewardIndex) in rewards" :key="rewardIndex" class="reward-info">
18
-          获取 {{ reward.type=="jingdou"?item.jingdou||0 :item.gongxian ||0}} {{ reward.name }}
18
+         {{ reward.name }} : {{ reward.type=="jingdou"?item.jingdou||0 :item.gongxian ||0}} 
19
         </view>
19
         </view>
20
       </view>
20
       </view>
21
     </view>
21
     </view>

+ 9 - 46
shop/perating/activitecode.vue

@@ -1,7 +1,7 @@
1
 <template>
1
 <template>
2
 	<view class="process" v-if="status==1">
2
 	<view class="process" v-if="status==1">
3
-		<view class="process-header">
4
-			<view class="process-header-text">
3
+		<!-- <view class="process-header"> -->
4
+<!-- 			<view class="process-header-text">
5
 				<view class="process-header-text-neishi" @click="topgi">
5
 				<view class="process-header-text-neishi" @click="topgi">
6
 					<view class="process-header-text-icon">
6
 					<view class="process-header-text-icon">
7
 						<image src="https://cdn.bjtdba.com/vod/image/2022-08-11/20220811133828415.png" mode="widthFix">
7
 						<image src="https://cdn.bjtdba.com/vod/image/2022-08-11/20220811133828415.png" mode="widthFix">
@@ -11,8 +11,8 @@
11
 				<view class="process-header-text-title">
11
 				<view class="process-header-text-title">
12
 					聚合码
12
 					聚合码
13
 				</view>
13
 				</view>
14
-			</view>
15
-		</view>
14
+			</view> -->
15
+		<!-- </view> -->
16
 		<view class="activite-nav">
16
 		<view class="activite-nav">
17
 			<view class="activite-card">
17
 			<view class="activite-card">
18
 				<image class="activite-card-logo"
18
 				<image class="activite-card-logo"
@@ -37,13 +37,13 @@
37
 				</view>
37
 				</view>
38
 
38
 
39
 			</view>
39
 			</view>
40
-
40
+<!-- 
41
 			<view class="downLoadButton" @click="clickGeneratePicture">
41
 			<view class="downLoadButton" @click="clickGeneratePicture">
42
 				<image class="downLoad-image" src="../../static/saveImage.png" mode=""></image>
42
 				<image class="downLoad-image" src="../../static/saveImage.png" mode=""></image>
43
 				<view class="downLoad-text">
43
 				<view class="downLoad-text">
44
 					保存图片
44
 					保存图片
45
 				</view>
45
 				</view>
46
-			</view>
46
+			</view> -->
47
 
47
 
48
 		</view>
48
 		</view>
49
 
49
 
@@ -263,6 +263,8 @@
263
 			// 保存图片
263
 			// 保存图片
264
 			saveImage() {
264
 			saveImage() {
265
 				let that = this
265
 				let that = this
266
+				console.log('xxxxxxxxxxxx')
267
+				console.log(that.picture)
266
 				if (that.picture !== "") {
268
 				if (that.picture !== "") {
267
 					uni.hideLoading();
269
 					uni.hideLoading();
268
 
270
 
@@ -363,49 +365,10 @@
363
 		align-items: center;
365
 		align-items: center;
364
 		justify-content: center;
366
 		justify-content: center;
365
 
367
 
366
-		.process-header {
367
-			position: fixed;
368
-			top: 0;
369
-			left: 0;
370
-			z-index: 111;
371
-			width: 100%;
372
-			height: 176rpx;
373
-			background: #FFFFFF;
374
-			display: flex;
375
-			justify-content: center;
376
-
377
-			.process-header-text {
378
-				width: 686rpx;
379
-				font-size: 36rpx;
380
-				font-weight: 500;
381
-				color: #333333;
382
-				display: flex;
383
-				margin-top: 107rpx;
384
-				align-items: center;
385
-
386
-				.process-header-text-neishi {
387
-					width: 45rpx;
388
-					height: 45rpx;
389
-					margin-right: 17rpx;
390
-
391
-					.process-header-text-icon {
392
-						width: 36rpx;
393
-						height: 36rpx;
394
-						margin-top: 2rpx;
395
-
396
-						image {
397
-							width: 100%;
398
-							height: 100%;
399
-						}
400
-					}
401
-				}
402
-			}
403
-		}
404
-
405
 		.activite-nav {
368
 		.activite-nav {
406
 			width: 100%;
369
 			width: 100%;
407
 			height: 100%;
370
 			height: 100%;
408
-			margin-top: 176rpx;
371
+			// margin-top: 176rpx;
409
 			background-color: red;
372
 			background-color: red;
410
 			display: flex;
373
 			display: flex;
411
 			flex-direction: column;
374
 			flex-direction: column;

+ 2 - 2
shop/services/setting.vue

@@ -26,8 +26,8 @@
26
 			<!-- 			<view class="uni-input">{{fenRunList[FenRunBiLiListindex].num}}</view>
26
 			<!-- 			<view class="uni-input">{{fenRunList[FenRunBiLiListindex].num}}</view>
27
 					</picker> -->
27
 					</picker> -->
28
 				<!-- </view> -->
28
 				<!-- </view> -->
29
-				<input style=" text-align: center;" maxlength="3" v-model="systemConfig.value" value=""
30
-					@input="inputphone" />
29
+				<input style="width: 30px;" maxlength="3" v-model="systemConfig.value" value=""
30
+					@input="inputphone" />%
31
 				<!-- <view class="" style="margin-right: 150rpx;">
31
 				<!-- <view class="" style="margin-right: 150rpx;">
32
 					30%
32
 					30%
33
 				</view> -->
33
 				</view> -->