dengjie ;拨打电话功能
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="login-content">
|
||||
<view style="text-align: center;margin-bottom:30rpx;">
|
||||
<text>请登录后查看</text>
|
||||
<text>{{loginText}}</text>
|
||||
</view>
|
||||
<view style="padding-left: 30rpx;padding-right: 30rpx;display: flex;">
|
||||
<u-button type="info" :plain="true" size="nomal" @click="$emit('fail')">取消</u-button>
|
||||
@@ -18,7 +18,20 @@
|
||||
} from '@/service/request.js'
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
return {
|
||||
loginText: '请登录后查看'
|
||||
}
|
||||
},
|
||||
props: {
|
||||
timoutText: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if (this.timoutText == 1) {
|
||||
this.loginText = "登录超时,请重新登录"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getphonenumber(e) {
|
||||
|
||||
@@ -111,7 +111,8 @@
|
||||
},
|
||||
confirm() {
|
||||
this.showM = false
|
||||
let phone = ''
|
||||
let phone = this.mobile
|
||||
phone = phone.toString()
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: phone,
|
||||
success: function() {
|
||||
|
||||
Reference in New Issue
Block a user