开启统计,ios开启app分享

This commit is contained in:
@fawn-nine
2023-11-13 13:55:16 +08:00
parent 7db05c39fa
commit 52f7ad40c8
2 changed files with 62 additions and 3 deletions

View File

@@ -154,7 +154,10 @@
"splashscreen" : { "splashscreen" : {
"alwaysShowBeforeRender" : false "alwaysShowBeforeRender" : false
}, },
"nativePlugins" : {} "nativePlugins" : {},
"uniStatistics" : {
"enable" : true
}
}, },
// 5+App特有相关 // 5+App特有相关
"quickapp" : {}, "quickapp" : {},
@@ -172,6 +175,9 @@
"scope.userLocation" : { "scope.userLocation" : {
"desc" : "你的位置信息将用于小程序位置接口的效果展示" "desc" : "你的位置信息将用于小程序位置接口的效果展示"
} }
},
"uniStatistics" : {
"enable" : true
} }
}, },
"h5" : { "h5" : {
@@ -184,9 +190,61 @@
"treeShaking" : { "treeShaking" : {
"enable" : true "enable" : true
} }
},
"uniStatistics" : {
"enable" : true
} }
}, },
"_spaceID" : "mp-3614b80b-2d75-4462-a481-4998f8187274" "_spaceID" : "mp-3614b80b-2d75-4462-a481-4998f8187274",
"uniStatistics" : {
"version" : "2",
"enable" : true
},
"mp-alipay" : {
"uniStatistics" : {
"enable" : true
}
},
"mp-baidu" : {
"uniStatistics" : {
"enable" : true
}
},
"mp-jd" : {
"uniStatistics" : {
"enable" : true
}
},
"mp-kuaishou" : {
"uniStatistics" : {
"enable" : true
}
},
"mp-lark" : {
"uniStatistics" : {
"enable" : true
}
},
"mp-qq" : {
"uniStatistics" : {
"enable" : true
}
},
"mp-toutiao" : {
"uniStatistics" : {
"enable" : true
}
},
"quickapp-webview-huawei" : {
"uniStatistics" : {
"enable" : true
}
},
"quickapp-webview-union" : {
"uniStatistics" : {
"enable" : true
}
}
} }
// 小程序特有相关 // 小程序特有相关

View File

@@ -89,7 +89,8 @@
<!-- <view class="nav_list" @click="onGoing()"> <!-- <view class="nav_list" @click="onGoing()">
<text>帮助与反馈11111</text> <text>帮助与反馈11111</text>
</view> --> </view> -->
<view class="nav_list" @click="newOnShare" v-if="isAndorid"> <!-- <view class="nav_list" @click="newOnShare" v-if="isAndorid"> -->
<view class="nav_list" @click="newOnShare">
<text>分享App</text> <text>分享App</text>
</view> </view>
<view class="nav_list" @click="onPageJump('../peanut/aboutUs')"> <view class="nav_list" @click="onPageJump('../peanut/aboutUs')">