From a0234d492f96d19a9654ff88960663a6155b127e Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Wed, 9 Sep 2020 19:12:12 +0800 Subject: [PATCH] add style --- src/App.vue | 50 +++- src/pages.json | 23 +- src/pages/employee/manage/manage.vue | 166 +++++++++++++ src/pages/index/index.vue | 137 ++++++++--- src/pages/merchant_info/merchant_info.vue | 69 ++++++ src/pages/merchant_login/merchant_login.vue | 49 ++++ src/static/images/icon/author_modal.png | Bin 0 -> 14649 bytes src/static/images/icon/round_add.png | Bin 0 -> 703 bytes src/static/images/icon/round_close.png | Bin 0 -> 369 bytes src/utils/util.js | 347 ++++++++++++++++++++++++++++ 10 files changed, 804 insertions(+), 37 deletions(-) create mode 100644 src/pages/employee/manage/manage.vue create mode 100644 src/pages/merchant_info/merchant_info.vue create mode 100644 src/pages/merchant_login/merchant_login.vue create mode 100644 src/static/images/icon/author_modal.png create mode 100644 src/static/images/icon/round_add.png create mode 100644 src/static/images/icon/round_close.png create mode 100644 src/utils/util.js diff --git a/src/App.vue b/src/App.vue index 849f61c..384de0a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,13 +1,25 @@ @@ -20,4 +32,30 @@ view,scroll-view,text,picker{ box-sizing: border-box; } + .ox-dark-mask{ + position: fixed; + left: 0; + top: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, .5); + } + + /* btn hover-class */ + .hover-active{ + position: relative; + overflow: hidden; + } + + .hover-active::after{ + content: ''; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 2; + background-color: rgba(0,0,0,.1); + } + /* btn hover-class */ diff --git a/src/pages.json b/src/pages.json index 56abf81..720c11d 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,16 +1,35 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/store_list/store_list", + "path": "pages/employee/manage/manage", "style": { - "navigationBarTitleText": "门店信息列表" + "navigationBarTitleText": "员工管理" + } + }, + { + "path": "pages/merchant_login/merchant_login", + "style": { + "navigationBarTitleText": "商家登录" } }, { "path": "pages/index/index", "style": { } + }, + { + "path": "pages/merchant_info/merchant_info", + "style": { + "navigationBarTitleText": "商户号资料" + } + }, + { + "path": "pages/store_list/store_list", + "style": { + "navigationBarTitleText": "门店信息列表" + } } + ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/src/pages/employee/manage/manage.vue b/src/pages/employee/manage/manage.vue new file mode 100644 index 0000000..ddfc27c --- /dev/null +++ b/src/pages/employee/manage/manage.vue @@ -0,0 +1,166 @@ + + + \ No newline at end of file diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index a883c85..442d7a2 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,39 +1,53 @@