diff --git a/pages.json b/pages.json
index ec53671..ed19371 100644
--- a/pages.json
+++ b/pages.json
@@ -1193,6 +1193,13 @@
"enablePullDownRefresh": true,
"navigationBarTitleText": "商家教程"
}
+ },{
+ "path": "lookVideo",
+ "style": {
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "观看视频"
+ }
}]
},
{
diff --git a/pages/merchantTutorial/lookVideo.vue b/pages/merchantTutorial/lookVideo.vue
new file mode 100644
index 0000000..0d8e360
--- /dev/null
+++ b/pages/merchantTutorial/lookVideo.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/merchantTutorial/tutorial.vue b/pages/merchantTutorial/tutorial.vue
index 7135283..f97a14f 100644
--- a/pages/merchantTutorial/tutorial.vue
+++ b/pages/merchantTutorial/tutorial.vue
@@ -27,7 +27,7 @@
{{a.course_name}}
- {{a.course_detail}}
+ {{a.course_subheading}}
@@ -104,10 +104,13 @@
},
onLookCord(url) {
if (url) {
- this.show = true;
- let videoContext = wx.createVideoContext('myVideo')
- videoContext.seek(0);
- this.video_url = url
+ uni.navigateTo({
+ url: "/pages/merchantTutorial/lookVideo?url=" + url
+ })
+ // this.show = true;
+ // let videoContext = wx.createVideoContext('myVideo')
+ // videoContext.seek(0);
+ // this.video_url = url
} else {
this.$toast('暂无可观看的视频')
}
@@ -229,8 +232,8 @@
border-radius: 28rpx;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(250, 177, 173, 0.07) 59.66%, rgba(243, 74, 64, 0.06) 100%);
display: flex;
- align-items: center;
- padding: 30rpx 20rpx;
+ // align-items: center;
+ padding: 20rpx;
margin-bottom: 50rpx;
.look {
@@ -282,12 +285,13 @@
/* 超出部分显示省略号 */
white-space: normal;
/* 使用正常的白空格处理方式,允许换行 */
+ margin-top: 5rpx;
}
.subtitle {
margin-top: 10rpx;
/** 文本1 */
- font-size: 26rpx;
+ font-size: 28rpx;
font-weight: 400;
letter-spacing: 0rpx;
color: rgba(102, 102, 102, 1);
diff --git a/pages/user/index.vue b/pages/user/index.vue
index bd9a0ea..eb80bc9 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -537,7 +537,8 @@
-
+