diff --git a/libs/uniApi.js b/libs/uniApi.js index 3e72d30..b5cac75 100644 --- a/libs/uniApi.js +++ b/libs/uniApi.js @@ -97,6 +97,15 @@ export function Toast(title, icon = 'none', obj = {}, duration = 800) { ...obj }; uni.showToast(toastData); + // #ifdef APP-PLUS + setTimeout(function() { + try{ + uni.hideToast(); + }catch(e){ + //TODO handle the exception + } + }, 800) + // #endif } /* 显示loading提示框,需要手动隐藏 diff --git a/pages.json b/pages.json index 9ebdc2f..1784148 100644 --- a/pages.json +++ b/pages.json @@ -580,6 +580,15 @@ "navigationBarTextStyle": "white" } + }, { + "path": "shareCapital/shareCapital", + "style": { + "navigationBarTitleText": "股金管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } + }] }], "globalStyle": { diff --git a/static/icons/share.png b/static/icons/share.png new file mode 100644 index 0000000..818a903 Binary files /dev/null and b/static/icons/share.png differ diff --git a/subpkg/shareCapital/shareCapital.vue b/subpkg/shareCapital/shareCapital.vue new file mode 100644 index 0000000..9dd9a6d --- /dev/null +++ b/subpkg/shareCapital/shareCapital.vue @@ -0,0 +1,163 @@ + + + + +