二手车交易,车源发布做缓存
This commit is contained in:
@ -90,21 +90,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<van-dialog v-model="show" title="电话" show-cancel-button>
|
||||
<!-- <van-dialog v-model="show" title="电话" show-cancel-button>
|
||||
<van-button type="primary" :to="{tel:this.detailInfo.contactNumber}">打电话1</van-button>
|
||||
<van-button type="primary" to="tel:15237688303">打电话2</van-button>
|
||||
<a href="tel:15237688303">
|
||||
<van-button type="primary">打电话3</van-button>
|
||||
<a href="tel:15237688303">{{this.detailInfo.contactNumber}}
|
||||
|
||||
<van-button type="primary">{{}}</van-button>
|
||||
</a>
|
||||
|
||||
</van-dialog>
|
||||
</van-dialog>-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {myMixins} from "@/utils/myMixins"
|
||||
import {carInfoDetail,saveRecord} from "@/api/secondHandCar";
|
||||
// import { Dialog } from 'vant';
|
||||
import { Dialog } from 'vant';
|
||||
export default {
|
||||
name: "forSale",
|
||||
mixins:[myMixins],
|
||||
@ -171,7 +172,7 @@ export default {
|
||||
},
|
||||
handle(){
|
||||
this.show=true
|
||||
/* Dialog.alert({
|
||||
Dialog.alert({
|
||||
message:this.detailInfo.contactNumber ,
|
||||
confirmButtonText:'拨打电话',
|
||||
showCancelButton:true,
|
||||
@ -181,7 +182,7 @@ export default {
|
||||
window.location.href = `tel:${this.detailInfo.contactNumber}`;
|
||||
}).catch(() => {
|
||||
// on cancel
|
||||
});*/
|
||||
});
|
||||
},
|
||||
onChange(index) {
|
||||
this.current = index;
|
||||
|
Reference in New Issue
Block a user