From db413baf43df8458c159009bf8031649157e7e4e Mon Sep 17 00:00:00 2001
From: lnn19986213 <1667908750@qq.com>
Date: Sat, 9 Sep 2023 17:20:04 +0800
Subject: [PATCH] gx
---
src/pages.json | 3 +-
src/pagesD/xskz/details.vue | 5 +-
src/pagesD/xskz/index.vue | 449 +++++++++++++++++++-----------------
src/request/interface.js | 4 +-
4 files changed, 238 insertions(+), 223 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index ac5f8c6..cb7756d 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -669,7 +669,8 @@
"path": "xskz/index",
"style": {
"navigationBarTitleText": "线上看展",
- "enablePullDownRefresh": false,
+ "enablePullDownRefresh": true,
+ "onReachBottomDistance": 20,
"usingComponents": {
// #ifdef MP-WEIXIN
"player-component": "plugin://player/video"
diff --git a/src/pagesD/xskz/details.vue b/src/pagesD/xskz/details.vue
index 7533d16..da6692c 100644
--- a/src/pagesD/xskz/details.vue
+++ b/src/pagesD/xskz/details.vue
@@ -1,7 +1,8 @@
-
@@ -65,9 +66,9 @@
.then((res) => {
if (res.code == 200) {
this.type = res.data.type
+ this.cover = res.data.cover
if (this.type == 'locality') {
this.file = res.data.file
- console.log(111)
// this.getvideo(res.data.id)
} else if (this.type == 'tencent' && this.isWx) {
let path = res.data.linkPath.split('/')
diff --git a/src/pagesD/xskz/index.vue b/src/pagesD/xskz/index.vue
index a0478cc..df63be1 100644
--- a/src/pagesD/xskz/index.vue
+++ b/src/pagesD/xskz/index.vue
@@ -38,253 +38,266 @@
\ No newline at end of file
diff --git a/src/request/interface.js b/src/request/interface.js
index 6aa278d..f9c0845 100644
--- a/src/request/interface.js
+++ b/src/request/interface.js
@@ -5,9 +5,9 @@
export default {
config: {
- baseUrl: "http://192.168.1.20:8080/h5/api", //俞燕红-小程序不能配跨域
+ // baseUrl: "http://192.168.1.20:8080/h5/api", //俞燕红-小程序不能配跨域
// baseUrl: "/pre", //俞燕红-跨域
- // baseUrl: "https://yxx.ydool.net/h5/api", //线上
+ baseUrl: "https://yxx.ydool.net/h5/api", //线上
// baseUrl: "/h5/api", //h5
header: {
'Content-Type': 'application/json;charset=UTF-8',