main
lion 2 years ago
parent c7940d0d8d
commit 1ed28b50e4

@ -63,6 +63,10 @@ const isMobile = (phoneNumber) => {
return regex.test(phoneNumber); return regex.test(phoneNumber);
} }
const shareInfo = {
title:"斜塘街道基层党员冬训",
imageUrl:"/static/share.jpg"
}
export { export {
base64ToFile, base64ToFile,
@ -71,5 +75,6 @@ export {
isCurrentTimeBetween, isCurrentTimeBetween,
isOnlyChinese, isOnlyChinese,
isNull, isNull,
isMobile isMobile,
shareInfo
} }

@ -1,9 +1,9 @@
{ {
"name" : "斜塘党员冬训云课堂", "name" : "斜塘街道基层党员冬训",
"appid" : "__UNI__60B00D5", "appid" : "__UNI__60B00D5",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.1",
"versionCode" : "100", "versionCode" : 101,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {
@ -77,6 +77,6 @@
"disableHostCheck" : true, "disableHostCheck" : true,
"https" : false "https" : false
}, },
"title" : "斜塘党员冬训云课堂" "title" : "斜塘街道基层党员冬训"
} }
} }

@ -54,6 +54,9 @@
</template> </template>
<script> <script>
import {
shareInfo
} from "@/common/util.js"
export default { export default {
data() { data() {
return { return {
@ -69,6 +72,12 @@
} }
}, },
onShareAppMessage() {
return shareInfo
},
onShareTimeline(){
return shareInfo
},
onLoad() { onLoad() {
const MenuButton = uni.getMenuButtonBoundingClientRect() const MenuButton = uni.getMenuButtonBoundingClientRect()
this.navBarTop = MenuButton.top // this.navBarTop = MenuButton.top //

@ -42,7 +42,7 @@
"preloadRule": {}, "preloadRule": {},
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "斜塘党员冬训云课堂", "navigationBarTitleText": "斜塘街道基层党员冬训",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
}, },

@ -24,7 +24,10 @@
</template> </template>
<script> <script>
import uParse from '@/components/gaoyia-parse/parse.vue' import uParse from '@/components/gaoyia-parse/parse.vue'
import {
shareInfo
} from "@/common/util.js"
export default { export default {
components: { components: {
uParse, uParse,
@ -39,6 +42,12 @@
id: '', id: '',
showContent:false showContent:false
} }
},
onShareAppMessage() {
return shareInfo
},
onShareTimeline(){
return shareInfo
}, },
onLoad(options) { onLoad(options) {
const MenuButton = uni.getMenuButtonBoundingClientRect() const MenuButton = uni.getMenuButtonBoundingClientRect()

@ -45,7 +45,8 @@
<script> <script>
import tabbar from "../../components/tabbar/tabbar.vue" import tabbar from "../../components/tabbar/tabbar.vue"
import { import {
isNull isNull,
shareInfo
} from '@/common/util.js' } from '@/common/util.js'
import PrivacyPopup from '@/components/privacy-popup/privacy-popup.vue'; import PrivacyPopup from '@/components/privacy-popup/privacy-popup.vue';
@ -94,6 +95,12 @@
hasNomore: false, hasNomore: false,
} }
},
onShareAppMessage() {
return shareInfo
},
onShareTimeline(){
return shareInfo
}, },
onLoad() { onLoad() {

@ -111,7 +111,8 @@
isNull, isNull,
isOnlyChinese, isOnlyChinese,
isMobile, isMobile,
toast toast,
shareInfo
} from "@/common/util.js" } from "@/common/util.js"
export default { export default {
components: { components: {
@ -155,6 +156,12 @@
} }
},
onShareAppMessage() {
return shareInfo
},
onShareTimeline(){
return shareInfo
}, },
onLoad() { onLoad() {
const MenuButton = uni.getMenuButtonBoundingClientRect() const MenuButton = uni.getMenuButtonBoundingClientRect()

@ -45,7 +45,10 @@
<script> <script>
import swiperListItem from "./components/swiper-list-item.vue" import swiperListItem from "./components/swiper-list-item.vue"
import zTabs from "@/components/z-tabs/z-tabs.vue" import zTabs from "@/components/z-tabs/z-tabs.vue"
import {
shareInfo
} from "@/common/util.js"
export default { export default {
components: { components: {
zTabs, zTabs,
@ -70,6 +73,12 @@
playvideo:false, playvideo:false,
videoUrl:'' videoUrl:''
} }
},
onShareAppMessage() {
return shareInfo
},
onShareTimeline(){
return shareInfo
}, },
onLoad(option) { onLoad(option) {
const MenuButton = uni.getMenuButtonBoundingClientRect() const MenuButton = uni.getMenuButtonBoundingClientRect()

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Loading…
Cancel
Save