Commit 925f86f0 authored by dragondean@qq.com's avatar dragondean@qq.com

Merge branch 'feature/order_edit' into dev

# Conflicts:
#	src/static/img/add.png
#	src/static/lang/en.js
#	src/static/lang/zh.js
#	src/store/index.js
#	src/utils/config.js
parents b790bf31 a4a0032f
...@@ -8,8 +8,11 @@ ...@@ -8,8 +8,11 @@
url: './pages/login/login' url: './pages/login/login'
}) })
} }
if(Authorization && !this.$store.state.userInfo){
this.$store.dispatch('updateUserInfo')
}
//#ifdef APP-PLUS //#ifdef APP-PLUS
plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) { plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) {
// 获取 app的version // 获取 app的version
let appversion = wgtinfo.version; let appversion = wgtinfo.version;
let versionCode = wgtinfo.versionCode let versionCode = wgtinfo.versionCode
......
...@@ -3,9 +3,9 @@ import Zh from '@/static/lang/zh.js' ...@@ -3,9 +3,9 @@ import Zh from '@/static/lang/zh.js'
export default { export default {
lang: uni.getStorageSync('locale') ? (uni.getStorageSync('locale')=='zh'?Zh:En) : Zh, lang: uni.getStorageSync('locale') ? (uni.getStorageSync('locale')=='zh'?Zh:En) : Zh,
locale:uni.getStorageSync('locale') ? uni.getStorageSync('locale') : 'zh', locale:uni.getStorageSync('locale') ? uni.getStorageSync('locale') : 'zh',
setLang(msg) { setLang(msg) {
this.lang = msg=='zh'?Zh:En; this.lang = msg=='zh'?Zh:En;
this.locale = msg this.locale = msg
} }
} }
\ No newline at end of file
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
"name" : "E&C logistics", "name" : "E&C logistics",
"appid" : "__UNI__B690450", "appid" : "__UNI__B690450",
"description" : "", "description" : "",
"versionName" : "221", "versionName" : "225",
"versionCode" : 221, "versionCode" : 225,
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {
/* 5+App特有相关 */ /* 5+App特有相关 */
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
}, },
"modules" : { "modules" : {
"VideoPlayer" : {}, "VideoPlayer" : {},
"Barcode" : {} "Barcode" : {},
"Camera" : {}
}, },
/* 模块配置 */ /* 模块配置 */
"distribute" : { "distribute" : {
......
This diff is collapsed.
...@@ -104,7 +104,7 @@ radio{ ...@@ -104,7 +104,7 @@ radio{
margin: 0 20upx 16upx 0; margin: 0 20upx 16upx 0;
} }
.corder-tab-top view{ .corder-tab-top view{
display: block; /*display: block;*/
width: 90%; width: 90%;
border-bottom: 1px solid var(--cdf); border-bottom: 1px solid var(--cdf);
padding-bottom: 16upx; padding-bottom: 16upx;
......
...@@ -94,3 +94,34 @@ view { ...@@ -94,3 +94,34 @@ view {
width: 100%; width: 100%;
height: var(--status-bar-height); height: var(--status-bar-height);
} */ } */
.flex{
display: flex;
}
.items-center{
align-items: center;
}
.items-start{
align-items: start;
}
.items-end{
align-items: end;
}
.justify-center{
justify-content: center;
}
.justify-start{
justify-content: start;
}
.justify-end{
justify-content: end;
}
.justify-between{
justify-content: space-between;
}
.justify-around{
justify-content: space-around;
}
.flex-1{
flex: 1;
}
src/static/img/add.png

357 Bytes | W: | H:

src/static/img/add.png

1.97 KB | W: | H:

src/static/img/add.png
src/static/img/add.png
src/static/img/add.png
src/static/img/add.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -42,7 +42,7 @@ const store = new Vuex.Store({ ...@@ -42,7 +42,7 @@ const store = new Vuex.Store({
actions: { actions: {
updateUserInfo({ commit }) { updateUserInfo({ commit }) {
http http
.get('/profile') .get('/app-api/member/user/get')
.then((res) => { .then((res) => {
console.log('更新用户信息', res) console.log('更新用户信息', res)
commit('setUser', res.data) commit('setUser', res.data)
......
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