-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- 分享管理 --> | ||
<template> | ||
<!-- 滚动内容 --> | ||
<nut-swipe | ||
ref="swipe" | ||
class="share-item-swipe" | ||
:disabled="props.disabled" | ||
@close="setIsMoveClose()" | ||
@open="setIsMoveOpen()" | ||
@click="onClickPreviews()" | ||
> | ||
<div class="share-wrapper"></div> | ||
</nut-swipe> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { onMounted, ref } from "vue"; | ||
|
||
import { useSubsApi } from "@/api/subs"; | ||
|
||
const subsApi = useSubsApi(); | ||
const swipe = ref(); | ||
const type = ref("sub"); | ||
const name = ref("SurgePro"); | ||
const getShareList = async () => { | ||
const res = await subsApi.shareQuery(type.value, name.value); | ||
console.log("res", res); | ||
}; | ||
onMounted(() => { | ||
getShareList(); | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.share-wrapper { | ||
min-height: 100%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters