This commit is contained in:
QJK 2024-11-09 17:56:06 +08:00
parent aa080206a3
commit b8fc167109
2 changed files with 207 additions and 167 deletions

View File

@ -1,7 +1,7 @@
// 应用全局配置
module.exports = {
//baseUrl: 'https://www.nuoyunr.com/admin-api',
baseUrl: 'http://127.0.0.1:48080/admin-api',
// baseUrl: 'https://www.nuoyunr.com/admin-api',
baseUrl: 'http://192.168.31.130:48080/admin-api',
imagesUrl: 'http://www.nuoyunr.com/lananRsc',
baseImageUrl: 'https://www.nuoyunr.com/minio',
// 应用信息

View File

@ -24,11 +24,19 @@
<view class="title_">
已选检测项目
</view>
<u-steps activeColor="#0D2E8D" direction="column">
<view style="margin-bottom: 15px;" v-for="(item,index) in selectProject" :key="index">
<view class="steps_">
<view class="index_">{{index+1}}</view>
<view style="font-size: 20px; font-weight: bold;">{{item.projectName}}</view>
</view>
<view class="xb_" v-if="index != selectProject.length - 1 "> </view>
</view>
<!-- <u-steps activeColor="#0D2E8D" direction="column">
<u-steps-item :iconSize="iconSize" v-for="item in selectProject" :title="item.projectName">
</u-steps-item>
</u-steps>
</u-steps> -->
</view>
@ -42,9 +50,9 @@
</template>
<script>
import request from '../../utils/request';
import request from '../../utils/request';
export default {
export default {
data() {
return {
iconSize: 130,
@ -98,55 +106,62 @@ export default {
}
}
}
}
</script>
<style scoped>
.cont_box {
.steps_ {
display: flex;
align-items: center;
}
.cont_box {
box-sizing: border-box;
padding: 10px;
}
}
.title_ {
.title_ {
font-weight: bold;
margin-bottom: 5px;
}
}
.box_ {
.box_ {
width: 100%;
display: flex;
flex-wrap: wrap;
}
}
.box_button_x {
.box_button_x {
border-radius: 6px;
border: 1px solid #0D2E8D;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-size: 18px;
box-sizing: border-box;
padding: 5px 10px;
margin-right: 5px;
margin-bottom: 5px;
padding: 10px 15px;
margin-right: 15px;
margin-bottom: 15px;
background: #0D2E8D;
color: #fff;
}
}
.box_button {
.box_button {
border-radius: 6px;
border: 1px solid #999;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-size: 18px;
box-sizing: border-box;
padding: 5px 10px;
margin-right: 5px;
margin-bottom: 5px;
}
padding: 10px 15px;
margin-right: 15px;
margin-bottom: 15px;
}
.dlanniu {
.dlanniu {
width: 80%;
height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
@ -156,21 +171,21 @@ export default {
justify-content: center;
margin: 20px auto;
color: white;
}
}
.t-you {
.t-you {
height: 100%;
width: 20%;
}
}
.content {
.content {
box-sizing: border-box;
width: 100%;
height: calc(100vh);
background: white;
}
}
.top-heder {
.top-heder {
width: 100%;
height: 46px;
background: white;
@ -179,15 +194,40 @@ export default {
justify-content: space-between;
box-sizing: border-box;
padding: 5px 15px;
}
}
.t-title {
.t-title {
font-size: 17px;
font-weight: bold;
color: #333333;
}
}
.t-left {
.t-left {
width: 10%;
}
}
.index_ {
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: bold;
font-size: 18px;
background: #0D2E8D;
border-radius: 50%;
margin-right: 10px;
}
.xb_ {
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
color: #0D2E8D;
font-size: 22px;
font-weight: bold;
}
</style>