视频圈点赞优化
This commit is contained in:
parent
9b3d6b9729
commit
c37845d422
|
@ -641,19 +641,21 @@
|
|||
},
|
||||
getVideo(){
|
||||
var that=this;
|
||||
console.log(that.parType);
|
||||
// 1.这里引入后端请求数据
|
||||
var data={
|
||||
parType:that.parType,
|
||||
userId: uni.getStorageSync('userId'),
|
||||
page: this.page,
|
||||
limit:4,
|
||||
}
|
||||
if(that.parType=='3'){
|
||||
data.longitude=that.longitude;
|
||||
data.latitude=that.latitude;
|
||||
}else{
|
||||
if(that.parType=='1'){
|
||||
data.longitude='';
|
||||
data.latitude='';
|
||||
}else if(that.parType=='2'){
|
||||
data.longitude=that.longitude;
|
||||
data.latitude=that.latitude;
|
||||
}else if(that.parType=='3'){
|
||||
data.gzrId = uni.getStorageSync('userId');
|
||||
}
|
||||
this.$Request.get("/app/shipinquan/list", data).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
|
|
@ -633,6 +633,7 @@
|
|||
var data={
|
||||
page: this.page,
|
||||
limit:this.limit,
|
||||
userId:uni.getStorageSync('userId')
|
||||
}
|
||||
this.$Request.get("/app/shipinquan/list", data).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
@ -654,6 +655,7 @@
|
|||
var data={
|
||||
page: this.page,
|
||||
limit:this.limit,
|
||||
userId:uni.getStorageSync('userId')
|
||||
}
|
||||
this.$Request.get("/app/shipinquan/list", data).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
|
Loading…
Reference in New Issue