|
@@ -7,9 +7,28 @@
|
|
|
:innerStyle="{ width: '460rpx' }"
|
|
:innerStyle="{ width: '460rpx' }"
|
|
|
@confirm="search"
|
|
@confirm="search"
|
|
|
/>
|
|
/>
|
|
|
- <Button type="primary" @click="newData">+ 新增</Button>
|
|
|
|
|
|
|
+ <NButton type="primary" @click="newData">+ 新增</NButton>
|
|
|
</FlexRow>
|
|
</FlexRow>
|
|
|
<FlexCol :gap="20" :margin="[20,0,0,0]">
|
|
<FlexCol :gap="20" :margin="[20,0,0,0]">
|
|
|
|
|
+
|
|
|
|
|
+ <button class="remove-button-style" open-type="share">
|
|
|
|
|
+ <Touchable
|
|
|
|
|
+ direction="column"
|
|
|
|
|
+ center
|
|
|
|
|
+ :padding="20"
|
|
|
|
|
+ :height="300"
|
|
|
|
|
+ backgroundColor="background.primary"
|
|
|
|
|
+ @click=""
|
|
|
|
|
+ >
|
|
|
|
|
+ <FlexCol position="relative">
|
|
|
|
|
+ <Icon icon="smile-filling" color="primary" :size="156" />
|
|
|
|
|
+ <Icon icon="share" color="warning" :size="56" :innerStyle="{ position: 'absolute', bottom: 0, right: '-40rpx' }" />
|
|
|
|
|
+ </FlexCol>
|
|
|
|
|
+ <Height :height="20" />
|
|
|
|
|
+ <Text :fontSize="26" color="primary" text="分享给志愿者注册,加入志愿者队伍" />
|
|
|
|
|
+ </Touchable>
|
|
|
|
|
+ </button>
|
|
|
|
|
+
|
|
|
<FlexRow
|
|
<FlexRow
|
|
|
v-for="item in listLoader.list.value"
|
|
v-for="item in listLoader.list.value"
|
|
|
:key="item.id"
|
|
:key="item.id"
|
|
@@ -39,19 +58,23 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
-import VillageApi from '@/api/inhert/VillageApi';
|
|
|
|
|
-import SimplePageListLoader from '@/common/components/SimplePageListLoader.vue';
|
|
|
|
|
|
|
+import { ref } from 'vue';
|
|
|
|
|
+import { navTo } from '@/components/utils/PageAction';
|
|
|
import { useLoadQuerys } from '@/common/composeabe/LoadQuerys';
|
|
import { useLoadQuerys } from '@/common/composeabe/LoadQuerys';
|
|
|
import { useSimplePageListLoader } from '@/common/composeabe/SimplePageListLoader';
|
|
import { useSimplePageListLoader } from '@/common/composeabe/SimplePageListLoader';
|
|
|
-import Button from '@/components/basic/Button.vue';
|
|
|
|
|
|
|
+import VillageApi from '@/api/inhert/VillageApi';
|
|
|
|
|
+import SimplePageListLoader from '@/common/components/SimplePageListLoader.vue';
|
|
|
|
|
+import NButton from '@/components/basic/Button.vue';
|
|
|
|
|
+import Icon from '@/components/basic/Icon.vue';
|
|
|
import Image from '@/components/basic/Image.vue';
|
|
import Image from '@/components/basic/Image.vue';
|
|
|
import Text from '@/components/basic/Text.vue';
|
|
import Text from '@/components/basic/Text.vue';
|
|
|
import Empty from '@/components/feedback/Empty.vue';
|
|
import Empty from '@/components/feedback/Empty.vue';
|
|
|
import SearchBar from '@/components/form/SearchBar.vue';
|
|
import SearchBar from '@/components/form/SearchBar.vue';
|
|
|
import FlexCol from '@/components/layout/FlexCol.vue';
|
|
import FlexCol from '@/components/layout/FlexCol.vue';
|
|
|
import FlexRow from '@/components/layout/FlexRow.vue';
|
|
import FlexRow from '@/components/layout/FlexRow.vue';
|
|
|
-import { navTo } from '@/components/utils/PageAction';
|
|
|
|
|
-import { ref } from 'vue';
|
|
|
|
|
|
|
+import Touchable from '@/components/feedback/Touchable.vue';
|
|
|
|
|
+import Height from '@/components/layout/space/Height.vue';
|
|
|
|
|
+import { onShareAppMessage } from '@dcloudio/uni-app';
|
|
|
|
|
|
|
|
const { querys } = useLoadQuerys({
|
|
const { querys } = useLoadQuerys({
|
|
|
id: 0,
|
|
id: 0,
|
|
@@ -98,4 +121,10 @@ function goDetail(id: number) {
|
|
|
function search() {
|
|
function search() {
|
|
|
listLoader.loadData(undefined, true);
|
|
listLoader.loadData(undefined, true);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+onShareAppMessage(() => ({
|
|
|
|
|
+ title: '邀请你成为村社挖掘志愿者',
|
|
|
|
|
+ desc: '分享给你的志愿者可以采编村社文化资源信息,加入志愿者队伍,为村社贡献力量。',
|
|
|
|
|
+ path: '/pages/dig/sharereg/share-reg-page',
|
|
|
|
|
+}))
|
|
|
</script>
|
|
</script>
|