修改协议跳转和名称

This commit is contained in:
TOP糯米 2023-04-01 11:40:37 +08:00
parent 9a77e73f05
commit 0d74adb67f
2 changed files with 3 additions and 16 deletions

View File

@ -5,8 +5,8 @@
</view>
<view class="description">
<text class="text">我已阅读并同意</text>
<text class="link">服务协议</text>
<text class="link">隐私政策</text>
<text class="link" @click="utils.toPage('/pages/detail/detail?type=register')">注册协议</text>
<text class="link" @click="utils.toPage('/pages/detail/detail?type=privacy')">隐私政策</text>
</view>
</view>
</template>
@ -17,6 +17,7 @@ export default {
name: "component-auth-agreement",
data() {
return {
utils: this.$utils,
state: false,
};
},

View File

@ -55,9 +55,6 @@
placeholder-class="placeholder-style-2"
/>
</view>
<view class="agreement-container">
<agreement v-model="isAgree" />
</view>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<text class="price">¥ {{ utils.formatNumber(total) }}</text>
@ -71,7 +68,6 @@
<script>
import AppLayout from "@/components/layout/layout";
import ServicePreviewItem from "@/components/service/preview-item";
import Agreement from "@/components/auth/agreement";
import WidgetTips from "@/components/widgets/tips";
import ServiceInsurance from "@/components/service/insurance";
import { mapState } from "vuex";
@ -87,7 +83,6 @@ export default {
time: "",
content: "",
insurance: false,
isAgree: false,
total: 0,
orderData: [],
serviceList: [],
@ -96,7 +91,6 @@ export default {
components: {
AppLayout,
ServicePreviewItem,
Agreement,
WidgetTips,
ServiceInsurance,
},
@ -179,9 +173,6 @@ export default {
return this.$utils.toast("请选择时间和日期");
}
let datetime = this.date + " " + this.time;
if (!this.isAgree) {
return this.$utils.toast("请先阅读并同意《服务协议》《隐私政策》");
}
this.$models.order
.createOrder({
ids: this.orderData,
@ -272,11 +263,6 @@ export default {
border-radius: 10rpx;
}
}
.agreement-container {
width: 100%;
box-sizing: border-box;
padding: 0 40rpx 40rpx 40rpx;
}
.common-bottom-components {
.price {
font-size: 42rpx;