Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
wangzhuo
2025-09-16 18:06:13 +08:00
3 changed files with 13 additions and 4 deletions

View File

@@ -28,7 +28,8 @@
class="scroll-h" :class="{ 'loading-scroll': cssFlag }"> class="scroll-h" :class="{ 'loading-scroll': cssFlag }">
<view class="white-bg margin-bottom20" v-for="(item, index) in list" :key="index" <view class="white-bg margin-bottom20" v-for="(item, index) in list" :key="index"
@longpress="touchstart(item)" @longpress="touchstart(item)"
@tap="touchend" longpress-time="1500"
@tap="touchend(item)"
> >
<view> <view>
<view class="report-list"> <view class="report-list">
@@ -257,7 +258,11 @@ function touchstart(item) {
} }
let isLongPressed = ref(false); let isLongPressed = ref(false);
function touchend() { function touchend(item) {
visistId.value = item.visistId
cusName.value = item.cusName
cusId.value = item.cusId
status.value = item.status
// 如果未触发长按,则执行点击逻辑 // 如果未触发长按,则执行点击逻辑
if (!isLongPressed.value) { if (!isLongPressed.value) {
uni.navigateTo({ uni.navigateTo({

View File

@@ -407,7 +407,9 @@ const handleSubmit=()=>{
.container .bg-h{ .container .bg-h{
background:url('@/static/images/PicLogoTxt2@2x.png') center bottom 10rpx no-repeat; background:url('@/static/images/PicLogoTxt2@2x.png') center bottom 10rpx no-repeat;
background-size:487rpx 214rpx; background-size:487rpx 214rpx;
/* #ifdef APP-PLUS */
width: 100vw; width: 100vw;
/* #endif */
height: calc(100vh - 110px) ; height: calc(100vh - 110px) ;
margin:0 auto; margin:0 auto;
} }

View File

@@ -264,9 +264,9 @@ const submitForm = () => {
// #ifdef H5 // #ifdef H5
//h5测试用 内网-sn123456 //h5测试用 内网-sn123456
//公司外网 'f3fca83f-bf56-47f4-a98b-a602ed8bddee' //公司外网 'f3fca83f-bf56-47f4-a98b-a602ed8bddee' 529a5543-6957-401e-b090-13df6dee5429
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2' //友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
param.uniqCode = 'f3fca83f-bf56-47f4-a98b-a602ed8bddee'; param.uniqCode = 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2';
let res = await login(param); let res = await login(param);
userStore.login(res); userStore.login(res);
uni.switchTab({ url: '/pages/home/home' }) uni.switchTab({ url: '/pages/home/home' })
@@ -362,7 +362,9 @@ page{
.login-con .bg-h{ .login-con .bg-h{
background:url('@/static/images/login-txt.png') center bottom 10rpx no-repeat; background:url('@/static/images/login-txt.png') center bottom 10rpx no-repeat;
background-size:654rpx 121rpx; background-size:654rpx 121rpx;
/* #ifdef APP-PLUS */
width: 100vw; width: 100vw;
/* #endif */
height: calc(100vh - 10px) ; height: calc(100vh - 10px) ;
margin:0 auto; margin:0 auto;
} }