修改.vue中的 rem为rpx,修改部分页面错误样式,授权页增加微信和app的判断

This commit is contained in:
gaoxs
2020-03-19 19:05:50 +08:00
parent 3fa8054983
commit 2a2c544991
47 changed files with 922 additions and 898 deletions

View File

@ -47,20 +47,20 @@
></view>
</view>
</template>
<style scoped>
<style scoped lang="less">
.coupon-list-window .iconfont {
font-size: 0.4rem;
font-size: 40rpx;
}
.couponNo {
font-size: 0.3rem;
font-size: 30rpx;
font-weight: bold;
color: #fff;
width: 6.9rem;
height: 0.86rem;
border-radius: 0.43rem;
width: 690rpx;
height: 86rpx;
border-radius: 43rpx;
text-align: center;
line-height: 0.86rem;
margin: 0.6rem auto;
line-height: 86rpx;
margin: 60rpx auto;
}
</style>
<script>

View File

@ -15,7 +15,7 @@
</view>
</view>
</view>
<view style="height:1.2rem"></view>
<view style="height:120rpx"></view>
</view>
<view class="lid">
<view class="bnt font-color-red" @click="checked">立即领取</view>
@ -85,4 +85,4 @@
}
}
};
</script>
</script>

View File

@ -46,16 +46,16 @@ export default {
}
};
</script>
<style scoped>
<style scoped lang="less">
.mystyl {
display: inline-block;
width: 0.64rem;
height: 0.64rem;
margin-top: 0.12rem;
width: 64rpx;
height: 64rpx;
margin-top:12rpx;
box-sizing: border-box;
border: 1px solid #e1e1e1;
border-radius: 50%;
background-size: 1.24rem auto;
background-size: 124rpx auto;
background-repeat: no-repeat;
background-color: rgba(255, 255, 255, 0.9);
}

View File

@ -2,7 +2,7 @@
<view
class="Loads acea-row row-center-wrapper"
v-if="loading || !loaded"
style="margin-top: .2rem;"
style="margin-top: 20rpx;"
>
<template v-if="loading">
<view

View File

@ -98,15 +98,15 @@ export default {
}
};
</script>
<style scoped>
<style scoped lang="less" lang="less">
.payment {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
border-radius: 0.16rem 0.16rem 0 0;
border-radius: 0.16*100rpx 0.16*100rpx 0 0;
background-color: #fff;
padding-bottom: 0.6rem;
padding-bottom: 0.6*100rpx;
z-index: 99;
transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
@ -129,48 +129,48 @@ export default {
.payment .title {
text-align: center;
height: 1.23rem;
font-size: 0.32rem;
height: 1.23*100rpx;
font-size: 0.32*100rpx;
color: #282828;
font-weight: bold;
padding-right: 0.3rem;
margin-left: 0.3rem;
padding-right: 0.3*100rpx;
margin-left: 0.3*100rpx;
position: relative;
border-bottom: 0.01rem solid #eee;
border-bottom: 0.01*100rpx solid #eee;
}
.payment .title .iconfont {
position: absolute;
right: 0.3rem;
right: 0.3*100rpx;
top: 50%;
transform: translateY(-50%);
font-size: 0.43rem;
font-size: 0.43*100rpx;
color: #8a8a8a;
font-weight: normal;
}
.payment .item {
border-bottom: 0.01rem solid #eee;
height: 1.3rem;
margin-left: 0.3rem;
padding-right: 0.3rem;
border-bottom: 0.01*100rpx solid #eee;
height: 1.3*100rpx;
margin-left: 0.3*100rpx;
padding-right: 0.3*100rpx;
}
.payment .item .left {
width: 6.1rem;
width: 6.1*100rpx;
}
.payment .item .left .text {
width: 5.4rem;
width: 5.4*100rpx;
}
.payment .item .left .text .name {
font-size: 0.32rem;
font-size: 0.32*100rpx;
color: #282828;
}
.payment .item .left .text .info {
font-size: 0.24rem;
font-size: 0.24*100rpx;
color: #999;
}
@ -179,7 +179,7 @@ export default {
}
.payment .item .left .iconfont {
font-size: 0.45rem;
font-size: 0.45*100rpx;
color: #09bb07;
}
@ -196,7 +196,7 @@ export default {
}
.payment .item .iconfont {
font-size: 0.3rem;
font-size: 0.3*100rpx;
color: #999;
}
</style>

View File

@ -66,15 +66,15 @@
<view class="mask" @touchmove.prevent v-show="change === true"></view>
</view>
</template>
<style scoped>
<style scoped lang="less" >
.priceChange .listChange textarea {
border: 1px solid #eee;
width: 100%;
height: 2rem;
margin-top: 0.5rem;
border-radius: 0.1rem;
height: 200rpx;
margin-top: 50rpx;
border-radius: 10rpx;
color: #333;
padding: 0.2rem;
padding: 20rpx;
}
</style>
<script>

View File

@ -5,7 +5,7 @@
</view>
</view>
</template>
<style scoped>
<style scoped lang="less">
.poster-first {
overscroll-behavior: contain;
}

View File

@ -39,83 +39,83 @@
<view class="mask"></view>
</view>
</template>
<style scoped>
<style scoped lang="less" lang="less">
.poster-first {
overscroll-behavior: contain;
}
.poster-pop {
width: 4.5rem;
height: 8rem;
width: 4.5*100rpx;
height: 8*100rpx;
position: fixed;
left: 50%;
transform: translateX(-50%);
z-index: 99;
top: 50%;
margin-top: -4.6rem;
margin-top: -4.6*100rpx;
}
.poster-pop .canvas {
background-color: #ffffff;
height: 8rem;
height: 8*100rpx;
}
.poster-pop .poster-image {
width: 100%;
height: auto;
}
.poster-pop .canvas .image {
width: 4.5rem;
height: 4.5rem;
width: 4.5*100rpx;
height: 4.5*100rpx;
display: block;
}
.poster-pop .canvas .text {
text-align: center;
color: #000000;
margin-top: 0.32rem;
margin-top: 0.32*100rpx;
}
.poster-pop .canvas .text.black {
height: 0.68rem;
height: 0.68*100rpx;
}
.poster-pop .canvas .text.rad {
color: #ff0000;
}
.poster-pop .canvas .code {
height: 1.4rem;
height: 1.4*100rpx;
display: flex;
}
.poster-pop .canvas .code .code-img {
width: 33%;
padding: 0.06rem;
padding: 0.06*100rpx;
}
.poster-pop .canvas .code .code-img image{
width: 100%;
}
.poster-pop .canvas .code .code-text {
width: 60%;
font-size: 0.12rem;
line-height: 1.64rem;
font-size: 0.12*100rpx;
line-height: 1.64*100rpx;
}
.poster-pop .close {
width: 0.46rem;
height: 0.75rem;
width: 0.46*100rpx;
height: 0.75*100rpx;
position: fixed;
right: 0;
top: -0.73rem;
top: -0.73*100rpx;
display: block;
}
.poster-pop .save-poster {
background-color: #df2d0a;
font-size: 0.22rem;
font-size: 0.22*100rpx;
color: #fff;
text-align: center;
height: 0.76rem;
line-height: 0.76rem;
height: 0.76*100rpx;
line-height: 0.76*100rpx;
width: 100%;
margin-top: -0.04rem;
margin-top: -0.04*100rpx;
}
.poster-pop .keep {
color: #fff;
text-align: center;
font-size: 0.25rem;
margin-top: 0.1rem;
font-size: 0.25*100rpx;
margin-top: 0.1*100rpx;
}
.mask {
position: fixed;

View File

@ -23,19 +23,19 @@
<view class="mask" @touchmove.prevent v-show="switchActive === true" @click="switchClose"></view>
</view>
</template>
<style>
<style lang="less">
.switchWindow {
width: 5.6rem;
border-radius: 0.2rem;
-webkit-border-radius: 0.2rem;
width: 5.6*100rpx;
border-radius: 0.2*100rpx;
-webkit-border-radius: 0.2*100rpx;
background-color: #fff;
position: fixed;
top: 50%;
left: 50%;
margin-left: -2.8rem;
margin-top: -3rem;
margin-left: -2.8*100rpx;
margin-top: -3*100rpx;
z-index: 99;
padding: 0.5rem 0.3rem 0.4rem 0.3rem;
padding: 0.5*100rpx 0.3*100rpx 0.4*100rpx 0.3*100rpx;
text-align: center;
box-sizing: border-box;
-webkit-box-sizing: border-box;
@ -57,8 +57,8 @@
}
.switchWindow .pictrue {
width: 2.36rem;
height: 2.36rem;
width: 2.36*100rpx;
height: 2.36*100rpx;
margin: 0 auto;
}
@ -69,21 +69,21 @@
}
.switchWindow .info {
font-size: 0.32rem;
font-size: 0.32*100rpx;
color: #282828;
margin-top: 0.44rem;
margin-top: 0.44*100rpx;
font-weight: bold;
}
.switchWindow .switchBnt {
font-size: 0.32rem;
font-size: 0.32*100rpx;
color: #fff;
width: 3.6rem;
height: 0.82rem;
border-radius: 0.41rem;
-webkit-border-radius: 0.41rem;
margin: 0.57rem auto 0 auto;
line-height: 0.82rem;
width: 3.6*100rpx;
height: 0.82*100rpx;
border-radius: 0.41*100rpx;
-webkit-border-radius: 0.41*100rpx;
margin: 0.57*100rpx auto 0 auto;
line-height: 0.82*100rpx;
background-image: linear-gradient(to right, #f67a38 0%, #f11b09 100%);
background-image: -webkit-linear-gradient(to right, #f67a38 0%, #f11b09 100%);
background-image: -moz-linear-gradient(to right, #f67a38 0%, #f11b09 100%);
@ -93,7 +93,7 @@
background-color: #fff;
color: #999;
background-image: none;
margin-top: 0.1rem;
margin-top: 0.1*100rpx;
}
</style>
<script>

View File

@ -12,84 +12,84 @@
<view class="mask" @touchmove.prevent></view>
</view>
</template>
<style scoped>
<style scoped lang="less">
.WriteOff {
width: 5.6rem;
height: 8rem;
width: 5.6*100rpx;
height: 8*100rpx;
background-color: #fff;
border-radius: 0.2rem;
border-radius: 0.2*100rpx;
position: fixed;
top: 50%;
left: 50%;
margin-top: -4rem;
margin-left: -2.8rem;
margin-top: -4*100rpx;
margin-left: -2.8*100rpx;
z-index: 99;
padding-top: 0.55rem;
padding-top: 0.55*100rpx;
}
.WriteOff .pictrue {
width: 3.4rem;
height: 3.4rem;
width: 3.4*100rpx;
height: 3.4*100rpx;
margin: 0 auto;
}
.WriteOff .pictrue image{
width: 100%;
height: 100%;
display: block;
border-radius: 0.1rem;
border-radius: 0.1*100rpx;
}
.WriteOff .num {
font-size: 0.3rem;
font-size: 0.3*100rpx;
color: #666;
margin: 0.28rem 0 0.3rem 0;
margin: 0.28*100rpx 0 0.3*100rpx 0;
}
.WriteOff .num .see {
font-size: 0.16rem;
font-size: 0.16*100rpx;
color: #fff;
border-radius: 0.04rem;
border-radius: 0.04*100rpx;
background-color: #c68937;
padding-left: 0.05rem;
margin-left: 0.12rem;
padding-left: 0.05*100rpx;
margin-left: 0.12*100rpx;
}
.WriteOff .num .see .iconfont {
font-size: 0.15rem;
font-size: 0.15*100rpx;
}
.WriteOff .tip {
font-size: 0.36rem;
font-size: 0.36*100rpx;
color: #282828;
text-align: center;
border-top: 1px dashed #ccc;
padding-top: 0.4rem;
padding-top: 0.4*100rpx;
position: relative;
}
.WriteOff .tip:after {
content: "";
position: absolute;
width: 0.25rem;
height: 0.25rem;
width: 0.25*100rpx;
height: 0.25*100rpx;
border-radius: 50%;
background-color: #7f7f7f;
right: -0.125rem;
top: -0.125rem;
right: -0.125*100rpx;
top: -0.125*100rpx;
}
.WriteOff .tip:before {
content: "";
position: absolute;
width: 0.25rem;
height: 0.25rem;
width: 0.25*100rpx;
height: 0.25*100rpx;
border-radius: 50%;
background-color: #7f7f7f;
left: -0.125rem;
top: -0.125rem;
left: -0.125*100rpx;
top: -0.125*100rpx;
}
.WriteOff .sure {
font-size: 0.32rem;
font-size: 0.32*100rpx;
color: #fff;
text-align: center;
line-height: 0.82rem;
height: 0.82rem;
width: 4.6rem;
border-radius: 0.41rem;
margin: 0.4rem auto 0 auto;
line-height: 0.82*100rpx;
height: 0.82*100rpx;
width: 4.6*100rpx;
border-radius: 0.41*100rpx;
margin: 0.4*100rpx auto 0 auto;
background-image: linear-gradient(to right, #f67a38 0%, #f11b09 100%);
background-image: -webkit-linear-gradient(to right, #f67a38 0%, #f11b09 100%);
background-image: -moz-linear-gradient(to right, #f67a38 0%, #f11b09 100%);
@ -97,7 +97,7 @@
.WriteOff .sure.cancel {
background-image: none;
color: #999;
margin-top: 0.1rem;
margin-top: 0.1*100rpx;
}
</style>
<script>