|
@@ -50,13 +50,13 @@
|
|
|
<span
|
|
|
class="value"
|
|
|
v-for="(str, index) in '《用户协议》'"
|
|
|
- :key="'b' + index">{{ str }}</span>
|
|
|
+ :key="'b' + index" @click="jumpAgreement">{{ str }}</span>
|
|
|
<span
|
|
|
class="label">与</span>
|
|
|
<span
|
|
|
class="value"
|
|
|
v-for="(str, index) in '《隐私协议》'"
|
|
|
- :key="'c' + index">{{ str }}</span>
|
|
|
+ :key="'c' + index" @click="jumpPrivacy">{{ str }}</span>
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -90,6 +90,12 @@ export default {
|
|
|
await this.$nextTick()
|
|
|
},
|
|
|
methods: {
|
|
|
+ jumpAgreement () {
|
|
|
+ location.href = '//tingbang-h5.codedreamit.com/agreement'
|
|
|
+ },
|
|
|
+ jumpPrivacy () {
|
|
|
+ location.href = '//tingbang-h5.codedreamit.com/privacy'
|
|
|
+ },
|
|
|
funLimitLength () {
|
|
|
const { phone, code } = this.postData
|
|
|
this.postData.phone = phone.replace(/[^\d]/g, '').slice(0, 11)
|