|
@@ -72,29 +72,31 @@
|
|
|
</template>
|
|
|
</custom-form>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" v-if="dialog.type == '2'" class="dialog">
|
|
|
- <div class="list" v-for="(item, index) in demandList" :key="index" @click="toView(item)">
|
|
|
- <h2 class="name textMore">
|
|
|
- <span>{{ item.name || '暂无' }}</span>
|
|
|
- </h2>
|
|
|
- <div class="other">
|
|
|
- <span class="other_1">{{ getDict(item.urgent, 'urgent') || '暂无' }}</span>
|
|
|
- <div class="other_2">
|
|
|
- <span>应用行业:</span>
|
|
|
- {{ item.field || '暂无' }}
|
|
|
- </div>
|
|
|
- <div class="other_2">
|
|
|
- <span>资金预算:</span>
|
|
|
- {{ item.money || '面议' }}
|
|
|
- </div>
|
|
|
- <div class="other_2 textOne">
|
|
|
- <el-icon color="#0085f5"><Location /></el-icon>
|
|
|
- {{ getArea(item.area) }}
|
|
|
- <span class="state">{{ getDict(item.status, 'status') || '未解决' }}</span>
|
|
|
+ <transition name="why">
|
|
|
+ <el-col :span="24" v-if="dialog.type == '2'" class="dialog">
|
|
|
+ <div class="list" v-for="(item, index) in demandList" :key="index" @click="toView(item)">
|
|
|
+ <h2 class="name textMore">
|
|
|
+ <span>{{ item.name || '暂无' }}</span>
|
|
|
+ </h2>
|
|
|
+ <div class="other">
|
|
|
+ <span class="other_1">{{ getDict(item.urgent, 'urgent') || '暂无' }}</span>
|
|
|
+ <div class="other_2">
|
|
|
+ <span>应用行业:</span>
|
|
|
+ {{ item.field || '暂无' }}
|
|
|
+ </div>
|
|
|
+ <div class="other_2">
|
|
|
+ <span>资金预算:</span>
|
|
|
+ {{ item.money || '面议' }}
|
|
|
+ </div>
|
|
|
+ <div class="other_2 textOne">
|
|
|
+ <el-icon color="#0085f5"><Location /></el-icon>
|
|
|
+ {{ getArea(item.area) }}
|
|
|
+ <span class="state">{{ getDict(item.status, 'status') || '未解决' }}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
+ </el-col>
|
|
|
+ </transition>
|
|
|
</el-row>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -317,6 +319,7 @@ const getArea = (data) => {
|
|
|
}
|
|
|
const toClose = () => {
|
|
|
form.value = { file: [] }
|
|
|
+ width.value = '50%'
|
|
|
dialog.value = { show: false }
|
|
|
}
|
|
|
// 分页
|
|
@@ -354,6 +357,22 @@ const sizeChange = (limits) => {
|
|
|
margin: 20px 0 0 0;
|
|
|
}
|
|
|
}
|
|
|
+.why-enter-from,
|
|
|
+.why-leave-to {
|
|
|
+ opacity: 0;
|
|
|
+ transform: scale(0.6);
|
|
|
+}
|
|
|
+
|
|
|
+.why-enter-to,
|
|
|
+.why-leave-from {
|
|
|
+ opacity: 1;
|
|
|
+ transform: scale(1);
|
|
|
+}
|
|
|
+
|
|
|
+.why-enter-active,
|
|
|
+.why-leave-active {
|
|
|
+ transition: all 2s ease;
|
|
|
+}
|
|
|
.dialog {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|