Commit a1a1ee63 by LJM

css

parent 0567e434
...@@ -465,8 +465,8 @@ ...@@ -465,8 +465,8 @@
font-weight: 600; font-weight: 600;
} }
.btn { .btn {
width: 160rpx; width: 120rpx;
height: 80rpx; height: 60rpx;
margin-right: 24rpx; margin-right: 24rpx;
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
......
<template> <template>
<view class="page-login"> <view class="page-login">
<text class="iconfont icon-xxx" v-back></text> <text class="iconfont icon-xxx" v-back></text>
<image src="../../static/logo.png" mode="aspectFill" class="logo"></image> <navigator url="/"><image src="../../static/logo.png" mode="aspectFill" class="logo"></image></navigator>
<view class="tab" :class="{ mb40: curr == 1 }"> <view class="tab" :class="{ mb40: curr == 1 }">
<text class="box" v-for="(item, index) in text_item" :key="index" :class="{ curr: index == curr }" @click="tab(index)">{{ item }}</text> <text class="box" v-for="(item, index) in text_item" :key="index" :class="{ curr: index == curr }" @click="tab(index)">{{ item }}</text>
</view> </view>
......
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
</view> </view>
<view class="btn row bothSide verCenter"> <view class="btn row bothSide verCenter">
<view class="btn1 row rowCenter verCenter" @click="close(1)">关闭</view> <view class="btn1 row rowCenter verCenter" @click="close(1)">关闭</view>
<navigator url="joincart" hover-class="none" class="btn2 row rowCenter verCenter">前往购物车</navigator> <navigator url="/joincart" hover-class="none" class="btn2 row rowCenter verCenter">前往购物车</navigator>
</view> </view>
</template> </template>
<template v-else-if="tipType == 2"> <template v-else-if="tipType == 2">
...@@ -404,8 +404,12 @@ export default { ...@@ -404,8 +404,12 @@ export default {
open() { open() {
this.$refs.popup.open('bottom'); this.$refs.popup.open('bottom');
}, },
close() { close(type) {
this.$refs.popup.close(); if (type == 1) {
this.$refs.popupCenter.close();
} else {
this.$refs.popup.close();
}
}, },
filterChange(index) { filterChange(index) {
this.$set(this.shipping_flag, index, (this.shipping_flag[index] = !this.shipping_flag[index])); this.$set(this.shipping_flag, index, (this.shipping_flag[index] = !this.shipping_flag[index]));
...@@ -428,6 +432,7 @@ export default { ...@@ -428,6 +432,7 @@ export default {
icon: 'success' icon: 'success'
}); });
setTimeout(() => { setTimeout(() => {
this.close();
this.getData(); this.getData();
}, 2000); }, 2000);
} else { } else {
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</view> </view>
<view class="btn row bothSide verCenter"> <view class="btn row bothSide verCenter">
<view class="btn1 row rowCenter verCenter" @click="close(1)">关闭</view> <view class="btn1 row rowCenter verCenter" @click="close(1)">关闭</view>
<navigator url="joincart" hover-class="none" class="btn2 row rowCenter verCenter">前往购物车</navigator> <navigator url="/joincart" hover-class="none" class="btn2 row rowCenter verCenter">前往购物车</navigator>
</view> </view>
</template> </template>
<template v-else-if="tipType == 2"> <template v-else-if="tipType == 2">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment