diff --git a/App.vue b/App.vue
index 2d21a918..502b5644 100644
--- a/App.vue
+++ b/App.vue
@@ -202,16 +202,22 @@ export default {
confirmText: '跳转',
success: function (callback) {
if (callback.confirm) {
- const path = res.split(config.shareLink)[1];
- if (path.indexOf('tabbar') != -1) {
- uni.switchTab({
- url: path
- });
- } else {
- uni.navigateTo({
- url: path
- });
- }
+ console.log(res.split(config.shareLink));
+ uni.setClipboardData({
+ data: '',
+ success: () => {
+ const path = res.split(config.shareLink)[1];
+ if (path.indexOf('tabbar') != -1) {
+ uni.switchTab({
+ url: path
+ });
+ } else {
+ uni.navigateTo({
+ url: path
+ });
+ }
+ }
+ });
}
}
});
diff --git a/CustomStartPage/start-page.9.png b/CustomStartPage/start-page.9.png
index 63f99f70..9bf6d562 100644
Binary files a/CustomStartPage/start-page.9.png and b/CustomStartPage/start-page.9.png differ
diff --git a/CustomStoryboard/1@2x.png b/CustomStoryboard/1@2x.png
index 49fec5d5..9bf6d562 100644
Binary files a/CustomStoryboard/1@2x.png and b/CustomStoryboard/1@2x.png differ
diff --git a/CustomStoryboard/1@3x.png b/CustomStoryboard/1@3x.png
index 49fec5d5..9bf6d562 100644
Binary files a/CustomStoryboard/1@3x.png and b/CustomStoryboard/1@3x.png differ
diff --git a/TUIKit/components/TUIContact/contact-info/contact-info-config.ts b/TUIKit/components/TUIContact/contact-info/contact-info-config.ts
index 59183110..109ec010 100644
--- a/TUIKit/components/TUIContact/contact-info/contact-info-config.ts
+++ b/TUIKit/components/TUIContact/contact-info/contact-info-config.ts
@@ -146,7 +146,7 @@ export const contactButtonConfig = {
// ---------------------
addFriend: {
key: 'addFriend',
- label: '发送申请',
+ label: '关注好友',
type: CONTACT_INFO_BUTTON_TYPE.SUBMIT,
onClick: (props: {
contactInfoData: any;
@@ -163,7 +163,7 @@ export const contactButtonConfig = {
},
deleteFriend: {
key: 'deleteFriend',
- label: '删除好友',
+ label: '取消关注',
type: CONTACT_INFO_BUTTON_TYPE.CANCEL,
onClick: (props: { contactInfoData: any; [propsName: string]: any }) => {
deleteFriend(props?.contactInfoData?.userID);
diff --git a/TUIKit/components/TUIContact/contact-info/index.vue b/TUIKit/components/TUIContact/contact-info/index.vue
index ed6769bf..ffef6ea9 100644
--- a/TUIKit/components/TUIContact/contact-info/index.vue
+++ b/TUIKit/components/TUIContact/contact-info/index.vue
@@ -172,7 +172,7 @@
]"
@click="onContactInfoButtonClicked(item)"
>
- {{ TUITranslateService.t(`TUIContact.${item.label}`) }}
+ {{ TUITranslateService.t(`${item.label}`) }}
diff --git a/api/goods.js b/api/goods.js
index 79164c9a..dfc00e4c 100644
--- a/api/goods.js
+++ b/api/goods.js
@@ -47,6 +47,19 @@ export function getGoodsRelated(params) {
method: Method.GET,
});
}
+/**
+ * 扫码核销
+ * @param orderSn 订单号
+ * @param verificationCode 核销码
+ * @returns {AxiosPromise}
+ */
+export function getGoodstake(orderSn, verificationCode,params) {
+ return http.request({
+ url: `/order/take/${orderSn}/${verificationCode}`,
+ method: Method.PUT,
+ params
+ });
+}
/**
@@ -62,6 +75,18 @@ export function getGoodsList(params) {
});
}
+/**
+ * 获取商品列表--4.25
+ * @param params
+ * @returns {AxiosPromise}
+ */
+export function getGoodscategory(params) {
+ return http.request({
+ url: "/goods/goods/category",
+ method: Method.GET,
+ params,
+ });
+}
/**
* 获取上新商品列表
* @param params
diff --git a/api/point.js b/api/point.js
index e4d378c0..fcc0a9ab 100644
--- a/api/point.js
+++ b/api/point.js
@@ -1,6 +1,8 @@
import {http, Method} from '@/utils/request.js';
+// import { http, Method } from "@/utils/request.js";
+import api from "@/config/api.js";
/**
* 签到
* @param params
@@ -47,6 +49,42 @@ export function getcompleted(data) {
params:data
});
}
+/**
+ * 我的核销-收益明细
+ * @param params
+ */
+export function getgetAmount(data) {
+ return http.request({
+ url:'/income/details',
+ method: Method.GET,
+ needToken: true,
+ params:data
+ });
+}
+/**
+ * 我的核销
+ * @param params
+ */
+export function getinvitation(data) {
+ return http.request({
+ url:'/income/invitation-stats',
+ method: Method.GET,
+ needToken: true,
+ params:data
+ });
+}
+/**
+ * 我的核销-分佣
+ * @param params
+ */
+export function gettotal(data) {
+ return http.request({
+ url:'/income/total',
+ method: Method.GET,
+ needToken: true,
+ params:data
+ });
+}
/**
diff --git a/api/store.js b/api/store.js
index 00e8fe4b..7e3a7e29 100644
--- a/api/store.js
+++ b/api/store.js
@@ -18,6 +18,17 @@ export function getStoreList(params) {
params,
});
}
+/**
+ * 获取店铺列表
+ * @param params
+ */
+export function getExpertStoreList(params) {
+ return http.request({
+ url: '/store/store/ExpertStoreList',
+ method: Method.GET,
+ params,
+ });
+}
/**
* 获取店铺基本信息
diff --git a/api/trade.js b/api/trade.js
index 97576f68..b23870da 100644
--- a/api/trade.js
+++ b/api/trade.js
@@ -215,8 +215,20 @@ export function initiatePay(paymentMethod, paymentClient, params) {
params,
});
}
+ /**
+ * 发起支付
+ * @param paymentMethod
+ * @param
+ */
+export function createWithVerificatio(params) {
+ return http.request({
+ url: `order/createWithVerification`,
+ method: Method.POST,
+ needToken: true,
+ params,
+ });
+}
-
/**
* 查询物流
* @param orderSn
diff --git a/components/m-buy/goods.vue b/components/m-buy/goods.vue
index 06a9ff50..60a22b16 100644
--- a/components/m-buy/goods.vue
+++ b/components/m-buy/goods.vue
@@ -191,6 +191,10 @@ export default {
default: "",
type: null,
},
+ storeDetail: {
+ default: "",
+ type: null,
+ },
selectedSku: {
default: "",
type: null,
@@ -207,6 +211,8 @@ export default {
default: "",
type: null,
},
+
+
},
watch: {
buyType: {
@@ -317,6 +323,7 @@ export default {
let data = {
skuId: this.goodsDetail.id,
num: this.num,
+ storeId:this.storeDetail.storeId,
ste: storedSte,
};
@@ -345,7 +352,7 @@ export default {
API_trade.addToCart(data).then((res) => {
if (res.data.code == 200) {
uni.navigateTo({
- url: `/pages/order/fillorder?way=${data.cartType}&addr=${
+ url: `/pages/order/fillorder?ste=${storedSte}&way=${data.cartType}&addr=${
this.addr.id || ""
}&parentOrder=${encodeURIComponent(
JSON.stringify(this.parentOrder)
diff --git a/components/m-share/index.vue b/components/m-share/index.vue
index dbb22a46..f9ceb29a 100644
--- a/components/m-share/index.vue
+++ b/components/m-share/index.vue
@@ -1,66 +1,48 @@
-
-
-
- 分享至
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
- {{ '复制链接' }}
-
-
-
-
+
+
+
+ 分享至
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+ {{ "复制链接" }}
+
+
+
+
diff --git a/config/api.js b/config/api.js
index 683b03fc..7373c4c0 100644
--- a/config/api.js
+++ b/config/api.js
@@ -6,18 +6,21 @@
const dev = {
// common: "https://common-api.pickmall.cn",
// buyer: "https://buyer-api.pickmall.cn",
- common: "http://192.168.1.211:8890",
- buyer: "http://192.168.1.211:8888",
- vlog: "http://192.168.1.86:8099",
- web: "http://192.168.1.211:8099",
+ common: "http://43.143.227.203:8890",
+ buyer: "http://43.143.227.203:8888",
+ vlog: "http://43.143.227.203:8099",
+ web: "http://43.143.227.203:8099",
+ seller: "http://43.143.227.203:8889",
};
// 生产环境
const prod = {
// common: "https://common-api.pickmall.cn",
// buyer: "https://buyer-api.pickmall.cn",
- common: "http://192.168.1.211:8890",
- buyer: "http://192.168.1.211:8888",
- vlog: "http://192.168.1.211:8099",
+ common: "http://43.143.227.203:8890",
+ buyer: "http://43.143.227.203:8888",
+ vlog: "http://43.143.227.203:8099",
+ web: "http://43.143.227.203:8099",
+ seller: "http://43.143.227.203:8889",
};
//默认生产环境
diff --git a/config/config.js b/config/config.js
index 953f46d1..4373993f 100644
--- a/config/config.js
+++ b/config/config.js
@@ -4,7 +4,7 @@ export default {
name: name,
schemeLink: `${schemeName}://`, //唤起app地址
downloadLink: "https://pickmall.cn/download-page/index.html", //下载地址,下载app的地址
- shareLink: "https://m-b2b2c.pickmall.cn", //分享地址,也就是在h5中默认的复制地址
+ shareLink: "https://wuzhongjie.com.cn", //分享地址,也就是在h5中默认的复制地址
appid: "wx6f10f29075dc1b0b", //小程序唯一凭证,即 AppID,可在「微信公众平台 - 设置 - 开发设置」页中获得。(需要已经成为开发者,且帐号没有异常状态)
appSecret: "6dfbe0c72380dce5d49d65b3c91059b1", //可在 manifest.json 查看
aMapKey: "AOHBZ-VCEL3-XX73N-O623U-FMTP6-ASBTD", //在腾讯的中申请web端key
diff --git a/hybrid/html/imgs/domain.jpeg b/hybrid/html/imgs/domain.jpeg
index e084eb97..9bf6d562 100644
Binary files a/hybrid/html/imgs/domain.jpeg and b/hybrid/html/imgs/domain.jpeg differ
diff --git a/manifest.json b/manifest.json
index bb555d97..f8c23367 100644
--- a/manifest.json
+++ b/manifest.json
@@ -174,7 +174,8 @@
"hdpi" : "CustomStartPage/start-page.9.png",
"xhdpi" : "CustomStartPage/start-page.9.png",
"xxhdpi" : "CustomStartPage/start-page.9.png"
- }
+ },
+ "useOriginalMsgbox" : true
}
},
"nativePlugins" : {}
diff --git a/pages.json b/pages.json
index ac75990f..2c1846ca 100644
--- a/pages.json
+++ b/pages.json
@@ -504,6 +504,13 @@
"navigationBarTitleText": "用户"
}
},
+ {
+ "path": "mydistribution/my/income",
+ "style": {
+ "navigationBarTitleText": "收益明细"
+ }
+ },
+
{
"path": "mydistribution/my/consumption",
"style": {
@@ -763,7 +770,7 @@
}, {
"path": "help/tips",
"style": {
- "navigationBarTitleText": ""
+ "navigationBarTitleText": "公司介绍"
}
}, {
"path": "point/myPoint",
diff --git a/pages/cart/payment/payOrder.vue b/pages/cart/payment/payOrder.vue
index 0db9b128..f18e87c4 100644
--- a/pages/cart/payment/payOrder.vue
+++ b/pages/cart/payment/payOrder.vue
@@ -5,8 +5,17 @@
收银台
- 剩余支付时间:
-
+
+ 剩余支付时间:
+
支付金额
@@ -14,24 +23,45 @@
-
-
+
支付方式
-
+
-
+
支付宝
-
+
微信
-
- 余额支付(当前余额:¥{{ walletValue | unitPrice }})
+
+ 余额支付(当前余额:¥{{ walletValue | unitPrice }})
@@ -43,357 +73,341 @@
diff --git a/pages/mine/help/tips.vue b/pages/mine/help/tips.vue
index 05f3555d..49bfff5e 100644
--- a/pages/mine/help/tips.vue
+++ b/pages/mine/help/tips.vue
@@ -32,7 +32,7 @@ export default {
type: "LICENSE_INFORMATION",
},
about: {
- title: "关于我们",
+ title: "公司介绍",
type: "ABOUT",
},
},
diff --git a/pages/mine/invite.vue b/pages/mine/invite.vue
index b0c86d24..7958bf48 100644
--- a/pages/mine/invite.vue
+++ b/pages/mine/invite.vue
@@ -44,47 +44,47 @@ export default {
},
share() {
console.log(config.downloadLink);
-
+
// 这里添加第三方分享逻辑
uni.showActionSheet({
- itemList: ['分享到微信好友', '分享到朋友圈', '分享到QQ', '分享到消息'],
- success: (res) => {
- const providerMap = ['weixin', 'weixin', 'qq', 'im'];
- const sceneMap = ['WXSceneSession', 'WXSceneTimeline', '', ''];
- // 分享到微信好友、朋友圈或QQ ------------暂定
+ itemList: ["分享到微信好友", "分享到朋友圈", "分享到QQ", "分享到消息"],
+ success: (res) => {
+ const providerMap = ["weixin", "weixin", "qq", "im"];
+ const sceneMap = ["WXSceneSession", "WXSceneTimeline", "", ""];
+ // 分享到微信好友、朋友圈或QQ ------------暂定
- if (providerMap[res.tapIndex] === 'im') {
- uni.setClipboardData({
- data:`邀请码:${this.resfn}`,
- success: () => {
- uni.showToast({
- title: "复制成功",
- icon: "none"
- });
- uni.switchTab({
- url: "/pages/tabbar/im/index",
- });
- },
- fail: () => {
- uni.showToast({
- title: "复制失败",
- icon: "none"
- });
- }
- });
- } else {
- uni.share({
- provider: providerMap[res.tapIndex],
- scene: sceneMap[res.tapIndex],
- title: '无终街邀请专属码',
- summary: '输入达人邀请码,获得更多曝光量',
- imageUrl: '/static/imlogo.png',
- href:config.downloadLink,
- success: () => uni.showToast({ title: '分享成功' })
- });
- }
- }
- });
+ if (providerMap[res.tapIndex] === "im") {
+ uni.setClipboardData({
+ data: `邀请码:${this.resfn}`,
+ success: () => {
+ uni.showToast({
+ title: "复制成功",
+ icon: "none",
+ });
+ uni.switchTab({
+ url: "/pages/tabbar/im/index",
+ });
+ },
+ fail: () => {
+ uni.showToast({
+ title: "复制失败",
+ icon: "none",
+ });
+ },
+ });
+ } else {
+ uni.share({
+ provider: providerMap[res.tapIndex],
+ scene: sceneMap[res.tapIndex],
+ title: "无终街邀请专属码",
+ summary: "输入达人邀请码,获得更多曝光量",
+ imageUrl: "/static/imlogo.png",
+ href: config.downloadLink,
+ success: () => uni.showToast({ title: "分享成功" }),
+ });
+ }
+ },
+ });
},
},
};
@@ -101,11 +101,11 @@ export default {
background-size: 100% 100%;
}
.tui {
- padding: 0px;
- height: calc(85vh - 65px);
+ padding: 0rpx;
+ height: calc(85vh - 65rpx);
width: 80%;
- margin: 10px;
- border-radius: 10px;
+ margin: 10rpx;
+ border-radius: 10rpx;
}
.cnent {
height: 80%;
@@ -116,8 +116,8 @@ export default {
.round-avatar {
border-radius: 50%;
object-fit: cover; /* 确保图片填充整个圆形区域 */
- width: 60px;
- height: 60px;
+ width: 60rpx;
+ height: 60rpx;
}
.bottomc {
width: 80%;
@@ -128,22 +128,41 @@ export default {
}
.qian {
width: 80%;
-
- margin-top: 50px;
+ height: 15%;
+ /* margin-top: 15%; */
+ display: flex;
+ flex-direction: column;
+ justify-content: end;
}
.btn {
width: 75%;
background: #fe3c3c;
- margin-top: 56px;
+ margin-top: 15%;
}
.tuijianm {
width: 65%;
- height: 5.3vh;
- font-size: 20px;
+ height: 20%;
+ font-size: 40rpx;
justify-content: center;
align-items: center;
- padding: 10px;
- margin-top: 24vh;
+ padding: 10rpx;
+ margin-top:60%;
text-align: center;
}
+@media (min-height: 100px) and (max-height: 700px) {
+ .qian {
+ width: 80%;
+ height: 25%;
+ /* margin-top: 15%; */
+ display: flex;
+ flex-direction: column;
+ justify-content: end;
+}
+ .tui {
+ height: calc(70vh - 65rpx);
+ }
+ .tuijianm {
+ margin-top: 40%;
+ }
+}
diff --git a/pages/mine/mydistribution/index.vue b/pages/mine/mydistribution/index.vue
index f10cc845..4bd58507 100644
--- a/pages/mine/mydistribution/index.vue
+++ b/pages/mine/mydistribution/index.vue
@@ -1,7 +1,7 @@
-
@@ -47,7 +47,7 @@ export default {
},
methods: {
timefun(e) {
- return e.split(" ")[0];
+ return e.split("T")[0];
},
touni(e) {
uni.navigateTo({ url: e });
@@ -57,8 +57,8 @@ export default {
},
getl() {
getcompleted({size:this.size,page:this.page}).then((res) => {
- this.getlist = res.data.result;
- this.totle = res.data.result.length;
+ this.getlist = res.data.result.records;
+ this.totle = res.data.result.total;
});
},
},
@@ -98,7 +98,9 @@ export default {
padding: 10px 0px 10px 0px;
& > div {
width: 30%;
- text-align: center;
+ display: flex;
+ justify-content: center;
+ align-items: center;
}
}
// justify-content: space-evenly;
diff --git a/pages/mine/mydistribution/my/income.vue b/pages/mine/mydistribution/my/income.vue
new file mode 100644
index 00000000..60cf351e
--- /dev/null
+++ b/pages/mine/mydistribution/my/income.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+ {{item.goodsName}}
+
+
¥{{ item.amount }}
+
{{timefun(item.createTime) }}
+
+
+
+
+
+
+
+
diff --git a/pages/mine/mydistribution/my/myindex.vue b/pages/mine/mydistribution/my/myindex.vue
index 3da44029..e27eb961 100644
--- a/pages/mine/mydistribution/my/myindex.vue
+++ b/pages/mine/mydistribution/my/myindex.vue
@@ -19,8 +19,12 @@
:key="item.id"
:style="{ background: index % 2 == 0 ? '#fff' : '' }"
>
-
-
![]()
+
+
{{ item.nickName }}
{{ timefun(item.lastLoginDate) }}
@@ -64,6 +68,17 @@ export default {