{
{Array.from({ length: 5 }).map((_, index) => (

index
+ (store.data?.today.exponents.zonghe.star || 0) > index
? '/icons/stared.png'
: '/icons/starun.png'
}
diff --git a/src/widgets/constellation/Small.tsx b/src/widgets/constellation/Small.tsx
index bf0a763..b4c4562 100644
--- a/src/widgets/constellation/Small.tsx
+++ b/src/widgets/constellation/Small.tsx
@@ -3,12 +3,25 @@ import { defineComponent } from 'vue'
export default defineComponent(() => {
return () => (
-
+

+
+
+
游戏折扣
+
+ 立即查看
+
+

+
+
+
+
)
})
+
diff --git a/src/widgets/constellation/starCicle.tsx b/src/widgets/constellation/starCicle.tsx
new file mode 100644
index 0000000..f98340a
--- /dev/null
+++ b/src/widgets/constellation/starCicle.tsx
@@ -0,0 +1,54 @@
+import { ConfigProvider, Progress } from 'ant-design-vue'
+import { defineComponent } from 'vue'
+
+export default defineComponent({
+ name: 'StarCicle',
+ props: {
+ star: {
+ type: Number,
+ default: 1
+ },
+ type: {
+ type: String,
+ default: '综合运势'
+ },
+ size: {
+ type: Number,
+ default: 80
+ }
+ },
+ setup(props) {
+ return () => (
+
+

+
+
+ {props.type}
+
+
+ )
+ }
+})
diff --git a/src/widgets/constellation/useConstellationStore.ts b/src/widgets/constellation/useConstellationStore.ts
index a121a85..f0cca09 100644
--- a/src/widgets/constellation/useConstellationStore.ts
+++ b/src/widgets/constellation/useConstellationStore.ts
@@ -85,7 +85,7 @@ export const zodiacMap = new Map
([
[107, "天秤座"],
[108, "天蝎座"],
[109, "射手座"],
- [110, "魔羯座"],
+ [110, "摩羯座"],
[111, "水瓶座"],
[112, "双鱼座"]
]);
diff --git a/src/widgets/discount/Modal.tsx b/src/widgets/discount/Modal.tsx
index 4006149..3b84059 100644
--- a/src/widgets/discount/Modal.tsx
+++ b/src/widgets/discount/Modal.tsx
@@ -10,10 +10,8 @@ export default defineComponent(() => {
const handleScroll = () => {
const container = containerRef.value
- console.log(container)
if (container.scrollTop + container.clientHeight >= container.scrollHeight - 50) {
- console.log('到底了')
store.getNews()
}
diff --git a/src/widgets/gameNews/Modal.tsx b/src/widgets/gameNews/Modal.tsx
index 9450d42..3bfa829 100644
--- a/src/widgets/gameNews/Modal.tsx
+++ b/src/widgets/gameNews/Modal.tsx
@@ -10,10 +10,8 @@ export default defineComponent(() => {
const handleScroll = () => {
const container = containerRef.value
- console.log(container)
if (container.scrollTop + container.clientHeight >= container.scrollHeight - 50) {
- console.log('到底了')
store.getNews()
}
diff --git a/src/widgets/video/useVideoStore.tsx b/src/widgets/video/useVideoStore.tsx
index 67969b9..6e2bb3b 100644
--- a/src/widgets/video/useVideoStore.tsx
+++ b/src/widgets/video/useVideoStore.tsx
@@ -1,8 +1,15 @@
-import { defineStore } from "pinia";
+import useLayoutStore from '@/layout/useLayoutStore'
+import { defineStore } from 'pinia'
+import { computed, ref, watch } from 'vue'
export default defineStore('video', () => {
-
- return {
-
+ const videoList = ref([])
+ const layout = useLayoutStore()
+ watch(
+ () => layout.state.current,
+ (val) => {
+ console.log('videoList', val)
}
-})
\ No newline at end of file
+ )
+ return {}
+})