forked from Samciu/GroupbuyCoupon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,275 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
export default { | ||
baseUrl: "https://zy-api.wxthe.com", | ||
Appid: 'zyc4dd3668ee9a2a46' | ||
Appid: 'zy36aab89b0773212d', | ||
usePlugin: true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<template> | ||
<view class="popup_content"> | ||
<view class="rules_txt"> | ||
<view class="title">联系客服</view> | ||
<view class="scroll"> | ||
<view class="content">请联系客服领取会员卡</view> | ||
<button class="button" open-type="contact">联系客服</button> | ||
</view> | ||
</view> | ||
<view class="closed" @click="close"></view> | ||
</view> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: ["rules"], | ||
methods: { | ||
close() { | ||
this.$emit("closeExchange"); | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss"> | ||
.popup_content { | ||
width: 100vw; | ||
height: 100vh; | ||
justify-content: center; | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
.rules_txt { | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
width: 580rpx; | ||
border-radius: 12rpx; | ||
background: #fff; | ||
box-sizing: border-box; | ||
padding: 60rpx 40rpx; | ||
overflow: hidden; | ||
justify-content: space-between; | ||
.title { | ||
font-weight: bolder; | ||
font-size: 40rpx; | ||
line-height: 56rpx; | ||
text-align: center; | ||
color: #000; | ||
} | ||
.scroll { | ||
overflow: hidden; | ||
text-align: center; | ||
} | ||
.content { | ||
padding-top: 30rpx; | ||
text-align: center; | ||
} | ||
.button { | ||
display: block; | ||
margin: 0 auto; | ||
margin-top: 40rpx; | ||
width: 224rpx; | ||
height: 84rpx; | ||
border-radius: 46rpx; | ||
line-height: 84rpx; | ||
font-size: 32rpx; | ||
text-align: center; | ||
background: #ec5959; | ||
color: #fff; | ||
} | ||
} | ||
.closed { | ||
width: 80rpx; | ||
height: 80rpx; | ||
margin-top: 16rpx; | ||
background: url("https://vkceyugu.cdn.bspapp.com/VKCEYUGU-cf26384b-87c0-45b4-a7e2-8a03c1243555/ca54adf5-12bf-43ae-9515-02140eaba5ec.png") | ||
no-repeat; | ||
background-size: 100%; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<template> | ||
<view class="popup_content"> | ||
<view class="rules_txt"> | ||
<view class="title">活动规则</view> | ||
<view class="scroll"> | ||
<scroll-view class="scroll_box" scrollY="true"> | ||
<view v-for="item,index in rules" :key="index"> | ||
<text>{{item}}</text> | ||
</view> | ||
</scroll-view> | ||
</view> | ||
</view> | ||
<view class="closed" @click="close"></view> | ||
</view> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: ["rules"], | ||
methods: { | ||
close() { | ||
this.$emit("closePopup") | ||
} | ||
}, | ||
} | ||
</script> | ||
|
||
<style lang="scss"> | ||
.popup_content { | ||
width: 100vw; | ||
height: 100vh; | ||
justify-content: center; | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
.rules_txt { | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
width: 686rpx; | ||
height: 648rpx; | ||
border-radius: 40rpx; | ||
background: #fff; | ||
box-sizing: border-box; | ||
padding: 60rpx 40rpx; | ||
overflow: hidden; | ||
justify-content: space-between; | ||
.title { | ||
font-weight: bolder; | ||
font-size: 40rpx; | ||
line-height: 56rpx; | ||
text-align: center; | ||
color: #000; | ||
} | ||
.scroll { | ||
width: 606rpx; | ||
height: 440rpx; | ||
overflow: hidden; | ||
} | ||
.scroll_box { | ||
width: 618rpx; | ||
height: 440rpx; | ||
display: flex; | ||
align-items: center; | ||
overflow-y: scroll; | ||
transform: translate(2rpx, 0); | ||
text { | ||
font-size: 28rpx; | ||
line-height: 40rpx; | ||
color: #575757; | ||
} | ||
} | ||
} | ||
.closed { | ||
width: 80rpx; | ||
height: 80rpx; | ||
margin-top: 16rpx; | ||
background: url("https://vkceyugu.cdn.bspapp.com/VKCEYUGU-cf26384b-87c0-45b4-a7e2-8a03c1243555/ca54adf5-12bf-43ae-9515-02140eaba5ec.png") | ||
no-repeat; | ||
background-size: 100%; | ||
} | ||
} | ||
</style> |
Oops, something went wrong.