修复展示问题等问题
This commit is contained in:
@@ -9,8 +9,8 @@ import router from '../router'
|
||||
|
||||
// 基础配置
|
||||
const config = {
|
||||
// apiUrl : 'https://api.gongli.vip/api/', // 正式环境
|
||||
apiUrl: 'http://api.gl.shangkelian.cn/api/', // 测试
|
||||
apiUrl : 'https://api.gongli.vip/api/', // 正式环境
|
||||
// apiUrl: 'http://api.gl.shangkelian.cn/api/', // 测试
|
||||
timeout: 60000
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ const request = (parameter, hideLoding = true) => {
|
||||
data: parameter.data || {},
|
||||
method: parameter.method || 'GET',
|
||||
success: res => {
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
if (res.header.Authorization) {
|
||||
updateToken('token', res.header.Authorization)
|
||||
}
|
||||
|
||||
@@ -58,9 +58,9 @@
|
||||
position: absolute;
|
||||
top: -40rpx;
|
||||
right: -10rpx;
|
||||
opacity: 0.1;
|
||||
opacity: 0.05;
|
||||
font-size: 130rpx;
|
||||
color: $main-color;
|
||||
color: #999;
|
||||
z-index: 1;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -561,7 +561,7 @@
|
||||
|
||||
}
|
||||
,{
|
||||
"path" : "pages/store/vip/success/success",
|
||||
"path" : "pages/group-book/success/success",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "拼单更多",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<!-- 详情 -->
|
||||
<view class="main">
|
||||
<view class="title"> {{goods.name}} </view>
|
||||
<view class="sub-title">{{goods.description}}</view>
|
||||
<view class="sub-title"><span class='vipType' v-if="shop_vip.messageTitle != ''">{{shop_vip.messageTitle}}</span>{{goods.description}}</view>
|
||||
<view class="box-flex">
|
||||
<view class="price">
|
||||
{{goods.price.show}}<text>DT积分</text>
|
||||
@@ -377,7 +377,7 @@
|
||||
},
|
||||
applyPin() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/store/vip/success/success'
|
||||
url: '/pages/group-book/success/success'
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -446,7 +446,14 @@
|
||||
border-radius: $radius $radius 0 0;
|
||||
box-shadow: 0 0 10rpx 10rpx rgba($color: #000000, $alpha: .02);
|
||||
padding-bottom: ($padding*2) + 90;
|
||||
|
||||
.vipType{
|
||||
color: #fff;
|
||||
font-size:28rpx;
|
||||
margin-right:10rpx;
|
||||
padding: 2rpx 20rpx;
|
||||
background-color: #ee8000;
|
||||
border-radius: 20rpx 0 20rpx 0;
|
||||
}
|
||||
.hr {
|
||||
position: relative;
|
||||
min-height: 1rpx;
|
||||
|
||||
@@ -5,29 +5,33 @@
|
||||
<swiper-item class="swiper-item" v-for="item in vip" :key="item.identity_id">
|
||||
<view class="top">
|
||||
<view class="left" v-if="vip.length > 1">
|
||||
<< 滑动获取更多 </view>
|
||||
<view class="content">
|
||||
<!-- 四个角标 -->
|
||||
<block> <image class="jiao" src="../../../../static/store/vip-left-top.png" mode="widthFix" /> <image class="jiao" src="../../../../static/store/vip-right-top.png" mode="widthFix" /> <image class="jiao" src="../../../../static/store/vip-left-bottom.png" mode="widthFix" /> <image class="jiao" src="../../../../static/store/vip-right-bottom.png" mode="widthFix" /> </block>
|
||||
<view class="title1"> {{item.shop.name}} </view>
|
||||
<image class="title2" :src="item.title_cover" mode="widthFix" />
|
||||
<view class="title3"> {{item.description}} </view> <!-- 分类 -->
|
||||
<view class="type">
|
||||
<view class="type-item" v-for="it in item.rules" :key="it.order">
|
||||
<image :src="it.cover" mode="aspectFill" />
|
||||
<view class="title">{{it.name}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="title4">---| 仅需开通 立享尊贵特权 |---</view>
|
||||
<image class="left-img" src="/static/store/get-more.gif" mode="widthFix" /> 滑动获取更多
|
||||
</view>
|
||||
<view class="content">
|
||||
<!-- 四个角标 -->
|
||||
<block> <image class="jiao" src="/static/store/vip-left-top.png" mode="widthFix" /> <image class="jiao" src="/static/store/vip-right-top.png" mode="widthFix" /> <image class="jiao" src="/static/store/vip-left-bottom.png" mode="widthFix" /> <image class="jiao" src="/static/store/vip-right-bottom.png" mode="widthFix" /> </block>
|
||||
<view class="title1"> {{item.shop.name}} </view>
|
||||
<image class="title2" :src="item.title_cover" mode="widthFix" />
|
||||
<view class="title3"> {{item.description}} </view> <!-- 分类 -->
|
||||
<view class="type">
|
||||
<view class="type-item" v-for="it in item.rules" :key="it.order">
|
||||
<image :src="it.cover" mode="aspectFill" />
|
||||
<view class="title">{{it.name}}</view>
|
||||
</view>
|
||||
<view class="right" v-if="vip.length > 1"> 滑动获取更多 >> </view>
|
||||
</view>
|
||||
<view class="title4">详情咨询可添加产品页下方客服二维码</view>
|
||||
</view>
|
||||
<view class="right" v-if="vip.length > 1"> 滑动获取更多 <image class="right-img" src="/static/store/get-more.gif" mode="widthFix" /> </view>
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<view class="left">
|
||||
<view class="title-1">立享尊贵特权 >> </view>
|
||||
<view class="title-2" v-if="item.vip_info.ended_at"> 到期时间:{{item.vip_info.ended_at}} </view>
|
||||
<view class="title-2" v-if="item.vip_info.ended_at"> 到期时间:{{item.vip_info.ended_at}} </view>
|
||||
<view class="title-2" v-if="item.margins.days>0"> 距离{{item.margins.days}}天只需要补{{item.margins.price}}元升级 </view>
|
||||
</view>
|
||||
<view class="right" @click="onOpenVip(item.identity_id)">
|
||||
{{item.is_vip ?'立即续费':item.margins.days>0 ? '立即升级':'立即开通'}}
|
||||
</view>
|
||||
<view class="right" @click="onOpenVip(item.identity_id)">{{item.is_vip?'立即续费':'立即开通'}} </view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
@@ -162,8 +166,19 @@
|
||||
color: #999;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
padding-right: 20%;
|
||||
padding-bottom: 6%;
|
||||
padding-bottom: 6%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
justify-content: flex-end;
|
||||
margin-right: 20%;
|
||||
box-sizing: border-box;
|
||||
.right-img{
|
||||
width: 50rpx;
|
||||
margin-left: 10rpx;
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
.left {
|
||||
@@ -171,8 +186,20 @@
|
||||
color: #999;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
padding-left: 20%;
|
||||
padding-top: 6%;
|
||||
padding-top: 6%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
justify-content: flex-start;
|
||||
margin-left: 20%;
|
||||
box-sizing: border-box;
|
||||
.left-img{
|
||||
width: 50rpx;
|
||||
transform: rotate(180deg);
|
||||
margin-right: 10rpx;
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
top: 22rpx;
|
||||
color: #fff;
|
||||
right: -46rpx;
|
||||
background: rgba($color: #d81e06, $alpha: 0.5);
|
||||
background: rgba($color: #ffaa00, $alpha: 0.9);
|
||||
font-size: 30rpx;
|
||||
padding: 2rpx 50rpx;
|
||||
text-align: center;
|
||||
|
||||
BIN
static/store/.DS_Store
vendored
Normal file
BIN
static/store/.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 4.8 KiB |
BIN
static/store/get-more.gif
Normal file
BIN
static/store/get-more.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB |
File diff suppressed because one or more lines are too long
1013
unpackage/dist/dev/app-plus/app-service.js
vendored
1013
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
592
unpackage/dist/dev/app-plus/app-view.js
vendored
592
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user