Commit 9e57d124 by sunchao

最新代码

parent 0b6c31f5
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
systemType:systemInfo.osName.toLowerCase() === 'ios' ? 2 : 1 systemType:systemInfo.osName.toLowerCase() === 'ios' ? 2 : 1
}, },
success: (result) => { success: (result) => {
console.log(wgtinfo)
const data = result.data.data['appVersionInfo']; const data = result.data.data['appVersionInfo'];
if (data.status==1 && data.isForceUpdate && data.wgtUrl) { if (data.status==1 && data.isForceUpdate && data.wgtUrl) {
uni.downloadFile({ uni.downloadFile({
...@@ -61,10 +60,6 @@ ...@@ -61,10 +60,6 @@
// #endif // #endif
initApp() initApp()
// this.checkArguments();
// plus.globalEvent.addEventListener('newintent', e => {
//   this.checkArguments(); // 检测启动参数
//  });
}, },
onShow: function() {3, onShow: function() {3,
console.log('App Show') console.log('App Show')
...@@ -73,26 +68,6 @@ ...@@ -73,26 +68,6 @@
console.log('App Hide') console.log('App Hide')
}, },
methods:{ methods:{
checkArguments() {
console.log('runtime.launcher: ' + plus.runtime.launcher);
// 判断APP打开方式 miniProgram为微信小程序打开
// if (plus.runtime.launcher == 'miniProgram') {
// plus.runtime.argumrnts为打开时APP传的值(<wx-open-launch-app>中的extinfo),可以传字符串通过符号截取判断类型
console.log(plus.runtime.arguments);
if (plus.runtime.arguments) {
            //我截取了字符串,判断是商品并且根据ID跳转到商品详情页
var str = plus.runtime.arguments;
var arr = str.split('/');
var id = arr[1];
if (arr[0] == 'goods') {
              //跳转到商品详情页,注意pages前面的"/"不要忘记,否则会造成无法跳转。使用navigateTo跳转到页面会有返回按钮,点击返回到首页
uni.switchTab({
url: 'pages/index/index'
});
}
}
// }
}
} }
} }
</script> </script>
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}, },
//公告列表 //公告列表
announcementQuery(params){ announcementQuery(params){
return request(`${baseURL}/ydapi/market/announcementQuery`, "POST", params) return request(`${apiURL}/market/announcementQuery`, "POST", params)
}, },
//消息列表 //消息列表
querySystemMessage(params){ querySystemMessage(params){
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</view> </view>
<view class="logo"> <view class="logo">
<image :src="imgSrc" alt="logo" srcset="" class="iconBox" mode="widthFix"></image> <image :src="imgSrc" alt="logo" srcset="" class="iconBox" mode="widthFix"></image>
<view>欢迎登录使用CFFP测测---</view> <view>欢迎登录使用CFFP财富中心</view>
</view> </view>
<view class="content"> <view class="content">
<view class="login_title"> <view class="login_title">
......
const dev = { const dev = {
base_url:'https://mdev.zuihuibi.cn', base_url:'http://106.15.89.254',
api_url:'https://mdev.zuihuibi.cn/api', api_url:'http://106.15.89.254/api',
cffp_url:'https://mdev.zuihuibi.cn/api/cffp' cffp_url:'http://106.15.89.254/api/cffp'
} }
const stage = { const stage = {
base_url:'https://mstage.zuihuibi.cn', base_url:'https://mstage.zuihuibi.cn',
...@@ -9,9 +9,9 @@ const stage = { ...@@ -9,9 +9,9 @@ const stage = {
cffp_url:'https://mstage.zuihuibi.cn/api/cffp' cffp_url:'https://mstage.zuihuibi.cn/api/cffp'
} }
const prod = { const prod = {
base_url:'https://m.zuihuibi.cn', base_url:'https://m.cffp.org.cn',
api_url:'https://m.zuihuibi.cn/api', api_url:'https://m.cffp.org.cn/api',
cffp_url:'https://m.zuihuibi.cn/api/cffp' cffp_url:'https://m.cffp.org.cn/api/cffp'
} }
const config = { const config = {
...@@ -19,7 +19,7 @@ const config = { ...@@ -19,7 +19,7 @@ const config = {
stage, stage,
prod prod
} }
let env = 'dev'; let env = 'prod';
// if (process.env.NODE_ENV === 'development') { // if (process.env.NODE_ENV === 'development') {
// env = 'dev'; // env = 'dev';
// }else if (process.env.NODE_ENV === 'production') { // }else if (process.env.NODE_ENV === 'production') {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name" : "CFFP财富中心", "name" : "CFFP财富中心",
"appid" : "__UNI__ED34740", "appid" : "__UNI__ED34740",
"description" : "", "description" : "",
"versionCode" : 109, "versionCode" : 100,
"transformPx" : false, "transformPx" : false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus" : {
...@@ -202,5 +202,5 @@ ...@@ -202,5 +202,5 @@
} }
}, },
"_spaceID" : "mp-68e17e23-e517-4839-8210-27480303cc51", "_spaceID" : "mp-68e17e23-e517-4839-8210-27480303cc51",
"versionName" : "1.1.17" "versionName" : "1.1.0"
} }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</view> </view>
<view class="" style="text-align: center;"> <view class="" style="text-align: center;">
<p style="font-size: 22px;font-weight: 500;">CFFP财富中心</p> <p style="font-size: 22px;font-weight: 500;">CFFP财富中心</p>
<p style="margin-top: 20rpx;">V1.0.21</p> <p style="margin-top: 20rpx;">V1.0</p>
</view> </view>
</view> </view>
<view class="hand" @click="latestversion()"> <view class="hand" @click="latestversion()">
......
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