You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
139 lines
2.8 KiB
139 lines
2.8 KiB
11 months ago
|
<template>
|
||
|
<view class="wrap">
|
||
|
<view class="block">
|
||
|
<view class="title">编号134561321</view>
|
||
|
</view>
|
||
|
<view class="block">
|
||
|
<view class="title">采购内容</view>
|
||
|
<view class="content">
|
||
|
<view class="item">
|
||
|
<text class="name">测试11</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
<view class="item">
|
||
|
<text class="name">测试11</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="block">
|
||
|
<view class="title">采购方信息</view>
|
||
|
<view class="info">
|
||
|
<view class="line">
|
||
|
<text class="field">采购内容</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<text class="field">联系方式</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<text class="field">采购类型</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<text class="field">所属幼儿园</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<text class="field">提交时间</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
<view class="line">
|
||
|
<text class="field">幼儿园是否已认证/是否已实名</text>
|
||
|
<text>测试11</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { queryTeamInfo } from '@/apis/modules/user.js'
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
teamId: '',
|
||
|
form: {
|
||
|
classificationName: '',
|
||
|
slogan: '',
|
||
|
briefIntroduction: '',
|
||
|
address: '',
|
||
|
phone: ''
|
||
|
},
|
||
|
curPic: 0,
|
||
|
mpStyle: {
|
||
|
p: 'font-size: 25rpx !important;font-family: Microsoft Yahei !important;font-weight: 400 !important;color: #333 !important;',
|
||
|
span: 'font-size: 25rpx !important;font-family: Microsoft Yahei !important;font-weight: 400 !important;color: #333 !important;'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
onShow() {
|
||
|
const pages = getCurrentPages()
|
||
|
const { options } = pages[pages.length - 1]
|
||
|
this.teamId = options.teamId
|
||
|
this.getInfo()
|
||
|
},
|
||
|
methods: {
|
||
|
// 获取详情
|
||
|
async getInfo() {
|
||
|
uni.showLoading({
|
||
|
title: '加载中'
|
||
|
})
|
||
|
const res = await queryTeamInfo({
|
||
|
teamId: this.teamId
|
||
|
})
|
||
|
const data = res.teamInfo
|
||
|
if (data) {
|
||
|
// 处理描述图片
|
||
|
if (data.pictureUrl) {
|
||
|
this.desPics = data.pictureUrl.split(',')
|
||
|
}
|
||
|
}
|
||
|
this.form = data
|
||
|
uni.hideLoading()
|
||
|
},
|
||
|
// 描述图片切换
|
||
|
picChange(e) {
|
||
|
this.curPic = e.detail.current;
|
||
|
},
|
||
|
// tab切换
|
||
|
tabChange(id) {
|
||
|
this.curTab = id
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
.block {
|
||
|
padding: 24rpx;
|
||
|
}
|
||
|
.content {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
font-size: 28rpx;
|
||
|
color: #333;
|
||
|
.item {
|
||
|
margin-bottom: 20rpx;
|
||
|
}
|
||
|
.name {
|
||
|
width: 50%;
|
||
|
color: #ccc;
|
||
|
}
|
||
|
}
|
||
|
.info {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
font-size: 28rpx;
|
||
|
color: #333;
|
||
|
.line {
|
||
|
margin-bottom: 20rpx;
|
||
|
}
|
||
|
.field {
|
||
|
color: #ccc;
|
||
|
}
|
||
|
}
|
||
|
</style>
|