zs 2 år sedan
förälder
incheckning
ae2f8d7a95
2 ändrade filer med 9 tillägg och 5 borttagningar
  1. 2 2
      pagesIntegral/order/index.vue
  2. 7 3
      pagesIntegral/record/index.vue

+ 2 - 2
pagesIntegral/order/index.vue

@@ -69,8 +69,8 @@
 			</view>
 			<view class="two">
 				<view class="two_1">
-					<view>实付金额:</view>
-					<view>{{costTotal}}</view>
+					<view>尊荣:</view>
+					<view>{{costTotal}}</view>
 				</view>
 				<view class="two_2">
 					<text @click="toSubmit">尊荣支付</text>

+ 7 - 3
pagesIntegral/record/index.vue

@@ -35,7 +35,7 @@
 									</view>
 									<view class="other">
 										<view class="price">
-											¥{{item.goods.cost}}
+											{{item.goods.cost}}
 										</view>
 										<view class="num">
 											×{{item.buy_num}}
@@ -60,7 +60,7 @@
 			return {
 				// 系统设置
 				config: {},
-				searchInfo:{},
+				searchInfo: {},
 				user: {},
 				list: [],
 				total: 0,
@@ -112,7 +112,11 @@
 			// 输入框
 			toInput(e) {
 				const that = this;
-				if (e.detail.value) that.$set(that.searchInfo, `goods`, e.detail.value);
+				if (e.detail.value == '') {
+					that.$set(that, `searchInfo`, {})
+				} else {
+					that.$set(that.searchInfo, `goods`, e.detail.value);
+				}
 				that.clearPage();
 				that.search();
 			},