Jelajahi Sumber

toFixed is not a function修复

王涛 3 tahun lalu
induk
melakukan
fcc07331c3

+ 17 - 15
pages.json

@@ -15,6 +15,22 @@
 			}
 		}
 	},
+	{
+		"path": "pages/order/index",
+		"style": {
+			"navigationBarTitleText": "订单详情",
+			"usingComponents":{
+				"van-button":"/wxcomponents/vant/weapp/dist/button/index",
+				"van-row": "/wxcomponents/vant/weapp/dist/row/index",
+				"van-col": "/wxcomponents/vant/weapp/dist/col/index",
+				"van-image": "/wxcomponents/vant/weapp/dist/image/index",
+				"van-loading":"/wxcomponents/vant/weapp/dist/loading/index",
+				"van-button":"/wxcomponents/vant/weapp/dist/button/index",
+				"van-toast": "/wxcomponents/vant/weapp/dist/toast/index"
+			}
+		}
+	},
+	
 	{
 		"path" : "pages/over/index",
 		"style": {
@@ -61,24 +77,10 @@
 					"van-toast": "/wxcomponents/vant/weapp/dist/toast/index"
 				}
 			}
-		},
-		{
-			"path": "pages/order/index",
-			"style": {
-				"navigationBarTitleText": "订单详情",
-				"usingComponents":{
-					"van-button":"/wxcomponents/vant/weapp/dist/button/index",
-					"van-row": "/wxcomponents/vant/weapp/dist/row/index",
-					"van-col": "/wxcomponents/vant/weapp/dist/col/index",
-					"van-image": "/wxcomponents/vant/weapp/dist/image/index",
-					"van-loading":"/wxcomponents/vant/weapp/dist/loading/index",
-					"van-button":"/wxcomponents/vant/weapp/dist/button/index",
-					"van-toast": "/wxcomponents/vant/weapp/dist/toast/index"
-				}
-			}
 		}
 		
 		
+		
     ],
 	"globalStyle": {
 		"navigationBarTextStyle": "#fff",

+ 2 - 55
pages/amount/index.vue

@@ -27,6 +27,7 @@
         <van-col span="12" class="left">到账金额</van-col>
         <van-col span="12" class="right">¥{{data.money}}元</van-col>
     </van-row>
+	
     <!-- <van-row class="tip">
 		服务费 ¥0元<br>
 		费率 0%
@@ -139,61 +140,7 @@ export default {
 		this.state6 = "color:#000;background: #ccc;",
 		this.data.money = this.data.money + "";
 	},
-  //   handleInput(key) {
-		// console.log(key)
-  //     this.state1 = "color:#000;background: #ccc;",
-  //     this.state2 = "color:#000;background: #ccc;",
-  //     this.state3 = "color:#000;background: #ccc;",
-  //     this.state4 = "color:#000;background: #ccc;",
-  //     this.state5 = "color:#000;background: #ccc;",
-  //     this.state6 = "color:#000;background: #ccc;",
-  //     this.data.money = this.data.money + "";
-  //     if (this.data.money === "" && key === ".") {
-  //       this.data.money = "0";
-  //     } else if (this.data.money.indexOf(".") !== -1 && key === ".") {
-  //       return;
-  //     } else if (
-  //       this.data.money.indexOf("0") !== -1 &&
-  //       this.data.money.length === 1 &&
-  //       key === 0
-  //     ) {
-  //       return;
-  //     } else if (/\.\d{2}$/.test(this.data.money)) {
-  //       return;
-  //     }
-  //     this.data.money += key;
-  //   },
-  //   handleDelete() {
-  //     this.data.money = this.data.money + "";
-  //     if (!this.data.money) {
-  //       return;
-  //     }
-  //     this.data.money = this.data.money.substring(0, this.data.money.length - 1) || 0;
-  //   },
-  //   handleClose() {
-  //     this.data.money = Number(this.data.money);
-  //     this.overlayShow = false
-  //   },
-    
-	// isWeixinOrAlipay(){
- //      let ua = window.navigator.userAgent;
- //      //判断是不是微信
- //      if ( ua.indexOf("MicroMessenger") > 0 ) {  
- //          this.env = "WeiXin"
- //      }    
- //      //判断是不是支付宝
- //      if(ua.indexOf("Alipay") > 0) {
- //        this.env = "Alipay" 
- //      }
- //    },
-    // async pay(money, topPayType, payType){
-    //   this.loading = true
-    //   if(window.localStorage.getItem('token')){
-    //     getPayApi(money, topPayType, payType)
-    //   }else{
-    //     getTokenApi(money, topPayType, payType)
-    //   }
-    // },
+
     jumpMode(){
 		//console.log(this.data.money)
 		if(this.data.money && this.data.money != 0 &&  this.data.money != "0.00"){

+ 13 - 35
pages/index/index.vue

@@ -1,11 +1,12 @@
 <template>
   <div class="mianBox" v-if="state">
     <van-row class="contentBox">
-      <van-row @tap="amount()" class="amount">
+     <van-row @tap="amount()" class="amount">
         <image :src="require('../img/recharge.png')" class="amount_img" mode="widthFix" />
         <van-col :span="24" class="amount_txt1 amount_txt">充值</van-col>
         <!-- <van-col :span="24" class="amount_txt2 amount_txt">对余额进行充值</van-col> -->
       </van-row>
+	  
 	  <van-toast id="van-toast" />
 	</van-row>
   </div>
@@ -20,32 +21,18 @@
 			}
 		},
 		onLoad(options) {
-			// var a = [];
-			// console.log(Object.keys(a).length);
-			// setTimeout(() =>{
-			// 	if(JSON.stringify(options) == "{}"){
-			// 		Toast("无参数传入")
-			// 	}else{
-			// 		options = JSON.stringify(options)
-					
-			// 		Toast(options)
-			// 	}
-			// })
-			
 			//Toast("该用户未暂未录入充值系统...")
-			// let userId ='0001T110000000002HBL',
-			// var  a = {
-			// 	money:0.01,
-			// 	channelId:null,
-			// 	userId:'0001T110000000002HBL',
-			// 	scene:3,
-			// 	openid:null
-			// }
-
-			// var options = {}
-			// options = a
-			// console.log(JSON.parse(stringify(options)))
-			// console.log(options)
+			// 对接app测试代码
+					// let userId ='0001T110000000002HBL'
+					// var  a = {
+					// 	money:1,
+					// 	channelId:null,
+					// 	userId:'0001T110000000002HBL',
+					// 	scene:3,
+					// 	openid:null
+					// }
+					// var options = {}
+					// options = a
 			if(JSON.stringify(options) !="{}"){
 				//app或扫码进入
 				//console.log("app进入")
@@ -126,15 +113,6 @@
 			left:26%;
 			color:#fff;
 		}
-		// .amount_txt1{
-		// 	margin-top:18px;
-		// }
-		// .amount_txt2{
-		// 	margin-top:45px;
-		// }
-  //       .van-col{
-  //         padding: 7px 0;
-  //       }
       }
     }
 }

+ 0 - 2
pages/login/index.vue

@@ -15,8 +15,6 @@
   </div>
 </template>
 <script>
-	// import { login } from '@/utils/api/login.js';
-	// import { wxCode } from '@/utils/api/modules/index.js'
 	import Toast from '../../wxcomponents/vant/weapp/dist/toast/toast';
 	export default {
 		

+ 16 - 159
pages/order/index.vue

@@ -1,33 +1,16 @@
 <template>
   <div class="mianBox">
-    <van-row class="contentBox">
+    <van-row class="contentBox" v-if="loading">
 		<van-row>
 			<van-col span="24" class="logo"><van-image width="75" height="75" :src="require('../img/logo.png')" /></van-col>
 			<van-col span="24" class="introduce">中国东信智慧园区平台</van-col>
 			<van-col span="24" class="money">{{data.money}}</van-col>
 			<van-col span="24" class="order_money">订单金额(元)</van-col>
 		</van-row>
-		<!-- <van-row class="order_wrap">
-			<van-row>
-				<van-col span="8" class="left">用途</van-col>
-				<van-col span="16" class="right">充值</van-col>
-			</van-row>
-			<van-row>
-				<van-col span="8" class="left">收款单位</van-col>
-				<van-col span="16"class="right">中国东信智慧园区平台</van-col>
-			</van-row>
-			<van-row>
-				<van-col span="8" class="left">订单编号</van-col>
-				<van-col span="16" class="right">12345678910123124565</van-col>
-			</van-row>
-			<van-row>
-				<van-col span="8" class="left">订单时间</van-col>
-				<van-col span="16" class="right">2021-09-27 15:00:00</van-col>
-			</van-row>
-		</van-row> -->
 		<div class="pay_wrap">
 			<van-button class="pay"  color="#F22E3C" @tap="pay">支付</van-button>
 			<button class="pay" open-type="launchApp" app-parameter="appData"  @error="launchAppError" v-if="data.userId">返回APP</button>
+			<!-- <button class="pay" open-type="launchApp" app-parameter="appData"  @error="launchAppError" >返回APP<navigator open-type="exit" target="miniProgram" style="margin:30px 0;display: block;">退出程序</navigator></button> -->
 		</div>
 		<van-toast id="van-toast" />
 		<!-- <van-overlay :show="show" @click="show = false" /> -->
@@ -40,6 +23,7 @@
 	export default {
 		data() {
 			return {
+				loading:false,
 				data:{
 					money:undefined,
 					openid:null,
@@ -69,7 +53,7 @@
 						if(data.scene == "3"){
 							//console.log("app进入 -->支付页")
 							_this.data={
-								money:data.money,
+								money:Number(data.money).toFixed(2),
 								channelId:data.channelId,
 								userId:data.userId,
 								scene:data.scene,
@@ -88,7 +72,7 @@
 							app:false,
 						}
 					}
-					
+					_this.loading = true
 					_this.data.app = false
 					_this.pay()
 					
@@ -103,10 +87,6 @@
 			pay(){
 				let _this = this
 				if(_this.data.openid && _this.data.openid != 'null'  ){
-					// Toast(1,_this.data.money)
-					// uni.redirectTo({
-					//     url: `../over/index?type=游客`
-					// });
 					if(_this.data.userId){//app用户充值
 						//console.log("app用户充值")
 						requestGet("dxtop/staff/one",
@@ -114,11 +94,10 @@
 								"id":_this.data.userId,
 							},
 						).then(res =>{
-							
 							if(res[1].data.data){
 								requestPost("dxtop/order/callUnifiedPay",
 									{
-										"money": _this.data.money, 
+										"money": Number(_this.data.money).toFixed(2), 
 										"topPayType": "W06", 
 										"payType": "2", 
 										"channelId":_this.data.channelId,
@@ -126,28 +105,28 @@
 										"scene":_this.data.scene,
 										"openId":_this.data.openid,
 									}
-								).then(res => {
-									if(res[1].data?.status == "ERROR"){
-										if(res[1].data?.code == 500){
-											if(res[1].data.msg == "acct参数错误"){
+								).then(res2 => {
+									if(res2[1].data?.status == "ERROR"){
+										if(res2[1].data?.code == 500){
+											if(res2[1].data.msg == "acct参数错误"){
 												Toast("华为、Android10系统,需要开启微信的“浮窗”和“允许在其他上层应用上打开”这两个权限")
 											}else{
-												Toast(res[1].data.msg)
+												Toast(res2[1].data.msg)
 											}
 										}else{
-											Toast(res[1].data.msg)
+											Toast(res2[1].data.msg)
 										}
 										
 									}else{
-										if(res[1].data){
-											let data = JSON.parse(res[1].data.data)
+										if(res2[1].data){
+											let data = JSON.parse(res2[1].data.data)
 											uni.requestPayment({
 												timeStamp: data.timeStamp,
 												nonceStr: data.nonceStr,
 												package: data.package,
 												signType: data.signType,
 												paySign: data.paySign,
-												success: function (res) {
+												success: function (res3) {
 													//console.log('success:' + JSON.stringify(res));
 													uni.redirectTo({
 														url: `../over/index`
@@ -169,131 +148,9 @@
 						})
 					}else{
 						Toast("请使用'中国东信'APP途径进行充值")
-						// requestPost("dxtop/order/callUnifiedPay",
-						// 	{
-						// 		"money": _this.data.money, 
-						// 		"topPayType": "W06", 
-						// 		"payType": "2", 
-						// 		"channelName":"小程序游客充值",
-						// 		"scene":2,
-						// 		"openId":_this.data.openid,
-						// 	}
-						// ).then(res => {
-							
-						// 	if(res[1].data.code == 500){
-						// 		Toast(res[1].data.msg)
-						// 	}else{
-						// 		if(res[1].data){
-						// 			let data = JSON.parse(res[1].data.data)
-						// 			uni.requestPayment({
-						// 				timeStamp: data.timeStamp,
-						// 				nonceStr: data.nonceStr,
-						// 				package: data.package,
-						// 				signType: data.signType,
-						// 				paySign: data.paySign,
-						// 				success: function (res) {
-						// 					console.log('success:' + JSON.stringify(res));
-						// 					uni.redirectTo({
-						// 					    url: `../over/index?type=游客`
-						// 					});
-						// 				},
-						// 				fail: function (err) {
-						// 					console.log('fail:' + JSON.stringify(err));
-						// 				}
-						// 			});
-						// 		}
-						// 	}
-							
-							
-						// })
+						
 					}
 					
-					
-					
-					
-					
-					
-					
-					
-					
-					
-					// else if(this.data.channelId){//"后台扫码充值"
-					// 	console.log("后台扫码充值",this.data.channelId)
-					// 	requestPost("dxtop/order/callUnifiedPay",
-					// 		{
-					// 			"money": this.data.money, 
-					// 			"topPayType": "W06", 
-					// 			"payType": "2", 
-					// 			"channelId":this.data.channelId,
-					// 			"userId":'',
-					// 			"scene":2,
-					// 			"openId":this.data.openid,
-					// 		}
-					// 	).then(res => {
-					// 		console.log(res,121212)
-					// 		if(res[1].data){
-					// 			let data = JSON.parse(res[1].data.msg)
-					// 			uni.requestPayment({
-					// 				timeStamp: data.timeStamp,
-					// 				nonceStr: data.nonceStr,
-					// 				package: data.package,
-					// 				signType: data.signType,
-					// 				paySign: data.paySign,
-					// 				success: function (res) {
-					// 					console.log('success:' + JSON.stringify(res));
-					// 				},
-					// 				fail: function (err) {
-					// 					// Toast({
-					// 					// 	message:JSON.stringify(err),
-					// 					// 	overlay:true,
-					// 					// });
-					// 					console.log('fail:' + JSON.stringify(err));
-					// 				}
-					// 			});
-					// 		}
-							
-					// 	})
-					// }else{//历史记录充值
-					// 	// Toast("小程序历史记录进入充值暂未开放...")
-					// 	// return false
-					// 	console.log("历史记录充值")
-					// 	requestPost("dxtop/order/callUnifiedPay",
-					// 		{
-					// 			"money": this.data.money, 
-					// 			"topPayType": "W06", 
-					// 			"payType": "2", 
-					// 			"channelId":56,
-					// 			"userId":'',
-					// 			"scene":2,
-					// 			"openId":this.data.openid,
-					// 		}
-					// 	).then(res => {
-					// 		if(res[1].data){
-					// 			let data = JSON.parse(res[1].data.msg)
-					// 			uni.requestPayment({
-					// 				timeStamp: data.timeStamp,
-					// 				nonceStr: data.nonceStr,
-					// 				package: data.package,
-					// 				signType: data.signType,
-					// 				paySign: data.paySign,
-					// 				success: function (res) {
-					// 					console.log('success:' + JSON.stringify(res));
-					// 				},
-					// 				fail: function (err) {
-					// 					// Toast({
-					// 					// 	message:JSON.stringify(err),
-					// 					// 	overlay:true,
-					// 					// });
-					// 					console.log('fail:' + JSON.stringify(err));
-					// 				}
-					// 			});
-					// 		}
-							
-					// 	})
-					// }
-					
-					
-					
 				}else{
 					//console.log("去授权页",JSON.stringify(_this.data))
 					uni.redirectTo({

+ 44 - 0
project.config.json

@@ -0,0 +1,44 @@
+{
+  "appid": "wx40274c2aaec24330",
+  "compileType": "miniprogram",
+  "libVersion": "2.24.2",
+  "packOptions": {
+    "ignore": [],
+    "include": []
+  },
+  "setting": {
+    "urlCheck": true,
+    "coverView": true,
+    "es6": true,
+    "postcss": true,
+    "lazyloadPlaceholderEnable": false,
+    "preloadBackgroundData": false,
+    "minified": true,
+    "autoAudits": false,
+    "uglifyFileName": false,
+    "uploadWithSourceMap": true,
+    "enhance": true,
+    "useMultiFrameRuntime": true,
+    "showShadowRootInWxmlPanel": true,
+    "packNpmManually": false,
+    "packNpmRelationList": [],
+    "minifyWXSS": true,
+    "useStaticServer": true,
+    "showES6CompileOption": false,
+    "checkInvalidKey": true,
+    "babelSetting": {
+      "ignore": [],
+      "disablePlugins": [],
+      "outputPath": ""
+    },
+    "disableUseStrict": false,
+    "useCompilerPlugins": false,
+    "minifyWXML": true
+  },
+  "condition": {},
+  "editorSetting": {
+    "tabIndent": "insertSpaces",
+    "tabSize": 2
+  },
+  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
+}

+ 7 - 0
project.private.config.json

@@ -0,0 +1,7 @@
+{
+  "projectname": "DX-xcx",
+  "setting": {
+    "compileHotReLoad": true
+  },
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
+}

File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/amount/index.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/index.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/order/index.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/over/index.js.map


+ 2 - 2
unpackage/dist/dev/mp-weixin/app.json

@@ -1,10 +1,10 @@
 {
   "pages": [
     "pages/index/index",
+    "pages/order/index",
     "pages/over/index",
     "pages/login/index",
-    "pages/amount/index",
-    "pages/order/index"
+    "pages/amount/index"
   ],
   "subPackages": [],
   "window": {

File diff ditekan karena terlalu besar
+ 30 - 30
unpackage/dist/dev/mp-weixin/common/main.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/dev/mp-weixin/common/vendor.js


File diff ditekan karena terlalu besar
+ 51 - 104
unpackage/dist/dev/mp-weixin/pages/amount/index.js


File diff ditekan karena terlalu besar
+ 58 - 70
unpackage/dist/dev/mp-weixin/pages/index/index.js


File diff ditekan karena terlalu besar
+ 49 - 52
unpackage/dist/dev/mp-weixin/pages/login/index.js


File diff ditekan karena terlalu besar
+ 81 - 225
unpackage/dist/dev/mp-weixin/pages/order/index.js


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

@@ -1 +1 @@
-<view class="mianBox _div data-v-0ca91b30"><van-row class="contentBox data-v-0ca91b30" vue-id="3bc35b9e-1" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-row vue-id="{{('3bc35b9e-2')+','+('3bc35b9e-1')}}" data-com-type="wx" class="data-v-0ca91b30" bind:__l="__l" vue-slots="{{['default']}}"><van-col class="logo data-v-0ca91b30" vue-id="{{('3bc35b9e-3')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-image vue-id="{{('3bc35b9e-4')+','+('3bc35b9e-3')}}" width="75" height="75" src="{{$root.m0}}" data-com-type="wx" class="data-v-0ca91b30" bind:__l="__l"></van-image></van-col><van-col class="introduce data-v-0ca91b30" vue-id="{{('3bc35b9e-5')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">中国东信智慧园区平台</van-col><van-col class="money data-v-0ca91b30" vue-id="{{('3bc35b9e-6')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">{{data.money}}</van-col><van-col class="order_money data-v-0ca91b30" vue-id="{{('3bc35b9e-7')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">订单金额(元)</van-col></van-row><view class="pay_wrap _div data-v-0ca91b30"><van-button class="pay data-v-0ca91b30" vue-id="{{('3bc35b9e-8')+','+('3bc35b9e-1')}}" color="#F22E3C" data-event-opts="{{[['^tap',[['pay']]]]}}" data-com-type="wx" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">支付</van-button><block wx:if="{{data.userId}}"><button class="pay data-v-0ca91b30" open-type="launchApp" app-parameter="appData" data-event-opts="{{[['error',[['launchAppError',['$event']]]]]}}" binderror="__e">返回APP</button></block></view><van-toast vue-id="{{('3bc35b9e-9')+','+('3bc35b9e-1')}}" id="van-toast" data-com-type="wx" class="data-v-0ca91b30" bind:__l="__l"></van-toast></van-row></view>
+<view class="mianBox _div data-v-0ca91b30"><block wx:if="{{loading}}"><van-row class="contentBox data-v-0ca91b30" vue-id="3bc35b9e-1" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-row vue-id="{{('3bc35b9e-2')+','+('3bc35b9e-1')}}" data-com-type="wx" class="data-v-0ca91b30" bind:__l="__l" vue-slots="{{['default']}}"><van-col class="logo data-v-0ca91b30" vue-id="{{('3bc35b9e-3')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-image vue-id="{{('3bc35b9e-4')+','+('3bc35b9e-3')}}" width="75" height="75" src="{{$root.m0}}" data-com-type="wx" class="data-v-0ca91b30" bind:__l="__l"></van-image></van-col><van-col class="introduce data-v-0ca91b30" vue-id="{{('3bc35b9e-5')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">中国东信智慧园区平台</van-col><van-col class="money data-v-0ca91b30" vue-id="{{('3bc35b9e-6')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">{{data.money}}</van-col><van-col class="order_money data-v-0ca91b30" vue-id="{{('3bc35b9e-7')+','+('3bc35b9e-2')}}" span="24" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}">订单金额(元)</van-col></van-row><view class="pay_wrap _div data-v-0ca91b30"><van-button class="pay data-v-0ca91b30" vue-id="{{('3bc35b9e-8')+','+('3bc35b9e-1')}}" color="#F22E3C" data-event-opts="{{[['^tap',[['pay']]]]}}" data-com-type="wx" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">支付</van-button><block wx:if="{{data.userId}}"><button class="pay data-v-0ca91b30" open-type="launchApp" app-parameter="appData" data-event-opts="{{[['error',[['launchAppError',['$event']]]]]}}" binderror="__e">返回APP</button></block></view><van-toast vue-id="{{('3bc35b9e-9')+','+('3bc35b9e-1')}}" id="van-toast" data-com-type="wx" class="data-v-0ca91b30" bind:__l="__l"></van-toast></van-row></block></view>

File diff ditekan karena terlalu besar
+ 47 - 47
unpackage/dist/dev/mp-weixin/pages/over/index.js


+ 33 - 28
unpackage/dist/dev/mp-weixin/project.config.json

@@ -1,39 +1,44 @@
 {
-  "description": "项目配置文件",
+  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "packOptions": {
-    "ignore": []
+    "ignore": [],
+    "include": []
   },
   "setting": {
     "urlCheck": false,
-    "es6": true
+    "es6": true,
+    "coverView": true,
+    "postcss": true,
+    "lazyloadPlaceholderEnable": false,
+    "preloadBackgroundData": false,
+    "minified": true,
+    "autoAudits": false,
+    "uglifyFileName": false,
+    "uploadWithSourceMap": true,
+    "enhance": true,
+    "useMultiFrameRuntime": true,
+    "showShadowRootInWxmlPanel": true,
+    "packNpmManually": false,
+    "packNpmRelationList": [],
+    "minifyWXSS": true,
+    "useStaticServer": true,
+    "showES6CompileOption": false,
+    "checkInvalidKey": true,
+    "babelSetting": {
+      "ignore": [],
+      "disablePlugins": [],
+      "outputPath": ""
+    },
+    "disableUseStrict": false,
+    "useCompilerPlugins": false
   },
   "compileType": "miniprogram",
-  "libVersion": "",
+  "libVersion": "2.24.2",
   "appid": "wx40274c2aaec24330",
   "projectname": "dx",
-  "condition": {
-    "search": {
-      "current": -1,
-      "list": []
-    },
-    "conversation": {
-      "current": -1,
-      "list": []
-    },
-    "game": {
-      "current": -1,
-      "list": []
-    },
-    "miniprogram": {
-      "current": 0,
-      "list": [
-        {
-          "name": "",
-          "path": "",
-          "query": "",
-          "id": 0
-        }
-      ]
-    }
+  "condition": {},
+  "editorSetting": {
+    "tabIndent": "insertSpaces",
+    "tabSize": 2
   }
 }

+ 7 - 0
unpackage/dist/dev/mp-weixin/project.private.config.json

@@ -0,0 +1,7 @@
+{
+  "projectname": "dx",
+  "setting": {
+    "compileHotReLoad": true
+  },
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
+}

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini