feat:综合服务添加联系电话
This commit is contained in:
1 parent
35383264b3
commit
bd4c4cc8fb
5 files changed
+34
-30
No files matched your search
@@ -20,8 +20,8 @@ VITE_OAUTH2_APP_CLIENT='mini:mini'
|
|||||||
# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上
|
# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上
|
||||||
#VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上
|
#VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上
|
||||||
# VITE_APP_DEV_SERVICE = http://192.168.101.174:9999 # 邓-本地
|
# VITE_APP_DEV_SERVICE = http://192.168.101.174:9999 # 邓-本地
|
||||||
VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地
|
# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地
|
||||||
# VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上
|
VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上
|
||||||
|
|
||||||
# --------------------------- 开发环境 图片访问基础地址 ---------------------------
|
# --------------------------- 开发环境 图片访问基础地址 ---------------------------
|
||||||
# VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上
|
# VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上
|
||||||
|
|||||||
@@ -9,20 +9,29 @@
|
|||||||
<div v-for="item in services" :key="item.name" class="service-item" @click="goPage(item)">
|
<div v-for="item in services" :key="item.name" class="service-item" @click="goPage(item)">
|
||||||
<div class="service-icon-wrapper">
|
<div class="service-icon-wrapper">
|
||||||
<image :src="item.icon" class="service-icon" />
|
<image :src="item.icon" class="service-icon" />
|
||||||
<view v-if="item.name === 'todo' && todoCount > 0" class="badge">{{ todoCount > 99 ? "99+" : todoCount }}</view>
|
<view v-if="item.name === 'todo' && todoCount > 0" class="badge">{{ todoCount > 99 ? "99+" :
|
||||||
|
todoCount }}</view>
|
||||||
</div>
|
</div>
|
||||||
<div class="service-label">{{ item.label }}</div>
|
<div class="service-label">{{ item.label }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<view class="position-absolute bottom-20rpx left-0 right-0 second-text-26 text-center">
|
||||||
|
<text>联系热线:</text>
|
||||||
|
<text @click="doPhone('18367908152')">18367908152</text>
|
||||||
|
|
||||||
|
<text @click="doPhone('15657370065')">15657370065</text>
|
||||||
|
</view>
|
||||||
</crud-layout>
|
</crud-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onLoad } from "@dcloudio/uni-app"
|
import { onLoad } from "@dcloudio/uni-app"
|
||||||
import { ref, onMounted } from "vue"
|
import { ref, onMounted } from "vue"
|
||||||
|
|
||||||
import integratedApi from "@/sheep/api/integrated"
|
import integratedApi from "@/sheep/api/integrated"
|
||||||
|
import { hooks } from "@@/index"
|
||||||
|
|
||||||
const todoCount = ref(0)
|
const todoCount = ref(0)
|
||||||
|
|
||||||
@@ -109,6 +118,11 @@ function goPage(item) {
|
|||||||
uni.navigateTo({ url: item.url })
|
uni.navigateTo({ url: item.url })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 联系客服
|
||||||
|
const doPhone = (phone: string) => {
|
||||||
|
hooks.useMakePhoneCall(phone)
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
@@ -119,6 +133,7 @@ function goPage(item) {
|
|||||||
margin: 32rpx 24rpx 0 24rpx;
|
margin: 32rpx 24rpx 0 24rpx;
|
||||||
padding: 0 0 8rpx 0;
|
padding: 0 0 8rpx 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.integrated-title {
|
.integrated-title {
|
||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -127,6 +142,7 @@ function goPage(item) {
|
|||||||
padding: 36rpx 0 24rpx 0;
|
padding: 36rpx 0 24rpx 0;
|
||||||
letter-spacing: 2rpx;
|
letter-spacing: 2rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-container-card {
|
.service-container-card {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 24rpx;
|
border-radius: 24rpx;
|
||||||
@@ -134,17 +150,20 @@ function goPage(item) {
|
|||||||
margin: 24rpx;
|
margin: 24rpx;
|
||||||
padding-bottom: 32rpx;
|
padding-bottom: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-container {
|
.service-container {
|
||||||
padding: 32rpx 0 0 0;
|
padding: 32rpx 0 0 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-grid {
|
.service-grid {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0 24rpx;
|
padding: 0 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-item {
|
.service-item {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
margin-bottom: 40rpx;
|
margin-bottom: 40rpx;
|
||||||
@@ -153,10 +172,12 @@ function goPage(item) {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
transition: transform 0.2s;
|
transition: transform 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-item:hover {
|
.service-item:hover {
|
||||||
transform: translateY(-6rpx) scale(1.06);
|
transform: translateY(-6rpx) scale(1.06);
|
||||||
box-shadow: 0 2rpx 12rpx rgba(25, 118, 210, 0.08);
|
box-shadow: 0 2rpx 12rpx rgba(25, 118, 210, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-icon-wrapper {
|
.service-icon-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 14rpx;
|
margin-bottom: 14rpx;
|
||||||
@@ -195,19 +216,23 @@ function goPage(item) {
|
|||||||
0% {
|
0% {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-label {
|
.service-label {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
letter-spacing: 1rpx;
|
letter-spacing: 1rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #f5f6fa;
|
background: #f5f6fa;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ const doRefund = (v: any) => {
|
|||||||
<view>
|
<view>
|
||||||
<text>下单时间</text>
|
<text>下单时间</text>
|
||||||
<text class="ml-10rpx">{{ hooks.useTime(v.createTime, "{y}-{m}-{d} {h}:{i}:{s}")
|
<text class="ml-10rpx">{{ hooks.useTime(v.createTime, "{y}-{m}-{d} {h}:{i}:{s}")
|
||||||
}}</text>
|
}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>{{ hooks.useEnum("hardwareRefundStatusEnum", v.refundStatus) }}</view>
|
<view>{{ hooks.useEnum("hardwareRefundStatusEnum", v.refundStatus) }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -36,20 +36,9 @@ const toDetail = async (v: any) => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<crud-layout bg="/static/page/blue-bg.png">
|
<crud-layout bg="/static/page/blue-bg.png">
|
||||||
<z-paging
|
<z-paging ref="pageRef" height="100%" :fixed="false" v-model="pageHook.list" :default-page-size="10"
|
||||||
ref="pageRef"
|
safe-area-inset-bottom :loading-more-enabled="true" :show-scrollbar="false" @query="query"
|
||||||
height="100%"
|
:auto-clean-list-when-reload="false" :auto-scroll-to-top-when-reload="false" @scroll="pageHook.scroll">
|
||||||
:fixed="false"
|
|
||||||
v-model="pageHook.list"
|
|
||||||
:default-page-size="10"
|
|
||||||
safe-area-inset-bottom
|
|
||||||
:loading-more-enabled="true"
|
|
||||||
:show-scrollbar="false"
|
|
||||||
@query="query"
|
|
||||||
:auto-clean-list-when-reload="false"
|
|
||||||
:auto-scroll-to-top-when-reload="false"
|
|
||||||
@scroll="pageHook.scroll"
|
|
||||||
>
|
|
||||||
<view class="h-20rpx" />
|
<view class="h-20rpx" />
|
||||||
<view class="flex-row card p-20rpx m-b-20rpx" v-for="(v, i) in pageHook.list" :key="i" @tap="toDetail(v)">
|
<view class="flex-row card p-20rpx m-b-20rpx" v-for="(v, i) in pageHook.list" :key="i" @tap="toDetail(v)">
|
||||||
<image class="w-180rpx h-180rpx rounded-12rpx" :src="filePath(v.logoPic)" mode="aspectFill" />
|
<image class="w-180rpx h-180rpx rounded-12rpx" :src="filePath(v.logoPic)" mode="aspectFill" />
|
||||||
|
|||||||
@@ -47,18 +47,8 @@
|
|||||||
<tm-button @click="show = true">继续跳转</tm-button>
|
<tm-button @click="show = true">继续跳转</tm-button>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<tm-modal
|
<tm-modal v-model:show="show" :overlayClick="false" title="注意" position="bottom" height="auto"
|
||||||
v-model:show="show"
|
:showCancel="true" cancelText="取消" confirmText="继续访问" @confirm="thirdAppJump()" @cancel="show = false">
|
||||||
:overlayClick="false"
|
|
||||||
title="注意"
|
|
||||||
position="bottom"
|
|
||||||
height="auto"
|
|
||||||
:showCancel="true"
|
|
||||||
cancelText="取消"
|
|
||||||
confirmText="继续访问"
|
|
||||||
@confirm="thirdAppJump()"
|
|
||||||
@cancel="show = false"
|
|
||||||
>
|
|
||||||
<tm-text font-size="30" color="#999999">
|
<tm-text font-size="30" color="#999999">
|
||||||
您即将离开智慧后勤应用并跳转到第三方应用,请注意个人隐私和账号财产安全。您通过第三方服务页面主动提供给第三方商户的个人信息,相关信息保护责任由第三方商户承担。
|
您即将离开智慧后勤应用并跳转到第三方应用,请注意个人隐私和账号财产安全。您通过第三方服务页面主动提供给第三方商户的个人信息,相关信息保护责任由第三方商户承担。
|
||||||
</tm-text>
|
</tm-text>
|
||||||
|
|||||||
Reference in new issue
Block a user