Commit f767293e by 李伟康

commit 提交

1 parent eb738d52
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
this.$refs.popup.close() this.$refs.popup.close()
}, },
changeAccount () { changeAccount () {
uni.redirectTo({ uni.reLaunch({
url: '/pages/common/accountItems' url: '/pages/common/accountItems'
}) })
}, },
......
...@@ -427,6 +427,8 @@ export default { ...@@ -427,6 +427,8 @@ export default {
padding-top: 92rpx; padding-top: 92rpx;
flex-direction: column; flex-direction: column;
text-align: center; text-align: center;
position: relative;
z-index: 2;
.account-change { .account-change {
width: 136rpx; width: 136rpx;
height: 32rpx; height: 32rpx;
......
...@@ -122,12 +122,10 @@ export default { ...@@ -122,12 +122,10 @@ export default {
this.$emit('onProductModel', false) this.$emit('onProductModel', false)
}, },
open (name) { open (name) {
console.log(name);
if (name) this.$refs.partsRef.show(name) if (name) this.$refs.partsRef.show(name)
this.$emit('onProductModel', true) this.$emit('onProductModel', true)
}, },
showSection (index) { showSection (index) {
console.log(index);
if (this.showIndex === index) { if (this.showIndex === index) {
// 如果当前点击的项已经是翻转状态,则关闭它 // 如果当前点击的项已经是翻转状态,则关闭它
this.showIndex = -1; this.showIndex = -1;
......
...@@ -94,7 +94,6 @@ export default { ...@@ -94,7 +94,6 @@ export default {
}, },
watch: { watch: {
show (n) { show (n) {
console.log('=======', n, this.list)
if (n) this.init() if (n) this.init()
else this.scrollTop = 0 else this.scrollTop = 0
}, },
......
...@@ -42,9 +42,7 @@ export default { ...@@ -42,9 +42,7 @@ export default {
}, },
methods: { methods: {
show(name) { show(name) {
console.log(name,'====')
this.screenInfo = this.screenList.find(item => item.name === name) this.screenInfo = this.screenList.find(item => item.name === name)
console.log(this.screenInfo)
this.$refs.partsRef.open("center"); this.$refs.partsRef.open("center");
}, },
close() { close() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!