From af930887f9972b7dd21c80599e697e44f5e5a579 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 13 十一月 2024 14:05:04 +0800
Subject: [PATCH] 移除视频相关组件
---
app.json | 1 -
/dev/null | 42 ------------------------------------------
project.private.config.json | 2 +-
3 files changed, 1 insertions(+), 44 deletions(-)
diff --git a/app.json b/app.json
index 7558e58..43e1e72 100644
--- a/app.json
+++ b/app.json
@@ -15,7 +15,6 @@
"pages/enterprise/promise/history/index",
"pages/usercenter/notice/index",
"pages/enterprise/assessment/form/index",
- "pages/common/play-video/index",
"pages/supervision/risk/index",
"pages/supervision/ec-code/index",
"pages/usercenter/login/register-home/index",
diff --git a/pages/common/play-video/index.js b/pages/common/play-video/index.js
deleted file mode 100644
index dce0db8..0000000
--- a/pages/common/play-video/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-// pages/common/play-video/index.js
-Page({
- /**
- * 椤甸潰鐨勫垵濮嬫暟鎹�
- */
- data: {
- video: {},
- },
-
- /**
- * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
- */
- onLoad(options) {
- this.getOpenerEventChannel().on('acceptTrainData', data=> {
- this.setData({
- video: data,
- });
- });
- },
-
- /**
- * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
- */
- onReady() {},
-
- /**
- * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
- */
- onShow() {},
-
- /**
- * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰闅愯棌
- */
- onHide() {},
-
- /**
- * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍗歌浇
- */
- onUnload() {},
-
- /**
- * 椤甸潰鐩稿叧浜嬩欢澶勭悊鍑芥暟--鐩戝惉鐢ㄦ埛涓嬫媺鍔ㄤ綔
- */
- onPullDownRefresh() {},
-
- /**
- * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁�
- */
- onReachBottom() {},
-
- /**
- * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜�
- */
- onShareAppMessage() {},
-});
diff --git a/pages/common/play-video/index.json b/pages/common/play-video/index.json
deleted file mode 100644
index b5889c7..0000000
--- a/pages/common/play-video/index.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "navigationBarTitleText": "瀹堟硶鍩硅",
- "onReachBottomDistance": 10,
- "backgroundTextStyle": "light",
- "enablePullDownRefresh": false,
- "navigationBarTextStyle": "white",
- "navigationBarBackgroundColor": "#389AFF",
- "usingComponents": {
- "t-empty-page": "/components/empty-page/index"
- }
-}
\ No newline at end of file
diff --git a/pages/common/play-video/index.wxml b/pages/common/play-video/index.wxml
deleted file mode 100644
index 057ae9d..0000000
--- a/pages/common/play-video/index.wxml
+++ /dev/null
@@ -1,41 +0,0 @@
-<view class="page">
- <view class="page-header">
- <video
- class="video"
- id="myVideo"
- src="{{video.url}}"
- binderror="videoErrorCallback"
- show-center-play-btn="{{false}}"
- show-play-btn="{{true}}"
- controls
- autoplay
- custom-cache="{{false}}"
- poster="{{video.lrPicurl}}"
- picture-in-picture-mode="{{['push', 'pop']}}"
- bindenterpictureinpicture="bindVideoEnterPictureInPicture"
- bindleavepictureinpicture="bindVideoLeavePictureInPicture"
- ></video>
- </view>
- <view class="page-container">
- <view class="video-content">
- <view class="video-content-title"> {{video.title}} </view>
- <view class="video-content-tag">
- <view class="video-content-tag__item">
- <t-icon name="time" size="30rpx" />
- <text>{{video.time}}</text>
- </view>
- <view class="video-content-tag__item">
- <t-icon name="browse" size="36rpx" />
- <text>{{video.browse}}</text>
- </view>
- </view>
- <view class="video-content-desc"> {{video.desc}} </view>
- </view>
- <t-divider />
- </view>
- <view class="page-footer">
- <t-empty-page
- description="鏃犳洿澶氳棰�"
- ></t-empty-page>
- </view>
-</view>
diff --git a/pages/common/play-video/index.wxss b/pages/common/play-video/index.wxss
deleted file mode 100644
index f32502e..0000000
--- a/pages/common/play-video/index.wxss
+++ /dev/null
@@ -1,42 +0,0 @@
-.page .page-header {
- padding: 0;
-}
-
-.page .page-container {
- background-color: var(--td-bg-color-block);
-}
-
-.video {
- width: 100%;
-}
-
-.video-content {
- padding-top: var(--td-spacer-1);
-}
-
-.video-content-title {
- font-size: var(--td-font-size-m);
- margin-bottom: var(--td-spacer-2);
-}
-
-.video-content-tag {
- display: flex;
- font-size: var(--td-font-size-base);
- color: var(--td-text-color-secondary);
- padding: var(--td-spacer) 0;
-}
-
-.video-content-tag .video-content-tag__item {
- display: flex;
- align-items: center;
- margin-right: var(--td-spacer-3);
-}
-
-.video-content-tag .video-content-tag__item>text {
- margin-left: 10rpx;
-}
-
-.video-content-desc {
- font-size: var(--td-font-size-s);
- color: var(--td-text-color-secondary);
-}
\ No newline at end of file
diff --git a/project.private.config.json b/project.private.config.json
index 50b824b..0c5a5c1 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -2,7 +2,7 @@
"description": "椤圭洰绉佹湁閰嶇疆鏂囦欢銆傛鏂囦欢涓殑鍐呭灏嗚鐩� project.config.json 涓殑鐩稿悓瀛楁銆傞」鐩殑鏀瑰姩浼樺厛鍚屾鍒版鏂囦欢涓�傝瑙佹枃妗o細https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "ep-law-abiding-manage-weixin",
"setting": {
- "compileHotReLoad": true,
+ "compileHotReLoad": false,
"urlCheck": false
},
"libVersion": "3.5.3"
--
Gitblit v1.9.3