update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup>
|
||||
import {onMounted, reactive} from "vue";
|
||||
import Api from "../../../api/index.js";
|
||||
import {copy, toPage} from "../../../utils/uils.js";
|
||||
|
||||
const detail = reactive({});
|
||||
|
||||
@@ -9,12 +10,6 @@ onMounted(() => {
|
||||
Object.assign(detail, data);
|
||||
});
|
||||
});
|
||||
|
||||
const callPhone = () => {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: detail.mobile,
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -23,11 +18,12 @@ const callPhone = () => {
|
||||
<view class="test-24r !ml-[24rpx]">{{ detail.nickname }}</view>
|
||||
|
||||
<view
|
||||
@click="callPhone"
|
||||
@click="copy(detail.wechat)"
|
||||
class="px-[20rpx] py-[7rpx] test-22r text-[#fff] rounded-full bg-[var(--primary-color)] !flex items-center justify-center !ml-auto">
|
||||
联系TA
|
||||
</view>
|
||||
<view
|
||||
@click="toPage('/pages/complaint/index')"
|
||||
class="px-[20rpx] py-[7rpx] test-22r text-[#fff] rounded-full bg-[#C9CDD4] !flex items-center justify-center !ml-[20rpx]">
|
||||
投诉
|
||||
</view>
|
||||
|
||||
@@ -122,7 +122,7 @@ onMounted(() => {
|
||||
<image class="!size-[40rpx]" mode="aspectFill" :src="ICON1"></image>
|
||||
<view class="test-24r">提现记录</view>
|
||||
</view>
|
||||
<view class="!flex items-center gap-[12rpx]" @click="toPage('/pages/changeLog/index')">
|
||||
<view class="!flex items-center gap-[12rpx]" @click="toPage('/pages/walletLog/index')">
|
||||
<image class="!size-[40rpx]" mode="aspectFill" :src="ICON2"></image>
|
||||
<view class="test-24r">变动记录</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user