diff --git a/gasStation-uni/pages/index/index.vue b/gasStation-uni/pages/index/index.vue
index 0a6a80d64..acc49d624 100644
--- a/gasStation-uni/pages/index/index.vue
+++ b/gasStation-uni/pages/index/index.vue
@@ -201,7 +201,7 @@
getUserAuthority() {
let _this = this;
// this.getAddress();
-
+
wx.getSetting({
success(res) {
if (!res.authSetting['scope.userLocation']) {
@@ -234,8 +234,8 @@
}).then((response) => {
_this.store = response.data
let welfare = response.data.welfare
- uni.setStorageSync("storeId",response.data.id)
- uni.setStorageSync("chainStoreId",response.data.chainStoreId)
+ uni.setStorageSync("storeId", response.data.id)
+ uni.setStorageSync("chainStoreId", response.data.chainStoreId)
if (welfare != undefined && welfare != null && welfare != "") {
if (welfare.includes(",")) {
_this.welfare = response.data.welfare.split(",")
@@ -271,7 +271,7 @@
_this.distance = (Math.ceil(response.data.distance)).toFixed(1)
_this.store = response.data.store
uni.setStorageSync("storeId", response.data.store.id)
- uni.setStorageSync("chainStoreId",response.data.store.chainStoreId)
+ uni.setStorageSync("chainStoreId", response.data.store.chainStoreId)
let welfare = response.data.store.welfare
if (welfare != undefined && welfare != null && welfare != "") {
if (welfare.includes(",")) {
@@ -281,15 +281,16 @@
}
}
})
-
+
uni.showToast({
- title:"获取位置信息成功"
+ title: "获取位置信息成功",
+ icon: "none"
})
},
fail: function(err) {
_this.getStore(2);
uni.showToast({
- title:"获取位置信息失败"
+ title: "获取位置信息失败"
})
console.log('获取位置信息失败: ' + err.errMsg);
}
diff --git a/gasStation-uni/pagesHome/RechargeRecords/RechargeRecords.vue b/gasStation-uni/pagesHome/RechargeRecords/RechargeRecords.vue
new file mode 100644
index 000000000..54773dfc6
--- /dev/null
+++ b/gasStation-uni/pagesHome/RechargeRecords/RechargeRecords.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue
index 1014215fb..4591bebf4 100644
--- a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue
+++ b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue
@@ -32,128 +32,129 @@
{{index+1}}.{{item || "" }}
+
+ 推荐员工
+
+
+
+
+
+
+
+
+
+
+ 立即充值
+
+
+ 充值记录
+
+
+
+
+ 服务说明
+ 1.该服务为储蓄卡直充服务,仅限本站使用
+ 2.请确认充值类型正确后再付款,一经充值不支持退款;
+
+
+
+
+
+
+
+
+ 油品:{{item.type}}
+
+ 油号:{{item.oilType}}
+
+ 单价¥{{item.incomeLitres}}元/升
+ 总价¥{{item.rechargeBalance}}元
+
+ 升数:{{item.incomeLitres}}L
+
+
+
+
+
+
+ 充值{{text}}元权益
+
+ {{index+1}}.{{item || "" }}
+
+
推荐员工
-
-
-
-
-
- 立即充值
-
-
- 充值记录
-
-
-
- 服务说明
- 1.该服务为储蓄卡直充服务,仅限本站使用
- 2.请确认充值类型正确后再付款,一经充值不支持退款;
-
-
+
+
+
+ 立即充值
+
+
+ 充值记录
+
+
+
+ 服务说明
+ 1.该服务为储蓄卡直充服务,仅限本站使用
+ 2.请确认充值类型正确后再付款,一经充值不支持退款;
+
+
-
-
-
-
- 油品:{{item.type}}
-
- 油号:{{item.oilType}}
-
- 单价¥{{item.incomeLitres}}元/升
- 总价¥{{item.rechargeBalance}}元
-
- 升数:{{item.incomeLitres}}L
-
-
-
-
-
-
- 充值{{text}}元权益
-
- {{index+1}}.{{item || "" }}
-
-
-
- 推荐员工
-
-
-
-
-
-
-
-
-
- 立即充值
-
-
- 充值记录
-
-
-
-
- 服务说明
- 1.该服务为储蓄卡直充服务,仅限本站使用
- 2.请确认充值类型正确后再付款,一经充值不支持退款;
-
-
-
卡号
-
+
- 卡密
-
+ 卡密
+
-
-
- 立即兑换
-
-
- 兑换记录
-
-
+
+
+ 立即兑换
+
+
+ 兑换记录
+
+
-
- 服务说明
- 1.该服务为储蓄卡直充服务,仅限本站使用
- 2.请确认充值类型正确后再付款,一经充值不支持退款;
-
-
+
+ 服务说明
+ 1.该服务为储蓄卡直充服务,仅限本站使用
+ 2.请确认充值类型正确后再付款,一经充值不支持退款;
+
+
-
-
+
+
@@ -454,8 +466,8 @@
.s-title {
width: 100%;
text-align: center;
- font-size: 12px;
- font-weight: bold;
+ font-size: 12px;
+ font-weight: bold;
}
.min-size {
@@ -501,4 +513,4 @@
width: 20%;
}
-
+
\ No newline at end of file