|
@@ -4,7 +4,7 @@
|
|
|
<view class="itemHistory" v-for="(item,index) in itemData" :key="index" @click="goDetail(item.id)">
|
|
|
<image :src="item.img" mode="" class="itemImg"></image>
|
|
|
<view class="timeBox">
|
|
|
- <image v-if="item.state==2" src="http://dmsphoto.66km.com.cn/thFiles/85EAAA7F-01A6-41A6-B25B-72FAD3E451AC.png" mode="" class="state"></image>
|
|
|
+ <image v-if="item.state==2" src="http://dmsphoto.66km.com.cn/thFiles/85EAAA7F-01A6-41A6-B25B-72FAD3E451AC.png" mode="" class="state"></image>
|
|
|
<image v-if="item.state==1" src="http://dmsphoto.66km.com.cn/thFiles/EB46639B-85C9-4246-A3E3-EA87944DFC36.png" mode="" class="state"></image>
|
|
|
<view class="time" v-if="item.startTime">{{item.startTime.slice(0,10)}}-{{item.endTime.slice(0,10)}}</view>
|
|
|
</view>
|
|
@@ -22,9 +22,11 @@
|
|
|
<view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
|
|
|
<view class="authorizCont" @click.stop="">
|
|
|
<view class="authorizName">{{wxOpenData.miniAppName}}</view>
|
|
|
- <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
|
|
|
- <button class="authorizContbutton" type="default" open-type="getPhoneNumber"
|
|
|
- @getphonenumber="decryptPhoneNumber">授权</button>
|
|
|
+ <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
|
|
|
+ <view class="sqLine">
|
|
|
+ <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
|
|
|
+ <view class="sqRefuse" @click="authorizShowHide">拒绝</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view style="text-align: center;padding-top: 56rpx;">
|
|
|
<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
|
|
@@ -48,7 +50,7 @@
|
|
|
wxOpenData: '',
|
|
|
page: 1,
|
|
|
itemData: [],
|
|
|
- noMoreShow: false,
|
|
|
+ noMoreShow: false,
|
|
|
ext:'',
|
|
|
themeColor:'',
|
|
|
}
|
|
@@ -56,7 +58,7 @@
|
|
|
onLoad() {
|
|
|
this.userInfo = this.$store.state.userInfo;
|
|
|
this.wxOpenData = this.$store.state.wxOpenData
|
|
|
-
|
|
|
+
|
|
|
this.ext=this.$common.getExtStoreId();
|
|
|
this.page = 1
|
|
|
this.myOrderCoupon();
|
|
@@ -103,7 +105,7 @@
|
|
|
this.$http('openHome/queryActivityList', {
|
|
|
|
|
|
// page: this.page,
|
|
|
- // limit: 10,
|
|
|
+ // limit: 10,
|
|
|
unionId:this.ext.unionId
|
|
|
}, 'GET').then(res => {
|
|
|
uni.hideLoading();
|
|
@@ -213,18 +215,33 @@
|
|
|
text-align: center;
|
|
|
margin-left: 56rpx;
|
|
|
}
|
|
|
-
|
|
|
- .authorizContbutton {
|
|
|
- width: 422rpx;
|
|
|
- height: 88rpx;
|
|
|
+.authorizContbutton{
|
|
|
+ width: 210rpx;
|
|
|
+ height: 66rpx;
|
|
|
background: #D53533;
|
|
|
border-radius: 44rpx;
|
|
|
- line-height: 88rpx;
|
|
|
+ line-height: 66rpx;
|
|
|
text-align: center;
|
|
|
- font-size: 30rpx;
|
|
|
+ font-size:30rpx;
|
|
|
color: #FFFFFF;
|
|
|
- margin-top: 62rpx;
|
|
|
- margin-left: 71rpx;
|
|
|
+
|
|
|
+ margin-left:40rpx;
|
|
|
+ }
|
|
|
+ .sqRefuse{
|
|
|
+ width: 210rpx;
|
|
|
+ height: 66rpx;
|
|
|
+ border: 1px solid #eaeaea;
|
|
|
+ line-height: 66rpx;
|
|
|
+ border-radius: 36rpx;
|
|
|
+ text-align: center;
|
|
|
+ font-size:30rpx;
|
|
|
+ margin-right:40rpx;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ .sqLine{
|
|
|
+ margin-top: 62rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
}
|
|
|
|
|
|
.itemHistory {
|
|
@@ -243,20 +260,20 @@
|
|
|
}
|
|
|
.itemImg {
|
|
|
height: 280rpx;
|
|
|
- width: 702rpx;
|
|
|
-border-radius: 10rpx 10rpx 0px 0px;
|
|
|
+ width: 702rpx;
|
|
|
+border-radius: 10rpx 10rpx 0px 0px;
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.timeBox {
|
|
|
display: flex;
|
|
|
- margin-top: -61rpx;
|
|
|
+ margin-top: -61rpx;
|
|
|
align-items: flex-end;
|
|
|
- }
|
|
|
- .state{
|
|
|
- width: 102rpx;
|
|
|
+ }
|
|
|
+ .state{
|
|
|
+ width: 102rpx;
|
|
|
height: 53rpx;
|
|
|
- position: relative;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.time {
|
|
@@ -272,7 +289,7 @@ display: block;
|
|
|
padding: 24rpx 20rpx;
|
|
|
color: #333333;
|
|
|
font-size: 28rpx;
|
|
|
- background: #FFFFFF;
|
|
|
+ background: #FFFFFF;
|
|
|
border-radius: 0 0 10rpx 10rpx;
|
|
|
}
|
|
|
|
|
@@ -283,4 +300,4 @@ display: block;
|
|
|
color: #999999;
|
|
|
font-size: 28rpx;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|