提交 eb91726e 编写于 作者: “grape”'s avatar “grape”

1

上级 a026fe76
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<van-divider :style="{ margin: 0 }"></van-divider> <van-divider :style="{ margin: 0 }"></van-divider>
<div style="margin: 16px"> <div style="margin: 16px">
<van-button square block type="info" native-type="submit" style="background-color: #3672F1;border-radius: 5px;" <van-button square block type="info" native-type="submit" style="background-color: #3672F1;border-radius: 5px;"
>登录</van-button >确定</van-button
> >
</div> </div>
</van-form> </van-form>
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
<template> <template>
<div class="d-page d-flex flex-column" style="background-color: linear-gradient(to bottom, #0B54E0, #ffffff); padding-bottom:20px;"> <div class="d-page d-flex flex-column" style="background-color: linear-gradient(to bottom, #0B54E0, #ffffff); padding-bottom:20px;">
<scroller-view v-calculate-height pulldown="true" pullup="true" :height="10000" class="product" >
<div class="rarle"> <div class="rarle">
<tools-bar :title="tatleName" style="width: 100%; height: calc(25vh)"> <tools-bar :title="tatleName" style="width: 100%; height: calc(25vh)">
</tools-bar> </tools-bar>
...@@ -24,9 +27,17 @@ ...@@ -24,9 +27,17 @@
height: 34px; height: 34px;
margin: 2% auto; margin: 2% auto;
border-radius: 10px; border-radius: 10px;
position: absolute;
top: 21%;
left: 5%; left: 5%;
position: absolute;
top: 22vh;
display: flex;
" "
> >
<van-col <van-col
...@@ -338,7 +349,6 @@ ...@@ -338,7 +349,6 @@
</div> </div>
<scroller-view v-calculate-height pulldown="true" pullup="true" :height="10000" class="product" >
<div <div
v-for="(item, index) in productList" v-for="(item, index) in productList"
:key="index" :key="index"
...@@ -437,6 +447,13 @@ export default class Main extends Vue { ...@@ -437,6 +447,13 @@ export default class Main extends Vue {
}; };
created(){
document.addEventListener('touchmove', event => { event.preventDefault() }, { passive: false })
}
//测试 //测试
demo() { demo() {
this.$router.push({ this.$router.push({
......
...@@ -8,10 +8,15 @@ ...@@ -8,10 +8,15 @@
--> -->
<template> <template>
<div class="body"> <div class="body">
<div class="rarle"> <div class="rarle">
<tatle-bar :tatle="tatleName"></tatle-bar> <tatle-bar :tatle="tatleName"></tatle-bar>
</div> </div>
<scroller-view v-calculate-height pulldown="true" :height="10000" >
<div> <div>
<div class="layout"> <div class="layout">
<van-row type="flex" class="CoolName"> <van-row type="flex" class="CoolName">
...@@ -151,6 +156,8 @@ ...@@ -151,6 +156,8 @@
</div> </div>
</scroller-view>
</div> </div>
</template> </template>
......
...@@ -119,9 +119,9 @@ export default class PersonLod extends Vue { ...@@ -119,9 +119,9 @@ export default class PersonLod extends Vue {
}, },
}) })
} }
retyen(){ // retyen(){
this.$router.back(); // this.$router.back();
} // }
modifyPassword(){ modifyPassword(){
this.$router.push({ this.$router.push({
...@@ -130,22 +130,22 @@ export default class PersonLod extends Vue { ...@@ -130,22 +130,22 @@ export default class PersonLod extends Vue {
}) })
} }
onClickReturn(){ // onClickReturn(){
// console.log("1111") // // console.log("1111")
this.$router.push({
name: `Mianview`,
params: {
indexed: "1"
}
})
// debugger
// this.$router.push({ // this.$router.push({
// name: "MainView", // name: `Mianview`,
// params: { // params: {
// indexed: "1" // indexed: "1"
// } // }
// }); // })
} // // debugger
// // this.$router.push({
// // name: "MainView",
// // params: {
// // indexed: "1"
// // }
// // });
// }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div> <div>
<div class="rarle"> <div class="rarle">
<tatle-bar :tatle="tatleName" style="background: #0B54E0" @onClickReturn="onClickReturn"></tatle-bar> <tatle-bar :tatle="tatleName" style="background: #0B54E0" @="onClickReturn"></tatle-bar>
</div> </div>
<van-row type="flex" class="iconImg"> <van-row type="flex" class="iconImg">
<van-col span="24"> <van-col span="24">
...@@ -93,13 +93,6 @@ export default class PersonLod extends Vue { ...@@ -93,13 +93,6 @@ export default class PersonLod extends Vue {
} }
modifyInfo(){ modifyInfo(){
this.$router.push({
name: "PersonLod"
//参数
})
}
onClickReturn(){
this.$router.back(); this.$router.back();
} }
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div> <div>
<div class="rarle"> <div class="rarle">
<tatle-bar :tatle="tatleName" style="background: #0B54E0" @onClickReturn="onClickReturn" ></tatle-bar> <tatle-bar :tatle="tatleName" style="background: #0B54E0" ></tatle-bar>
</div> </div>
<van-row type="flex" class="iconImg"> <van-row type="flex" class="iconImg">
<van-col span="24"> <van-col span="24">
...@@ -115,15 +115,12 @@ export default class PersonLod extends Vue { ...@@ -115,15 +115,12 @@ export default class PersonLod extends Vue {
this.passwordTypeB = this.passwordTypeB === 'password' ? 'text' : 'password' this.passwordTypeB = this.passwordTypeB === 'password' ? 'text' : 'password'
} }
modifyInfo(){ modifyInfo(){
this.$router.push({
name: "PersonLod"
//参数
})
}
onClickReturn(){
this.$router.back(); this.$router.back();
} }
// onClickReturn(){
// this.$router.back();
// }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册