支付成功
This commit is contained in:
@@ -231,7 +231,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
timersetInterval:'0', //定时器
|
||||
timersetInterval: '0', //定时器
|
||||
isFixedTop: false, //吸顶是否显示
|
||||
Topdistance: 3000, //吸顶初始距离
|
||||
keyword: '',
|
||||
@@ -280,7 +280,7 @@
|
||||
},
|
||||
onHide() {
|
||||
this.timersetInterval = '1'
|
||||
|
||||
|
||||
},
|
||||
computed: {
|
||||
HeighT() { //手机类型的尺寸
|
||||
@@ -335,7 +335,7 @@
|
||||
// 首页上面数据
|
||||
async hometop() {
|
||||
try {
|
||||
let res = await this.apix.homehomePageUp()
|
||||
let res = await this.api.homehomePageUp()
|
||||
this.hometoplist = res.data
|
||||
} catch (e) {}
|
||||
},
|
||||
@@ -344,8 +344,8 @@
|
||||
this.homelist = []
|
||||
this.form = {
|
||||
address: '西安市', //地址
|
||||
lng:'108.949158',
|
||||
lat:'34.301731',
|
||||
lng: '108.949158',
|
||||
lat: '34.301731',
|
||||
type: '', //品类
|
||||
orderBy: 0, //1.理我最近 2.销量优先 3.价格优先
|
||||
other: '', //附近1KM 1选中 0不选中
|
||||
@@ -357,7 +357,7 @@
|
||||
},
|
||||
async onLoadhome() {
|
||||
try {
|
||||
let res = await this.apix.home(this.form)
|
||||
let res = await this.api.home(this.form)
|
||||
var dates = new Date().getTime();
|
||||
res.data.forEach((item, index) => {
|
||||
var leftTime = item.endTime - dates; //计算两日期之间相差的毫秒数
|
||||
@@ -398,7 +398,7 @@
|
||||
async viewHistory(item, index) {
|
||||
this.viewHistoryindex = index
|
||||
if (item.dictName == 'allCity') {
|
||||
let res = await this.apix.locationdistrict({
|
||||
let res = await this.api.locationdistrict({
|
||||
keywords: '西安市'
|
||||
})
|
||||
this.clickhometoplistmenulist = res.data[0]
|
||||
@@ -453,7 +453,10 @@
|
||||
console.log(category);
|
||||
this.hometoplist.menu[this.viewHistoryindex].name = category.name
|
||||
this.showproductlist = false
|
||||
this.form.address = category.center
|
||||
console.log(category.center.split(','))
|
||||
let res = category.center.split(',')
|
||||
this.form.lng = res[0]
|
||||
this.form.lat = res[1]
|
||||
this.form.page = 1
|
||||
this.form.size = 10
|
||||
this.form.status = 'loadmore'
|
||||
|
||||
Reference in New Issue
Block a user