Commit 4d76f0dd by 胡悦

Merge branch 'v1.0.1' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.1

2 parents 2726c354 89aab849
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
<slot></slot> <slot></slot>
</view> </view>
<view class="tips-footer" v-if="isFooter"> <view class="tips-footer" v-if="isFooter">
<view class="tips-btn close" @click="close()">{{ cancelBtnText }}</view> <view class="tips-btn close" @click="cancel()">{{
cancelBtnText
}}</view>
<view class="tips-btn preview" @click="confirm()">{{ <view class="tips-btn preview" @click="confirm()">{{
confirmBtnText confirmBtnText
}}</view> }}</view>
...@@ -75,6 +77,9 @@ export default { ...@@ -75,6 +77,9 @@ export default {
methods: { methods: {
close() { close() {
this.$refs.tips.close(); this.$refs.tips.close();
},
cancel() {
this.$refs.tips.close();
this.$emit("cancel"); this.$emit("cancel");
}, },
confirm() { confirm() {
...@@ -88,10 +93,12 @@ export default { ...@@ -88,10 +93,12 @@ export default {
.tips-wrapper { .tips-wrapper {
background: #ffffff; background: #ffffff;
border-radius: 20rpx; border-radius: 20rpx;
height: 100%;
.tips-content { .tips-content {
padding: 48rpx; padding: 48rpx;
box-sizing: border-box;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
height: 100%; height: calc(100% - 100rpx);
.tips-title { .tips-title {
position: relative; position: relative;
width: 100%; width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!