瀏覽代碼

upload

release
HolyKnightIX 1 年之前
父節點
當前提交
7138737015
共有 3 個文件被更改,包括 24 次插入19 次删除
  1. +3
    -0
      src/main.js
  2. +0
    -19
      src/pages/uploadPhoto/uploadPhoto.vue
  3. +21
    -0
      src/utils/share.js

+ 3
- 0
src/main.js 查看文件

@@ -5,10 +5,13 @@ import "./style/my.scss";
//#region VUE3
import { createSSRApp } from 'vue'
import { store } from '../src/store/index'
import share from "../src/utils/share"
export function createApp() {
const app = createSSRApp(App)
app.use(uviewPlus)
app.use(store)
app.mixin(share)
return {
app
}


+ 0
- 19
src/pages/uploadPhoto/uploadPhoto.vue 查看文件

@@ -424,25 +424,6 @@ onShow(() => {
});
//#endregion ---------------------
onShareAppMessage((res) => {
return {
title: "邃芒智像",
};
});
// 分享到朋友圈
onShareTimeline((res) => {
return {
title: "邃芒智像",
};
});
// 收藏
onAddToFavorites((res) => {
return {
title: "邃芒智像",
};
});
//#region 公共方法
function goOtherPage(url) {


+ 21
- 0
src/utils/share.js 查看文件

@@ -0,0 +1,21 @@
export default {
onShareAppMessage() {
return {
title: "邃芒智像",
};
},

// 分享到朋友圈
onShareTimeline() {
return {
title: "邃芒智像",
};
},

// 收藏
onAddToFavorites() {
return {
title: "邃芒智像",
};
}
}

Loading…
取消
儲存