This commit is contained in:
parent
8ad2b0296e
commit
59e2765944
|
@ -12,7 +12,7 @@ const serviceEnv: ServiceEnv = {
|
||||||
json: 'http://localhost:8080',
|
json: 'http://localhost:8080',
|
||||||
},
|
},
|
||||||
prod: {
|
prod: {
|
||||||
url: 'https://hex.jipinq.cn',
|
url: 'https://www.szjinao.cn',
|
||||||
json: 'http://localhost:8080',
|
json: 'http://localhost:8080',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name" : "旅游度假预约出行系统",
|
"name" : "金澳国际旅游",
|
||||||
"appid" : "__UNI__FAB99D9",
|
"appid" : "__UNI__FAB99D9",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
|
|
|
@ -53,6 +53,23 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import {orderList} from '@/service/api/user/index'
|
import {orderList} from '@/service/api/user/index'
|
||||||
import { getErrorMsg, hideLoading, showErrorModal, showLoading, showToast } from '@/utils'
|
import { getErrorMsg, hideLoading, showErrorModal, showLoading, showToast } from '@/utils'
|
||||||
|
import { onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
|
||||||
|
/** 激活“分享给好友” */
|
||||||
|
// onShareAppMessage((options: Page.ShareAppMessageOption): Page.CustomShareContent => {
|
||||||
|
// console.log('options:', options)
|
||||||
|
// return {
|
||||||
|
// title: '自定义分享标题',
|
||||||
|
// desc: 'unibest 演示示例',
|
||||||
|
// path: '/pages/index/index?id=xxx',
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
// /** 激活“分享到朋友圈”, 注意:需要先激活“分享给好友” */
|
||||||
|
// onShareTimeline((): Page.ShareTimelineContent => {
|
||||||
|
// return {
|
||||||
|
// title: '自定义分享标题',
|
||||||
|
// query: 'a=1&b=2',
|
||||||
|
// }
|
||||||
|
// })
|
||||||
// 获取屏幕边界到安全区域距离
|
// 获取屏幕边界到安全区域距离
|
||||||
const { safeAreaInsets } = uni.getSystemInfoSync()
|
const { safeAreaInsets } = uni.getSystemInfoSync()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue