修改协议跳转和名称
This commit is contained in:
parent
9a77e73f05
commit
0d74adb67f
|
@ -5,8 +5,8 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="description">
|
<view class="description">
|
||||||
<text class="text">我已阅读并同意</text>
|
<text class="text">我已阅读并同意</text>
|
||||||
<text class="link">《服务协议》</text>
|
<text class="link" @click="utils.toPage('/pages/detail/detail?type=register')">《注册协议》</text>
|
||||||
<text class="link">《隐私政策》</text>
|
<text class="link" @click="utils.toPage('/pages/detail/detail?type=privacy')">《隐私政策》</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -17,6 +17,7 @@ export default {
|
||||||
name: "component-auth-agreement",
|
name: "component-auth-agreement",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
utils: this.$utils,
|
||||||
state: false,
|
state: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
@ -55,9 +55,6 @@
|
||||||
placeholder-class="placeholder-style-2"
|
placeholder-class="placeholder-style-2"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view class="agreement-container">
|
|
||||||
<agreement v-model="isAgree" />
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
|
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
|
||||||
<text class="price">¥ {{ utils.formatNumber(total) }}</text>
|
<text class="price">¥ {{ utils.formatNumber(total) }}</text>
|
||||||
|
@ -71,7 +68,6 @@
|
||||||
<script>
|
<script>
|
||||||
import AppLayout from "@/components/layout/layout";
|
import AppLayout from "@/components/layout/layout";
|
||||||
import ServicePreviewItem from "@/components/service/preview-item";
|
import ServicePreviewItem from "@/components/service/preview-item";
|
||||||
import Agreement from "@/components/auth/agreement";
|
|
||||||
import WidgetTips from "@/components/widgets/tips";
|
import WidgetTips from "@/components/widgets/tips";
|
||||||
import ServiceInsurance from "@/components/service/insurance";
|
import ServiceInsurance from "@/components/service/insurance";
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
|
@ -87,7 +83,6 @@ export default {
|
||||||
time: "",
|
time: "",
|
||||||
content: "",
|
content: "",
|
||||||
insurance: false,
|
insurance: false,
|
||||||
isAgree: false,
|
|
||||||
total: 0,
|
total: 0,
|
||||||
orderData: [],
|
orderData: [],
|
||||||
serviceList: [],
|
serviceList: [],
|
||||||
|
@ -96,7 +91,6 @@ export default {
|
||||||
components: {
|
components: {
|
||||||
AppLayout,
|
AppLayout,
|
||||||
ServicePreviewItem,
|
ServicePreviewItem,
|
||||||
Agreement,
|
|
||||||
WidgetTips,
|
WidgetTips,
|
||||||
ServiceInsurance,
|
ServiceInsurance,
|
||||||
},
|
},
|
||||||
|
@ -179,9 +173,6 @@ export default {
|
||||||
return this.$utils.toast("请选择时间和日期");
|
return this.$utils.toast("请选择时间和日期");
|
||||||
}
|
}
|
||||||
let datetime = this.date + " " + this.time;
|
let datetime = this.date + " " + this.time;
|
||||||
if (!this.isAgree) {
|
|
||||||
return this.$utils.toast("请先阅读并同意《服务协议》《隐私政策》");
|
|
||||||
}
|
|
||||||
this.$models.order
|
this.$models.order
|
||||||
.createOrder({
|
.createOrder({
|
||||||
ids: this.orderData,
|
ids: this.orderData,
|
||||||
|
@ -272,11 +263,6 @@ export default {
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.agreement-container {
|
|
||||||
width: 100%;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 0 40rpx 40rpx 40rpx;
|
|
||||||
}
|
|
||||||
.common-bottom-components {
|
.common-bottom-components {
|
||||||
.price {
|
.price {
|
||||||
font-size: 42rpx;
|
font-size: 42rpx;
|
||||||
|
|
Loading…
Reference in New Issue