Commit 9e57d124 by sunchao

最新代码

parent 0b6c31f5
......@@ -34,8 +34,7 @@
systemType:systemInfo.osName.toLowerCase() === 'ios' ? 2 : 1
},
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) {
uni.downloadFile({
url: `${baseURL}${data.wgtUrl}`,
......@@ -61,10 +60,6 @@
// #endif
initApp()
// this.checkArguments();
// plus.globalEvent.addEventListener('newintent', e => {
//   this.checkArguments(); // 检测启动参数
//  });
},
onShow: function() {3,
console.log('App Show')
......@@ -73,26 +68,6 @@
console.log('App Hide')
},
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>
......
......@@ -47,7 +47,7 @@ export default {
},
//公告列表
announcementQuery(params){
return request(`${baseURL}/ydapi/market/announcementQuery`, "POST", params)
return request(`${apiURL}/market/announcementQuery`, "POST", params)
},
//消息列表
querySystemMessage(params){
......
......@@ -5,7 +5,7 @@
</view>
<view class="logo">
<image :src="imgSrc" alt="logo" srcset="" class="iconBox" mode="widthFix"></image>
<view>欢迎登录使用CFFP测测---</view>
<view>欢迎登录使用CFFP财富中心</view>
</view>
<view class="content">
<view class="login_title">
......
const dev = {
base_url:'https://mdev.zuihuibi.cn',
api_url:'https://mdev.zuihuibi.cn/api',
cffp_url:'https://mdev.zuihuibi.cn/api/cffp'
base_url:'http://106.15.89.254',
api_url:'http://106.15.89.254/api',
cffp_url:'http://106.15.89.254/api/cffp'
}
const stage = {
base_url:'https://mstage.zuihuibi.cn',
......@@ -9,9 +9,9 @@ const stage = {
cffp_url:'https://mstage.zuihuibi.cn/api/cffp'
}
const prod = {
base_url:'https://m.zuihuibi.cn',
api_url:'https://m.zuihuibi.cn/api',
cffp_url:'https://m.zuihuibi.cn/api/cffp'
base_url:'https://m.cffp.org.cn',
api_url:'https://m.cffp.org.cn/api',
cffp_url:'https://m.cffp.org.cn/api/cffp'
}
const config = {
......@@ -19,7 +19,7 @@ const config = {
stage,
prod
}
let env = 'dev';
let env = 'prod';
// if (process.env.NODE_ENV === 'development') {
// env = 'dev';
// }else if (process.env.NODE_ENV === 'production') {
......
......@@ -2,7 +2,7 @@
"name" : "CFFP财富中心",
"appid" : "__UNI__ED34740",
"description" : "",
"versionCode" : 109,
"versionCode" : 100,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......@@ -202,5 +202,5 @@
}
},
"_spaceID" : "mp-68e17e23-e517-4839-8210-27480303cc51",
"versionName" : "1.1.17"
"versionName" : "1.1.0"
}
......@@ -7,7 +7,7 @@
</view>
<view class="" style="text-align: center;">
<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 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