@ -1,18 +0,0 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-04 17:43:34
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-04 17:43:40
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>我是公共页头</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
@ -0,0 +1,56 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 14:41:42
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 15:11:29
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div class="ui-goods-info">
|
||||
<div class="ui-goods-info--img">
|
||||
<img :src="goods.productImageUrl"/>
|
||||
</div>
|
||||
<p>
|
||||
<b>{{goods.productName}}</b>
|
||||
<span>{{goods.skuDescribe}}{{goods.productName}}</span>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props : {
|
||||
goods : {
|
||||
type : Object,
|
||||
default : () => ({})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.ui-goods-info{
|
||||
display: flex;
|
||||
&--img{
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
p{
|
||||
width: 270px;
|
||||
margin: 7px 0 0 18px;
|
||||
text-align: left;
|
||||
b{
|
||||
display: block;
|
||||
line-height: 22px;
|
||||
margin-bottom: 10px;
|
||||
overflow: hidden;
|
||||
text-overflow:ellipsis;
|
||||
display:-webkit-box;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-line-clamp:2;
|
||||
}
|
||||
span{
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,29 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-07 22:40:55
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 14:24:16
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div class="ui-line-box">
|
||||
<div class="ui-line-box--head">
|
||||
<slot name="head"></slot>
|
||||
</div>
|
||||
<slot name="body"></slot>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.ui-line-box{
|
||||
border:1px solid #ddd;
|
||||
&--head{
|
||||
height: 42px;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,10 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-07 22:57:24
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-07 22:57:39
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<el-radio/>
|
||||
</template>
|
@ -0,0 +1,294 @@
|
||||
<template>
|
||||
<div>
|
||||
<HeaderInfoBar />
|
||||
<div class="default-header">
|
||||
<div class="default-header-box">
|
||||
<div class="default-header-box__wrap flex flex-between flex-middle">
|
||||
<img
|
||||
class="header-box-wrap__logo"
|
||||
src="@/static/images/layout/logo.png"
|
||||
/>
|
||||
<div class="header-box-wrap__right flex flex-middle">
|
||||
<div class="box-wrap-right__search flex">
|
||||
<div class="search-input">
|
||||
<el-input
|
||||
v-model="searchContent"
|
||||
placeholder="请输入商品名称"
|
||||
></el-input>
|
||||
</div>
|
||||
<div class="search-icon flex flex-center flex-middle">
|
||||
<img src="@/static/images/layout/icon-search.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-wrap-right__cart flex flex-middle">
|
||||
<img src="@/static/images/layout/icon-shop.png" />
|
||||
<span>购物车</span>
|
||||
<div class="wrap-right-cart__tip">3</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="default-header-box__tab flex flex-middle">
|
||||
<div class="header-box-tab__category">
|
||||
<div class="tab-category__label flex flex-center flex-middle">
|
||||
<img src="@/static/images/layout/icon-category.png" />
|
||||
<span>热门分类</span>
|
||||
</div>
|
||||
<div class="tab-category__menu flex flex-left">
|
||||
<div class="tab-category-menu__left">
|
||||
<div
|
||||
v-for="item in categrayData"
|
||||
:key="item.id"
|
||||
@mouseenter="handleMouEnter(item.id)"
|
||||
@mouseleave="categrayHoverVisible = false"
|
||||
class="menu-left__item flex felx-middle"
|
||||
>
|
||||
<img />
|
||||
<span>{{ item.name }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div v-show="categrayHoverVisible">
|
||||
<div
|
||||
class="tab-category-menu__right flex flex-wrap"
|
||||
@mouseenter="categrayHoverVisible = true"
|
||||
>
|
||||
<div
|
||||
v-for="item in currentCategrayList"
|
||||
:key="item.id"
|
||||
class="menu-right__item"
|
||||
>
|
||||
{{ item.name }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<nuxt-link
|
||||
v-for="item in tabList"
|
||||
:key="item.value"
|
||||
class="header-box-tab__common flex flex-center flex-middle"
|
||||
:class="{
|
||||
'header-box-tab__common--light': item.path === $nuxt.$route.path,
|
||||
}"
|
||||
:to="item.path"
|
||||
>
|
||||
{{ item.label }}
|
||||
</nuxt-link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import HeaderInfoBar from "./HeaderInfoBar.vue";
|
||||
import {
|
||||
ApiGetCategoryOneList,
|
||||
ApiGetCategoryTwoAndGoods,
|
||||
} from "@/plugins/api/goods";
|
||||
|
||||
const TAB_TYPE = {
|
||||
HOME: 1,
|
||||
RECOMMEND: 2,
|
||||
BOOK: 3,
|
||||
TIME_LIMIT: 4,
|
||||
};
|
||||
export default {
|
||||
name: "DefaultHeader",
|
||||
components: { HeaderInfoBar },
|
||||
data() {
|
||||
return {
|
||||
searchContent: "",
|
||||
activityTab: TAB_TYPE.HOME,
|
||||
tabList: [
|
||||
{ label: "首页", value: TAB_TYPE.HOME, path: "/" },
|
||||
{ label: "爆款推荐", value: TAB_TYPE.RECOMMEND, path: "/hot" },
|
||||
{ label: "开发书籍", value: TAB_TYPE.BOOK, path: "/book" },
|
||||
{ label: "限时秒杀", value: TAB_TYPE.TIME_LIMIT, path: "/skill" },
|
||||
],
|
||||
categrayData: [],
|
||||
categrayHoverVisible: false,
|
||||
currentCategrayId: 0,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
currentCategrayList() {
|
||||
const data = this.categrayData.find(({ id }) => {
|
||||
return this.currentCategrayId === id;
|
||||
});
|
||||
return (data && data.list) || [];
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.getCategroyData();
|
||||
},
|
||||
methods: {
|
||||
handleMouEnter(id) {
|
||||
this.categrayHoverVisible = true;
|
||||
this.currentCategrayId = id;
|
||||
},
|
||||
// 获取热门分类信息
|
||||
async getCategroyData() {
|
||||
const { result } = await ApiGetCategoryOneList();
|
||||
if (result.data.length > 0) {
|
||||
this.categrayData = await Promise.all(
|
||||
result.data.map(async (item) => {
|
||||
const { result } = await ApiGetCategoryTwoAndGoods({
|
||||
categoryId: item.id,
|
||||
});
|
||||
if (result.data.length > 0) {
|
||||
return {
|
||||
...item,
|
||||
list: result.data,
|
||||
};
|
||||
}
|
||||
})
|
||||
);
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.default-header {
|
||||
padding-top: 32px;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
.default-header-box {
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
background: #ffffff;
|
||||
.default-header-box__wrap {
|
||||
height: 42px;
|
||||
font-size: 14px;
|
||||
margin-bottom: 38px;
|
||||
padding-right: 50px;
|
||||
.header-box-wrap__logo {
|
||||
width: 244px;
|
||||
height: 100%;
|
||||
}
|
||||
.header-box-wrap__right {
|
||||
.box-wrap-right__search {
|
||||
margin-right: 23px;
|
||||
.search-input {
|
||||
width: 551px;
|
||||
z-index: 1;
|
||||
/deep/.el-input__inner:focus {
|
||||
border-color: #ff512b;
|
||||
}
|
||||
}
|
||||
.search-icon {
|
||||
width: 77px;
|
||||
margin-left: -2px;
|
||||
background: linear-gradient(270deg, #ffa25a 0%, #ff7f39 100%);
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
z-index: 2;
|
||||
img {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.box-wrap-right__cart {
|
||||
padding: 0 18px;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
color: #999999;
|
||||
border-radius: 8px 8px 8px 8px;
|
||||
border: 1px solid #eeeeee;
|
||||
cursor: pointer;
|
||||
.wrap-right-cart__tip {
|
||||
min-width: 14px;
|
||||
height: 14px;
|
||||
padding: 0 3px;
|
||||
font-size: 10px;
|
||||
line-height: 14px;
|
||||
text-align: center;
|
||||
background: #ff512b;
|
||||
border-radius: 50%;
|
||||
color: #ffffff;
|
||||
}
|
||||
img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0 4px 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.default-header-box__tab {
|
||||
height: 38px;
|
||||
.header-box-tab__category {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
.tab-category__label {
|
||||
width: 190px;
|
||||
height: 100%;
|
||||
background: linear-gradient(270deg, #ffa25a 0%, #ff7f39 100%);
|
||||
border-radius: 4px 4px 0px 0px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
}
|
||||
.tab-category__menu {
|
||||
position: absolute;
|
||||
top: 38px;
|
||||
left: 0;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
.tab-category-menu__left {
|
||||
width: 190px;
|
||||
padding: 34px 0;
|
||||
background: #ffffff;
|
||||
.menu-left__item:hover {
|
||||
color: #ff875b;
|
||||
}
|
||||
.menu-left__item {
|
||||
height: 50px;
|
||||
cursor: pointer;
|
||||
padding: 0 24px 0 41px;
|
||||
img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.tab-category-menu__right {
|
||||
width: 510px;
|
||||
padding: 30px 26px;
|
||||
box-shadow: 7px 0px 10px 1px rgba(0, 0, 0, 0.10000000149011612);
|
||||
border: 1px solid #eeeeee;
|
||||
background: #ffffff;
|
||||
.menu-right__item:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.menu-right__item:hover {
|
||||
color: #ff875b;
|
||||
}
|
||||
.menu-right__item {
|
||||
font-size: 12px;
|
||||
color: #999999;
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.header-box-tab__common--light {
|
||||
color: #ff7f39 !important;
|
||||
}
|
||||
.header-box-tab__common {
|
||||
width: 160px;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
color: #666666;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,35 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 17:48:36
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 20:03:35
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div class="account">
|
||||
<div class="account--nav">左侧栏</div>
|
||||
<nuxt-child class="account--main"/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.account{
|
||||
padding-top: 370px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
&--nav{
|
||||
width: 170px;
|
||||
height: 300px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
&--main{
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,10 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 01:14:03
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 01:14:31
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>订单详情页</div>
|
||||
</template>
|
@ -0,0 +1,165 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-04 20:47:29
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 21:17:05
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<ul class="tab">
|
||||
<li v-for="item in tabs" :key="item.value" @click="changeTab(item.value)"
|
||||
:class="tabActive == item.value && 'tab__active'">
|
||||
{{item.label}}
|
||||
<span>6</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="order" v-for="item in orderList" :key="item.orderId">
|
||||
<div class="order--head"></div>
|
||||
<table class="order--table">
|
||||
<tbody>
|
||||
<tr v-for="(i, idx) in item.products" :key="i.orderProductId">
|
||||
<td width="620px">
|
||||
<div class="order--product">
|
||||
<UIGoodsInfo :goods="i"/>
|
||||
<p>{{i.realAmount}}</p>
|
||||
<p>{{i.quantity}}</p>
|
||||
</div>
|
||||
</td>
|
||||
<template v-if="!idx">
|
||||
<td width="119px" :rowspan="item.products.length">{{item.payAmount}}</td>
|
||||
<td width="110px" :rowspan="item.products.length">{{item.orderStatusDesc}}</td>
|
||||
<td :rowspan="item.products.length">
|
||||
<button v-if="item.orderStatus === 1" @click="pay(item)">去支付</button>
|
||||
<button v-if="[2,3].includes(item.orderStatus)"
|
||||
@click="$router.push(`./detail?id=${item.orderId}`)">查看详情</button>
|
||||
<button v-if="item.orderStatus >= 4"
|
||||
@click="$router.push(`/logisitcsInfo?orderId=${item.orderId}`)">查看物流</button>
|
||||
<button v-if="item.orderStatus === 4" @click="receive(item)">确认收货</button>
|
||||
</td>
|
||||
</template>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<el-pagination v-if=" orderTotal > pageSize" background layout="prev, pager, next"
|
||||
:current-page.sync="pageIndex"
|
||||
:total="orderTotal" @current-change="getOrderList"></el-pagination>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {ApiGetOrderList, ApiPutOrderReceive} from '~/plugins/api/order';
|
||||
import UIGoodsInfo from '../../../../../components/UIGoodsInfo.vue';
|
||||
import UiLineBox from '../../../../../components/UiLineBox.vue';
|
||||
export default {
|
||||
components: { UiLineBox, UIGoodsInfo },
|
||||
data(){
|
||||
return {
|
||||
tabs : [
|
||||
{label : '全部', value : -1},
|
||||
{label : '待付款', value : 1},
|
||||
{label : '待发货', value : 3},
|
||||
{label : '待收货', value : 4},
|
||||
],
|
||||
tabActive : this.$route.query.type || -1,
|
||||
pageIndex : 1,
|
||||
pageSize : 15,
|
||||
orderList : [],
|
||||
orderTotal : 0
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
this.getOrderList()
|
||||
},
|
||||
methods : {
|
||||
changeTab(val){
|
||||
if(val === this.$route.query.type){
|
||||
return false;
|
||||
}
|
||||
this.$router.replace({
|
||||
query:{
|
||||
type : val
|
||||
}
|
||||
})
|
||||
this.pageIndex = 1;
|
||||
this.tabActive = val;
|
||||
this.getOrderList();
|
||||
|
||||
},
|
||||
async getOrderList(){
|
||||
const {error, result} = await ApiGetOrderList({
|
||||
length : this.pageSize,
|
||||
pageIndex : this.pageIndex,
|
||||
orderStatus : this.tabActive > -1 ? this.tabActive : null
|
||||
});
|
||||
if(error){
|
||||
this.message.warning(error.message);
|
||||
return false;
|
||||
}
|
||||
this.orderList = result.records;
|
||||
this.orderTotal = result.total
|
||||
},
|
||||
pageChange(){
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.tab {
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
li{
|
||||
float: left;
|
||||
margin-right: 54px;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
span{
|
||||
color: #FF875B;
|
||||
}
|
||||
}
|
||||
&__active{
|
||||
color: #FF875B;
|
||||
position: relative;
|
||||
&::after{
|
||||
display: block;
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
content: '';
|
||||
background: #FF875B;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.order{
|
||||
margin: 10px 0;
|
||||
&--head{
|
||||
height: 42px;
|
||||
color: #999;
|
||||
background: #F8F8F8;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: 0;
|
||||
}
|
||||
&--table{
|
||||
width: 100%;
|
||||
td{
|
||||
border: 1px solid #ddd;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
tr:first-child td{
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
&--product{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
p{
|
||||
width: 96px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -1,32 +0,0 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-04 20:47:29
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-04 21:49:40
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<h1>我是订单列表</h1>
|
||||
<a href="/">回首页</a>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {ApiGetOrderList} from '~/plugins/api/order';
|
||||
export default {
|
||||
name: 'IndexPage',
|
||||
asyncData(){
|
||||
|
||||
},
|
||||
mounted(){
|
||||
this.getData();
|
||||
},
|
||||
methods : {
|
||||
async getData(){
|
||||
const res = await ApiGetOrderList();
|
||||
console.log(res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
@ -0,0 +1,14 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 01:11:33
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 01:11:40
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<p>支付成功</p>
|
||||
<button>返回首页</button>
|
||||
<button>查看订单</button>
|
||||
</div>
|
||||
</template>
|
@ -0,0 +1,49 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 16:12:18
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 16:14:57
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div class="amount">
|
||||
<div>
|
||||
<span>应付款</span>
|
||||
<b>{{amount}}</b>
|
||||
</div>
|
||||
<p>北京市XXXXX区XXXX路xxxxxx小区XXX单元</p>
|
||||
<p>卖火柴的灰姑凉 18888888888</p>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props : {
|
||||
amount : {
|
||||
type : Number,
|
||||
default : 0
|
||||
},
|
||||
address : {
|
||||
type : Object,
|
||||
default : () => ({})
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.amount{
|
||||
height: 133px;
|
||||
background: #f8f8f8;
|
||||
text-align: right;
|
||||
padding: 20px 40px;
|
||||
margin-top: 10px;
|
||||
b{
|
||||
font-size: 20px;
|
||||
}
|
||||
p{
|
||||
font-size: 12px;
|
||||
color: #9E9E9E;
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 00:44:22
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-05-08 00:47:55
|
||||
* @Description: file content
|
||||
*/
|
||||
|
||||
|
||||
import {axiosTk} from "../axiosTk";
|
||||
import {ToAsyncAwait} from "@/plugins/utils";
|
||||
import ENV from '../config/env';
|
||||
|
||||
const BASE_URL = `${ENV.base_url}/mall/trade`;
|
||||
|
||||
export const ApiPostPayCdoeImg = (data) =>
|
||||
ToAsyncAwait(axiosTk.post(`${BASE_URL}/pay/wxPay/nativeImage`, data));
|
After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 567 B |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 611 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 237 B |
After Width: | Height: | Size: 9.9 KiB |