Commit 191c9a3d by luyt

feat:调整引导图逻辑

1 parent 9c540730
...@@ -489,6 +489,15 @@ Page({ ...@@ -489,6 +489,15 @@ Page({
}); });
// 看线索 // 看线索
this.getClueInit(); this.getClueInit();
//第一次进来储缓存,以后不再用引导图
let firstLogin = wx.$storage.get("firstLogin")
if(!firstLogin){
this.setData({
guideShow:true
})
wx.$storage.set("firstLogin", 'firstLogin');
}
}, },
//接口数据,本地数据对接 //接口数据,本地数据对接
compositionData(localData, apiData) { compositionData(localData, apiData) {
......
...@@ -305,6 +305,7 @@ page { ...@@ -305,6 +305,7 @@ page {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 2;
} }
} }
.chat { .chat {
......
...@@ -12,5 +12,6 @@ export const STORAGE_OBJECTkEY = { ...@@ -12,5 +12,6 @@ export const STORAGE_OBJECTkEY = {
app_title: 'appTitle', app_title: 'appTitle',
auto_login_object: 'auto_login_object', auto_login_object: 'auto_login_object',
wx_user_info: 'wx_user_info', wx_user_info: 'wx_user_info',
userPhone: 'userPhone' userPhone: 'userPhone',
firstLogin:'firstLogin'
} }
...@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod'] ...@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试 2测试
3生产 3生产
*/ */
const index = 2 const index = 1
const secretKey = { const secretKey = {
ip: {}, ip: {},
dev: { dev: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!