Commit e5389f18 authored by 罗超's avatar 罗超

1

parent 72998b00
{ {
"name": "mallapp", "name" : "mallapp",
"appid": "", "appid" : "",
"description": "", "description" : "",
"versionName": "1.0.0", "versionName" : "1.0.0",
"versionCode": "100", "versionCode" : "100",
"transformPx": false, "transformPx" : false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus": { "app-plus" : {
"usingComponents": true, "usingComponents" : true,
"nvueCompiler": "uni-app", "nvueCompiler" : "uni-app",
"compilerVersion": 3, "compilerVersion" : 3,
"splashscreen": { "splashscreen" : {
"alwaysShowBeforeRender": true, "alwaysShowBeforeRender" : true,
"waiting": true, "waiting" : true,
"autoclose": true, "autoclose" : true,
"delay": 0 "delay" : 0
}, },
/* 模块配置 */ /* 模块配置 */
"modules": { "modules" : {
"Share": {} "Share" : {}
}, },
/* 应用发布信息 */ /* 应用发布信息 */
"distribute": { "distribute" : {
/* android打包配置 */ /* android打包配置 */
"android": { "android" : {
"permissions": [ "permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>", "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
...@@ -50,66 +50,68 @@ ...@@ -50,66 +50,68 @@
] ]
}, },
/* ios打包配置 */ /* ios打包配置 */
"ios": {}, "ios" : {},
/* SDK配置 */ /* SDK配置 */
"sdkConfigs": { "sdkConfigs" : {
"share": { "share" : {
"weixin": { "weixin" : {
"appid": "wxbb033190e0ffa5db", "appid" : "wxbb033190e0ffa5db",
"UniversalLinks": "" "UniversalLinks" : ""
} }
} }
} }
} }
}, },
/* 快应用特有相关 */ /* 快应用特有相关 */
"quickapp": {}, "quickapp" : {},
/* 小程序特有相关 */ /* 小程序特有相关 */
"mp-weixin": { "mp-weixin" : {
"appid": "wxcf0727a7c78b501e", "appid" : "wxcf0727a7c78b501e",
"setting": { "setting" : {
"urlCheck": false, "urlCheck" : false,
"minified": false "minified" : false
}, },
"usingComponents": true, "usingComponents" : true,
"permission": { "permission" : {
"scope.userLocation": { "scope.userLocation" : {
"desc": "你的位置信息将用于小程序位置接口的效果展示" "desc" : "你的位置信息将用于小程序位置接口的效果展示"
} }
} }
}, },
"mp-alipay": { "mp-alipay" : {
"component2": true, "component2" : true,
"usingComponents": true, "usingComponents" : true,
"appid": "2021002181628809", "appid" : "2021002181604459",
"plugins": { // 使用到的插件 "plugins" : {
"subscribeMsg": { // 订阅消息插件 // 使用到的插件
"version": "*", // 目前只支持设置 * 拉取当前上架最新版本 "subscribeMsg" : {
"provider": "2021001155639035" // 消息订阅插件 appid // 订阅消息插件
// "version" : "*", // 目前只支持设置 * 拉取当前上架最新版本
// "provider" : "2021001155639035" // 消息订阅插件 appid
} }
} }
}, },
"mp-baidu": { "mp-baidu" : {
"usingComponents": true "usingComponents" : true
}, },
"mp-toutiao": { "mp-toutiao" : {
"usingComponents": true "usingComponents" : true
}, },
"uniStatistics": { "uniStatistics" : {
"enable": false "enable" : false
}, },
"h5": { "h5" : {
"router": { "router" : {
"mode": "history", "mode" : "history",
"base": "/h5/" "base" : "/h5/"
}, },
"template": "h5.html", "template" : "h5.html",
"sdkConfigs": { "sdkConfigs" : {
"maps": { "maps" : {
"qqmap": { "qqmap" : {
"key": "ZAPBZ-SVBWR-OAMWM-WC45H-AKFU3-FIBP3" "key" : "ZAPBZ-SVBWR-OAMWM-WC45H-AKFU3-FIBP3"
} }
} }
} }
} }
} }
\ No newline at end of file
...@@ -701,7 +701,7 @@ ...@@ -701,7 +701,7 @@
"usingComponents": { // 引用小程序插件 "usingComponents": { // 引用小程序插件
// #ifdef MP-ALIPAY // #ifdef MP-ALIPAY
"subscribe-msg": "plugin://subscribeMsg/subscribe-msg" // "subscribe-msg": "plugin://subscribeMsg/subscribe-msg"
// #endif // #endif
} }
......
...@@ -626,7 +626,13 @@ ...@@ -626,7 +626,13 @@
></span> ></span>
</span> </span>
<view class="jz_TripMain"> <view class="jz_TripMain">
<!-- <rich-text :nodes="dataList.feature.feeNonInclude"></rich-text> -->
<!-- #ifdef MP-WEIXIN -->
<rich-text :nodes="dataList.feature.feeNonInclude"></rich-text> <rich-text :nodes="dataList.feature.feeNonInclude"></rich-text>
<!-- #endif -->
<!-- #ifdef MP-ALIPAY -->
<view v-html="dataList.feature.feeNonInclude"></view>
<!-- #endif -->
</view> </view>
</view> </view>
<view class="jz_TripDays"> <view class="jz_TripDays">
......
...@@ -39,7 +39,7 @@ function getretailer() {//判断是否是分销商 ...@@ -39,7 +39,7 @@ function getretailer() {//判断是否是分销商
} }
// #ifdef MP-ALIPAY // #ifdef MP-ALIPAY
// 引入消息模板方法 // 引入消息模板方法
const { requestSubscribeMessage } = requirePlugin("subscribeMsg"); // const { requestSubscribeMessage } = requirePlugin("subscribeMsg");
function SubscribeMsgAli(ids, cb) {//支付宝小程序订阅消息 function SubscribeMsgAli(ids, cb) {//支付宝小程序订阅消息
requestSubscribeMessage({ // 触发消息订阅弹框 requestSubscribeMessage({ // 触发消息订阅弹框
entityIds: ids, // 模板消息id, entityIds: ids, // 模板消息id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment