diff --git a/README.md b/README.md index b194621..3532314 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # 使用说明 -## Hbuilderx(ps:因HBuilderX经常会更新,如无必要请勿更新HBuilderX为2.7.5及以上) +## Hbuilderx -- 目前已知 HBuilderX v2.7.5 版本不支持 :class 里面写 object 和 arraw +- 已支持HBuilderX最新版 ## 小程序安装步骤 - 先从私服上clone下来项目 @@ -13,12 +13,14 @@ - uni会自动打开微信开发者工具并且打开uni的项目 ## 注意事项 +- 目前并不支持H5运行,需要运行H5模式的,请自行调整兼容 - manifest.json 中可以配置uni项目的一些信息 - 打开manifest.json可配置小程序的 appid - 由于需要兼容app,公共样式由 main.js 迁移到了 App.vue,公共样式请在App.vue中进行编辑 - 由于需要兼容app,尺寸单位由之前的rem改为rpx,由于修改样式工作量太大并且容易出错,已将.css更改为.less并在其中以之前rem的单位*100,获得新的rpx单位 - 如需修改样式问题,请编辑.less的文件,请勿编辑.css的文件 + ## 声明 - app测试版已上,请通过 `https://www.pgyer.com/yRYf` 安装测试。 - 运行app项目ios需要安装xcode,安卓需要装安卓的sdk以及安卓模拟器,建议安卓安装genymotion https://www.genymotion.com/ 登录时可选择私人使用,勾选后无需付费 diff --git a/components/GoodList.vue b/components/GoodList.vue index 18c5cce..13f4bfb 100644 --- a/components/GoodList.vue +++ b/components/GoodList.vue @@ -20,7 +20,7 @@ - + diff --git a/libs/order.js b/libs/order.js index 57db3e9..3082833 100644 --- a/libs/order.js +++ b/libs/order.js @@ -76,6 +76,8 @@ export function payOrderHandle(orderId, type, from) { uni.showLoading({ title: '加载中' }) payOrder(orderId, type, from) .then(res => { + console.log(res) + console.log('微信支付参数') const data = res.data; uni.hideLoading() switch (data.status) { diff --git a/manifest.json b/manifest.json index f1a422f..599c5b4 100644 --- a/manifest.json +++ b/manifest.json @@ -11,7 +11,7 @@ "nvueCompiler" : "uni-app", "compilerVersion" : 3, "splashscreen" : { - "alwaysShowBeforeRender" : false, + "alwaysShowBeforeRender" : true, "waiting" : false, "autoclose" : true, "delay" : 0 @@ -59,22 +59,24 @@ "weixin" : { "appid" : "wx7c84ede33062d1e4", "appsecret" : "c47ef66d3311194da44e60387d5c1abd", - "UniversalLinks" : "" + "UniversalLinks" : "https://yixiang.co/app/" } }, "payment" : { "weixin" : { "appid" : "wx7c84ede33062d1e4", - "UniversalLinks" : "" + "UniversalLinks" : "https://yixiang.co/app/" } }, "share" : { "weixin" : { "appid" : "wx7c84ede33062d1e4", - "UniversalLinks" : "" + "UniversalLinks" : "https://yixiang.co/app/" } }, - "ad" : {} + "ad" : { + "csj" : {} + } }, "splashscreen" : { "ios" : { diff --git a/pages/order/OrderDetails/index.vue b/pages/order/OrderDetails/index.vue index 37dc9d0..eb38893 100644 --- a/pages/order/OrderDetails/index.vue +++ b/pages/order/OrderDetails/index.vue @@ -4,9 +4,7 @@ {{ orderInfo._status._msg }} - - {{ orderInfo.createTime }} - + {{ orderInfo.createTime }}