diff --git a/App.vue b/App.vue index 8c2b732..daecd20 100644 --- a/App.vue +++ b/App.vue @@ -12,6 +12,11 @@ } - diff --git a/components/listitem/listItem.vue b/components/listitem/listItem.vue new file mode 100644 index 0000000..83116d6 --- /dev/null +++ b/components/listitem/listItem.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/pages.json b/pages.json index 2054bbd..0ef7989 100644 --- a/pages.json +++ b/pages.json @@ -8,6 +8,18 @@ "style": { "navigationBarTitleText": "" } + }, + { + "path": "pages/csubstation/index", + "style": { + "navigationBarTitleText": "分站搭建" + } + }, + { + "path": "pages/csubstation/edit", + "style": { + "navigationBarTitleText": "分站搭建" + } } ], "globalStyle": { diff --git a/pages/csubstation/edit.vue b/pages/csubstation/edit.vue new file mode 100644 index 0000000..a5f9fb8 --- /dev/null +++ b/pages/csubstation/edit.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/pages/csubstation/index.vue b/pages/csubstation/index.vue new file mode 100644 index 0000000..48d48ea --- /dev/null +++ b/pages/csubstation/index.vue @@ -0,0 +1,8 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 2e70749..914e137 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -16,6 +16,15 @@ + + + 本次兑换将扣除您9元余额是否确认交易 + + + + + + 弹起Modal @@ -35,7 +44,17 @@ }, methods: { - + confirm() { + setTimeout(() => { + // 3秒后自动关闭 + // 如果不想关闭,而单是清除loading状态,需要通过ref手动调用方法 + this.$refs.uModal.clearLoading(); + this.show = false + }, 3000) + }, + showModal () { + this.show = true + } } } @@ -64,4 +83,31 @@ font-size: 36rpx; color: #8f8f94; } + .dialog /deep/ .u-mode-center-box { + background-color: #2B3062; + } + .dialog /deep/ .u-model { + background-color: #2B3062; + } + .dialogtxt { + width: 359px; + height: 84px; + font-size: 30px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #FFFFFF; + line-height: 42px; + } + .popup-center /deep/ .u-mode-center-box { + background-color: #2B3062; + & .content { + text-align: center; + height: 84px; + font-size: 30px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #FFFFFF; + line-height: 42px; + } + }