Commit f767293e by 李伟康

commit 提交

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