hwq il y a 1 an
Parent
commit
d063aa646b
86 fichiers modifiés avec 92 ajouts et 24 suppressions
  1. 9 0
      api/user.js
  2. 4 4
      pages/order/createOrder.vue
  3. 3 0
      pages/order/orderDetail.vue
  4. 1 1
      pages/product/product.vue
  5. 2 1
      pages/set/userinfo.vue
  6. 35 3
      pages/user/user.vue
  7. BIN
      static/icon/close.png
  8. BIN
      static/icon/u6.png
  9. BIN
      static/img/hxbg.png
  10. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  11. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  12. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/empty.js.map
  13. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/jyf-parser/jyf-parser.js.map
  14. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/jyf-parser/libs/trees.js.map
  15. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tki-qrcode/tki-qrcode.js.map
  16. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-badge/uni-badge.js.map
  17. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-countdown/uni-countdown.js.map
  18. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-icons/uni-icons.js.map
  19. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-list-item/uni-list-item.js.map
  20. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-list/uni-list.js.map
  21. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-load-more/uni-load-more.js.map
  22. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-notice-bar/uni-notice-bar.js.map
  23. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-number-box.js.map
  24. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-popup/uni-popup.js.map
  25. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-rate/uni-rate.js.map
  26. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-steps/uni-steps.js.map
  27. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-transition/uni-transition.js.map
  28. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/cart/cart.js.map
  29. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/category/category.js.map
  30. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/artDetail.js.map
  31. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/artlist.js.map
  32. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/baodan.js.map
  33. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  34. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/integral.js.map
  35. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/account.js.map
  36. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/pay.js.map
  37. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/paySuccess.js.map
  38. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/recharge.js.map
  39. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/wallet.js.map
  40. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/withdrawal.js.map
  41. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/createOrder.js.map
  42. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/evaluate.js.map
  43. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/expressInfo.js.map
  44. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/order.js.map
  45. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/orderDetail.js.map
  46. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/orderRefund.js.map
  47. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/list.js.map
  48. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/product.js.map
  49. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/reply.js.map
  50. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/search.js.map
  51. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/forget.js.map
  52. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/login.js.map
  53. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/register.js.map
  54. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/wxLogin.js.map
  55. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/address.js.map
  56. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/addressManage.js.map
  57. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/password.js.map
  58. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/phone.js.map
  59. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/set.js.map
  60. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/userinfo.js.map
  61. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/store/shopDetail.js.map
  62. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/store/shopList.js.map
  63. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/award.js.map
  64. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/jf.js.map
  65. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/shareQrCode.js.map
  66. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/team.js.map
  67. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/user.js.map
  68. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/withdrawal.js.map
  69. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/yjzye.js.map
  70. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/yjzz.js.map
  71. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/yue.js.map
  72. 18 8
      unpackage/dist/dev/mp-weixin/common/vendor.js
  73. 2 2
      unpackage/dist/dev/mp-weixin/components/uni-load-more/uni-load-more.json
  74. 2 2
      unpackage/dist/dev/mp-weixin/components/uni-number-box.json
  75. 1 1
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  76. 0 0
      unpackage/dist/dev/mp-weixin/pages/order/createOrder.wxml
  77. 3 0
      unpackage/dist/dev/mp-weixin/pages/order/orderDetail.js
  78. 0 0
      unpackage/dist/dev/mp-weixin/pages/order/orderDetail.wxml
  79. 0 0
      unpackage/dist/dev/mp-weixin/pages/product/product.wxml
  80. 1 0
      unpackage/dist/dev/mp-weixin/pages/set/userinfo.wxss
  81. 9 0
      unpackage/dist/dev/mp-weixin/pages/user/user.js
  82. 0 0
      unpackage/dist/dev/mp-weixin/pages/user/user.wxml
  83. 2 2
      unpackage/dist/dev/mp-weixin/pages/user/user.wxss
  84. BIN
      unpackage/dist/dev/mp-weixin/static/icon/close.png
  85. BIN
      unpackage/dist/dev/mp-weixin/static/icon/u6.png
  86. BIN
      unpackage/dist/dev/mp-weixin/static/img/hxbg.png

+ 9 - 0
api/user.js

@@ -213,4 +213,13 @@ export function version(data) {
 		method: 'get',
 		data
 	})
+}
+
+//订单核销
+export function check(data) {
+	return request({
+		url: '/api/order/order_verific',
+		method: 'post',
+		data
+	});
 }

+ 4 - 4
pages/order/createOrder.vue

@@ -1,10 +1,10 @@
 <template>
 	<view>
-		<!-- <view class="navbar">
+		<view class="navbar">
 			<view v-for="(item, index) in navList" :key="index" class="nav-item"
 				:class="{ current: tabCurrentIndex === item.state }" @click="tabClick(item.state)">{{ item.text }}
 			</view>
-		</view> -->
+		</view>
 
 		<!-- 地址 -->
 		<navigator v-if="tabCurrentIndex == 0" class="address-section" url="/pages/set/address?source=1">
@@ -31,7 +31,7 @@
 		</navigator>
 		<view v-if="tabCurrentIndex == 1" class="address-section">
 			<view id="list-box">
-				<view class="chose">
+				<view class="chose" v-if="!checkedPoint">
 					<view class="title">选择门店</view>
 					<view class="chose-name" @click.stop="selectPoint" v-if="tabCurrentIndex == 1">
 						选择门店
@@ -41,7 +41,7 @@
 					</view>
 				</view>
 				<view class="stores-wrapper" v-if="checkedPoint && checkedPoint.name">
-					<view class="store">
+					<view class="store" @click.stop="selectPoint">
 						<view class="store-logo">
 							<image :src="checkedPoint.image" mode=""></image>
 							<text class="store-name clamp">{{ checkedPoint.name }}</text>

+ 3 - 0
pages/order/orderDetail.vue

@@ -13,6 +13,9 @@
 				background="#ffffff" foreground="#333333" pdground="#333333" :iconSize="40" :lv="3" :onval="true"
 				:loadMake="true" :usingComponents="true" :showLoading="true" loadingText="二维码生成中" />
 		</view>
+		<view class="row b-b b-t" v-if="item.shipping_type == 2 && item.status == 0">
+			<text class="order-status">可核销次数:{{ item.frequency }}</text>
+		</view>
 		<!-- 快递信息 -->
 		<view class="express-box" @click="expressCheck(item)" v-if="item.delivery_id != null ">
 			<view v-if='item.delivery_id != null' style="width: 100%;padding: 10rpx 20rpx;background: #FFFFFF;">

+ 1 - 1
pages/product/product.vue

@@ -78,7 +78,7 @@
 				</view>
 				<view class="buy-now">
 					<button type="primary" class=" action-btn no-border buy-now-btn" @click.stop="toggleSpec(2)"
-						v-if="isjf==0 && isbd == 0">加入购物车</button>
+						v-if="isjf==0 ">加入购物车</button>
 					<button type="primary" class=" action-btn no-border  add-cart-btn"
 						@click.stop="toggleSpec(1)">立即购买</button>
 				</view>

+ 2 - 1
pages/set/userinfo.vue

@@ -18,7 +18,7 @@
 		<!-- #ifndef MP-WEIXIN -->
 		<view class="row b-b flex jg">
 			<text class="tit">头像</text>
-			<image :src="userInfo.avatar" @click.stop="imgsub"></image>
+			<image class="avatar" :src="userInfo.avatar" @click.stop="imgsub"></image>
 		</view>
 		<view class="row b-b flex">
 			<text class="tit">昵称</text>
@@ -244,6 +244,7 @@
 		.avatar {
 			width: 80rpx;
 			height: 80rpx;
+			border-radius: 50%;
 			position: relative;
 			z-index: 2;
 		}

+ 35 - 3
pages/user/user.vue

@@ -96,6 +96,15 @@
 				</view>
 				<image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
 			</view>
+			<view class="user-list flex" @click="sao()" v-if="userInfo.adminid">
+				<view class="user-list-image">
+					<image src="../../static/icon/u6.png" mode="heightFix" class="left-img"></image>
+				</view>
+				<view class="user-list-tit">
+					扫码核销
+				</view>
+				<image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
+			</view>
 		</view>
 		<view class="" style="height: 20rpx;">
 		</view>
@@ -117,6 +126,22 @@
 				</view>
 			</view>
 		</uni-popup>
+		<uni-popup ref="popuphx" class="agree-wrapper">
+			<view class="hx-wrapper">
+				<view class="hx-img">
+					<image src="../../static/img/hxbg.png" mode=""></image>
+				</view>
+				<view class="hx-body">
+					<view class="hx-title">输入核销码核销</view>
+					<input type="text" v-model="code" placeholder="请输入核销码" placeholder-class="hx-placeholder" />
+					<input type="number" v-model="num" placeholder="请输入核销数量" placeholder-class="hx-placeholder" />
+					<view class="hx-btn" @click="qhx">立即核销</view>
+				</view>
+				<view class="hx-close" @click="close">
+					<image src="../../static/icon/close.png" mode=""></image>
+				</view>
+			</view>
+		</uni-popup>
 	</view>
 </template>
 <script>
@@ -150,6 +175,7 @@
 				store_name: '',
 				achievement: '',
 				code: '',
+				num: '',
 				text: 'sy13967626944' //客服微信
 			};
 		},
@@ -193,19 +219,25 @@
 			qhx() {
 				check({
 						verify_code: this.code,
+						frequency: this.num,
 						is_confirm: 1 //1是核销,0是查看
 					})
 					.then(e => {
 						this.$api.msg('核销成功');
 						this.close();
+						this.code = '';
+						this.num = '';
 					})
 					.catch(e => {
+						this.code = '';
+						this.num = '';
 						console.log(e);
 					});
 			},
 			sao() {
 				let obj = this;
-
+				// console.log(111);
+				// obj.$refs.popuphx.open();
 				// #ifndef H5
 				uni.scanCode({
 					success(e) {
@@ -663,7 +695,7 @@
 
 	.hx-wrapper {
 		width: 536rpx;
-		height: 630rpx;
+		height: 720rpx;
 		position: relative;
 
 		// background-color: #fff;
@@ -692,7 +724,7 @@
 
 		.hx-body {
 			width: 536rpx;
-			height: 349rpx;
+			height: 450rpx;
 			background-color: #fff;
 			border-radius: 0 0 10rpx 10rpx;
 

BIN
static/icon/close.png


BIN
static/icon/u6.png


BIN
static/img/hxbg.png


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/empty.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/jyf-parser/jyf-parser.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/jyf-parser/libs/trees.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/tki-qrcode/tki-qrcode.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-badge/uni-badge.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-countdown/uni-countdown.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-icons/uni-icons.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-list-item/uni-list-item.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-list/uni-list.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-load-more/uni-load-more.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-notice-bar/uni-notice-bar.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-number-box.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-popup/uni-popup.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-rate/uni-rate.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-steps/uni-steps.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-transition/uni-transition.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cart/cart.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/category/category.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/artDetail.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/artlist.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/baodan.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/integral.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/account.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/pay.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/paySuccess.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/recharge.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/wallet.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/money/withdrawal.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/createOrder.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/evaluate.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/expressInfo.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/order.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/orderDetail.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/orderRefund.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/list.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/product.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/reply.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/product/search.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/forget.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/login.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/register.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/public/wxLogin.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/address.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/addressManage.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/password.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/phone.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/set.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/set/userinfo.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/store/shopDetail.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/store/shopList.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/award.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/jf.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/shareQrCode.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/team.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/user.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/withdrawal.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/yjzye.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/yjzz.js.map


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/yue.js.map


+ 18 - 8
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -1117,8 +1117,8 @@ function populateParameters(result) {
     appVersion: "1.0.0",
     appVersionCode: "100",
     appLanguage: getAppLanguage(hostLanguage),
-    uniCompileVersion: "3.8.7",
-    uniRuntimeVersion: "3.8.7",
+    uniCompileVersion: "3.8.12",
+    uniRuntimeVersion: "3.8.12",
     uniPlatform: undefined || "mp-weixin",
     deviceBrand: deviceBrand,
     deviceModel: model,
@@ -1894,7 +1894,7 @@ function initData(vueOptions, context) {
     try {
       data = data.call(context); // 支持 Vue.prototype 上挂的数据
     } catch (e) {
-      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
       }
     }
@@ -5839,7 +5839,7 @@ var debugs = {};
 var debugEnviron;
 exports.debuglog = function(set) {
   if (isUndefined(debugEnviron))
-    debugEnviron = Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).NODE_DEBUG || '';
+    debugEnviron = Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).NODE_DEBUG || '';
   set = set.toUpperCase();
   if (!debugs[set]) {
     if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
@@ -12419,7 +12419,7 @@ function type(obj) {
 
 function flushCallbacks$1(vm) {
     if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
-        if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+        if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@@ -12440,14 +12440,14 @@ function nextTick$1(vm, cb) {
     //1.nextTick 之前 已 setData 且 setData 还未回调完成
     //2.nextTick 之前存在 render watcher
     if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
-        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:nextVueTick');
         }
         return nextTick(cb, vm)
     }else{
-        if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance$1 = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
                 ']:nextMPTick');
@@ -12543,7 +12543,7 @@ var patch = function(oldVnode, vnode) {
     });
     var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
     if (Object.keys(diffData).length) {
-      if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"芯悦澜","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
           ']差量更新',
           JSON.stringify(diffData));
@@ -17787,6 +17787,7 @@ exports.addressDel = addressDel;
 exports.addressEdit = addressEdit;
 exports.article = article;
 exports.cartDel = cartDel;
+exports.check = check;
 exports.delcollect = delcollect;
 exports.details = details;
 exports.getAddressList = getAddressList;
@@ -18020,6 +18021,15 @@ function version(data) {
   });
 }
 
+//订单核销
+function check(data) {
+  return (0, _request.default)({
+    url: '/api/order/order_verific',
+    method: 'post',
+    data: data
+  });
+}
+
 /***/ }),
 
 /***/ 5:

+ 2 - 2
unpackage/dist/dev/mp-weixin/components/uni-load-more/uni-load-more.json

@@ -1,4 +1,4 @@
 {
-  "usingComponents": {},
-  "component": true
+  "component": true,
+  "usingComponents": {}
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/components/uni-number-box.json

@@ -1,4 +1,4 @@
 {
-  "usingComponents": {},
-  "component": true
+  "component": true,
+  "usingComponents": {}
 }

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml

@@ -1 +1 @@
-<view class="container"><swiper class="top-swiper" autoplay="true" duration="400" interval="5000" indicator-dots="{{true}}" indicator-active-color="#ea3855" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{carouselList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['bannerNavToUrl',['$0'],[[['carouselList','',index]]]]]]]}}" class="carousel-item" bindtap="__e"><image src="{{item.pic}}"></image></swiper-item></block></swiper><view class="jg"></view><view class="good-list"><block wx:for="{{goodList}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['navTo',['/pages/product/product?id='+item.id]]]]]}}" class="good" bindtap="__e"><image src="{{item.image}}" mode></image></view></block></view><view class="jg"></view><block wx:if="{{$root.g0!=0}}"><view class="art-box flex"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="__i1__"><view data-event-opts="{{[['tap',[['navTo',['/pages/product/product?id='+item.id]]]]]}}" class="art-item" bindtap="__e"><image src="{{item.image}}" mode></image></view></block></view></block><block wx:if="{{$root.g1!=0}}"><view class="jg"></view></block><view class="good-list"><view class="good"><image src="https://xyl.liuniukj.com/computent.png" data-event-opts="{{[['tap',[['navTo',['/pages/index/artDetail?id=1']]]]]}}" bindtap="__e"></image></view><view class="good"><image src="https://xyl.liuniukj.com/product.png" data-event-opts="{{[['tap',[['navTo',['/pages/index/artDetail?id=3']]]]]}}" bindtap="__e"></image></view></view></view>
+<view class="container"><swiper class="top-swiper" autoplay="true" duration="400" interval="5000" indicator-dots="{{true}}" indicator-active-color="#ea3855" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{carouselList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['bannerNavToUrl',['$0'],[[['carouselList','',index]]]]]]]}}" class="carousel-item" bindtap="__e"><image src="{{item.pic}}"></image></swiper-item></block></swiper><view class="jg"></view><view class="good-list"><block wx:for="{{goodList}}" wx:for-item="item" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['navTo',['/pages/product/product?id='+item.id+'&isjf=1']]]]]}}" class="good" bindtap="__e"><image src="{{item.image}}" mode></image></view></block></view><view class="jg"></view><block wx:if="{{$root.g0!=0}}"><view class="art-box flex"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="__i1__"><view data-event-opts="{{[['tap',[['navTo',['/pages/product/product?id='+item.id+'&isjf=1']]]]]}}" class="art-item" bindtap="__e"><image src="{{item.image}}" mode></image></view></block></view></block><block wx:if="{{$root.g1!=0}}"><view class="jg"></view></block><view class="good-list"><view class="good"><image src="https://xyl.liuniukj.com/computent.png" data-event-opts="{{[['tap',[['navTo',['/pages/index/artDetail?id=1']]]]]}}" bindtap="__e"></image></view><view class="good"><image src="https://xyl.liuniukj.com/product.png" data-event-opts="{{[['tap',[['navTo',['/pages/index/artDetail?id=3']]]]]}}" bindtap="__e"></image></view></view></view>

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/order/createOrder.wxml


+ 3 - 0
unpackage/dist/dev/mp-weixin/pages/order/orderDetail.js

@@ -347,6 +347,9 @@ var _order = __webpack_require__(/*! @/api/order.js */ 222);
 //
 //
 //
+//
+//
+//
 var _default = {
   filters: {
     orderType: function orderType(item) {

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/order/orderDetail.wxml


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/product/product.wxml


+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/set/userinfo.wxss

@@ -47,6 +47,7 @@
 .row .avatar {
   width: 80rpx;
   height: 80rpx;
+  border-radius: 50%;
   position: relative;
   z-index: 2;
 }

+ 9 - 0
unpackage/dist/dev/mp-weixin/pages/user/user.js

@@ -197,6 +197,7 @@ var _default = {
       store_name: '',
       achievement: '',
       code: '',
+      num: '',
       text: 'sy13967626944' //客服微信
     };
   },
@@ -234,16 +235,24 @@ var _default = {
       var _this2 = this;
       (0, _user.check)({
         verify_code: this.code,
+        frequency: this.num,
         is_confirm: 1 //1是核销,0是查看
       }).then(function (e) {
         _this2.$api.msg('核销成功');
         _this2.close();
+        _this2.code = '';
+        _this2.num = '';
       }).catch(function (e) {
+        _this2.code = '';
+        _this2.num = '';
         console.log(e);
       });
     },
     sao: function sao() {
       var obj = this;
+      // console.log(111);
+      // obj.$refs.popuphx.open();
+
       uni.scanCode({
         success: function success(e) {
           obj.code = e.result;

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/user/user.wxml


+ 2 - 2
unpackage/dist/dev/mp-weixin/pages/user/user.wxss

@@ -262,7 +262,7 @@ page {
 }
 .hx-wrapper {
   width: 536rpx;
-  height: 630rpx;
+  height: 720rpx;
   position: relative;
 }
 .hx-wrapper .hx-img {
@@ -286,7 +286,7 @@ page {
 }
 .hx-wrapper .hx-body {
   width: 536rpx;
-  height: 349rpx;
+  height: 450rpx;
   background-color: #fff;
   border-radius: 0 0 10rpx 10rpx;
 }

BIN
unpackage/dist/dev/mp-weixin/static/icon/close.png


BIN
unpackage/dist/dev/mp-weixin/static/icon/u6.png


BIN
unpackage/dist/dev/mp-weixin/static/img/hxbg.png


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff