Merge branch 'feature/mall_product' of http://117.33.142.185:3000/zenghuapei/cyywl_server into feature/mall_product
commit
471cc57623
|
@ -147,7 +147,7 @@ public class WxPayNotifyController {
|
||||||
//删除提报记录
|
//删除提报记录
|
||||||
phoneRecordService.deletePhoneGear(orderDO.getOrderId());
|
phoneRecordService.deletePhoneGear(orderDO.getOrderId());
|
||||||
//删除本地提报记录
|
//删除本地提报记录
|
||||||
phoneRecordService.deletePhoneRecord(orderDO.getId());
|
phoneRecordService.deletePhoneGearByOrderId(orderDO.getId());
|
||||||
// 修改订单状态
|
// 修改订单状态
|
||||||
// 写入
|
// 写入
|
||||||
response.setStatus(HttpServletResponse.SC_OK);
|
response.setStatus(HttpServletResponse.SC_OK);
|
||||||
|
|
|
@ -1227,7 +1227,7 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
|
||||||
log.error("删除提报记录异常{}", e);
|
log.error("删除提报记录异常{}", e);
|
||||||
}
|
}
|
||||||
//删除本地提报记录
|
//删除本地提报记录
|
||||||
phoneRecordService.deletePhoneRecord(orderDO.getId());
|
phoneRecordService.deletePhoneGearByOrderId(orderDO.getId());
|
||||||
// 表示退款
|
// 表示退款
|
||||||
} else {
|
} else {
|
||||||
// 表示支付
|
// 表示支付
|
||||||
|
|
|
@ -36,6 +36,7 @@ public interface PhoneRecordService {
|
||||||
*/
|
*/
|
||||||
void deletePhoneRecord(Long id);
|
void deletePhoneRecord(Long id);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获得充值档位记录
|
* 获得充值档位记录
|
||||||
*
|
*
|
||||||
|
@ -90,6 +91,16 @@ public interface PhoneRecordService {
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
Boolean deletePhoneGear(String orderId);
|
Boolean deletePhoneGear(String orderId);
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* <b>deletePhoneGear</b>
|
||||||
|
* <b>Description:删除档位信息</b>
|
||||||
|
* <b>@author:</b> zenghuapei
|
||||||
|
* <b>@date:</b> 2023/5/24 12:44
|
||||||
|
* @return
|
||||||
|
* </pre>
|
||||||
|
*/
|
||||||
|
Boolean deletePhoneGearByOrderId(Long orderId);
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* <b>insertPhone</b>
|
* <b>insertPhone</b>
|
||||||
|
|
|
@ -18,6 +18,7 @@ import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
import org.springframework.util.CollectionUtils;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -76,12 +77,23 @@ public class PhoneRecordServiceImpl implements PhoneRecordService {
|
||||||
// 校验存在
|
// 校验存在
|
||||||
validatePhoneRecordExists(id);
|
validatePhoneRecordExists(id);
|
||||||
// 删除
|
// 删除
|
||||||
phoneRecordMapper.delete(Wrappers.<PhoneRecordDO>lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, id));
|
phoneRecordMapper.deleteById(id);;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Boolean deletePhoneGearByOrderId(Long orderId) {
|
||||||
|
List<PhoneRecordDO> recordDOS = phoneRecordMapper.selectList(Wrappers.<PhoneRecordDO>lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, orderId));
|
||||||
|
if (!CollectionUtils.isEmpty(recordDOS)) {
|
||||||
|
recordDOS.forEach(e->{
|
||||||
|
e.setDeleted(Boolean.TRUE);
|
||||||
|
phoneRecordMapper.updateById(e);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void validatePhoneRecordExists(Long id) {
|
private void validatePhoneRecordExists(Long id) {
|
||||||
PhoneRecordDO phoneRecordDO = phoneRecordMapper.selectOne(Wrappers.<PhoneRecordDO>lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, id));
|
if (phoneRecordMapper.selectById(id) == null) {
|
||||||
if (phoneRecordDO == null) {
|
|
||||||
throw exception(PHONE_RECORD_NOT_EXISTS);
|
throw exception(PHONE_RECORD_NOT_EXISTS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,15 @@ package cn.iocoder.yudao.module.shop.service.recharge;
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.security.core.LoginUser;
|
import cn.iocoder.yudao.framework.security.core.LoginUser;
|
||||||
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
|
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
|
||||||
|
import cn.iocoder.yudao.module.member.api.user.MemberUserApi;
|
||||||
|
import cn.iocoder.yudao.module.member.api.user.dto.MemberUserRespDTO;
|
||||||
import cn.iocoder.yudao.module.shop.dal.dataobject.recharge.RechargeOrderInfoDO;
|
import cn.iocoder.yudao.module.shop.dal.dataobject.recharge.RechargeOrderInfoDO;
|
||||||
import cn.iocoder.yudao.module.shop.dal.mysql.recharge.RechargeOrderInfoMapper;
|
import cn.iocoder.yudao.module.shop.dal.mysql.recharge.RechargeOrderInfoMapper;
|
||||||
import cn.iocoder.yudao.module.shop.request.member.RefundRequest;
|
import cn.iocoder.yudao.module.shop.request.member.RefundRequest;
|
||||||
import cn.iocoder.yudao.module.shop.response.member.MemberHeadResponse;
|
import cn.iocoder.yudao.module.shop.response.member.MemberHeadResponse;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
@ -44,6 +47,10 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
||||||
private RechargeOrderMapper rechargeOrderMapper;
|
private RechargeOrderMapper rechargeOrderMapper;
|
||||||
@Resource
|
@Resource
|
||||||
private RechargeOrderInfoMapper infoMapper;
|
private RechargeOrderInfoMapper infoMapper;
|
||||||
|
@Resource
|
||||||
|
private MemberUserApi userService;
|
||||||
|
@Resource
|
||||||
|
private PhoneRecordService phoneRecordService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Long createRechargeOrder(RechargeOrderCreateReqVO createReqVO) {
|
public Long createRechargeOrder(RechargeOrderCreateReqVO createReqVO) {
|
||||||
|
@ -151,7 +158,8 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
||||||
MemberHeadResponse response = new MemberHeadResponse();
|
MemberHeadResponse response = new MemberHeadResponse();
|
||||||
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
|
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
|
||||||
Assert.notNull(loginUser, "登录失效,请重新登录!");
|
Assert.notNull(loginUser, "登录失效,请重新登录!");
|
||||||
List<RechargeOrderDO> orderDOS = rechargeOrderMapper.selectList(Wrappers.<RechargeOrderDO>lambdaQuery().eq(RechargeOrderDO::getUid, loginUser.getId()).eq(RechargeOrderDO::getPaid, 1));
|
MemberUserRespDTO user = userService.getUser(loginUser.getId());
|
||||||
|
List<RechargeOrderDO> orderDOS = rechargeOrderMapper.selectList(Wrappers.<RechargeOrderDO>lambdaQuery().eq(RechargeOrderDO::getUserPhone, user.getMobile()).eq(RechargeOrderDO::getPaid, 1));
|
||||||
if (!CollectionUtils.isEmpty(orderDOS)) {
|
if (!CollectionUtils.isEmpty(orderDOS)) {
|
||||||
BigDecimal amount = new BigDecimal("0");
|
BigDecimal amount = new BigDecimal("0");
|
||||||
for (RechargeOrderDO orderDO : orderDOS) {
|
for (RechargeOrderDO orderDO : orderDOS) {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
|
||||||
let domain = process.env.APP_BASE_URL
|
let domain = process.env.APP_BASE_URL
|
||||||
|
// let domain = 'http://192.168.1.188:48080'
|
||||||
|
// let domain = 'http://api.cyywl.top'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// 请求域名 格式: https://您的域名
|
// 请求域名 格式: https://您的域名
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
{
|
{
|
||||||
"path": "pages/member_equity/index",
|
"path": "pages/member_equity/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "会员申请"
|
"navigationBarTitleText": "会员权益"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
{
|
{
|
||||||
"path": "pages/member_others/index",
|
"path": "pages/member_others/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "给他人续费"
|
"navigationBarTitleText": "代他人续费"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -614,7 +614,7 @@
|
||||||
"pagePath": "pages/member_equity/index",
|
"pagePath": "pages/member_equity/index",
|
||||||
"iconPath": "static/images/tabbar/nav_icon_member.png",
|
"iconPath": "static/images/tabbar/nav_icon_member.png",
|
||||||
"selectedIconPath": "static/images/tabbar/nav_icon_member_active.png",
|
"selectedIconPath": "static/images/tabbar/nav_icon_member_active.png",
|
||||||
"text": "会员申请",
|
"text": "会员权益",
|
||||||
"visible":false
|
"visible":false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,10 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<view class="up"></view>
|
<view class="up">
|
||||||
<text>会员等级3级</text>
|
<image style="width: ;" src="@/static/images/shop/vip_oneStar.png" mode=""></image>
|
||||||
|
</view>
|
||||||
|
<text>会员等级1级</text>
|
||||||
<view class="button">查看权益</view>
|
<view class="button">查看权益</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -753,9 +755,12 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.up {
|
.up {
|
||||||
width: 90rpx;
|
width: 110rpx;
|
||||||
height: 100rpx;
|
height: 110rpx;
|
||||||
background: #EE5423;
|
image {
|
||||||
|
width: 101rpx;
|
||||||
|
height: 110rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
text {
|
text {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
|
|
|
@ -10,11 +10,12 @@
|
||||||
:class="[activeIndex.includes(index) && 'member-active',!!parseInt(item.isExist) && 'member-disbled', 'member-item']"
|
:class="[activeIndex.includes(index) && 'member-active',!!parseInt(item.isExist) && 'member-disbled', 'member-item']"
|
||||||
v-for="(item,index) in memberData" :key="index" @click="handleMember(item,index)">
|
v-for="(item,index) in memberData" :key="index" @click="handleMember(item,index)">
|
||||||
<view class="member-image">
|
<view class="member-image">
|
||||||
<image src='../../static/images/f.png'></image>
|
<image v-show="!!!parseInt(item.isExist)" src='../../static/images/success.png'></image>
|
||||||
|
<image v-show="!!parseInt(item.isExist)" src='../../static/images/disbled.png'></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="member-text">
|
<view class="member-text">
|
||||||
<view class="text-title">
|
<view class="text-title">
|
||||||
<text>{{item.name.split('得')[0]}}<text>得{{item.name.split('得')[1]}}</text></text>
|
<text>{{item.name.split('得')[0]}}得<text>{{item.name.split('得')[1]}}</text></text>
|
||||||
<view></view>
|
<view></view>
|
||||||
</view>
|
</view>
|
||||||
<text class="text-content">{{item.gearRemarks}}</text>
|
<text class="text-content">{{item.gearRemarks}}</text>
|
||||||
|
@ -126,7 +127,7 @@
|
||||||
url:'/pages/member_record/index'
|
url:'/pages/member_record/index'
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case "为他人充值":
|
case "代他人充值":
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/member_others/index'
|
url:'/pages/member_others/index'
|
||||||
})
|
})
|
||||||
|
@ -292,7 +293,7 @@
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
border-radius: 35rpx;
|
border-radius: 35rpx;
|
||||||
background: linear-gradient(#FFEBB2, #FDCB3B);
|
background: linear-gradient(#FFEBB2, #FDCB3B);
|
||||||
padding: 16rpx;
|
padding: 6rpx 13rpx;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -340,7 +341,7 @@
|
||||||
background: linear-gradient(#FF995F, #DA0E00);
|
background: linear-gradient(#FF995F, #DA0E00);
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
background: linear-gradient(#FF995F, #FDCB3B);
|
background: linear-gradient(#FF995F, #DA0E00);
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-text {
|
.member-text {
|
||||||
|
@ -369,7 +370,7 @@
|
||||||
background: linear-gradient(#EFEFEF, #BCBCBC);
|
background: linear-gradient(#EFEFEF, #BCBCBC);
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
background: linear-gradient(#AAAAAA, #989898);
|
background: linear-gradient(#EFEFEF, #AAAAAA);
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-text {
|
.member-text {
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
url:'/pages/member_record/index'
|
url:'/pages/member_record/index'
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case "为他人充值":
|
case "代他人充值":
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/member_others/index'
|
url:'/pages/member_others/index'
|
||||||
})
|
})
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<text>购买记录</text>
|
<text>购买记录</text>
|
||||||
<image src="../../static/images/shopping-right.png" ></image>
|
<image src="../../static/images/shopping-right.png" ></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="left-others" @click="handleRouter('为他人充值')">
|
<view class="left-others" @click="handleRouter('代他人充值')">
|
||||||
代他人充值
|
代他人充值
|
||||||
<image src="../../static/images/others-right.png" ></image>
|
<image src="../../static/images/others-right.png" ></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
url:'/pages/member_record/index'
|
url:'/pages/member_record/index'
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case "为他人充值":
|
case "代他人充值":
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/member_others/index'
|
url:'/pages/member_others/index'
|
||||||
})
|
})
|
||||||
|
|
|
@ -19,11 +19,12 @@
|
||||||
:class="[activeIndex.includes(index) && 'member-active',!!parseInt(item.isExist) && 'member-disbled', 'member-item']"
|
:class="[activeIndex.includes(index) && 'member-active',!!parseInt(item.isExist) && 'member-disbled', 'member-item']"
|
||||||
v-for="(item,index) in memberData" :key="index" @click="handleMember(item,index)">
|
v-for="(item,index) in memberData" :key="index" @click="handleMember(item,index)">
|
||||||
<view class="member-image">
|
<view class="member-image">
|
||||||
<image src='../../static/images/f.png'></image>
|
<image v-show="!!!parseInt(item.isExist)" src='../../static/images/success.png'></image>
|
||||||
|
<image v-show="!!parseInt(item.isExist)" src='../../static/images/disbled.png'></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="member-text">
|
<view class="member-text">
|
||||||
<view class="text-title">
|
<view class="text-title">
|
||||||
<text>{{item.name.split('得')[0]}}<text>得{{item.name.split('得')[1]}}</text></text>
|
<text>{{item.name.split('得')[0]}}得<text>{{item.name.split('得')[1]}}</text></text>
|
||||||
<view></view>
|
<view></view>
|
||||||
</view>
|
</view>
|
||||||
<text class="text-content">{{item.gearRemarks}}</text>
|
<text class="text-content">{{item.gearRemarks}}</text>
|
||||||
|
@ -37,7 +38,7 @@
|
||||||
<paymentMember :payMode='payMode' :pay_close="pay_close" @onChangeFun='onChangeFun' :payInfo="payInfo">
|
<paymentMember :payMode='payMode' :pay_close="pay_close" @onChangeFun='onChangeFun' :payInfo="payInfo">
|
||||||
</paymentMember>
|
</paymentMember>
|
||||||
<button class="box-submit" @click="goPay">立即充值</button>
|
<button class="box-submit" @click="goPay">立即充值</button>
|
||||||
<u-navbar autoBack title="为他人充值"></u-navbar>
|
<u-navbar autoBack title="代他人充值"></u-navbar>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -302,7 +303,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-list {
|
.member-list {
|
||||||
margin: 83rpx 30rpx 30rpx 30rpx;
|
margin: 53rpx 30rpx 20rpx 30rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.member-item {
|
.member-item {
|
||||||
|
@ -314,11 +315,11 @@
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
width: 104rpx;
|
width: 100rpx;
|
||||||
height: 104rpx;
|
height: 100rpx;
|
||||||
border-radius: 35rpx;
|
border-radius: 35rpx;
|
||||||
background: linear-gradient(#FFEBB2, #FDCB3B);
|
background: linear-gradient(#FFEBB2, #FDCB3B);
|
||||||
padding: 20rpx;
|
padding: 6rpx 13rpx;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -366,7 +367,7 @@
|
||||||
background: linear-gradient(#FF995F, #DA0E00);
|
background: linear-gradient(#FF995F, #DA0E00);
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
background: linear-gradient(#FF995F, #FDCB3B);
|
background: linear-gradient(#FF995F, #DA0E00);
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-text {
|
.member-text {
|
||||||
|
@ -395,7 +396,7 @@
|
||||||
background: linear-gradient(#EFEFEF, #BCBCBC);
|
background: linear-gradient(#EFEFEF, #BCBCBC);
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
background: linear-gradient(#AAAAAA, #989898);
|
background: linear-gradient(#EFEFEF, #AAAAAA);
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-text {
|
.member-text {
|
||||||
|
@ -417,8 +418,8 @@
|
||||||
color: #5C5C5C;
|
color: #5C5C5C;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
.member-prompt {
|
.member-prompt {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
<text>日期:{{item.stringCreateTime}}</text>
|
<text>日期:{{item.stringCreateTime}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<u-empty v-show="!memberData.length" text="暂无数据" mode="list"></u-empty>
|
||||||
<u-navbar autoBack title="购买纪录"></u-navbar>
|
<u-navbar autoBack title="购买纪录"></u-navbar>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -104,6 +105,16 @@
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
.u-empty{
|
||||||
|
margin-top: 20% !important;
|
||||||
|
::v-deep .u-icon__icon{
|
||||||
|
font-size: 140rpx !important;
|
||||||
|
}
|
||||||
|
::v-deep .u-empty__text{
|
||||||
|
font-size: 30rpx !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.box-seach{
|
.box-seach{
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
padding: 0 40rpx;
|
padding: 0 40rpx;
|
||||||
|
|
|
@ -16,11 +16,12 @@
|
||||||
:class="[activeIndex.includes(index) && 'member-active',!!parseInt(item.isExist) && 'member-disbled', 'member-item']"
|
:class="[activeIndex.includes(index) && 'member-active',!!parseInt(item.isExist) && 'member-disbled', 'member-item']"
|
||||||
v-for="(item,index) in memberData" :key="index" @click="handleMember(item,index)">
|
v-for="(item,index) in memberData" :key="index" @click="handleMember(item,index)">
|
||||||
<view class="member-image">
|
<view class="member-image">
|
||||||
<image src='../../static/images/f.png'></image>
|
<image v-show="!!!parseInt(item.isExist)" src='../../static/images/success.png'></image>
|
||||||
|
<image v-show="!!parseInt(item.isExist)" src='../../static/images/disbled.png'></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="member-text">
|
<view class="member-text">
|
||||||
<view class="text-title">
|
<view class="text-title">
|
||||||
<text>{{item.name.split('得')[0]}}<text>得{{item.name.split('得')[1]}}</text></text>
|
<text>{{item.name.split('得')[0]}}得<text>{{item.name.split('得')[1]}}</text></text>
|
||||||
<view></view>
|
<view></view>
|
||||||
</view>
|
</view>
|
||||||
<text class="text-content">{{item.gearRemarks}}</text>
|
<text class="text-content">{{item.gearRemarks}}</text>
|
||||||
|
@ -120,6 +121,7 @@ import store from '@/store/index';
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
goPay() {
|
goPay() {
|
||||||
|
console.log(this.activeIndex)
|
||||||
if(this.activeIndex.length){
|
if(this.activeIndex.length){
|
||||||
this.$set(this, 'pay_close', true);
|
this.$set(this, 'pay_close', true);
|
||||||
const orderInfos = this.activeIndex.map((item) => {
|
const orderInfos = this.activeIndex.map((item) => {
|
||||||
|
@ -256,7 +258,7 @@ import store from '@/store/index';
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-list {
|
.member-list {
|
||||||
margin: 83rpx 30rpx 30rpx 30rpx;
|
margin: 53rpx 30rpx 20rpx 30rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.member-item {
|
.member-item {
|
||||||
|
@ -268,11 +270,11 @@ import store from '@/store/index';
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
width: 104rpx;
|
width: 100rpx;
|
||||||
height: 104rpx;
|
height: 100rpx;
|
||||||
border-radius: 35rpx;
|
border-radius: 35rpx;
|
||||||
background: linear-gradient(#FFEBB2, #FDCB3B);
|
background: linear-gradient(#FFEBB2, #FDCB3B);
|
||||||
padding: 20rpx;
|
padding: 6rpx 13rpx;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -320,7 +322,7 @@ import store from '@/store/index';
|
||||||
background: linear-gradient(#FF995F, #DA0E00);
|
background: linear-gradient(#FF995F, #DA0E00);
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
background: linear-gradient(#FF995F, #FDCB3B);
|
background: linear-gradient(#FF995F, #DA0E00);
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-text {
|
.member-text {
|
||||||
|
@ -349,7 +351,7 @@ import store from '@/store/index';
|
||||||
background: linear-gradient(#EFEFEF, #BCBCBC);
|
background: linear-gradient(#EFEFEF, #BCBCBC);
|
||||||
|
|
||||||
.member-image {
|
.member-image {
|
||||||
background: linear-gradient(#AAAAAA, #989898);
|
background: linear-gradient(#EFEFEF, #AAAAAA);
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-text {
|
.member-text {
|
||||||
|
@ -371,8 +373,8 @@ import store from '@/store/index';
|
||||||
color: #5C5C5C;
|
color: #5C5C5C;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
.member-prompt {
|
.member-prompt {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
page: 1,
|
page: 1,
|
||||||
list1: [{
|
list1: [{
|
||||||
name: '全部',
|
name: '全部',
|
||||||
value: ''
|
value: '99'
|
||||||
}, {
|
}, {
|
||||||
name: '待付款',
|
name: '待付款',
|
||||||
value: '0'
|
value: '0'
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue