From bd996de410d3d90e691091d4a3a712fe1296799a Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Mon, 3 Aug 2020 09:05:30 +0800
Subject: [PATCH 1/2] goeasy
---
components/index/zhibo-item/index.vue | 7 +-
pages.json | 15 +-
pages/index/index.vue | 4 +-
{pageB => pages}/zhibo/index.nvue | 131 +++++++++++-
static/chatservice.js | 276 ++++++++++++++++++++++++++
static/danmu.png | Bin 0 -> 1188 bytes
static/goeasy-im-1.0.9.js | 2 +
7 files changed, 422 insertions(+), 13 deletions(-)
rename {pageB => pages}/zhibo/index.nvue (71%)
create mode 100644 static/chatservice.js
create mode 100644 static/danmu.png
create mode 100644 static/goeasy-im-1.0.9.js
diff --git a/components/index/zhibo-item/index.vue b/components/index/zhibo-item/index.vue
index f7e7c4e..880a107 100644
--- a/components/index/zhibo-item/index.vue
+++ b/components/index/zhibo-item/index.vue
@@ -74,14 +74,15 @@ export default {
methods:{
zhibo(){
this.$u.route({
- url:"/pageB/zhibo/index",
+ url:"/pages/zhibo/index",
params:{
url:this.url,
- id:this.zid
+ id:this.zid,
+ rid:this.rid
}
})
}
},
- props:['name','image','url','zid']
+ props:['name','image','url','zid','rid']
}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 985e461..093f209 100644
--- a/pages.json
+++ b/pages.json
@@ -80,13 +80,7 @@
{
"root": "pageB",
"pages": [
- {
- "path": "zhibo/index",
- "style": {
- "navigationStyle": "custom"
-
- }
- },
+
{
"path": "follow/index",
"style": {
@@ -871,6 +865,13 @@
"navigationStyle": "custom"
}
},
+ {
+ "path": "pages/zhibo/index",
+ "style": {
+ "navigationStyle": "custom"
+
+ }
+ },
{
"path": "pages/index/index",
"style": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index ff5aaa2..7589dc2 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -39,10 +39,10 @@