hldy_xcx/pages/login/workjoin.vue

260 lines
5.6 KiB
Vue
Raw Normal View History

2025-06-27 08:56:14 +08:00
<template>
<view class="login-container">
2025-06-30 17:33:35 +08:00
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
<view style="font-size: 30rpx;">加盟审核</view>
</view>
</view>
2025-06-27 08:56:14 +08:00
<view class="index-up">
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
lazy-load="false" />
</view>
<view class="bgc-card">
2025-06-30 17:33:35 +08:00
<!-- <view class="title-card">
2025-06-27 08:56:14 +08:00
<view class="big-weight">机构加盟</view>
<view class="title-other">
加盟我们共享银发经济红利!依托成熟运营体系标准化服务流程降低人力成本及管理开支背靠品牌资源助力企业快速实现营收增长
</view>
2025-06-30 17:33:35 +08:00
</view> -->
<view class="under-scroll" >
2025-06-27 08:56:14 +08:00
<view v-for="(item,index) in workArray" :key="index">
2025-06-30 17:33:35 +08:00
<view class="white-small" @click="jumpToAll(item)">
<view style="font-size: 32rpx;">
{{item.comName}}
2025-06-27 08:56:14 +08:00
</view>
2025-07-01 17:29:13 +08:00
<!-- <image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" /> -->
2025-06-30 17:33:35 +08:00
<view class="bottom-father">
2025-07-01 17:29:13 +08:00
<view style="margin-top: 45rpx;">
<view class="">
<text style="color: #999;" v-if="item.franchiseTime" > 加盟日期</text>{{item.franchiseTime }}
<text style="color: #999;" v-if="!item.franchiseTime" > 申请日期</text>{{item.commitTime}}
</view>
<view style="margin-top: 10rpx;">
<text style="color: #999;"> 审核日期</text>{{item.auditTime}}
</view>
</view>
2025-06-30 17:33:35 +08:00
<view class=""></view>
<image class="bottom-img" :src="`https://www.focusnu.com/media/directive/index/${statusarray[(Number(item.status)-1)]}.png`" />
2025-06-27 08:56:14 +08:00
</view>
2025-06-30 17:33:35 +08:00
<!-- <view class="blue-button" v-if="item.status=='3'" @click.stop="again(item)">
重新提交
</view> -->
2025-06-27 08:56:14 +08:00
</view>
</view>
</view>
</view>
</view>
</template>
<script setup>
import {
reactive,
ref,
nextTick
} from 'vue';
import {
onLoad,
onPullDownRefresh
} from '@dcloudio/uni-app'
import {
getMessageList,
getMessageListsuccess
} from '@/pages/addjigou/api/addjigou.js'
const type = ref(0)
const workArray = ref([])
const special = ref(false);
2025-06-30 17:33:35 +08:00
const statusarray = ["loading","success","fail"]
2025-06-27 08:56:14 +08:00
// 页面加载时接收 URL 参数
onLoad((options) => {
uni.getStorage({
key: 'openid',
success: function(res) {
2025-06-30 17:33:35 +08:00
getMessageList(res.data).then(res => {
workArray.value = res.result
})
2025-06-27 08:56:14 +08:00
}
});
})
onPullDownRefresh(() => {
uni.getStorage({
key: 'openid',
success: function(res) {
2025-06-30 17:33:35 +08:00
getMessageList(res.data).then(res => {
workArray.value = res.result
})
2025-06-27 08:56:14 +08:00
}
});
uni.stopPullDownRefresh()
})
2025-06-30 17:33:35 +08:00
const goBack = () => {
2025-06-27 08:56:14 +08:00
uni.navigateBack()
}
const again = (item) => {
console.log("????", item)
uni.setStorageSync("baddata", item)
uni.setStorageSync('specicalid', item.id);
uni.setStorageSync("backhuancun", {})
uni.navigateTo({
url: `/pages/addjigou/name`
});
}
const jumpToAll = (element) => {
uni.navigateTo({
url: `/pages/addjigou/all?element=${JSON.stringify(element)}`
});
}
2025-06-30 17:33:35 +08:00
2025-06-27 08:56:14 +08:00
</script>
<style lang="scss" scoped>
.login-container {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: rgb(239, 241, 252);
position: relative;
}
.under-scroll {
width: 100%;
height: calc(100% - 460rpx);
2025-06-30 17:33:35 +08:00
padding-top: 30rpx;
2025-06-27 08:56:14 +08:00
.white-small {
width: 94%;
margin-left: 3%;
background-color: #fff;
border-radius: 30rpx;
2025-06-30 17:33:35 +08:00
// padding: 40rpx;
padding: 30rpx 40rpx;
2025-06-27 08:56:14 +08:00
margin-bottom: 30rpx;
font-size: 25rpx;
2025-06-30 17:33:35 +08:00
// color: #999999;
2025-06-27 08:56:14 +08:00
position: relative;
}
}
.button-heng {
// width: 100%;
display: flex;
justify-content: flex-end;
position: absolute;
bottom: 30rpx;
right: 0;
.white-button {
width: 180rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, #F3F3F5, #DEE4E9);
border-radius: 30rpx;
color: black;
margin-right: 20rpx;
}
2025-06-30 17:33:35 +08:00
2025-06-27 08:56:14 +08:00
}
.bgc-card{
2025-06-30 17:33:35 +08:00
margin-top: 450rpx;
2025-06-27 08:56:14 +08:00
background-color: #F7F7F7;
2025-06-30 17:33:35 +08:00
width: 98%;
margin-left: 1%;
2025-06-27 08:56:14 +08:00
border-top-left-radius: 30rpx;
border-top-right-radius: 30rpx;
min-height: calc(100vh - 550rpx);
z-index: 1;
}
.index-up {
position: absolute;
2025-06-30 17:33:35 +08:00
top: 0rpx;
2025-06-27 08:56:14 +08:00
left: 0;
width: 100%;
.index-up-img {
width: 100%;
height: 20rpx;
}
}
.title-card{
margin: 30rpx;
background-color: #fff;
width: 93%;
height: 250rpx;
border-radius: 30rpx;
padding: 0 45rpx;
margin-top: 40rpx;
2025-06-30 17:33:35 +08:00
padding-top: 40rpx;
2025-06-27 08:56:14 +08:00
.big-weight{
font-size: 30rpx;
color: #333333;
font-weight: 600;
margin-bottom: 30rpx;
}
.title-other{
color: #666666;
font-size: 25rpx;
}
}
2025-06-30 17:33:35 +08:00
.title-back {
margin-top: 100rpx;
width: 100%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.left-father {
display: flex;
align-items: center;
z-index: 1;
.back-img {
width: 40rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
.enter-img{
width: 25rpx;
height: 25rpx;
position: absolute;
right: 30rpx;
top: 35rpx;
}
.bottom-father{
display: flex;
justify-content: space-between;
}
.bottom-img{
2025-07-01 17:29:13 +08:00
width: 160rpx;
height: 140rpx;
2025-06-30 17:33:35 +08:00
}
.blue-button {
margin-top: 20rpx;
width: 200rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, #00C9FF, #0076FF);
// margin-right: 20rpx;
margin-left: -10rpx;
border-radius: 25rpx;
color: #fff;
font-size: 30rpx;
}
2025-06-27 08:56:14 +08:00
</style>