ソースを参照

新增大乐透彩票界面

刘清 2 ヶ月 前
コミット
99a668479b
共有33 個のファイルを変更した339 個の追加329 個の削除を含む
  1. 3
    2
      DaoDaoBackend/gunicorn/readme
  2. 0
    1
      DaoDaoBackend/readme
  3. 0
    8
      DaoDaoBackend/run.log
  4. 8
    0
      DaoDaoFrontend/pages.json
  5. 2
    295
      DaoDaoFrontend/pages/tabbar/tabbar-2/lottoryDetail0.vue
  6. 3
    0
      DaoDaoFrontend/pages/tabbar/tabbar-2/lottoryDetail2.vue
  7. 296
    0
      DaoDaoFrontend/pages/tabbar/tabbar-2/lottoryDetail4.vue
  8. 27
    1
      DaoDaoFrontend/pages/tabbar/tabbar-2/tabbar-2.vue
  9. バイナリ
      DaoDaoFrontend/static/img/lottory/dlt.png
  10. バイナリ
      DaoDaoFrontend/static/img/lottory/kl8.png
  11. バイナリ
      DaoDaoFrontend/static/img/lottory/ssq.png
  12. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-3-detial-tabbar-3-qa-tabbar-3-qa.BooU6b3a.js
  13. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-3-detial-tabbar-3-release-tabbar-3-release.CBQ4wio5.js
  14. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-3-detial-tabbar-3-video-tabbar-3-video.BmQkHFz-.js
  15. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-login-login.8LqNS7eX.js
  16. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-login-register.CjJkEdpm.js
  17. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-1-tabbar-1.SCaxxzRr.js
  18. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-2-lottoryDetail0.BSskkEzZ.js
  19. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-3-tabbar-3.UpFTFjhh.js
  20. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-4-chat.DdWDaqdP.js
  21. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-4-tabbar-4.C1-4cVkT.js
  22. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-5-tabbar-5.B6es049A.js
  23. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-5-uploadMgr.Cpdn6pn8.js
  24. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-5-userInfo.DmLTC191.js
  25. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/storage.Bjb8lQU5.js
  26. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/tabbar-2-r6zNqdOY.css
  27. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-card.C5Hdvv8G.js
  28. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-file-picker.hffu4e0U.js
  29. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-icons.DLqzPOHi.js
  30. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-list-item.BqBzYHuU.js
  31. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-list.B-iOxwun.js
  32. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-search-bar.h3kPee74.js
  33. 0
    1
      DaoDaoFrontend/unpackage/dist/build/web/assets/uni-section.DzSFTShA.js

+ 3
- 2
DaoDaoBackend/gunicorn/readme ファイルの表示

@@ -1,4 +1,5 @@
1
-���������ļ� gunicorn -c gunicorn.conf.py hello:app
2
-�鿴 pid ��kill����
1
+示例: gunicorn -c gunicorn.conf.py hello:app
2
+pid kill
3
+kill 进程,重新运行,该运行会在后台一直跑,关闭终端不影响
3 4
 
4 5
 (starter_env) root@debian:/usr/environments/StartBackend# gunicorn -c ./gunicorn/gunicorn.conf.py StartBackend:app

+ 0
- 1
DaoDaoBackend/readme ファイルの表示

@@ -21,7 +21,6 @@
21 21
 └── README.md           # 项目说明文件
22 22
 
23 23
 
24
-�ӿ�˵��
25 24
 
26 25
 1. �û����
27 26
   1.1 �û��������¼

+ 0
- 8
DaoDaoBackend/run.log ファイルの表示

@@ -1,8 +0,0 @@
1
-nohup: ignoring input
2
-Traceback (most recent call last):
3
-  File "/usr/environments/StartBackend/StartBackend.py", line 31, in <module>
4
-    socketio.run(app, host="0.0.0.0", port=5569, debug=True)  # 使用 socketio.run 替换 app.run
5
-    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
-  File "/usr/environments/starter_env/lib/python3.11/site-packages/flask_socketio/__init__.py", line 646, in run
7
-    raise RuntimeError('The Werkzeug web server is not '
8
-RuntimeError: The Werkzeug web server is not designed to run in production. Pass allow_unsafe_werkzeug=True to the run() method to disable this error.

+ 8
- 0
DaoDaoFrontend/pages.json ファイルの表示

@@ -67,6 +67,14 @@
67 67
 		{
68 68
 			"path" : "pages/tabbar/tabbar-2/lottoryDetail1",
69 69
 			"style" : {}
70
+		},
71
+		{
72
+        	"path" : "pages/tabbar/tabbar-2/lottoryDetail2",
73
+        	"style" : {}
74
+        },
75
+		{
76
+			"path" : "pages/tabbar/tabbar-2/lottoryDetail4",
77
+			"style" : {}
70 78
 		}
71 79
     ],
72 80
 	"globalStyle": {

+ 2
- 295
DaoDaoFrontend/pages/tabbar/tabbar-2/lottoryDetail0.vue ファイルの表示

@@ -1,296 +1,3 @@
1 1
 <template>
2
-	<view class="container">
3
-		<view class="search-container">
4
-			<uni-search-bar class="uni-mt-10" radius="5" placeholder="搜索视频名称" clearButton="auto" cancelButton="none"
5
-				@confirm="search">
6
-			</uni-search-bar>
7
-		</view>
8
-		<view class="uni-list uni-common-mt">
9
-			<view class="video-container">
10
-				<video id="myVideo" :src="videoSrc" :poster="posterSrc" @error="videoErrorCallback"
11
-					:danmu-list="danmuList" controls show-loading show-mute-btn></video>
12
-			</view>
13
-			<!-- #ifndef MP-ALIPAY -->
14
-			<!-- <view class="uni-list uni-common-mt">
15
-		        <view class="uni-list-cell">
16
-		            <view>
17
-		                <view class="uni-label">弹幕内容</view>
18
-		            </view>
19
-		            <view class="uni-list-cell-db">
20
-		                <input v-model="danmuValue" class="uni-input" type="text" placeholder="在此处输入弹幕内容" />
21
-		            </view>
22
-		        </view>
23
-		    </view> -->
24
-			<!-- <view class="uni-btn-v">
25
-		        <button @click="sendDanmu" class="page-body-button">发送弹幕</button>
26
-		    </view> -->
27
-			<!-- #endif -->
28
-			<uni-section title="播放列表" type="line">
29
-				<uni-list v-for="(v, k) in videoList" :key="k">
30
-					<uni-list-item clickable @click="onPlayListClick(v)">
31
-						<template v-slot:header>
32
-							<view class="slot-box">
33
-								<image class="slot-image" :src="v.imSrc"></image>
34
-							</view>
35
-						</template>
36
-						<template v-slot:body>
37
-							<text class="slot-box slot-text">{{v.title}}</text>
38
-							<!-- <text class="slot-box slot-text"></text> -->
39
-						</template>
40
-						<template v-slot:footer>
41
-							<text class="slot-box slot-text-play">立即载入</text>
42
-						</template>
43
-					</uni-list-item>
44
-				</uni-list>
45
-			</uni-section>
46
-		</view>
47
-	</view>
48
-</template>
49
-
50
-<script>
51
-	export default {
52
-		data() {
53
-			return {
54
-				src: '',
55
-				danmuList: [{
56
-					text: '第 1s 出现的弹幕',
57
-					color: '#ff0000',
58
-					time: 1
59
-				}],
60
-				videoList: [{
61
-						title: '鞠婧祎视频 1 ',
62
-						viSrc: 'https://afanai.top:8088/video/982789760.mp4',
63
-						imSrc: 'https://afanai.top:8088/video/982789760frame.jpg',
64
-						video_id: ''
65
-					},
66
-					{
67
-						title: '鞠婧祎视频 2 ',
68
-						viSrc: 'https://afanai.top:8088/video/428743782.mp4',
69
-						imSrc: 'https://afanai.top:8088/video/428743782frame.jpg',
70
-						video_id: ''
71
-					}
72
-				],
73
-				videoListDefault: [{
74
-						title: '鞠婧祎视频 1 ',
75
-						viSrc: 'https://afanai.top:8088/video/982789760.mp4',
76
-						imSrc: 'https://afanai.top:8088/video/982789760frame.jpg',
77
-						video_id: ''
78
-					},
79
-					{
80
-						title: '鞠婧祎视频 2 ',
81
-						viSrc: 'https://afanai.top:8088/video/428743782.mp4',
82
-						imSrc: 'https://afanai.top:8088/video/428743782frame.jpg',
83
-						video_id: ''
84
-					}
85
-				],
86
-				danmuValue: '',
87
-				videoSrc: '',
88
-				posterSrc: ''
89
-			}
90
-		},
91
-		onReady: function(res) {
92
-			// #ifndef MP-ALIPAY
93
-			this.videoContext = uni.createVideoContext('myVideo')
94
-			// #endif
95
-		},
96
-		methods: {
97
-			sendDanmu: function() {
98
-				this.videoContext.sendDanmu({
99
-					text: this.danmuValue,
100
-					color: this.getRandomColor()
101
-				});
102
-				this.danmuValue = '';
103
-			},
104
-			videoErrorCallback: function(e) {
105
-				// uni.showModal({
106
-				// 	content: e.target.errMsg,
107
-				// 	showCancel: false
108
-				// })
109
-			},
110
-			getRandomColor: function() {
111
-				const rgb = []
112
-				for (let i = 0; i < 3; ++i) {
113
-					let color = Math.floor(Math.random() * 256).toString(16)
114
-					color = color.length == 1 ? '0' + color : color
115
-					rgb.push(color)
116
-				}
117
-				return '#' + rgb.join('')
118
-			},
119
-			async search(res) {
120
-				if (res.value == "") {
121
-					this.videoList = this.videoListDefault;
122
-				} else {
123
-					let newVideoList = [];
124
-					this.videoList = [];
125
-
126
-					newVideoList = await this.fetchSearchResults(res.value);
127
-					newVideoList.forEach((v, index) => {
128
-						let videoItem = {
129
-							title: v["video_name"],
130
-							// viSrc: v["video_url"],
131
-							viSrc: "",
132
-							imSrc: v["cover_url"],
133
-							video_id: v["video_id"]
134
-						};
135
-						this.videoList.push(videoItem);
136
-					})
137
-				}
138
-
139
-				this.videoSrc = "";
140
-				this.posterSrc = "";
141
-			},
142
-			async fetchSearchResults(query) {
143
-				// 调用后端接口
144
-				// 直接在URL后拼接查询参数
145
-				const res = await uni.request({
146
-					url: `https://afanai.top:8089/v1/video/search?query=${encodeURIComponent(query)}`,
147
-					method: 'GET',
148
-					header: {} // GET请求不需要content-type
149
-				});
150
-
151
-				if (res.statusCode === 200) {
152
-					const data = res.data;
153
-
154
-					// 检查数据是否为JSON格式
155
-					if (typeof data === 'string') {
156
-						data = JSON.parse(data);
157
-					}
158
-
159
-					// 假设后端返回的是一个名为'queryRes'的数组
160
-					if (Array.isArray(data.queryRes)) {
161
-						// 处理列表数据,例如更新组件数据
162
-						return data.queryRes;
163
-					} else {
164
-						uni.showToast({
165
-							title: '未搜索到相关视频',
166
-							duration: 2000,
167
-							icon: 'none'
168
-						});
169
-						return [];
170
-					}
171
-				} else {
172
-					uni.showToast({
173
-						title: '查找失败',
174
-						duration: 2000,
175
-						icon: 'none'
176
-					});
177
-					return [];
178
-				}
179
-			},
180
-			// search: function(res) {
181
-			// 	// 更新搜索列表
182
-			// 	uni.showToast({
183
-			// 		title: res.value,
184
-			// 		icon: 'none'
185
-			// 	})
186
-			// },
187
-			async onPlayListClick(res) {
188
-				if (this.posterSrc == res.imSrc) {
189
-					uni.showToast({
190
-						title: "已载入",
191
-						icon: 'success'
192
-					})
193
-					return;
194
-				}
195
-
196
-				if (res.video_id === '') {
197
-					this.videoSrc = res.viSrc;
198
-					this.posterSrc = res.imSrc;
199
-					uni.showToast({
200
-						title: res.title,
201
-						icon: 'success'
202
-					})
203
-				} else {
204
-					// 查询链接
205
-					this.videoSrc = await this.fetchVideoUrl(res.video_id);
206
-					this.posterSrc = res.imSrc;
207
-					uni.showToast({
208
-						title: res.title,
209
-						icon: 'success'
210
-					})
211
-				}
212
-			},
213
-			async fetchVideoUrl(query) {
214
-				// 调用后端接口
215
-				// 直接在URL后拼接查询参数
216
-				const res = await uni.request({
217
-					url: `https://afanai.top:8089/v1/video/getBlobUrl?query=${encodeURIComponent(query)}`,
218
-					method: 'GET',
219
-					header: {} // GET请求不需要content-type
220
-				});
221
-
222
-				if (res.statusCode === 200) {
223
-					const data = res.data;
224
-					// 检查数据是否为JSON格式
225
-					if (typeof data === 'string') {
226
-						data = JSON.parse(data);
227
-					}
228
-					// 假设后端返回的是一个名为'queryRes'
229
-					if (data.queryRes) {
230
-						// 处理列表数据,例如更新组件数据
231
-						return data.queryRes;
232
-					} else {
233
-						uni.showToast({
234
-							title: '未搜索到相关视频',
235
-							duration: 2000,
236
-							icon: 'none'
237
-						});
238
-						return "";
239
-					}
240
-				} else {
241
-					uni.showToast({
242
-						title: '查找失败',
243
-						duration: 2000,
244
-						icon: 'none'
245
-					});
246
-					return "";
247
-				}
248
-			},
249
-		}
250
-	}
251
-</script>
252
-
253
-<style scoped>
254
-	.video-container {
255
-		display: flex;
256
-		justify-content: center;
257
-		align-items: center;
258
-	}
259
-
260
-	.video {
261
-		width: 300px;
262
-		height: 225px;
263
-		line-height: 0;
264
-		overflow: hidden;
265
-		position: relative;
266
-	}
267
-
268
-	.slot-box {
269
-		/* #ifndef APP-NVUE */
270
-		display: flex;
271
-		/* #endif */
272
-		flex-direction: row;
273
-		align-items: center;
274
-	}
275
-
276
-	.slot-image {
277
-		/* #ifndef APP-NVUE */
278
-		display: block;
279
-		/* #endif */
280
-		margin-right: 10px;
281
-		width: 72px;
282
-		height: 48px;
283
-	}
284
-
285
-	.slot-text {
286
-		flex: 1;
287
-		font-size: 16px;
288
-		margin-right: 10px;
289
-	}
290
-
291
-	.slot-text-play {
292
-		font-size: 14px;
293
-		color: #008acf;
294
-		margin-right: 5px;
295
-	}
296
-</style>
2
+	这里是双色球
3
+</template>

+ 3
- 0
DaoDaoFrontend/pages/tabbar/tabbar-2/lottoryDetail2.vue ファイルの表示

@@ -0,0 +1,3 @@
1
+<template>
2
+	这里是大乐透
3
+</template>

+ 296
- 0
DaoDaoFrontend/pages/tabbar/tabbar-2/lottoryDetail4.vue ファイルの表示

@@ -0,0 +1,296 @@
1
+<template>
2
+	<view class="container">
3
+		<view class="search-container">
4
+			<uni-search-bar class="uni-mt-10" radius="5" placeholder="搜索视频名称" clearButton="auto" cancelButton="none"
5
+				@confirm="search">
6
+			</uni-search-bar>
7
+		</view>
8
+		<view class="uni-list uni-common-mt">
9
+			<view class="video-container">
10
+				<video id="myVideo" :src="videoSrc" :poster="posterSrc" @error="videoErrorCallback"
11
+					:danmu-list="danmuList" controls show-loading show-mute-btn></video>
12
+			</view>
13
+			<!-- #ifndef MP-ALIPAY -->
14
+			<!-- <view class="uni-list uni-common-mt">
15
+		        <view class="uni-list-cell">
16
+		            <view>
17
+		                <view class="uni-label">弹幕内容</view>
18
+		            </view>
19
+		            <view class="uni-list-cell-db">
20
+		                <input v-model="danmuValue" class="uni-input" type="text" placeholder="在此处输入弹幕内容" />
21
+		            </view>
22
+		        </view>
23
+		    </view> -->
24
+			<!-- <view class="uni-btn-v">
25
+		        <button @click="sendDanmu" class="page-body-button">发送弹幕</button>
26
+		    </view> -->
27
+			<!-- #endif -->
28
+			<uni-section title="播放列表" type="line">
29
+				<uni-list v-for="(v, k) in videoList" :key="k">
30
+					<uni-list-item clickable @click="onPlayListClick(v)">
31
+						<template v-slot:header>
32
+							<view class="slot-box">
33
+								<image class="slot-image" :src="v.imSrc"></image>
34
+							</view>
35
+						</template>
36
+						<template v-slot:body>
37
+							<text class="slot-box slot-text">{{v.title}}</text>
38
+							<!-- <text class="slot-box slot-text"></text> -->
39
+						</template>
40
+						<template v-slot:footer>
41
+							<text class="slot-box slot-text-play">立即载入</text>
42
+						</template>
43
+					</uni-list-item>
44
+				</uni-list>
45
+			</uni-section>
46
+		</view>
47
+	</view>
48
+</template>
49
+
50
+<script>
51
+	export default {
52
+		data() {
53
+			return {
54
+				src: '',
55
+				danmuList: [{
56
+					text: '第 1s 出现的弹幕',
57
+					color: '#ff0000',
58
+					time: 1
59
+				}],
60
+				videoList: [{
61
+						title: '鞠婧祎视频 1 ',
62
+						viSrc: 'https://afanai.top:8088/video/982789760.mp4',
63
+						imSrc: 'https://afanai.top:8088/video/982789760frame.jpg',
64
+						video_id: ''
65
+					},
66
+					{
67
+						title: '鞠婧祎视频 2 ',
68
+						viSrc: 'https://afanai.top:8088/video/428743782.mp4',
69
+						imSrc: 'https://afanai.top:8088/video/428743782frame.jpg',
70
+						video_id: ''
71
+					}
72
+				],
73
+				videoListDefault: [{
74
+						title: '鞠婧祎视频 1 ',
75
+						viSrc: 'https://afanai.top:8088/video/982789760.mp4',
76
+						imSrc: 'https://afanai.top:8088/video/982789760frame.jpg',
77
+						video_id: ''
78
+					},
79
+					{
80
+						title: '鞠婧祎视频 2 ',
81
+						viSrc: 'https://afanai.top:8088/video/428743782.mp4',
82
+						imSrc: 'https://afanai.top:8088/video/428743782frame.jpg',
83
+						video_id: ''
84
+					}
85
+				],
86
+				danmuValue: '',
87
+				videoSrc: '',
88
+				posterSrc: ''
89
+			}
90
+		},
91
+		onReady: function(res) {
92
+			// #ifndef MP-ALIPAY
93
+			this.videoContext = uni.createVideoContext('myVideo')
94
+			// #endif
95
+		},
96
+		methods: {
97
+			sendDanmu: function() {
98
+				this.videoContext.sendDanmu({
99
+					text: this.danmuValue,
100
+					color: this.getRandomColor()
101
+				});
102
+				this.danmuValue = '';
103
+			},
104
+			videoErrorCallback: function(e) {
105
+				// uni.showModal({
106
+				// 	content: e.target.errMsg,
107
+				// 	showCancel: false
108
+				// })
109
+			},
110
+			getRandomColor: function() {
111
+				const rgb = []
112
+				for (let i = 0; i < 3; ++i) {
113
+					let color = Math.floor(Math.random() * 256).toString(16)
114
+					color = color.length == 1 ? '0' + color : color
115
+					rgb.push(color)
116
+				}
117
+				return '#' + rgb.join('')
118
+			},
119
+			async search(res) {
120
+				if (res.value == "") {
121
+					this.videoList = this.videoListDefault;
122
+				} else {
123
+					let newVideoList = [];
124
+					this.videoList = [];
125
+
126
+					newVideoList = await this.fetchSearchResults(res.value);
127
+					newVideoList.forEach((v, index) => {
128
+						let videoItem = {
129
+							title: v["video_name"],
130
+							// viSrc: v["video_url"],
131
+							viSrc: "",
132
+							imSrc: v["cover_url"],
133
+							video_id: v["video_id"]
134
+						};
135
+						this.videoList.push(videoItem);
136
+					})
137
+				}
138
+
139
+				this.videoSrc = "";
140
+				this.posterSrc = "";
141
+			},
142
+			async fetchSearchResults(query) {
143
+				// 调用后端接口
144
+				// 直接在URL后拼接查询参数
145
+				const res = await uni.request({
146
+					url: `https://afanai.top:8089/v1/video/search?query=${encodeURIComponent(query)}`,
147
+					method: 'GET',
148
+					header: {} // GET请求不需要content-type
149
+				});
150
+
151
+				if (res.statusCode === 200) {
152
+					const data = res.data;
153
+
154
+					// 检查数据是否为JSON格式
155
+					if (typeof data === 'string') {
156
+						data = JSON.parse(data);
157
+					}
158
+
159
+					// 假设后端返回的是一个名为'queryRes'的数组
160
+					if (Array.isArray(data.queryRes)) {
161
+						// 处理列表数据,例如更新组件数据
162
+						return data.queryRes;
163
+					} else {
164
+						uni.showToast({
165
+							title: '未搜索到相关视频',
166
+							duration: 2000,
167
+							icon: 'none'
168
+						});
169
+						return [];
170
+					}
171
+				} else {
172
+					uni.showToast({
173
+						title: '查找失败',
174
+						duration: 2000,
175
+						icon: 'none'
176
+					});
177
+					return [];
178
+				}
179
+			},
180
+			// search: function(res) {
181
+			// 	// 更新搜索列表
182
+			// 	uni.showToast({
183
+			// 		title: res.value,
184
+			// 		icon: 'none'
185
+			// 	})
186
+			// },
187
+			async onPlayListClick(res) {
188
+				if (this.posterSrc == res.imSrc) {
189
+					uni.showToast({
190
+						title: "已载入",
191
+						icon: 'success'
192
+					})
193
+					return;
194
+				}
195
+
196
+				if (res.video_id === '') {
197
+					this.videoSrc = res.viSrc;
198
+					this.posterSrc = res.imSrc;
199
+					uni.showToast({
200
+						title: res.title,
201
+						icon: 'success'
202
+					})
203
+				} else {
204
+					// 查询链接
205
+					this.videoSrc = await this.fetchVideoUrl(res.video_id);
206
+					this.posterSrc = res.imSrc;
207
+					uni.showToast({
208
+						title: res.title,
209
+						icon: 'success'
210
+					})
211
+				}
212
+			},
213
+			async fetchVideoUrl(query) {
214
+				// 调用后端接口
215
+				// 直接在URL后拼接查询参数
216
+				const res = await uni.request({
217
+					url: `https://afanai.top:8089/v1/video/getBlobUrl?query=${encodeURIComponent(query)}`,
218
+					method: 'GET',
219
+					header: {} // GET请求不需要content-type
220
+				});
221
+
222
+				if (res.statusCode === 200) {
223
+					const data = res.data;
224
+					// 检查数据是否为JSON格式
225
+					if (typeof data === 'string') {
226
+						data = JSON.parse(data);
227
+					}
228
+					// 假设后端返回的是一个名为'queryRes'
229
+					if (data.queryRes) {
230
+						// 处理列表数据,例如更新组件数据
231
+						return data.queryRes;
232
+					} else {
233
+						uni.showToast({
234
+							title: '未搜索到相关视频',
235
+							duration: 2000,
236
+							icon: 'none'
237
+						});
238
+						return "";
239
+					}
240
+				} else {
241
+					uni.showToast({
242
+						title: '查找失败',
243
+						duration: 2000,
244
+						icon: 'none'
245
+					});
246
+					return "";
247
+				}
248
+			},
249
+		}
250
+	}
251
+</script>
252
+
253
+<style scoped>
254
+	.video-container {
255
+		display: flex;
256
+		justify-content: center;
257
+		align-items: center;
258
+	}
259
+
260
+	.video {
261
+		width: 300px;
262
+		height: 225px;
263
+		line-height: 0;
264
+		overflow: hidden;
265
+		position: relative;
266
+	}
267
+
268
+	.slot-box {
269
+		/* #ifndef APP-NVUE */
270
+		display: flex;
271
+		/* #endif */
272
+		flex-direction: row;
273
+		align-items: center;
274
+	}
275
+
276
+	.slot-image {
277
+		/* #ifndef APP-NVUE */
278
+		display: block;
279
+		/* #endif */
280
+		margin-right: 10px;
281
+		width: 72px;
282
+		height: 48px;
283
+	}
284
+
285
+	.slot-text {
286
+		flex: 1;
287
+		font-size: 16px;
288
+		margin-right: 10px;
289
+	}
290
+
291
+	.slot-text-play {
292
+		font-size: 14px;
293
+		color: #008acf;
294
+		margin-right: 5px;
295
+	}
296
+</style>

+ 27
- 1
DaoDaoFrontend/pages/tabbar/tabbar-2/tabbar-2.vue ファイルの表示

@@ -15,7 +15,7 @@
15 15
 					</uni-grid-item>
16 16
 					<uni-grid-item :index="2">
17 17
 						<view class="grid-item-box">
18
-							<image class="image" src="/static/c3.png" mode="aspectFill" />
18
+							<image class="image" src="/static/img/lottory/dlt.png" mode="aspectFill" />
19 19
 						</view>
20 20
 					</uni-grid-item>
21 21
 					<uni-grid-item :index="3">
@@ -27,6 +27,32 @@
27 27
 			</uni-section>
28 28
 		</uni-card>
29 29
 
30
+		<uni-card is-full padding>
31
+			<uni-section title="股票" type="line" padding title-font-size="48upx">
32
+				<uni-grid :column="4" border-color="#03a9f4" @change="change">
33
+					<uni-grid-item :index="4">
34
+						<view class="grid-item-box">
35
+							<image class="image" src="/static/img/lottory/ssq.png" mode="aspectFill" />
36
+						</view>
37
+					</uni-grid-item>
38
+					<uni-grid-item :index="5">
39
+						<view class="grid-item-box">
40
+							<image class="image" src="/static/img/lottory/kl8.png" mode="aspectFill" />
41
+						</view>
42
+					</uni-grid-item>
43
+					<uni-grid-item :index="6">
44
+						<view class="grid-item-box">
45
+							<image class="image" src="/static/img/lottory/dlt.png" mode="aspectFill" />
46
+						</view>
47
+					</uni-grid-item>
48
+					<uni-grid-item :index="7">
49
+						<view class="grid-item-box">
50
+							<image class="image" src="/static/c4.png" mode="aspectFill" />
51
+						</view>
52
+					</uni-grid-item>
53
+				</uni-grid>
54
+			</uni-section>
55
+		</uni-card>
30 56
 	</view>
31 57
 </template>
32 58
 

バイナリ
DaoDaoFrontend/static/img/lottory/dlt.png ファイルの表示


バイナリ
DaoDaoFrontend/static/img/lottory/kl8.png ファイルの表示


バイナリ
DaoDaoFrontend/static/img/lottory/ssq.png ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-3-detial-tabbar-3-qa-tabbar-3-qa.BooU6b3a.js ファイルの表示

@@ -1 +0,0 @@
1
-import{d as a,w as s,i as e,o,j as t}from"./index-CyEi9qWZ.js";import{_ as d}from"./_plugin-vue_export-helper.BCo6x5W8.js";const r=d({data:()=>({}),onLoad(){},methods:{}},[["render",function(d,r,n,p,i,u){const _=e;return o(),a(_,{class:"page"},{default:s((()=>[t(" 无 ")])),_:1})}],["__scopeId","data-v-95ad8981"]]);export{r as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-3-detial-tabbar-3-release-tabbar-3-release.CBQ4wio5.js ファイルの表示

@@ -1 +0,0 @@
1
-import{_ as e}from"./uni-file-picker.hffu4e0U.js";import{v as o,d as s,w as l,i as a,o as i,e as t,j as n,m as r}from"./index-CyEi9qWZ.js";import{r as u}from"./uni-app.es.Cbyfkuy6.js";import{_ as c}from"./uni-section.DzSFTShA.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-cloud.es.B4rBlwmw.js";const d=p({data:()=>({imageValue:[]}),onLoad(){},methods:{select(e){console.log("选择文件:",e)},progress(e){console.log("上传进度:",e)},success(e){console.log("上传成功")},fail(e){console.log("上传失败:",e)},upload(){this.$refs.files.upload()}}},[["render",function(p,d,m,f,g,_){const j=u(o("uni-file-picker"),e),V=a,x=u(o("uni-section"),c),S=r;return i(),s(V,{class:"container"},{default:l((()=>[t(x,{title:"选择图片",titleFontSize:"24px",type:"line"},{default:l((()=>[t(V,{class:"example-body"},{default:l((()=>[t(j,{ref:"files","auto-upload":!1,modelValue:g.imageValue,"onUpdate:modelValue":d[0]||(d[0]=e=>g.imageValue=e),fileMediatype:"image",mode:"grid",onSelect:_.select,onProgress:_.progress,onSuccess:_.success,onFail:_.fail,limit:"9",title:"最多选择9张图片"},null,8,["modelValue","onSelect","onProgress","onSuccess","onFail"])])),_:1})])),_:1}),t(S,{onClick:_.upload},{default:l((()=>[n("上传文件")])),_:1},8,["onClick"])])),_:1})}],["__scopeId","data-v-ea3b65c3"]]);export{d as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-3-detial-tabbar-3-video-tabbar-3-video.BmQkHFz-.js ファイルの表示

@@ -1 +0,0 @@
1
-import{_ as e}from"./uni-file-picker.hffu4e0U.js";import{v as i,d as t,w as o,i as s,o as a,e as l}from"./index-CyEi9qWZ.js";import{r as d}from"./uni-app.es.Cbyfkuy6.js";import{_ as r}from"./uni-section.DzSFTShA.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-cloud.es.B4rBlwmw.js";const p=n({data:()=>({selectedVideo:[]}),methods:{handleVideoSelect(e){this.selectedVideo=e.target.files},uploadVideo(){console.log()}}},[["render",function(n,p,c,u,f,m){const _=d(i("uni-file-picker"),e),j=s,h=d(i("uni-section"),r);return a(),t(j,{class:"container"},{default:o((()=>[l(h,{title:"选择视频",type:"line"},{default:o((()=>[l(j,{class:"example-body"},{default:o((()=>[l(_,{limit:"9",autoUpload:"false","file-mediatype":"video",title:"最多选择9个视频"})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-05856caf"]]);export{p as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-login-login.8LqNS7eX.js ファイルの表示

@@ -1 +0,0 @@
1
-import{s as e,a,r as t,h as o,b as s,c as l,n,d as r,w as d,i as c,o as u,e as i,f as p,F as _,g as f,j as m,t as h,k as y,I as g,l as w,m as k,p as V,q as v}from"./index-CyEi9qWZ.js";import{s as C}from"./storage.Bjb8lQU5.js";import{_ as j}from"./logo.B4ZkV_hz.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const I=b({data:()=>({type:0,form_username:"",form_password:"",form_tel:"",form_code:"",send_count_down:0,checked:!1}),onLoad(){},methods:{changeType(){this.type=this.type?0:1},sendCode(){if(0===this.send_count_down){let e=60;this.send_count_down=e;let a=setInterval((()=>{e--,this.send_count_down=e,0===e&&clearInterval(a)}),1e3)}},async login(){if(!this.checked)return e({icon:"none",title:"请先同意隐私政策和服务协议"});let n=0===this.type?"https://afanai.top:8089/v1/user/pwdlogin":"https://afanai.top:8089/v1/user/codeLogin",r={};r=0===this.type?{username:this.form_username,password:this.form_password}:{tel:this.form_tel,code:this.form_code},a({title:"登录中..."});try{const a=await t({url:n,method:"POST",data:r,header:{"content-type":"application/json"}});if(o(),200===a.statusCode){const t=a.data.token;s("jwt",t),C(t),e({title:"登录成功",icon:"succeed"}),l({url:"../tabbar-1/tabbar-1"})}else try{a.data&&"object"==typeof a.data&&"error"in a.data&&e({title:a.data.error,duration:2e3,icon:"none"})}catch(d){e({title:"处理服务器响应时出错",duration:2e3,icon:"none"}),console.error("Error processing response data:",d)}}catch(c){o(),e({title:"网络错误,请检查网络",duration:2e3,icon:"none"}),console.error("登录请求出错:",c)}},registerUserInfo(){n({url:"./register"})},privacyChange(e){this.checked=!!e.detail.value.length}}},[["render",function(e,a,t,o,s,l){const n=y,C=c,b=g,I=w,U=k,x=V,T=v;return u(),r(C,{class:"page"},{default:d((()=>[i(C,{class:"logo"},{default:d((()=>[i(n,{src:j})])),_:1}),0===s.type?(u(),p(_,{key:0},[i(C,{class:"input"},{default:d((()=>[i(b,{modelValue:s.form_username,"onUpdate:modelValue":a[0]||(a[0]=e=>s.form_username=e),placeholder:"请输入用户名"},null,8,["modelValue"])])),_:1}),i(C,{class:"input"},{default:d((()=>[i(b,{modelValue:s.form_password,"onUpdate:modelValue":a[1]||(a[1]=e=>s.form_password=e),type:"password",placeholder:"请输入密码"},null,8,["modelValue"])])),_:1})],64)):f("",!0),1===s.type?(u(),p(_,{key:1},[i(C,{class:"input"},{default:d((()=>[i(b,{modelValue:s.form_tel,"onUpdate:modelValue":a[2]||(a[2]=e=>s.form_tel=e),type:"tel",maxlength:"11",placeholder:"请输入手机号"},null,8,["modelValue"])])),_:1}),i(C,{class:"input"},{default:d((()=>[i(b,{modelValue:s.form_code,"onUpdate:modelValue":a[3]||(a[3]=e=>s.form_code=e),placeholder:"请输入验证码"},null,8,["modelValue"]),i(C,{class:"send_button",onClick:a[4]||(a[4]=e=>l.sendCode())},{default:d((()=>[s.send_count_down?(u(),r(I,{key:1},{default:d((()=>[m("重新发送 "+h(s.send_count_down)+" S",1)])),_:1})):(u(),r(I,{key:0},{default:d((()=>[m("发送验证码")])),_:1}))])),_:1})])),_:1})],64)):f("",!0),i(C,{class:"underlinecontainer"},{default:d((()=>[i(C,{class:"typeleft",onClick:a[5]||(a[5]=e=>l.changeType())},{default:d((()=>[0===s.type?(u(),r(I,{key:0},{default:d((()=>[m("短信验证码登录")])),_:1})):(u(),r(I,{key:1},{default:d((()=>[m("用户名密码登录")])),_:1}))])),_:1}),i(C,{class:"typeright",onClick:a[6]||(a[6]=e=>l.registerUserInfo())},{default:d((()=>[i(I,{class:"a"},{default:d((()=>[m("没有用户名?点击注册")])),_:1})])),_:1})])),_:1}),i(C,{class:"button"},{default:d((()=>[i(U,{onClick:a[7]||(a[7]=e=>l.login())},{default:d((()=>[m("登录")])),_:1})])),_:1}),i(C,{class:"tip"},{default:d((()=>[i(T,{onChange:l.privacyChange},{default:d((()=>[i(x,{value:"privacy",color:"#0068B7",style:{transform:"scale(0.7)"}})])),_:1},8,["onChange"]),i(I,null,{default:d((()=>[m(" 我已阅读并同意"),i(I,{class:"a"},{default:d((()=>[m("《隐私政策》")])),_:1}),m("和"),i(I,{class:"a"},{default:d((()=>[m("《服务协议》")])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-cfc76126"]]);export{I as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-login-register.CjJkEdpm.js ファイルの表示

@@ -1 +0,0 @@
1
-import{c as e,s,a,r,h as t,d as i,w as o,i as l,o as n,e as d,f as u,D as p,F as c,g,j as m,k as h,I as _,m as w,t as f,l as V}from"./index-CyEi9qWZ.js";import{_ as E}from"./logo.B4ZkV_hz.js";import{_ as k}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=k({data:()=>({register_username:"",register_email:"",register_password:"",register_password_sub:"",passwordError:!0,showSuggestions:!1,emailValid:!1,passwordValid:!1,usernameValid:!1,suggestedSuffixes:["@qq.com"]}),methods:{return2login(){e({url:"./login"})},validatePassword(){this.register_password!==this.register_password_sub?(this.passwordError=!0,s({title:"两次输入的密码不一致!",icon:"none"})):this.passwordError=!1},validateUsername(){this.usernameValid=this.register_username},checkPassword(){this.passwordValid=this.register_password},validateEmail(){this.emailValid=/^[a-zA-Z0-9._%+-]/.test(this.register_email),this.emailValid||s({title:"邮箱格式不正确",icon:"none"})},onInputEmail(e){e&&e.target&&(e.detail.value?this.showSuggestions=!0:this.showSuggestions=!1)},appendSuffix(e){this.register_email+=e,this.showSuggestions=!1},async register(){if(this.emailValid)if(this.usernameValid)if(this.passwordValid){if(this.passwordError&&(this.passwordError=this.register_password!==this.register_password_sub,this.passwordError))s({title:"两次输入的密码不一致",icon:"none"});else if(!this.passwordError&&this.emailValid&&this.usernameValid&&this.passwordValid){const o={username:this.register_username,password:this.register_password,email:this.register_email};a({title:"注册中...",mask:!0});try{const a=await r({url:"https://afanai.top:8089/v1/user/register",method:"POST",data:o,header:{"content-type":"application/json"}});if(t(),201===a.statusCode)s({title:"注册成功",duration:2e3,icon:"success"});else try{a.data&&"object"==typeof a.data&&"error"in a.data&&s({title:a.data.error,duration:2e3,icon:"none"})}catch(e){s({title:"处理服务器响应时出错",duration:2e3,icon:"none"}),console.error("Error processing response data:",e)}}catch(i){t(),s({title:"网络错误,请检查网络",duration:2e3,icon:"none"}),console.error("注册请求出错:",i)}}}else s({title:"请先输入密码",icon:"none"});else s({title:"请先输入用户名",icon:"none"});else s({title:"请先输入邮箱",icon:"none"})}}},[["render",function(e,s,a,r,t,k){const v=h,S=l,b=_,y=V,B=w;return n(),i(S,{class:"page"},{default:o((()=>[d(S,{class:"logo"},{default:o((()=>[d(v,{src:E})])),_:1}),d(S,{class:"input"},{default:o((()=>[d(b,{modelValue:t.register_email,"onUpdate:modelValue":s[0]||(s[0]=e=>t.register_email=e),placeholder:"请输入邮箱地址",onInput:k.onInputEmail,onBlur:k.validateEmail},null,8,["modelValue","onInput","onBlur"]),t.showSuggestions?(n(),i(S,{key:0,class:"suggestions"},{default:o((()=>[(n(!0),u(c,null,p(t.suggestedSuffixes,(e=>(n(),i(y,{key:e,onClick:s=>k.appendSuffix(e)},{default:o((()=>[m(f(t.register_email+e),1)])),_:2},1032,["onClick"])))),128))])),_:1})):g("",!0)])),_:1}),d(S,{class:"input"},{default:o((()=>[d(b,{modelValue:t.register_username,"onUpdate:modelValue":s[1]||(s[1]=e=>t.register_username=e),placeholder:"请输入用户名",onBlur:k.validateUsername},null,8,["modelValue","onBlur"])])),_:1}),d(S,{class:"input"},{default:o((()=>[d(b,{modelValue:t.register_password,"onUpdate:modelValue":s[2]||(s[2]=e=>t.register_password=e),type:"password",placeholder:"请输入密码",onBlur:k.checkPassword},null,8,["modelValue","onBlur"])])),_:1}),d(S,{class:"input"},{default:o((()=>[d(b,{modelValue:t.register_password_sub,"onUpdate:modelValue":s[3]||(s[3]=e=>t.register_password_sub=e),type:"password",placeholder:"请再次输入密码",onBlur:k.validatePassword},null,8,["modelValue","onBlur"])])),_:1}),d(S,{class:"underlinecontainer"},{default:o((()=>[d(S,{class:"buttonleft"},{default:o((()=>[d(B,{onClick:s[4]||(s[4]=e=>k.return2login())},{default:o((()=>[m("返回登录")])),_:1})])),_:1}),d(S,{class:"buttonright"},{default:o((()=>[d(B,{onClick:s[5]||(s[5]=e=>k.register())},{default:o((()=>[m("立即注册")])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-a1b095e7"]]);export{v as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-1-tabbar-1.SCaxxzRr.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-2-lottoryDetail0.BSskkEzZ.js ファイルの表示

@@ -1 +0,0 @@
1
-import{ad as t,r as e,s as i,v as o,d as s,w as a,i as r,o as n,e as c,f as l,D as d,F as u,Q as m,j as p,t as f,k as h,l as v}from"./index-CyEi9qWZ.js";import{_ as S}from"./uni-search-bar.h3kPee74.js";import{r as _}from"./uni-app.es.Cbyfkuy6.js";import{_ as y}from"./uni-list-item.BqBzYHuU.js";import{_ as C}from"./uni-list.B-iOxwun.js";import{_ as j}from"./uni-section.DzSFTShA.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-icons.DLqzPOHi.js";const b=g({data:()=>({src:"",danmuList:[{text:"第 1s 出现的弹幕",color:"#ff0000",time:1}],videoList:[{title:"鞠婧祎视频 1 ",viSrc:"https://afanai.top:8088/video/982789760.mp4",imSrc:"https://afanai.top:8088/video/982789760frame.jpg",video_id:""},{title:"鞠婧祎视频 2 ",viSrc:"https://afanai.top:8088/video/428743782.mp4",imSrc:"https://afanai.top:8088/video/428743782frame.jpg",video_id:""}],videoListDefault:[{title:"鞠婧祎视频 1 ",viSrc:"https://afanai.top:8088/video/982789760.mp4",imSrc:"https://afanai.top:8088/video/982789760frame.jpg",video_id:""},{title:"鞠婧祎视频 2 ",viSrc:"https://afanai.top:8088/video/428743782.mp4",imSrc:"https://afanai.top:8088/video/428743782frame.jpg",video_id:""}],danmuValue:"",videoSrc:"",posterSrc:""}),onReady:function(e){this.videoContext=t("myVideo")},methods:{sendDanmu:function(){this.videoContext.sendDanmu({text:this.danmuValue,color:this.getRandomColor()}),this.danmuValue=""},videoErrorCallback:function(t){},getRandomColor:function(){const t=[];for(let e=0;e<3;++e){let e=Math.floor(256*Math.random()).toString(16);e=1==e.length?"0"+e:e,t.push(e)}return"#"+t.join("")},async search(t){if(""==t.value)this.videoList=this.videoListDefault;else{let e=[];this.videoList=[],e=await this.fetchSearchResults(t.value),e.forEach(((t,e)=>{let i={title:t.video_name,viSrc:"",imSrc:t.cover_url,video_id:t.video_id};this.videoList.push(i)}))}this.videoSrc="",this.posterSrc=""},async fetchSearchResults(t){const o=await e({url:`https://afanai.top:8089/v1/video/search?query=${encodeURIComponent(t)}`,method:"GET",header:{}});if(200===o.statusCode){const t=o.data;return"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(t.queryRes)?t.queryRes:(i({title:"未搜索到相关视频",duration:2e3,icon:"none"}),[])}return i({title:"查找失败",duration:2e3,icon:"none"}),[]},async onPlayListClick(t){this.posterSrc!=t.imSrc?""===t.video_id?(this.videoSrc=t.viSrc,this.posterSrc=t.imSrc,i({title:t.title,icon:"success"})):(this.videoSrc=await this.fetchVideoUrl(t.video_id),this.posterSrc=t.imSrc,i({title:t.title,icon:"success"})):i({title:"已载入",icon:"success"})},async fetchVideoUrl(t){const o=await e({url:`https://afanai.top:8089/v1/video/getBlobUrl?query=${encodeURIComponent(t)}`,method:"GET",header:{}});if(200===o.statusCode){const t=o.data;return"string"==typeof t&&(t=JSON.parse(t)),t.queryRes?t.queryRes:(i({title:"未搜索到相关视频",duration:2e3,icon:"none"}),"")}return i({title:"查找失败",duration:2e3,icon:"none"}),""}}},[["render",function(t,e,i,g,b,x){const L=_(o("uni-search-bar"),S),R=r,k=m,q=h,w=v,E=_(o("uni-list-item"),y),V=_(o("uni-list"),C),D=_(o("uni-section"),j);return n(),s(R,{class:"container"},{default:a((()=>[c(R,{class:"search-container"},{default:a((()=>[c(L,{class:"uni-mt-10",radius:"5",placeholder:"搜索视频名称",clearButton:"auto",cancelButton:"none",onConfirm:x.search},null,8,["onConfirm"])])),_:1}),c(R,{class:"uni-list uni-common-mt"},{default:a((()=>[c(R,{class:"video-container"},{default:a((()=>[c(k,{id:"myVideo",src:b.videoSrc,poster:b.posterSrc,onError:x.videoErrorCallback,"danmu-list":b.danmuList,controls:"","show-loading":"","show-mute-btn":""},null,8,["src","poster","onError","danmu-list"])])),_:1}),c(D,{title:"播放列表",type:"line"},{default:a((()=>[(n(!0),l(u,null,d(b.videoList,((t,e)=>(n(),s(V,{key:e},{default:a((()=>[c(E,{clickable:"",onClick:e=>x.onPlayListClick(t)},{header:a((()=>[c(R,{class:"slot-box"},{default:a((()=>[c(q,{class:"slot-image",src:t.imSrc},null,8,["src"])])),_:2},1024)])),body:a((()=>[c(w,{class:"slot-box slot-text"},{default:a((()=>[p(f(t.title),1)])),_:2},1024)])),footer:a((()=>[c(w,{class:"slot-box slot-text-play"},{default:a((()=>[p("立即载入")])),_:1})])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-28b7433d"]]);export{b as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-3-tabbar-3.UpFTFjhh.js ファイルの表示

@@ -1 +0,0 @@
1
-import{n as a,d as e,w as t,x as s,i as o,o as l,e as r,j as i,k as c,l as b}from"./index-CyEi9qWZ.js";import{_ as d}from"./logo.B4ZkV_hz.js";import{_ as n}from"./_plugin-vue_export-helper.BCo6x5W8.js";const p=""+new URL("release-CTzBBa1X.png",import.meta.url).href,m=""+new URL("video-DcMHtfR9.png",import.meta.url).href,g=""+new URL("qa-eV2qC_Fw.png",import.meta.url).href;const f=n({data:()=>({active:!1}),onLoad(){},onShow(){this.active=!0},onHide(){this.active=!1},methods:{goToPage(e){e&&a({url:e})}}},[["render",function(a,n,f,u,_,x){const v=c,h=b,w=o;return l(),e(w,{class:s(["content",{active:_.active}])},{default:t((()=>[r(v,{class:s(["logo",{active:_.active}]),src:d,mode:"aspectFit"},null,8,["class"]),r(w,{class:"tabbar-box-wrap"},{default:t((()=>[r(w,{class:"tabbar-box"},{default:t((()=>[r(w,{class:"tabbar-box-item",onClick:n[0]||(n[0]=a=>x.goToPage("/pages/tabbar-3-detial/tabbar-3-release/tabbar-3-release"))},{default:t((()=>[r(v,{class:"box-image",src:p,mode:"aspectFit"}),r(h,{class:"explain"},{default:t((()=>[i("上传图文")])),_:1})])),_:1}),r(w,{class:"tabbar-box-item",onClick:n[1]||(n[1]=a=>x.goToPage("/pages/tabbar-3-detial/tabbar-3-video/tabbar-3-video"))},{default:t((()=>[r(v,{class:"box-image",src:m,mode:"aspectFit"}),r(h,{class:"explain"},{default:t((()=>[i("上传视频")])),_:1})])),_:1}),r(w,{class:"tabbar-box-item",onClick:n[2]||(n[2]=a=>x.goToPage("/pages/tabbar-3-detial/tabbar-3-qa/tabbar-3-qa"))},{default:t((()=>[r(v,{class:"box-image",src:g,mode:"aspectFit"}),r(h,{class:"explain"},{default:t((()=>[i("上传文件")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["class"])}],["__scopeId","data-v-f4279895"]]);export{f as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-4-chat.DdWDaqdP.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-4-tabbar-4.C1-4cVkT.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-5-tabbar-5.B6es049A.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-5-uploadMgr.Cpdn6pn8.js ファイルの表示

@@ -1 +0,0 @@
1
-import{v as t,d as i,w as s,i as l,o as a,e,x as o,j as c,f as n,D as d,F as u,g as f,m,t as r,k as _,l as p}from"./index-CyEi9qWZ.js";import{_ as v}from"./uni-list-item.BqBzYHuU.js";import{r as b}from"./uni-app.es.Cbyfkuy6.js";import{_ as k}from"./uni-list.B-iOxwun.js";import{_ as h}from"./uni-section.DzSFTShA.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-icons.DLqzPOHi.js";const y=x({data:()=>({activeTab:"video",videoDownloadList:[{title:"鞠婧祎视频 1 ",viSrc:"https://afanai.top:8088/video/982789760.mp4",imSrc:"https://afanai.top:8088/video/982789760frame.jpg"},{title:"鞠婧祎视频 2 ",viSrc:"https://afanai.top:8088/video/428743782.mp4",imSrc:"https://afanai.top:8088/video/428743782frame.jpg"}],imageDownloadList:[],fileDownloadList:[],isImageActive:!1,isVideoActive:!0,isFileActive:!1}),methods:{switchTab(t){this.activeTab=t,this.isImageActive="image"==t,this.isVideoActive="video"==t,this.isFileActive="file"==t},showDetile(t){console.log(t)}}},[["render",function(x,y,g,C,w,j){const A=m,D=l,L=_,T=p,S=b(t("uni-list-item"),v),F=b(t("uni-list"),k),I=b(t("uni-section"),h);return a(),i(D,{class:"container"},{default:s((()=>[e(D,{class:"button-bar"},{default:s((()=>[e(A,{class:o({active:w.isImageActive}),onClick:y[0]||(y[0]=t=>j.switchTab("image"))},{default:s((()=>[c("图片")])),_:1},8,["class"]),e(A,{class:o({active:w.isVideoActive}),onClick:y[1]||(y[1]=t=>j.switchTab("video"))},{default:s((()=>[c("视频")])),_:1},8,["class"]),e(A,{class:o({active:w.isFileActive}),onClick:y[2]||(y[2]=t=>j.switchTab("file"))},{default:s((()=>[c("文件")])),_:1},8,["class"])])),_:1}),"image"===w.activeTab?(a(),i(D,{key:0},{default:s((()=>[e(D,{class:"uni-list uni-common-mt"},{default:s((()=>[e(I,{title:"上传列表",type:"line"},{default:s((()=>[(a(!0),n(u,null,d(w.imageDownloadList,((t,l)=>(a(),i(F,{key:l},{default:s((()=>[e(S,{clickable:"",onClick:i=>x.onPlayListClick(t)},{header:s((()=>[e(D,{class:"slot-box"},{default:s((()=>[e(L,{class:"slot-image",src:t.imSrc},null,8,["src"])])),_:2},1024)])),body:s((()=>[e(T,{class:"slot-box slot-text"},{default:s((()=>[c(r(t.title),1)])),_:2},1024)])),footer:s((()=>[e(T,{class:"slot-box slot-text-play"},{default:s((()=>[c("立即载入")])),_:1})])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):f("",!0),"video"===w.activeTab?(a(),i(D,{key:1},{default:s((()=>[e(D,{class:"uni-list uni-common-mt"},{default:s((()=>[e(I,{title:"上传列表",type:"line"},{default:s((()=>[(a(!0),n(u,null,d(w.videoDownloadList,((t,l)=>(a(),i(F,{key:l},{default:s((()=>[e(S,{onClick:i=>x.onPlayListClick(t)},{header:s((()=>[e(D,{class:"slot-box"},{default:s((()=>[e(L,{class:"slot-image",src:t.imSrc},null,8,["src"])])),_:2},1024)])),body:s((()=>[e(T,{class:"slot-box slot-text"},{default:s((()=>[c(r(t.title),1)])),_:2},1024)])),footer:s((()=>[e(A,{class:"slot-box slot-text-play",onClick:i=>j.showDetile(t)},{default:s((()=>[c("详情")])),_:2},1032,["onClick"])])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):f("",!0),"file"===w.activeTab?(a(),i(D,{key:2},{default:s((()=>[e(D,{class:"uni-list uni-common-mt"},{default:s((()=>[e(I,{title:"上传列表",type:"line"},{default:s((()=>[(a(!0),n(u,null,d(w.fileDownloadList,((t,l)=>(a(),i(F,{key:l},{default:s((()=>[e(S,{clickable:"",onClick:i=>x.onPlayListClick(t)},{header:s((()=>[e(D,{class:"slot-box"},{default:s((()=>[e(L,{class:"slot-image",src:t.imSrc},null,8,["src"])])),_:2},1024)])),body:s((()=>[e(T,{class:"slot-box slot-text"},{default:s((()=>[c(r(t.title),1)])),_:2},1024)])),footer:s((()=>[e(T,{class:"slot-box slot-text-play"},{default:s((()=>[c("立即载入")])),_:1})])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})):f("",!0)])),_:1})}],["__scopeId","data-v-a2187907"]]);export{y as default};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/pages-tabbar-tabbar-5-userInfo.DmLTC191.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/storage.Bjb8lQU5.js ファイルの表示

@@ -1 +0,0 @@
1
-import{b as e}from"./index-CyEi9qWZ.js";function s(s){if(s){const a=s.split(".");if(3===a.length){const s=JSON.parse(atob(a[1])),r={userId:s.sub,username:s.username,email:s.email,avatar:s.avatar_url,bio:s.bio};e("userInfo",r)}}else e("userInfo",{})}export{s};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/tabbar-2-r6zNqdOY.css ファイルの表示

@@ -1 +0,0 @@
1
-.uni-grid-item[data-v-0810a0ad]{height:100%;display:flex;cursor:pointer}.uni-grid-item__box[data-v-0810a0ad]{display:flex;width:100%;position:relative;flex:1;flex-direction:column}.uni-grid-item--border[data-v-0810a0ad]{position:relative;z-index:0;border-bottom:1px #D2D2D2 solid;border-right:1px #D2D2D2 solid}.uni-grid-item--border-top[data-v-0810a0ad]{position:relative;border-top:1px #D2D2D2 solid;z-index:0}.uni-highlight[data-v-0810a0ad]:active{background-color:#f1f1f1}.uni-grid-wrap[data-v-257e8068]{display:flex;flex:1;flex-direction:column;width:100%}.uni-grid[data-v-257e8068]{display:flex;flex-direction:row;flex-wrap:wrap}.uni-grid--border[data-v-257e8068]{position:relative;z-index:1;border-left:1px #D2D2D2 solid}.container[data-v-18e436e0]{padding:.625rem}.list-text[data-v-18e436e0]{font-size:1.5rem;font-weight:700}.image[data-v-18e436e0]{width:100%;height:100%}.text[data-v-18e436e0]{font-size:14px;margin-top:5px}.grid-dynamic-box[data-v-18e436e0]{margin-bottom:15px}.grid-item-box[data-v-18e436e0]{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.grid-item-box-row[data-v-18e436e0]{flex:1;position:relative;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:15px 0}

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-card.C5Hdvv8G.js ファイルの表示

@@ -1 +0,0 @@
1
-import{o as a,d as e,w as t,A as l,e as i,g as s,j as d,t as n,y as r,x as c,k as o,i as u,l as _}from"./index-CyEi9qWZ.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const f=p({name:"UniCard",emits:["click"],props:{title:{type:String,default:""},subTitle:{type:String,default:""},padding:{type:String,default:"10px"},margin:{type:String,default:"15px"},spacing:{type:String,default:"0 10px"},extra:{type:String,default:""},cover:{type:String,default:""},thumbnail:{type:String,default:""},isFull:{type:Boolean,default:!1},isShadow:{type:Boolean,default:!0},shadow:{type:String,default:"0px 0px 3px 1px rgba(0, 0, 0, 0.08)"},border:{type:Boolean,default:!0}},methods:{onClick(a){this.$emit("click",a)}}},[["render",function(p,f,g,h,x,y){const k=o,m=u,b=_;return a(),e(m,{class:c(["uni-card",{"uni-card--full":g.isFull,"uni-card--shadow":g.isShadow,"uni-card--border":g.border}]),style:r({margin:g.isFull?0:g.margin,padding:g.spacing,"box-shadow":g.isShadow?g.shadow:""})},{default:t((()=>[l(p.$slots,"cover",{},(()=>[g.cover?(a(),e(m,{key:0,class:"uni-card__cover"},{default:t((()=>[i(k,{class:"uni-card__cover-image",mode:"widthFix",onClick:f[0]||(f[0]=a=>y.onClick("cover")),src:g.cover},null,8,["src"])])),_:1})):s("",!0)]),!0),l(p.$slots,"title",{},(()=>[g.title||g.extra?(a(),e(m,{key:0,class:"uni-card__header"},{default:t((()=>[i(m,{class:"uni-card__header-box",onClick:f[1]||(f[1]=a=>y.onClick("title"))},{default:t((()=>[g.thumbnail?(a(),e(m,{key:0,class:"uni-card__header-avatar"},{default:t((()=>[i(k,{class:"uni-card__header-avatar-image",src:g.thumbnail,mode:"aspectFit"},null,8,["src"])])),_:1})):s("",!0),i(m,{class:"uni-card__header-content"},{default:t((()=>[i(b,{class:"uni-card__header-content-title uni-ellipsis"},{default:t((()=>[d(n(g.title),1)])),_:1}),g.title&&g.subTitle?(a(),e(b,{key:0,class:"uni-card__header-content-subtitle uni-ellipsis"},{default:t((()=>[d(n(g.subTitle),1)])),_:1})):s("",!0)])),_:1})])),_:1}),i(m,{class:"uni-card__header-extra",onClick:f[2]||(f[2]=a=>y.onClick("extra"))},{default:t((()=>[i(b,{class:"uni-card__header-extra-text"},{default:t((()=>[d(n(g.extra),1)])),_:1})])),_:1})])),_:1})):s("",!0)]),!0),i(m,{class:"uni-card__content",style:r({padding:g.padding}),onClick:f[3]||(f[3]=a=>y.onClick("content"))},{default:t((()=>[l(p.$slots,"default",{},void 0,!0)])),_:3},8,["style"]),i(m,{class:"uni-card__actions",onClick:f[4]||(f[4]=a=>y.onClick("actions"))},{default:t((()=>[l(p.$slots,"actions",{},void 0,!0)])),_:3})])),_:3},8,["class","style"])}],["__scopeId","data-v-b4135a35"]]);export{f as _};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-file-picker.hffu4e0U.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-icons.DLqzPOHi.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-list-item.BqBzYHuU.js
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-list.B-iOxwun.js ファイルの表示

@@ -1 +0,0 @@
1
-import{o as e,d as o,w as t,g as s,A as r,i as l}from"./index-CyEi9qWZ.js";import{_ as a}from"./_plugin-vue_export-helper.BCo6x5W8.js";const i=a({name:"uniList","mp-weixin":{options:{multipleSlots:!1}},props:{stackFromEnd:{type:Boolean,default:!1},enableBackToTop:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},border:{type:Boolean,default:!0},renderReverse:{type:Boolean,default:!1}},created(){this.firstChildAppend=!1},methods:{loadMore(e){this.$emit("scrolltolower")},scroll(e){this.$emit("scroll",e)}}},[["render",function(a,i,d,n,p,u){const c=l;return e(),o(c,{class:"uni-list uni-border-top-bottom"},{default:t((()=>[d.border?(e(),o(c,{key:0,class:"uni-list--border-top"})):s("",!0),r(a.$slots,"default",{},void 0,!0),d.border?(e(),o(c,{key:1,class:"uni-list--border-bottom"})):s("",!0)])),_:3})}],["__scopeId","data-v-c1d7c358"]]);export{i as _};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-search-bar.h3kPee74.js ファイルの表示

@@ -1 +0,0 @@
1
-import{z as e,ae as a,v as l,o as t,d as c,w as s,e as r,y as o,A as n,j as i,t as h,g as u,i as d,I as p,l as m}from"./index-CyEi9qWZ.js";import{_ as f}from"./uni-icons.DLqzPOHi.js";import{r as y}from"./uni-app.es.Cbyfkuy6.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const x={en:{"uni-search-bar.cancel":"cancel","uni-search-bar.placeholder":"Search enter content"},"zh-Hans":{"uni-search-bar.cancel":"取消","uni-search-bar.placeholder":"请输入搜索内容"},"zh-Hant":{"uni-search-bar.cancel":"取消","uni-search-bar.placeholder":"請輸入搜索內容"}},{t:_}=e(x);const g=b({name:"UniSearchBar",emits:["input","update:modelValue","clear","cancel","confirm","blur","focus"],props:{placeholder:{type:String,default:""},radius:{type:[Number,String],default:5},clearButton:{type:String,default:"auto"},cancelButton:{type:String,default:"auto"},cancelText:{type:String,default:""},bgColor:{type:String,default:"#F8F8F8"},textColor:{type:String,default:"#000000"},maxlength:{type:[Number,String],default:100},value:{type:[Number,String],default:""},modelValue:{type:[Number,String],default:""},focus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data:()=>({show:!1,showSync:!1,searchVal:""}),computed:{cancelTextI18n(){return this.cancelText||_("uni-search-bar.cancel")},placeholderText(){return this.placeholder||_("uni-search-bar.placeholder")}},watch:{modelValue:{immediate:!0,handler(e){this.searchVal=e,e&&(this.show=!0)}},focus:{immediate:!0,handler(e){if(e){if(this.readonly)return;this.show=!0,this.$nextTick((()=>{this.showSync=!0}))}}},searchVal(e,a){this.$emit("input",e),this.$emit("update:modelValue",e)}},methods:{searchClick(){this.readonly||this.show||(this.show=!0,this.$nextTick((()=>{this.showSync=!0})))},clear(){this.searchVal="",this.$nextTick((()=>{this.$emit("clear",{value:""})}))},cancel(){this.readonly||(this.$emit("cancel",{value:this.searchVal}),this.searchVal="",this.show=!1,this.showSync=!1,a())},confirm(){a(),this.$emit("confirm",{value:this.searchVal})},blur(){a(),this.$emit("blur",{value:this.searchVal})},emitFocus(e){this.$emit("focus",e.detail)}}},[["render",function(e,a,b,x,_,g){const V=y(l("uni-icons"),f),w=d,k=p,S=m;return t(),c(w,{class:"uni-searchbar"},{default:s((()=>[r(w,{style:o({borderRadius:b.radius+"px",backgroundColor:b.bgColor}),class:"uni-searchbar__box",onClick:g.searchClick},{default:s((()=>[r(w,{class:"uni-searchbar__box-icon-search"},{default:s((()=>[n(e.$slots,"searchIcon",{},(()=>[r(V,{color:"#c0c4cc",size:"18",type:"search"})]),!0)])),_:3}),_.show||_.searchVal?(t(),c(k,{key:0,focus:_.showSync,disabled:b.readonly,placeholder:g.placeholderText,maxlength:b.maxlength,class:"uni-searchbar__box-search-input","confirm-type":"search",type:"text",modelValue:_.searchVal,"onUpdate:modelValue":a[0]||(a[0]=e=>_.searchVal=e),style:o({color:b.textColor}),onConfirm:g.confirm,onBlur:g.blur,onFocus:g.emitFocus},null,8,["focus","disabled","placeholder","maxlength","modelValue","style","onConfirm","onBlur","onFocus"])):(t(),c(S,{key:1,class:"uni-searchbar__text-placeholder"},{default:s((()=>[i(h(b.placeholder),1)])),_:1})),_.show&&("always"===b.clearButton||"auto"===b.clearButton&&""!==_.searchVal)&&!b.readonly?(t(),c(w,{key:2,class:"uni-searchbar__box-icon-clear",onClick:g.clear},{default:s((()=>[n(e.$slots,"clearIcon",{},(()=>[r(V,{color:"#c0c4cc",size:"20",type:"clear"})]),!0)])),_:3},8,["onClick"])):u("",!0)])),_:3},8,["style","onClick"]),"always"===b.cancelButton||_.show&&"auto"===b.cancelButton?(t(),c(S,{key:0,onClick:g.cancel,class:"uni-searchbar__cancel"},{default:s((()=>[i(h(g.cancelTextI18n),1)])),_:1},8,["onClick"])):u("",!0)])),_:3})}],["__scopeId","data-v-314f636a"]]);export{g as _};

+ 0
- 1
DaoDaoFrontend/unpackage/dist/build/web/assets/uni-section.DzSFTShA.js ファイルの表示

@@ -1 +0,0 @@
1
-import{o as t,d as e,w as i,e as s,x as l,A as n,y as o,j as a,t as d,g as r,i as u,l as c}from"./index-CyEi9qWZ.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const _=p({name:"UniSection",emits:["click"],props:{type:{type:String,default:""},title:{type:String,required:!0,default:""},titleFontSize:{type:String,default:"14px"},titleColor:{type:String,default:"#333"},subTitle:{type:String,default:""},subTitleFontSize:{type:String,default:"12px"},subTitleColor:{type:String,default:"#999"},padding:{type:[Boolean,String],default:!1}},computed:{_padding(){return"string"==typeof this.padding?this.padding:this.padding?"10px":""}},watch:{title(t){uni.report&&""!==t&&uni.report("title",t)}},methods:{onClick(){this.$emit("click")}}},[["render",function(p,_,f,y,g,h){const S=u,b=c;return t(),e(S,{class:"uni-section"},{default:i((()=>[s(S,{class:"uni-section-header",onClick:h.onClick},{default:i((()=>[f.type?(t(),e(S,{key:0,class:l(["uni-section-header__decoration",f.type])},null,8,["class"])):n(p.$slots,"decoration",{key:1},void 0,!0),s(S,{class:"uni-section-header__content"},{default:i((()=>[s(b,{style:o({"font-size":f.titleFontSize,color:f.titleColor}),class:l(["uni-section__content-title",{distraction:!f.subTitle}])},{default:i((()=>[a(d(f.title),1)])),_:1},8,["style","class"]),f.subTitle?(t(),e(b,{key:0,style:o({"font-size":f.subTitleFontSize,color:f.subTitleColor}),class:"uni-section-header__content-sub"},{default:i((()=>[a(d(f.subTitle),1)])),_:1},8,["style"])):r("",!0)])),_:1}),s(S,{class:"uni-section-header__slot-right"},{default:i((()=>[n(p.$slots,"right",{},void 0,!0)])),_:3})])),_:3},8,["onClick"]),s(S,{class:"uni-section-content",style:o({padding:h._padding})},{default:i((()=>[n(p.$slots,"default",{},void 0,!0)])),_:3},8,["style"])])),_:3})}],["__scopeId","data-v-0a8818d5"]]);export{_};