diff --git a/src/components/Container.vue b/src/components/Container.vue index 36840f2..d29a221 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -41,6 +41,10 @@ const props = defineProps({ type: Boolean, default: true, }, + titleStyle: { + type: [String, Object, Array], + default: () => ({}), + }, showBottom: { type: Boolean, default: true, @@ -155,6 +159,7 @@ const goCalibration = async () => { :title="title" :onBack="onBack" :whiteBackArrow="whiteBackArrow" + :titleStyle="titleStyle" /> ({}), + }, }); const onClick = () => { @@ -118,7 +122,9 @@ onBeforeUnmount(() => { mode="widthFix" /> - + { + + + 创建约战房 @@ -268,7 +271,7 @@ onLoad(async (options) => { } .create-room>view:nth-child(3) { - margin: 12vw auto; + margin: 12vw auto 5vw auto; position: relative; display: flex; align-items: center; @@ -304,6 +307,13 @@ onLoad(async (options) => { margin-right: 2px; } +.pp-text{ + color: #fff; + text-align: center; + font-size: 22rpx; + margin-bottom: 20rpx; +} + .warnning { width: 100%; height: 100%; diff --git a/src/pages/grade-intro.vue b/src/pages/grade-intro.vue index 11784d7..145cbf5 100644 --- a/src/pages/grade-intro.vue +++ b/src/pages/grade-intro.vue @@ -1,31 +1,66 @@