From e933fe5051487d54d1c026105c840989d3f4b50c Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 14:07:11 +0800
Subject: [PATCH] 提交
---
admin/admin/faviconzb.ico | 0
wechat_staff/static/icon/ic_select_sel@3x.png | 0
wechat_staff/components/videoPlay/index.less | 59 +++++++++++
admin/admin/template/users.xlsx | 0
wechat_staff/components/videoPlay/index.wxss | 19 +++
admin/admin/favicon.ico | 0
admin/admin/avatar/man.png | 0
wechat_staff/components/videoPlay/index.wxml | 5 +
wechat_jiaxuan/components/videoPlay/index.less | 59 +++++++++++
admin/admin/avatar/woman.png | 0
wechat_staff/components/videoPlay/index.json | 4
wechat_staff/static/icon/mingpian_ic_dizhi.png | 0
admin/admin/template/shop.xlsx | 0
wechat_jiaxuan/components/videoPlay/index.js | 37 +++++++
wechat_jiaxuan/components/videoPlay/index.wxml | 5 +
wechat_jiaxuan/components/videoPlay/index.wxss | 19 +++
wechat_jiaxuan/components/videoPlay/index.json | 4
wechat_staff/components/videoPlay/index.js | 37 +++++++
18 files changed, 248 insertions(+), 0 deletions(-)
diff --git a/admin/admin/avatar/man.png b/admin/admin/avatar/man.png
new file mode 100644
index 0000000..a84beb9
--- /dev/null
+++ b/admin/admin/avatar/man.png
Binary files differ
diff --git a/admin/admin/avatar/woman.png b/admin/admin/avatar/woman.png
new file mode 100644
index 0000000..eef8695
--- /dev/null
+++ b/admin/admin/avatar/woman.png
Binary files differ
diff --git a/admin/admin/favicon.ico b/admin/admin/favicon.ico
new file mode 100644
index 0000000..c6ff5db
--- /dev/null
+++ b/admin/admin/favicon.ico
Binary files differ
diff --git a/admin/admin/faviconzb.ico b/admin/admin/faviconzb.ico
new file mode 100644
index 0000000..c91c24d
--- /dev/null
+++ b/admin/admin/faviconzb.ico
Binary files differ
diff --git a/admin/admin/template/shop.xlsx b/admin/admin/template/shop.xlsx
new file mode 100644
index 0000000..bc827ea
--- /dev/null
+++ b/admin/admin/template/shop.xlsx
Binary files differ
diff --git a/admin/admin/template/users.xlsx b/admin/admin/template/users.xlsx
new file mode 100644
index 0000000..dab5df8
--- /dev/null
+++ b/admin/admin/template/users.xlsx
Binary files differ
diff --git a/wechat_jiaxuan/components/videoPlay/index.js b/wechat_jiaxuan/components/videoPlay/index.js
new file mode 100644
index 0000000..0f0ef83
--- /dev/null
+++ b/wechat_jiaxuan/components/videoPlay/index.js
@@ -0,0 +1,37 @@
+// components/idCard/index.js
+Component({
+
+ /**
+ * 缁勪欢鐨勫垵濮嬫暟鎹�
+ */
+ data: {
+ videoSrc:null,
+ isVShow:false,
+ videoContext:null
+ },
+
+ /**
+ * 缁勪欢鐨勬柟娉曞垪琛�
+ */
+ methods: {
+ startPlayVideo(videourl,obj){
+ if(videourl ==null || videourl ==''){
+ return
+ }
+ if(this.data.videoContext == null){
+ this.data.videoContext = wx.createVideoContext('myVideo',this)
+ }
+ this.setData({isVShow:true, videoSrc:videourl})
+ console.log(videourl)
+ this.data.videoContext.requestFullScreen({
+ direction: 0
+ });
+ },
+ onClose(){
+ this.setData({isVShow:false})
+ if( this.data.videoContext){
+ this.data.videoContext.stop()
+ }
+ }
+ }
+})
diff --git a/wechat_jiaxuan/components/videoPlay/index.json b/wechat_jiaxuan/components/videoPlay/index.json
new file mode 100644
index 0000000..e8cfaaf
--- /dev/null
+++ b/wechat_jiaxuan/components/videoPlay/index.json
@@ -0,0 +1,4 @@
+{
+ "component": true,
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/wechat_jiaxuan/components/videoPlay/index.less b/wechat_jiaxuan/components/videoPlay/index.less
new file mode 100644
index 0000000..e89bf2d
--- /dev/null
+++ b/wechat_jiaxuan/components/videoPlay/index.less
@@ -0,0 +1,59 @@
+.user {
+ width: 750rpx;
+ padding: 0 40rpx;
+ height: 148rpx;
+ background: #FFFFFF;
+ border-radius: 8rpx;
+ padding: 0 30rpx;
+ display: flex;
+ align-items: center;
+ .content {
+ flex: 1;
+
+ .name {
+ font-size: 30rpx;
+ margin-bottom: 12rpx;
+ }
+
+ .desc {
+ font-size: 24rpx;
+ color: #999999;
+ }
+ }
+
+ .avatar {
+ width: 80rpx;
+ height: 80rpx;
+ border-radius: 50%;
+ margin-right: 24rpx;
+ }
+
+ .btns{
+ display: flex;
+ .item{
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ margin-left: 70rpx;
+ font-size: 20rpx;
+ color: #333333;
+ .icon{
+ margin-bottom: 4rpx;
+ width: 44rpx;
+ height: 44rpx;
+ }
+ }
+ }
+ .btn {
+ width: 118rpx;
+ height: 56rpx;
+ line-height: 52rpx;
+ text-align: center;
+ background: var(--themeColor);
+ border-radius: 8rpx;
+ font-weight: 500;
+ font-size: 26rpx;
+ color: #fff;
+ }
+}
\ No newline at end of file
diff --git a/wechat_jiaxuan/components/videoPlay/index.wxml b/wechat_jiaxuan/components/videoPlay/index.wxml
new file mode 100644
index 0000000..75e31f2
--- /dev/null
+++ b/wechat_jiaxuan/components/videoPlay/index.wxml
@@ -0,0 +1,5 @@
+<view wx:if="{{ isVShow }}" bind:tap="onClose" class="video_content">
+ <view class="video">
+ <video id="myVideo" src="{{videoSrc}}" autoplay show-fullscreen-btn show-play-btn ></video>
+ </view>
+ </view >
\ No newline at end of file
diff --git a/wechat_jiaxuan/components/videoPlay/index.wxss b/wechat_jiaxuan/components/videoPlay/index.wxss
new file mode 100644
index 0000000..205694c
--- /dev/null
+++ b/wechat_jiaxuan/components/videoPlay/index.wxss
@@ -0,0 +1,19 @@
+
+.video_content{
+ position: fixed;
+ top: 10rpx;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.2);
+ z-index: 9999;
+}
+.video_content .video{
+ position: fixed;
+ border-radius: 8rpx;
+ top: 50%;
+ left: 75rpx;
+ transform: translate(0, -50%);
+ width: 600rpx;
+ z-index: 10000;
+}
\ No newline at end of file
diff --git a/wechat_staff/components/videoPlay/index.js b/wechat_staff/components/videoPlay/index.js
new file mode 100644
index 0000000..0f0ef83
--- /dev/null
+++ b/wechat_staff/components/videoPlay/index.js
@@ -0,0 +1,37 @@
+// components/idCard/index.js
+Component({
+
+ /**
+ * 缁勪欢鐨勫垵濮嬫暟鎹�
+ */
+ data: {
+ videoSrc:null,
+ isVShow:false,
+ videoContext:null
+ },
+
+ /**
+ * 缁勪欢鐨勬柟娉曞垪琛�
+ */
+ methods: {
+ startPlayVideo(videourl,obj){
+ if(videourl ==null || videourl ==''){
+ return
+ }
+ if(this.data.videoContext == null){
+ this.data.videoContext = wx.createVideoContext('myVideo',this)
+ }
+ this.setData({isVShow:true, videoSrc:videourl})
+ console.log(videourl)
+ this.data.videoContext.requestFullScreen({
+ direction: 0
+ });
+ },
+ onClose(){
+ this.setData({isVShow:false})
+ if( this.data.videoContext){
+ this.data.videoContext.stop()
+ }
+ }
+ }
+})
diff --git a/wechat_staff/components/videoPlay/index.json b/wechat_staff/components/videoPlay/index.json
new file mode 100644
index 0000000..e8cfaaf
--- /dev/null
+++ b/wechat_staff/components/videoPlay/index.json
@@ -0,0 +1,4 @@
+{
+ "component": true,
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/wechat_staff/components/videoPlay/index.less b/wechat_staff/components/videoPlay/index.less
new file mode 100644
index 0000000..e89bf2d
--- /dev/null
+++ b/wechat_staff/components/videoPlay/index.less
@@ -0,0 +1,59 @@
+.user {
+ width: 750rpx;
+ padding: 0 40rpx;
+ height: 148rpx;
+ background: #FFFFFF;
+ border-radius: 8rpx;
+ padding: 0 30rpx;
+ display: flex;
+ align-items: center;
+ .content {
+ flex: 1;
+
+ .name {
+ font-size: 30rpx;
+ margin-bottom: 12rpx;
+ }
+
+ .desc {
+ font-size: 24rpx;
+ color: #999999;
+ }
+ }
+
+ .avatar {
+ width: 80rpx;
+ height: 80rpx;
+ border-radius: 50%;
+ margin-right: 24rpx;
+ }
+
+ .btns{
+ display: flex;
+ .item{
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ margin-left: 70rpx;
+ font-size: 20rpx;
+ color: #333333;
+ .icon{
+ margin-bottom: 4rpx;
+ width: 44rpx;
+ height: 44rpx;
+ }
+ }
+ }
+ .btn {
+ width: 118rpx;
+ height: 56rpx;
+ line-height: 52rpx;
+ text-align: center;
+ background: var(--themeColor);
+ border-radius: 8rpx;
+ font-weight: 500;
+ font-size: 26rpx;
+ color: #fff;
+ }
+}
\ No newline at end of file
diff --git a/wechat_staff/components/videoPlay/index.wxml b/wechat_staff/components/videoPlay/index.wxml
new file mode 100644
index 0000000..75e31f2
--- /dev/null
+++ b/wechat_staff/components/videoPlay/index.wxml
@@ -0,0 +1,5 @@
+<view wx:if="{{ isVShow }}" bind:tap="onClose" class="video_content">
+ <view class="video">
+ <video id="myVideo" src="{{videoSrc}}" autoplay show-fullscreen-btn show-play-btn ></video>
+ </view>
+ </view >
\ No newline at end of file
diff --git a/wechat_staff/components/videoPlay/index.wxss b/wechat_staff/components/videoPlay/index.wxss
new file mode 100644
index 0000000..205694c
--- /dev/null
+++ b/wechat_staff/components/videoPlay/index.wxss
@@ -0,0 +1,19 @@
+
+.video_content{
+ position: fixed;
+ top: 10rpx;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.2);
+ z-index: 9999;
+}
+.video_content .video{
+ position: fixed;
+ border-radius: 8rpx;
+ top: 50%;
+ left: 75rpx;
+ transform: translate(0, -50%);
+ width: 600rpx;
+ z-index: 10000;
+}
\ No newline at end of file
diff --git a/wechat_staff/static/icon/ic_select_sel@3x.png b/wechat_staff/static/icon/ic_select_sel@3x.png
new file mode 100644
index 0000000..5559848
--- /dev/null
+++ b/wechat_staff/static/icon/ic_select_sel@3x.png
Binary files differ
diff --git a/wechat_staff/static/icon/mingpian_ic_dizhi.png b/wechat_staff/static/icon/mingpian_ic_dizhi.png
new file mode 100644
index 0000000..dea3624
--- /dev/null
+++ b/wechat_staff/static/icon/mingpian_ic_dizhi.png
Binary files differ
--
Gitblit v1.9.3