Skip to content

Commit

Permalink
fix: amisPage
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxiaobo1010 committed Oct 27, 2022
1 parent c835563 commit 8b87ed5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
24 changes: 23 additions & 1 deletion src/views/CloudOc/AmisPage/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,29 @@
)
},
},
watch: {},
watch: {
$route: {
handler: async function (val, oldVal) {
console.log('变化了', val)
let viewid = val.path.split('/')[val.path.split('/').length - 1]
const { data = {} } = await getView(viewid)
this.viewData = data
console.log('view表单', data)
if (JSON.stringify(this.viewData) != '{}') {
this.commandInfo.dialog = true
this.loading = false
} else {
this.$baseMessage(
'未找到该低代码模板',
'info',
'dgiot-hey-message-error'
)
}
},
// 深度观察监听
deep: true,
},
},
async created() {
this.isPC = this.$ispc()
// this.fetchProduct()
Expand Down
10 changes: 5 additions & 5 deletions src/views/DeviceCloud/manage/platform_overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1514,11 +1514,11 @@
// this.$forceUpdate()
},
async showDeatils(row, index) {
console.log('点击了')
getTrack(row.objectId).then((res) => {
console.log('轨迹坐标', res)
this.lineList = res.results
})
// console.log('点击了')
// getTrack(row.objectId).then((res) => {
// console.log('轨迹坐标', res)
// this.lineList = res.results
// })
const loading = this.$baseColorfullLoading(0)
this.productIco = ''
this.deviceInfo = await getDevice(row.objectId)
Expand Down
21 changes: 0 additions & 21 deletions src/views/MultiTenant/user/login/newindex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,6 @@
// background: url('') center center fixed no-repeat;
background-size: cover;
}
.login-form {
position: relative;
max-width: 100%;
Expand All @@ -720,35 +719,30 @@
background-size: 100% 100%;
// border: 1px solid #3cb2fb;
box-shadow: 1px 1px 12px 2px rgba(5, 106, 190, 0.5);
.title {
font-size: 54px;
font-weight: 500;
color: $base-color-white;
}
.title-tips {
margin: 0 auto;
font-size: 26px;
font-weight: 400;
color: #dcdbdb;
text-align: center;
}
.sbMc {
::v-deep {
.el-input__inner {
display: none;
}
.el-input-group__append {
color: #fff;
background-color: #4a7ca8;
//border-color: #409eff;
}
}
}
.login-btn {
background-color: #2f6fe7 !important;
display: inherit;
Expand All @@ -760,16 +754,13 @@
border: 0;
font-size: 20px;
color: white !important;
&:hover {
opacity: 0.9;
}
.forget-passwordword {
width: 100%;
margin-top: 40px;
text-align: left;
.forget-password {
width: 129px;
height: 19px;
Expand All @@ -779,22 +770,18 @@
}
}
}
.tips {
margin-bottom: 10px;
font-size: $base-font-size-default;
color: $base-color-white;
span {
&:first-of-type {
margin-right: 16px;
}
}
}
.title-container {
position: relative;
.title {
margin: 0 auto 40px auto;
font-size: 34px;
Expand All @@ -803,7 +790,6 @@
text-align: center;
}
}
i {
position: absolute;
top: 8px;
Expand All @@ -814,7 +800,6 @@
cursor: pointer;
user-select: none;
}
.show-password {
position: absolute;
right: 25px;
Expand All @@ -824,7 +809,6 @@
cursor: pointer;
user-select: none;
}
::v-deep {
.el-form-item {
padding-right: 0;
Expand All @@ -833,12 +817,10 @@
background: transparent;
border: 1px solid transparent;
border-radius: 2px;
&__content {
min-height: $base-input-height;
line-height: $base-input-height;
}
&__error {
position: absolute;
top: 100%;
Expand All @@ -848,10 +830,8 @@
color: $base-color-red;
}
}
.el-input {
box-sizing: border-box;
input {
height: 48px;
padding-left: 35px;
Expand All @@ -863,7 +843,6 @@
}
}
}
// 新样式
.btn_back {
width: 150px;
Expand Down

0 comments on commit 8b87ed5

Please sign in to comment.