// 开发环境 export const BASE_URL = 'https://help-community-yfb.lastbs.com' export const BASE_URL_SECOND = 'https://help-community-yfb.lastbs.com' // export const CDX = ''//不进行重定向(本地开发) export const CDX = 'https://thjk.lastbs.com'//重定向到测试服 // 生产环境 // export const BASE_URL = 'https://help-community.lastbs.com/' // export const BASE_URL_SECOND = 'https://help-community.lastbs.com/' // export const CDX = 'https://thjk-yfb.lastbs.com' // export const app_id = "wxe0ad4956596b4534" export const appId = "wxe0ad4956596b4534" export const solarParams = [ { pinyin: 'lichun', chinese: '立春', wuXing: 'mu' }, { pinyin: 'yushui', chinese: '雨水', wuXing: 'mu' }, { pinyin: 'jingzhe', chinese: '惊蛰', wuXing: 'mu' }, { pinyin: 'chunfen', chinese: '春分', wuXing: 'mu' }, { pinyin: 'qingming', chinese: '清明', wuXing: 'mu' }, { pinyin: 'guyu', chinese: '谷雨', wuXing: 'tu' }, { pinyin: 'lixia', chinese: '立夏', wuXing: 'huo' }, { pinyin: 'xiaoman', chinese: '小满', wuXing: 'huo' }, { pinyin: 'mangzhong', chinese: '芒种', wuXing: 'huo' }, { pinyin: 'xiazhi', chinese: '夏至', wuXing: 'huo' }, { pinyin: 'xiaoshu', chinese: '小暑', wuXing: 'huo' }, { pinyin: 'dashu', chinese: '大暑', wuXing: 'tu' }, { pinyin: 'liqiu', chinese: '立秋', wuXing: 'jin' }, { pinyin: 'chushu', chinese: '处暑', wuXing: 'jin' }, { pinyin: 'bailu', chinese: '白露', wuXing: 'jin' }, { pinyin: 'qiufen', chinese: '秋分', wuXing: 'jin' }, { pinyin: 'hanlu', chinese: '寒露', wuXing: 'jin' }, { pinyin: 'shuangjiang', chinese: '霜降', wuXing: 'tu' }, { pinyin: 'lidong', chinese: '立冬', wuXing: 'shui' }, { pinyin: 'xiaoxue', chinese: '小雪', wuXing: 'shui' }, { pinyin: 'daxue', chinese: '大雪', wuXing: 'shui' }, { pinyin: 'dongzhi', chinese: '冬至', wuXing: 'shui' }, { pinyin: 'xiaohan', chinese: '小寒', wuXing: 'shui' }, { pinyin: 'dahan', chinese: '大寒', wuXing: 'tu' } ] let jin1 = { background: "#DDC207" } let mu1 = { background: "#19C772" } let shui1 = { background: "#4E99E9" } let huo1 = { background: "#E45050" } let tu1 = { background: "#E1922E" } let jin2 = { border: "2rpx solid #EF9000" } let mu2 = { border: "2rpx solid #53B175" } let shui2 = { border: "2rpx solid #00A3FF" } let huo2 = { border: "2rpx solid #FF5F5F" } let tu2 = { border: "2rpx solid #EF9000" } let jin3 = { color:'#DDC207' } let mu3 = { color:'#19C772' } let shui3 = { color:'#4E99E9' } let huo3 = { color:'#E45050' } let tu3 = { color:'#E1922E' } export const jieqiFn = (v, i) => { let a : any = "" solarParams.map((item) => { if (v == item.chinese) { if (i === 1) { if (item.wuXing == "jin") { a = jin1 } if (item.wuXing == "mu") { a = mu1 } if (item.wuXing == "shui") { a = shui1 } if (item.wuXing == "huo") { a = huo1 } if (item.wuXing == "tu") { a = tu1 } } if (i === 2) { if (item.wuXing == "jin") { a = jin2 } if (item.wuXing == "mu") { a = mu2 } if (item.wuXing == "shui") { a = shui2 } if (item.wuXing == "huo") { a = huo2 } if (item.wuXing == "tu") { a = tu2 } } if (i === 3) { if (item.wuXing == "jin") { a = jin3 } if (item.wuXing == "mu") { a = mu3 } if (item.wuXing == "shui") { a = shui3 } if (item.wuXing == "huo") { a = huo3 } if (item.wuXing == "tu") { a = tu3 } } } }) return a } export const solarList = [ { "term": "立春", "angle": 315 }, { "term": "雨水", "angle": 330 }, { "term": "惊蛰", "angle": 345 }, { "term": "春分", "angle": 0 }, { "term": "清明", "angle": 15 }, { "term": "谷雨", "angle": 30 }, { "term": "立夏", "angle": 45 }, { "term": "小满", "angle": 60 }, { "term": "芒种", "angle": 75 }, { "term": "夏至", "angle": 90 }, { "term": "小暑", "angle": 105 }, { "term": "大暑", "angle": 120 }, { "term": "立秋", "angle": 135 }, { "term": "处暑", "angle": 150 }, { "term": "白露", "angle": 165 }, { "term": "秋分", "angle": 180 }, { "term": "寒露", "angle": 195 }, { "term": "霜降", "angle": 210 }, { "term": "立冬", "angle": 225 }, { "term": "小雪", "angle": 240 }, { "term": "大雪", "angle": 255 }, { "term": "冬至", "angle": 270 }, { "term": "小寒", "angle": 285 }, { "term": "大寒", "angle": 300 } ]