|
@@ -641,7 +641,7 @@ export default {
|
|
|
lng: '',
|
|
lng: '',
|
|
|
shopName: '',
|
|
shopName: '',
|
|
|
page: 1,
|
|
page: 1,
|
|
|
- limit: 50,
|
|
|
|
|
|
|
+ limit: 10,
|
|
|
total: 0,
|
|
total: 0,
|
|
|
evaluatePage: 1,
|
|
evaluatePage: 1,
|
|
|
evaluateLimit: 10,
|
|
evaluateLimit: 10,
|
|
@@ -719,7 +719,7 @@ export default {
|
|
|
uni.getLocation({
|
|
uni.getLocation({
|
|
|
type: 'gcj02', //返回可以用于uni.openLocation的经纬度
|
|
type: 'gcj02', //返回可以用于uni.openLocation的经纬度
|
|
|
success: (res) => {
|
|
success: (res) => {
|
|
|
- console.log(res, '经纬度')
|
|
|
|
|
|
|
+ // console.log(res, '经纬度')
|
|
|
this.lat = res.latitude
|
|
this.lat = res.latitude
|
|
|
this.lng = res.longitude
|
|
this.lng = res.longitude
|
|
|
this.getData()
|
|
this.getData()
|
|
@@ -920,6 +920,7 @@ export default {
|
|
|
page: this.page,
|
|
page: this.page,
|
|
|
limit: this.limit
|
|
limit: this.limit
|
|
|
}
|
|
}
|
|
|
|
|
+ // console.log(data)
|
|
|
this.$Request.get('/app/goods/selectGoodsList', data).then((res) => {
|
|
this.$Request.get('/app/goods/selectGoodsList', data).then((res) => {
|
|
|
console.log(res, '999')
|
|
console.log(res, '999')
|
|
|
if (res.code == 0 && res.data) {
|
|
if (res.code == 0 && res.data) {
|
|
@@ -928,7 +929,8 @@ export default {
|
|
|
this.total = res.data.total
|
|
this.total = res.data.total
|
|
|
|
|
|
|
|
for (let i = 0, len = this.dataList.length; i < len; i++) {
|
|
for (let i = 0, len = this.dataList.length; i < len; i++) {
|
|
|
- this.$set(this.dataList[i], 'id', i)
|
|
|
|
|
|
|
+ // this.$set(this.dataList[i], 'id', i)
|
|
|
|
|
+ this.dataList[i].id = i
|
|
|
}
|
|
}
|
|
|
console.log(this.dataList)
|
|
console.log(this.dataList)
|
|
|
|
|
|