diff --git a/App.vue b/App.vue
index 5a54d7e..e0c8d03 100644
--- a/App.vue
+++ b/App.vue
@@ -12,7 +12,7 @@
url: 'https://hsgcs.dctpay.com/crest',
brestUrl : 'https://hsgcs.dctpay.com/brest',
imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
-
+ imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
userInfo: "",
brestUserInfo : '',
openId: '',
diff --git a/Utils/Api.js b/Utils/Api.js
index e7ad43c..8a9f8f7 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -144,6 +144,10 @@ export const getGasDetailByStoreKey = params => {
export const getDredgeProvince = params => {
return POST('GET', `${base}/common/getDredgeProvince`, params).then(res => res.data);
}
+//获取cms
+export const getCmsContent = params => {
+ return POST('GET', `${base}/cmsContent/getCmsContent`, params).then(res => res.data);
+}
/**
@@ -156,10 +160,13 @@ export const getTPigKFCToken = params => {
export const getTPigCinemaToken = params => {
return POST('GET', `${base}/tPig/getTPigCinemaToken`, params).then(res => res.data);
}
-
export const qzOrderToPay = params => {
return POST('POST', `${base}/order/qzOrderToPay`, params).then(res => res.data);
}
+//取消订单
+export const cancelOrderByOrderNo = params => {
+ return POST('GET', `${base}/highOrder/cancelOrderByOrderNo`, params).then(res => res.data);
+}
/**
* H5 获取用户信息
diff --git a/pages copy.json b/pages copy.json
index aec8c41..e63ff10 100644
--- a/pages copy.json
+++ b/pages copy.json
@@ -162,14 +162,6 @@
"backgroundColorTop": "#ffffff",
"backgroundColorBottom": "#f3f3f3"
}
- }, {
- "path": "pages/user/myQR/myQR",
- "style": {
- "navigationBarTitleText": "我的二维码",
- "app-plus": {
- "bounce": "none"
- }
- }
}, {
"path": "pages/user/coupon/coupon",
"style": {
@@ -230,16 +222,7 @@
"backgroundColorTop": "#ffffff",
"backgroundColorBottom": "#ffffff"
}
- }, {
- "path": "pages/goods/ratings/ratings",
- "style": {
- "navigationBarTitleText": "商品评论",
- "enablePullDownRefresh": true,
- "onReachBottomDistance": 50,
- "backgroundColorTop": "#ffffff",
- "backgroundColorBottom": "#ffffff"
- }
- },
+ },
{
"path": "pages/goods/store-list/store-details",
"style": {
diff --git a/pages.json b/pages.json
index b23f753..72ff2aa 100644
--- a/pages.json
+++ b/pages.json
@@ -227,17 +227,6 @@
"navigationBarTextStyle": "white",
"backgroundColorBottom": "#f3f3f3"
}
- }, {
- "path": "pages/user/myQR/myQR",
- "style": {
- "navigationBarTitleText": "我的二维码",
- "navigationBarBackgroundColor": "#0083f5",
- "backgroundColorTop": "#0083f5",
- "navigationBarTextStyle": "white",
- "app-plus": {
- "bounce": "none"
- }
- }
}, {
"path": "pages/msg/msg",
"style": {
@@ -307,15 +296,6 @@
"backgroundColorTop": "#ffffff",
"backgroundColorBottom": "#ffffff"
}
- }, {
- "path": "pages/goods/ratings/ratings",
- "style": {
- "navigationBarTitleText": "商品评论",
- "enablePullDownRefresh": true,
- "onReachBottomDistance": 50,
- "backgroundColorTop": "#ffffff",
- "backgroundColorBottom": "#ffffff"
- }
},
{
"path": "pages/goods/store-list/store-details",
@@ -440,7 +420,16 @@
}
}
- ],
+ ,{
+ "path" : "pages/tabBar/order/webUrl/webUrl",
+ "style" :
+ {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
"globalStyle": {
"navigationBarTextStyle": "black",
diff --git a/pages/goods/coupon-details/coupon-details.vue b/pages/goods/coupon-details/coupon-details.vue
index 6b1b1a6..8a16313 100644
--- a/pages/goods/coupon-details/coupon-details.vue
+++ b/pages/goods/coupon-details/coupon-details.vue
@@ -39,7 +39,7 @@
-
+
{{store.distance}}km
@@ -62,6 +62,8 @@
return {
couDesId: '',
imageUrl: app.globalData.imgUrl,
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'noorder.png',
couponDesInfo: [],
storeList: [],
oneTime: '',
diff --git a/pages/goods/externalCoupon/externalCoupon.vue b/pages/goods/externalCoupon/externalCoupon.vue
index 7620b3c..e2802e4 100644
--- a/pages/goods/externalCoupon/externalCoupon.vue
+++ b/pages/goods/externalCoupon/externalCoupon.vue
@@ -19,7 +19,7 @@
去使用
-
+
-
+
-
+
@@ -19,117 +19,73 @@
-
-
+
+
+
+
+
- 报税区直发发生的发生山东省丰盛的但是
- 限购5件
-
+ {{row.couponName}}
+ 限购{{row.limitNumber}}件
+
-
+
- 200
+ {{ row.discountPrice*100}}
-
-
-
- 100
-
-
-
-
-
-
-
-
- 报税区直发发生的发生山东省丰盛的但是
- 限购5件
-
-
-
-
- 200
+
+ ¥ {{ row.discountPrice*100}}
-
-
+
- 100
-
-
-
-
-
-
-
-
- 报税区直发发生的发生山东省丰盛的但是
- 限购5件
-
-
-
-
- 200
-
-
-
-
- 100
-
-
-
-
-
-
-
-
- 报税区直发发生的发生山东省丰盛的但是
- 限购5件
-
-
-
-
- 200
-
-
-
-
- 100
+ ¥{{ row.salesPrice*100}}
+
-
-
diff --git a/pages/goods/recording/recording.vue b/pages/goods/recording/recording.vue
index c4f4c31..a03ec4f 100644
--- a/pages/goods/recording/recording.vue
+++ b/pages/goods/recording/recording.vue
@@ -2,7 +2,7 @@
-
+
@@ -30,11 +30,14 @@
import {
getUserGoldRecList
} from '../../../Utils/Api.js';
+ let app = getApp();
export default {
data() {
return {
typeId: '',
recordInfo: [],
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'noorder.png',
pageNum: 1,
pageSize: 10,
isNoMoreData: false,
diff --git a/pages/goods/refuel-details/refuel-details.vue b/pages/goods/refuel-details/refuel-details.vue
index 9aa126e..3134b09 100644
--- a/pages/goods/refuel-details/refuel-details.vue
+++ b/pages/goods/refuel-details/refuel-details.vue
@@ -8,7 +8,7 @@
{{storeList.gasAddress}}
-
+
{{storeList.distance}}km
@@ -21,7 +21,7 @@
{{oilNo}}
-
+
平台价
@@ -44,18 +44,18 @@
选择油号
-
+
{{oilNo}}
-
+
选择油枪
-
+
{{gunNo}}号
-
+
@@ -132,6 +132,11 @@
},
data() {
return {
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'dhl.png',
+ imgadres2:'xiala.png',
+ imgadres1:'yhl.png',
+ imgadres3:'yql.png',
detailList: [],
gunnumber: [],
user: '',
diff --git a/pages/goods/refuel-succes/refuel-succes.vue b/pages/goods/refuel-succes/refuel-succes.vue
index f890f71..e44f269 100644
--- a/pages/goods/refuel-succes/refuel-succes.vue
+++ b/pages/goods/refuel-succes/refuel-succes.vue
@@ -1,17 +1,17 @@
-
+
已支付
¥{{orderInfo.payPrice}}
-
+
-
+
加油订单
@@ -78,10 +78,15 @@
import {
getOrderById
} from '../../../Utils/Api.js';
+ let app = getApp();
export default {
data() {
return {
orderInfo: '',
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'succes.png',
+ imgadres1:'suline1.png',
+ imgadres2:'suline2.png',
orderNo : ''
}
},
diff --git a/pages/goods/refuel/refuel.vue b/pages/goods/refuel/refuel.vue
index 3fc64b5..04fb159 100644
--- a/pages/goods/refuel/refuel.vue
+++ b/pages/goods/refuel/refuel.vue
@@ -1,7 +1,7 @@
-
+
-
+
@@ -42,6 +42,8 @@
data() {
return {
phoneNumber: "",
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'wx.png',
code: '',
passwd: "",
getCodeText: '获取验证码',
diff --git a/pages/pay/payment/payment.vue b/pages/pay/payment/payment.vue
index 1b3f160..5b029a7 100644
--- a/pages/pay/payment/payment.vue
+++ b/pages/pay/payment/payment.vue
@@ -37,7 +37,7 @@
-
+
微信支付
@@ -74,6 +74,8 @@
return {
amount: 0,
orderName: '',
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'wxpay.png',
pryType: '',
paytype: '', //支付类型
orderNo: '',
diff --git a/pages/qianZhuPay/qianZhuPay.vue b/pages/qianZhuPay/qianZhuPay.vue
index 9a61c5c..723760c 100644
--- a/pages/qianZhuPay/qianZhuPay.vue
+++ b/pages/qianZhuPay/qianZhuPay.vue
@@ -1,12 +1,13 @@
-
+
diff --git a/pages/tabBar/order/webUrl/webUrl.vue b/pages/tabBar/order/webUrl/webUrl.vue
new file mode 100644
index 0000000..bebcf32
--- /dev/null
+++ b/pages/tabBar/order/webUrl/webUrl.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/user/user.vue b/pages/tabBar/user/user.vue
index 51c728e..750e4f1 100644
--- a/pages/tabBar/user/user.vue
+++ b/pages/tabBar/user/user.vue
@@ -9,7 +9,7 @@
-
+
@@ -76,7 +76,7 @@
-
+
{{row.text}}
@@ -96,12 +96,12 @@
-
+
{{row.text}}
{{row.text}}
@@ -128,6 +128,8 @@
data() {
return {
isfirst: true,
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'head.png',
headerPosition: "fixed",
textnum: '',
textSend: '',
@@ -161,45 +163,45 @@
mytoolbarList: [{
url: '/pages/goods/recording/recording?id=1',
text: '充值记录',
- img: '/static/img/user/mingxi.png'
+ img: 'user/mingxi.png'
},
{
url: '/pages/goods/recording/recording?id=2',
text: '消费记录',
- img: '/static/img/user/quan.png'
+ img: 'user/quan.png'
},
{
url: '/pages/user/mineCoupons/mineCoupons',
text: '我的卡券',
- img: '/static/img/user/choujiang.png'
+ img: 'user/choujiang.png'
},
{
url: '../../user/coupon/coupon',
text: '我的优惠券',
- img: '/static/img/user/momey.png'
+ img: 'user/momey.png'
}
],
// 推广列表
mytgbarList: [{
url: '',
text: '客服',
- img: '/static/img/user/kefu.png'
+ img: 'user/kefu.png'
},
{
url: '../../login/login?id=1',
text: '商户入口',
- img: '/static/img/user/point.png'
+ img: 'user/point.png'
},
{
url: '../../login/login?id=2',
text: '我的推广',
- img: '/static/img/user/renw.png'
+ img: 'user/renw.png'
}
// ,
// {
// url: '/pages/user/Charge/Charge',
// text: '充话费',
- // img: '/static/img/user/bank.png'
+ // img: 'user/bank.png'
// }
]
}
@@ -320,11 +322,6 @@
// url: '../../user/setting/setting'
// })
// },
- toMyQR() {
- uni.navigateTo({
- url: '../../user/myQR/myQR'
- })
- },
toLogin() {
uni.showToast({
title: '请登录',
diff --git a/pages/user/agentCoupons/agentCoupons.vue b/pages/user/agentCoupons/agentCoupons.vue
index 2adff49..98d9103 100644
--- a/pages/user/agentCoupons/agentCoupons.vue
+++ b/pages/user/agentCoupons/agentCoupons.vue
@@ -1,7 +1,7 @@
-
+
-
+
@@ -50,7 +50,7 @@
-
+
@@ -100,11 +100,14 @@
import {
getUserDiscountList
} from '../../../Utils/Api.js';
+ let app = getApp();
export default {
data() {
return {
couponValidList: [],
couponinvalidList: [],
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'noorder.png',
headerTop: 0,
//控制滑动效果
typeClass: 'valid',
diff --git a/pages/user/deposit/deposit.vue b/pages/user/deposit/deposit.vue
index ed7bf51..862013f 100644
--- a/pages/user/deposit/deposit.vue
+++ b/pages/user/deposit/deposit.vue
@@ -49,7 +49,7 @@
-->
-
+
微信支付
@@ -88,6 +88,8 @@
amountList: [10, 50, 100], //预设3个可选快捷金额
paytype: 'wxpay', //支付类型
user: "",
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'wxpay.png'
};
},
onLoad() {
diff --git a/pages/user/mineCoupons/mineCoupons.vue b/pages/user/mineCoupons/mineCoupons.vue
index 6b50c39..0e19163 100644
--- a/pages/user/mineCoupons/mineCoupons.vue
+++ b/pages/user/mineCoupons/mineCoupons.vue
@@ -7,7 +7,7 @@
-
+
@@ -45,6 +45,8 @@
businType: ['未使用', '已使用','已过期'],
tabbarIndex: 0,
imageUrl: app.globalData.imgUrl,
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'noorder.png',
productList: [],
pageNum: 1,
pageSize: 10,
diff --git a/pages/user/mineCouponsDestails/mineCouponsDestails.vue b/pages/user/mineCouponsDestails/mineCouponsDestails.vue
index 28ea4d3..539ee8b 100644
--- a/pages/user/mineCouponsDestails/mineCouponsDestails.vue
+++ b/pages/user/mineCouponsDestails/mineCouponsDestails.vue
@@ -16,7 +16,7 @@
可购买的商品
-
+
-
+
@@ -64,7 +64,7 @@
-
+
@@ -96,10 +96,13 @@
import {
getAgentCount
} from "../../../Utils/Api.js";
+ let app = getApp();
export default {
data() {
return {
minepros: [],
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'wenj.png',
agentList :[]
}
},
diff --git a/pages/user/myQR/myQR.vue b/pages/user/myQR/myQR.vue
deleted file mode 100644
index 61c2aa0..0000000
--- a/pages/user/myQR/myQR.vue
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
- 扫描二维码,加我好友
-
-
- {{tis}}
-
-
-
-
-
-
-
-
diff --git a/pages/user/order_details/order_details.vue b/pages/user/order_details/order_details.vue
index 2f4eb67..0c6d408 100644
--- a/pages/user/order_details/order_details.vue
+++ b/pages/user/order_details/order_details.vue
@@ -22,7 +22,8 @@
{{rec.goodsSpecName}}
赠品
- ¥{{rec.goodsPrice}}
+ ¥{{rec.goodsActualPrice}} 数量:{{rec.saleCount}}
@@ -103,7 +104,7 @@
- 实付金额 :
+ 应付金额 :
¥{{recinfo.payPrice}}
@@ -114,6 +115,19 @@
{{recinfo.payPrice*100}}
+
+
+ 实付金额 :
+
+
+ ¥{{recinfo.payRealPrice}}
+
+
+
+ {{recinfo.payRealPrice*100}}
+
+
优惠金额 :
@@ -295,7 +309,7 @@
},
methods: {
toGoods(e, item) {
- if (item != 2) {
+ if (item != 2 && item != 4 && item != 5) {
uni.navigateTo({
url: '../../goods/goods?id=' + e
});
@@ -507,6 +521,7 @@
-webkit-line-clamp: 2;
// text-align: justify;
overflow: hidden;
+ max-height: 40px;
}
.spec {
@@ -664,4 +679,4 @@
}
}
}
-
+
diff --git a/pages/user/order_list/order_list.vue b/pages/user/order_list/order_list.vue
index 6c00938..13e449a 100644
--- a/pages/user/order_list/order_list.vue
+++ b/pages/user/order_list/order_list.vue
@@ -10,7 +10,7 @@
-
+
{{typeText[row.orderStatus]}}
@@ -94,6 +94,8 @@
data() {
return {
headerPosition: "fixed",
+ imagewxUrl: app.globalData.imageWxImg,
+ imgadres:'noorder.png',
headerTop: "0px",
typeText: {
1: '等待付款',
diff --git a/pages/user/runningWater/runningWater.vue b/pages/user/runningWater/runningWater.vue
index 3204737..a307c5e 100644
--- a/pages/user/runningWater/runningWater.vue
+++ b/pages/user/runningWater/runningWater.vue
@@ -22,7 +22,7 @@
-
+