|
@@ -205,7 +205,7 @@ const commonFunctions = ref([
|
|
|
{ src: '/static/images/setting/dianpu.png', name: '联系商家',pageUrl: '/pages/users/my_merchant/index' ,show:appStore.merchantId?true:false},
|
|
{ src: '/static/images/setting/dianpu.png', name: '联系商家',pageUrl: '/pages/users/my_merchant/index' ,show:appStore.merchantId?true:false},
|
|
|
{ src: '/static/images/setting/dianpu.png', name: '门店主页',pageUrl: '/pages/merchantCenter/index' ,show:appStore.userInfo?.merchant?.id?true:false},
|
|
{ src: '/static/images/setting/dianpu.png', name: '门店主页',pageUrl: '/pages/merchantCenter/index' ,show:appStore.userInfo?.merchant?.id?true:false},
|
|
|
{ src: '/static/images/setting/yijianjianyi.png', name: '意见建议' ,show:true},
|
|
{ src: '/static/images/setting/yijianjianyi.png', name: '意见建议' ,show:true},
|
|
|
- { src: '/static/images/setting/xiazaiapp.png', name: '下载APP',show:true },
|
|
|
|
|
|
|
+ { src: '/static/images/setting/xiazaiapp.png', name: '下载APP',pageUrl: 'download',show:true },
|
|
|
{ src: '/static/images/setting/lianxikefu.png', name: '平台客服' ,show:true},
|
|
{ src: '/static/images/setting/lianxikefu.png', name: '平台客服' ,show:true},
|
|
|
// { src: '/static/images/setting/lianxikefu.png', name: '资产明细' ,pageUrl:'/pages/users/user_asset/asset_info/asset_info',show:true}
|
|
// { src: '/static/images/setting/lianxikefu.png', name: '资产明细' ,pageUrl:'/pages/users/user_asset/asset_info/asset_info',show:true}
|
|
|
])
|
|
])
|
|
@@ -317,6 +317,20 @@ const goDetail = (url) => {
|
|
|
// 功能点击
|
|
// 功能点击
|
|
|
const handleFunctionClick = (url) => {
|
|
const handleFunctionClick = (url) => {
|
|
|
console.log(url)
|
|
console.log(url)
|
|
|
|
|
+ if(url === "download"){
|
|
|
|
|
+ uni.setClipboardData({
|
|
|
|
|
+ data: 'https://a.app.qq.com/o/simple.jsp?pkgname=uni.app.UNI9DE338F',
|
|
|
|
|
+ showToast: false,
|
|
|
|
|
+ success: function () {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: "下载链接复制成功,请打开内置手机浏览器访问下载。",
|
|
|
|
|
+ icon: 'none'
|
|
|
|
|
+ })
|
|
|
|
|
+ console.log('success');
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
if (!url) return;
|
|
if (!url) return;
|
|
|
// 买料、卖料、消费需要通过webview跳转
|
|
// 买料、卖料、消费需要通过webview跳转
|
|
|
if (
|
|
if (
|