Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
1396ad64
Commit
1396ad64
authored
Oct 14, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8d8ca1f8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
88 additions
and
72 deletions
+88
-72
manifest.json
manifest.json
+70
-68
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+6
-2
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+6
-0
user-center.vue
pages/user-center/user-center.vue
+4
-0
utils.js
plugin/utils.js
+2
-2
No files found.
manifest.json
View file @
1396ad64
{
{
"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,73 +50,75 @@
...
@@ -50,73 +50,75 @@
]
]
},
},
/*
ios打包配置
*/
/*
ios打包配置
*/
"ios"
:
{},
"ios"
:
{},
/*
SDK配置
*/
/*
SDK配置
*/
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"share"
:
{
"share"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"wxbb033190e0ffa5db"
,
"appid"
:
"wxbb033190e0ffa5db"
,
"UniversalLinks"
:
""
"UniversalLinks"
:
""
}
}
},
},
"oauth"
:
{
"oauth"
:
{
"univerify"
:
{}
"univerify"
:
{}
}
}
}
}
}
}
},
},
/*
快应用特有相关
*/
/*
快应用特有相关
*/
"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"
:
"你的位置信息将用于小程序位置接口的效果展示"
}
}
},
},
"optimization"
:
{
"optimization"
:
{
"subPackages"
:
true
"subPackages"
:
true
}
}
},
},
"mp-alipay"
:
{
"mp-alipay"
:
{
"component2"
:
true
,
"component2"
:
true
,
"usingComponents"
:
true
,
"usingComponents"
:
true
,
"appid"
:
"2021002181604459"
,
"appid"
:
"2021002181604459"
,
"plugins"
:
{}
"plugins"
:
{
//
使用到的插件
"subscribeMsg"
:
{
//
订阅消息插件
"version"
:
"*"
,
//
目前只支持设置
*
拉取当前上架最新版本
"provider"
:
"2021001155639035"
//
消息订阅插件
appid
}
}
},
},
//
使用到的插件
//
"subscribeMsg"
:
{
"mp-baidu"
:
{
//
订阅消息插件
"usingComponents"
:
true
//
"version"
:
"*"
,
//
目前只支持设置
*
拉取当前上架最新版本
//
"provider"
:
"2021001155639035"
//
消息订阅插件
appid
//
}
"mp-baidu"
:
{
"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
pages/jiuzhai/jz_LineDetail.vue
View file @
1396ad64
...
@@ -918,8 +918,9 @@
...
@@ -918,8 +918,9 @@
scene=
"SCE01203509"
scene=
"SCE01203509"
icon=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/kefu.png"
icon=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/kefu.png"
size=
"38rpx"
size=
"38rpx"
:alipay-card-no=
"2088 + userId"
:ext-info=
"appid"
>
>
<!-- :ext-info="encodeURIComponent({ appId: 2021002181604459 })" -->
</contact-button>
</contact-button>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
</button>
</button>
...
@@ -960,8 +961,9 @@
...
@@ -960,8 +961,9 @@
scene=
"SCE01203509"
scene=
"SCE01203509"
icon=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/kefu.png"
icon=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/CustomizedCar/kefu.png"
size=
"38rpx"
size=
"38rpx"
:alipay-card-no=
"2088 + userId"
:ext-info=
"appid"
>
>
<!-- :ext-info="encodeURIComponent({ appId: 2021002181604459 })" -->
</contact-button>
</contact-button>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
</button>
</button>
...
@@ -1028,6 +1030,8 @@ export default {
...
@@ -1028,6 +1030,8 @@ export default {
finishFirstLoad
:
false
,
finishFirstLoad
:
false
,
showAuth
:
false
,
showAuth
:
false
,
U
:
{},
U
:
{},
appid
:
encodeURIComponent
(
JSON
.
stringify
({
appId
:
"2021002181604459"
})),
userId
:
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
,
};
};
},
},
created
()
{},
created
()
{},
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
1396ad64
...
@@ -515,10 +515,16 @@
...
@@ -515,10 +515,16 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- #ifdef MP-ALIPAY -->
<subscribe-msg
/>
<!-- #endif -->
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
// #ifdef MP-ALIPAY
import
{
SubscribeMsgAli
}
from
"../../plugin/utils"
;
// #endif
export
default
{
export
default
{
components
:
{},
components
:
{},
data
()
{
data
()
{
...
...
pages/user-center/user-center.vue
View file @
1396ad64
...
@@ -555,6 +555,8 @@
...
@@ -555,6 +555,8 @@
scene=
"SCE01203509"
scene=
"SCE01203509"
:icon=
"item.icon_url"
:icon=
"item.icon_url"
size=
"70rpx"
size=
"70rpx"
:alipay-card-no=
"2088 + userId"
:ext-info=
"appid"
>
>
</contact-button>
</contact-button>
</view>
</view>
...
@@ -636,6 +638,8 @@ export default {
...
@@ -636,6 +638,8 @@ export default {
IsDeposit
:
0
,
//是否开启储蓄卡功能
IsDeposit
:
0
,
//是否开启储蓄卡功能
AppletID
:
0
,
//小程序id 5-8日 判断是否是甲鹤
AppletID
:
0
,
//小程序id 5-8日 判断是否是甲鹤
isAttestationEdu
:
0
,
//学员是否认证了 0否1是
isAttestationEdu
:
0
,
//学员是否认证了 0否1是
appid
:
encodeURIComponent
(
JSON
.
stringify
({
appId
:
"2021002181604459"
})),
userId
:
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
,
};
};
},
},
components
:
{
components
:
{
...
...
plugin/utils.js
View file @
1396ad64
...
@@ -39,12 +39,12 @@ function getretailer() {//判断是否是分销商
...
@@ -39,12 +39,12 @@ 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,
callback
(
res
)
{
callback
(
res
)
{
cb
()
cb
(
res
)
}
}
})
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment