Files
uniapp-im-shop/pages/my-index/customer-service/index.vue
2026-01-15 17:22:20 +08:00

86 lines
1.9 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup>
import { navigateTo } from '@/utils/router'
// import { onLoad } from '@dcloudio/uni-app'
// import { ref } from 'vue'
// import { getUserServiceList } from '@/api/my-index'
// const list = ref([])
// const getList = async () => {
// const res = await getUserServiceList()
// list.value = res.data
// }
// onLoad(() => {
// getList()
// })
</script>
<template>
<view class="customer-service-index">
<view class="item-box">
<image
src="/static/images/my-index/customer-img.png"
mode="heightFix"
class="avatar"
></image>
<text class="tisp">Hi~有什么可以帮到你</text>
<button
@tap="navigateTo('/pages/my-index/customer-service/third-party')"
>
第三方客服
</button>
<!-- <button>APP客服</button> -->
</view>
</view>
</template>
<style lang="scss" scoped>
.customer-service-index {
height: 100%;
padding: 0 24rpx;
.item-box {
margin-top: 10vh;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
font-family: PingFang SC, PingFang SC;
text-align: left;
font-style: normal;
text-transform: none;
.avatar {
height: 192rpx;
}
.tisp {
margin: 32rpx 0 112rpx;
font-weight: 500;
font-size: 28rpx;
color: #999999;
}
button + button {
margin-top: 32rpx;
}
button {
width: 100%;
height: 84rpx;
line-height: 84rpx;
font-weight: bold;
font-size: 32rpx;
color: #ffffff;
background: linear-gradient(0deg, #00d993 0%, #00d9c5 100%);
border-radius: 16rpx;
box-sizing: border-box;
&:nth-child(2) {
background: #ffffff;
color: #00d993;
border: 2rpx solid #00d993;
}
&::after {
display: none;
}
}
}
}
</style>