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