diff --git a/uni-app/App.vue b/uni-app/App.vue index 02476b35b..158f461e9 100644 --- a/uni-app/App.vue +++ b/uni-app/App.vue @@ -71,4 +71,8 @@ }) - \ No newline at end of file + \ No newline at end of file diff --git a/uni-app/api/system.ts b/uni-app/api/system.ts index d9c3ec938..7a6b626a5 100644 --- a/uni-app/api/system.ts +++ b/uni-app/api/system.ts @@ -75,4 +75,11 @@ export function fetchBase64Image(data : AnyObject) { */ export function getSiteInfo() { return request.get('site') +} + +/** + * 获取微信小程序订阅消息模板id + */ +export function getWeappTemplateId(keys: string) { + return request.get('weapp/subscribemsg', { keys }) } \ No newline at end of file diff --git a/uni-app/components/diy/article/index.vue b/uni-app/components/diy/article/index.vue index 344f329cd..0d81abc72 100644 --- a/uni-app/components/diy/article/index.vue +++ b/uni-app/components/diy/article/index.vue @@ -21,12 +21,12 @@ \ No newline at end of file diff --git a/uni-app/components/diy/image-ads/index.vue b/uni-app/components/diy/image-ads/index.vue index d5ceaaf6a..aa0f2aa6f 100644 --- a/uni-app/components/diy/image-ads/index.vue +++ b/uni-app/components/diy/image-ads/index.vue @@ -27,7 +27,7 @@ import { img } from '@/utils/common'; import useDiyStore from '@/stores/diy'; - const props = defineProps(['component', 'index']); + const props = defineProps(['component', 'index', 'pullDownRefresh']); const diyStore = useDiyStore(); @@ -54,6 +54,13 @@ return style; }) + watch( + () => props.pullDownRefresh, + (newValue, oldValue) => { + // 处理下拉刷新业务 + } + ) + const imgHeight = computed(() => { return (diyComponent.value.imageHeight * 2) + 'rpx'; }) diff --git a/uni-app/components/diy/member-info/index.vue b/uni-app/components/diy/member-info/index.vue index d58fb7bda..1b6818e68 100644 --- a/uni-app/components/diy/member-info/index.vue +++ b/uni-app/components/diy/member-info/index.vue @@ -64,7 +64,7 @@ \ No newline at end of file diff --git a/uni-app/components/fixed/group/index.vue b/uni-app/components/fixed/group/index.vue index 2c8aff94a..6792d3ee5 100644 --- a/uni-app/components/fixed/group/index.vue +++ b/uni-app/components/fixed/group/index.vue @@ -1,14 +1,14 @@