feat():打包
|
|
@ -42,9 +42,13 @@
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ios" : {},
|
"ios" : {
|
||||||
|
"dSYMs" : false
|
||||||
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"sdkConfigs" : {},
|
"sdkConfigs" : {
|
||||||
|
"ad" : {}
|
||||||
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"androidStyle" : "common"
|
"androidStyle" : "common"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -161,8 +161,8 @@
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
"pagePath": "pages/homeIndex/index",
|
"pagePath": "pages/homeIndex/index",
|
||||||
"iconPath": "/static/tabs/首页@2x.png",
|
"iconPath": "/static/tabs/home.png",
|
||||||
"selectedIconPath": "static/tabs/首页2@2x.png",
|
"selectedIconPath": "static/tabs/home1.png",
|
||||||
"text": "首页"
|
"text": "首页"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<image
|
<image
|
||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
src="../../static/tabs/头像_icon@2x.png"
|
src="../../static/tabs/touxiang.png"
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
></image>
|
></image>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
margin-right: 16rpx;
|
margin-right: 16rpx;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
"
|
"
|
||||||
src="../../static/tabs/铃铛@2x.png"
|
src="../../static/tabs/ld.png"
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
></image
|
></image
|
||||||
><span>当前防汛应急响应:IV级</span>
|
><span>当前防汛应急响应:IV级</span>
|
||||||
|
|
@ -244,19 +244,19 @@ export default {
|
||||||
{
|
{
|
||||||
value: '雨情',
|
value: '雨情',
|
||||||
key: 1,
|
key: 1,
|
||||||
icon: '../../static/tabs/形状 1@2x.png',
|
icon: '../../static/tabs/xingzhuang.png',
|
||||||
url:"/pages/rain/rain"
|
url:"/pages/rain/rain"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '水情',
|
value: '水情',
|
||||||
key: 2,
|
key: 2,
|
||||||
icon: '../../static/tabs/water (1) 拷贝@2x.png',
|
icon: '../../static/tabs/water.png',
|
||||||
url:"/pages/water/water"
|
url:"/pages/water/water"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '工情灾情',
|
value: '工情灾情',
|
||||||
key: 3,
|
key: 3,
|
||||||
icon: '../../static/tabs/工情——icon@2x.png',
|
icon: '../../static/tabs/gongqing.png',
|
||||||
url:'/pages/gqzq/index'
|
url:'/pages/gqzq/index'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -278,19 +278,19 @@ export default {
|
||||||
{
|
{
|
||||||
value: '雨情',
|
value: '雨情',
|
||||||
key: 1,
|
key: 1,
|
||||||
icon: '../../static/tabs/形状 1@2x.png',
|
icon: '../../static/tabs/xingzhuang.png',
|
||||||
url:"/pages/rain/rain"
|
url:"/pages/rain/rain"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '水情',
|
value: '水情',
|
||||||
key: 2,
|
key: 2,
|
||||||
icon: '../../static/tabs/water (1) 拷贝@2x.png',
|
icon: '../../static/tabs/water.png',
|
||||||
url:"/pages/water/water"
|
url:"/pages/water/water"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '工情灾情',
|
value: '工情灾情',
|
||||||
key: 3,
|
key: 3,
|
||||||
icon: '../../static/tabs/工情——icon@2x.png',
|
icon: '../../static/tabs/gongqing.png',
|
||||||
url:'/pages/gqzq/index'
|
url:'/pages/gqzq/index'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
console.log('-----avatar------',uni.getStorageSync('avatar'));
|
console.log('-----avatar------',uni.getStorageSync('avatar'));
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.setStorageSync('avatar','../../static/tabs/头像_icon@2x.png')
|
uni.setStorageSync('avatar','../../static/tabs/touxing.png')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
} else if(res.tapIndex === 1) { //恢复默认头像
|
} else if(res.tapIndex === 1) { //恢复默认头像
|
||||||
console.log('click');
|
console.log('click');
|
||||||
this.reset = true
|
this.reset = true
|
||||||
this.default_src = '../../static/tabs/头像_icon@2x.png'
|
this.default_src = '../../static/tabs/touxiang.png'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
|
|
@ -151,7 +151,7 @@
|
||||||
if (this.reset) { //重置头像
|
if (this.reset) { //重置头像
|
||||||
//调接口清空返回图片路径的data
|
//调接口清空返回图片路径的data
|
||||||
uni.$http.get('/gunshiApp/xfflood/my/info/recover').then(res=>{
|
uni.$http.get('/gunshiApp/xfflood/my/info/recover').then(res=>{
|
||||||
uni.setStorageSync('avatar','../../static/tabs/头像_icon@2x.png')
|
uni.setStorageSync('avatar','../../static/tabs/touxiang.png')
|
||||||
})
|
})
|
||||||
console.log('重置头像');
|
console.log('重置头像');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
1、删除Decoder.js的外部引用,由于Decoder.js加载完全在笔记本耗时较久,很容易出现还没加载时完全出现的批量报错
|
|
||||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |