Commit 5057d0e8 authored by 王建威's avatar 王建威

bug fix

parent 49bef260
......@@ -2,7 +2,7 @@
"name": "shop_mobile_uni",
"appid": "__UNI__F904656",
"description": "",
"versionName": "1.0.16",
"versionName": "1.0.18",
"versionCode": "100",
"transformPx": false,
"app-plus": {
......@@ -51,11 +51,7 @@
"mode": "history",
"base": "/uni"
},
<<<<<<< HEAD
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/prod/1.0.14/",
=======
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/test/1.0.16/",
>>>>>>> 33e0ae6b16fefaff99580171274e902f3237a6f2
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/mirror/1.0.18/",
"optimization": {
"treeShaking": {
"enable": true
......
{
"name": "shop_mobile_uni",
"version": "1.0.16",
"version": "1.0.18",
"description": "谛宝多多商城",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
......
......@@ -8,7 +8,7 @@
<text class="title2">花积分:</text>
<text class="tab" style="margin-left: 0;">兑好礼</text>
<text class="tab">兑权益</text>
<text class="tab">支付抵扣</text>
<!-- <text class="tab">支付抵扣</text> -->
</view>
</view>
<view class="content">
......@@ -18,12 +18,12 @@
<text class="eosfont" @click="$jump(`/pages/signRecord/signRecord?sign_id=${sign_id}&sign_days_continues=${sign_days_continues}`,2)">我的签到记录&#xe744;</text>
</view>
<view class="days">
<view class="day_item" v-for="(item, index) in sign_list" :key="index">
<view class="day_item" v-for="(item, index) in sign_list" :key="index" :style="[(index+1)%7 === 0 ? {'margin-right': '0'} : null]">
<view v-if="item.sign_goods_logo" class="item_bg" style="background-color: transparent;">
<image :src="item.sign_goods_logo"></image>
</view>
<view class="item_bg" v-else :class="{act: item.is_sign === '1'}">+{{item.point}}</view>
<view class="day" v-if="item.date_diff !== '0'" :class="{seven: index === 6}">第{{index+1}}</view>
<view class="day" v-if="item.date_diff !== '0'" :class="{seven: index === sign_list.length-1}">第{{index+1}}</view>
<view class="day actDay" v-else>今天</view>
</view>
</view>
......@@ -296,13 +296,12 @@
}
.sign_content {
width: 702rpx;
height: 396rpx;
background: #fff;
border-radius: 16rpx;
margin: 0 auto;
overflow: hidden;
box-shadow:0px 4px 16px 0px rgba(0,0,0,0.04);
padding: 0 26rpx;
padding: 0 26rpx 32rpx;
box-sizing: border-box;
.content_flex {
display: flex;
......@@ -324,7 +323,8 @@
}
.days {
display: flex;
justify-content: space-between;
justify-content: center;
flex-wrap: wrap;
align-items: center;
margin: 40rpx auto 30rpx;
}
......@@ -359,6 +359,7 @@
}
}
.day_item {
margin: 0 20rpx 24rpx 0;
.item_bg {
background: url('https://dbc-static.oss-cn-beijing.aliyuncs.com/static/3881593574115_.pic.jpg') no-repeat;
background-size: 100% 100%;
......@@ -408,7 +409,7 @@
.day_item2 {
margin-right: 36rpx;
}
.day_item2:nth-of-type(4), .day_item2:last-child {
.day_item2:nth-of-type(4n) {
margin-right: 0;
}
.benefit_title {
......@@ -549,14 +550,13 @@
}
.dialog_content {
width: 100%;
height: 532rpx;
border-radius: 40rpx;
background-color: #fff;
margin-top: 40rpx;
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 48rpx 0 0;
padding: 48rpx 0 20rpx;
}
.dialog_btn {
width: 480rpx;
......
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 to comment