「我的卡券加会员卡类型」

This commit is contained in:
2022-08-12 09:47:56 +08:00
parent c0fc64054d
commit f2cb612887
5 changed files with 959 additions and 926 deletions

View File

@@ -1,4 +1,3 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
@@ -47,6 +46,7 @@ const request = (parameter, hideLoding = true) => {
data: parameter.data || {},
method: parameter.method || 'GET',
success: res => {
console.log(res)
if (res.header.Authorization) {
updateToken('token', res.header.Authorization)
}

View File

@@ -34,7 +34,6 @@ const shops = (categoryId,page) => {
// 店铺详情
const shopsDetail = (shopId) => {
console.log(shopId,'shopId.....')
return request({
url: 'mall/shops/' + shopId,
})
@@ -42,7 +41,6 @@ const shopsDetail = (shopId) => {
// 店铺商品
const shopsGoods = (data) => {
console.log(data,'shopsGoods.....')
return request({
url: 'mall/goods',
data: data

View File

@@ -13,6 +13,7 @@
<view class="des"> NO.{{item.number}} | {{item.ended_at}} 到期</view>
</view>
</view>
<view class="tags">{{item.message.title}}</view>
</view>
</block>
<block v-else>
@@ -113,6 +114,20 @@
box-sizing: border-box;
margin: 0 $margin;
margin-bottom: $margin - 10;
.tags {
position: absolute;
top: 22rpx;
color: #fff;
right: -46rpx;
background: rgba($color: #d81e06, $alpha: 0.5);
font-size: 30rpx;
padding: 2rpx 50rpx;
text-align: center;
transform: rotate(45deg);
font-weight: bold;
letter-spacing:4rpx;
z-index: 10;
}
.card-item-bg {
position: absolute;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long