diff --git a/App.vue b/App.vue
index 384552d..4e0936f 100644
--- a/App.vue
+++ b/App.vue
@@ -148,7 +148,7 @@
that.getConfigData()
//#ifdef APP-PLUS
-
+
jpushModule.setLoggerEnable(true);
jpushModule.initJPushService()
@@ -209,7 +209,11 @@
//#endif
-
+ // if (info.referrerInfo?.extraData?.uniMP) {
+ // uni.setStorageSync('uniMP', info.referrerInfo?.extraData?.uniMP);
+ // uni.setStorageSync('APP_token', info.referrerInfo?.extraData?.token);
+
+ // }
},
@@ -247,7 +251,7 @@
},
methods: {
-
+
@@ -391,7 +395,7 @@
font-size: 24rpx;
&_icon {
- background-image: url('static/tabbar_icon/d.png');
+ // background-image: url('static/tabbar_icon/d.png');
background-repeat: no-repeat;
background-size: cover;
font-size: 80rpx;
diff --git a/api/api.js b/api/api.js
index 6877e42..7d9d20c 100644
--- a/api/api.js
+++ b/api/api.js
@@ -290,4 +290,18 @@ export function village(data) {
*/
export function brigade(data) {
return request.get('v2/system/brigade', data, { noAuth: true });
-}
\ No newline at end of file
+}
+
+/*
+ 生产 -- 获取商户保证金信息支付接口
+*/
+export function paymerchant() {
+ return request.post(`user/margin`,{});
+}
+
+/*
+ 生产 -- 获取商户保证金信息接口
+*/
+export function merchant(data) {
+ return request.get(`store/merchant/margin`, data);
+}
diff --git a/api/product.js b/api/product.js
index 8bfa886..28dcaf2 100644
--- a/api/product.js
+++ b/api/product.js
@@ -303,8 +303,8 @@ export function getDeliveryType(merId) {
/*
商品 -- 获取交易协议内容
*/
-export function business() {
- return request.get(`business/agree?type=business_apply_agree`, {}, {
+export function business(data) {
+ return request.get(`business/agree`, data, {
noAuth: true
});
}
@@ -319,5 +319,5 @@ export function intention(data) {
商品 -- 同意提交申请
*/
export function intentionbus(data) {
- return request.post(`intention/business`, {});
+ return request.post(`intention/business`, data);
}
\ No newline at end of file
diff --git a/api/store.js b/api/store.js
index 399e35a..2a8ae0f 100644
--- a/api/store.js
+++ b/api/store.js
@@ -577,6 +577,6 @@ export function vicinityStoreApi(data) {
/*
商家入驻 -- 获取商户入驻申请协议内容
*/
-export function agreeiness() {
- return request.get(`business/agree?type=sys_intention_agree`, {}, { noAuth: true });
+export function agreeiness(data) {
+ return request.get(`business/agree`, data, { noAuth: true });
}
\ No newline at end of file
diff --git a/components/WaterfallsFlowItem/WaterfallsFlowItem.vue b/components/WaterfallsFlowItem/WaterfallsFlowItem.vue
index 09a9e07..7549749 100644
--- a/components/WaterfallsFlowItem/WaterfallsFlowItem.vue
+++ b/components/WaterfallsFlowItem/WaterfallsFlowItem.vue
@@ -1,55 +1,82 @@
-
+
已售罄
-
-
-
- {{item.store_name}}
-
- ¥{{item.price}}
+
-
+
+
+
+ {{item.store_name}}
+
+ ¥{{item.price}}
+
+
¥{{item.svip_price}}
+
- {{item.merchant.type_name}}
- 自营
- {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
+
+ {{item.merchant.type_name}}
+ 自营
+ {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
领券
包邮
-
+
+
已售罄
-
+
+
{{item.store_name}}
-
- ¥{{item.price}}
+ {{item.rate}}
+ {{item.reply_count}}条评论
+
+
+ ¥
+ {{item.price.split('.')[0]}}.{{item.price.split('.')[1]}}
+
+
+
+
-
+
¥{{item.svip_price}}
+
+
- {{item.merchant.type_name}}
- 自营
- {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
+
+ {{item.merchant.type_name}}
+ 自营
+ {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
领券
包邮
- {{item.rate}}评分 {{item.reply_count}}条评论
+
{{item.merchant.mer_name}}
@@ -65,283 +92,334 @@
最高赚 ¥{{item.max_extension}}
-
+
+
+ .sell_out {
+ display: flex;
+ width: 150rpx;
+ height: 150rpx;
+ align-items: center;
+ justify-content: center;
+ border-radius: 100%;
+ background: rgba(0, 0, 0, .6);
+ color: #fff;
+ font-size: 30rpx;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin: -75rpx 0 0 -75rpx;
+
+ &::before {
+ content: "";
+ display: block;
+ width: 140rpx;
+ height: 140rpx;
+ border-radius: 100%;
+ border: 1px dashed #fff;
+ position: absolute;
+ top: 5rpx;
+ left: 5rpx;
+ }
+ }
+
+ .loading-img {
+ height: 345rpx;
+ max-height: 360rpx;
+ }
+
+ .wf-page1 .text {
+ padding: 20rpx 17rpx 26rpx 17rpx;
+ font-size: 30rpx;
+ color: #222;
+ }
+
+ .wf-page1 .text .money {
+ display: flex;
+ align-items: center;
+ font-size: 26rpx;
+ font-weight: bold;
+ margin-top: 8rpx;
+ color: var(--view-priceColor);
+ }
+
+ .wf-page1 .text .money .num {
+ font-size: 34rpx;
+ }
+
+ .item_tags {
+ margin-top: 8rpx;
+ display: flex;
+ }
+
+ .item_tags .tags_item {
+ display: flex;
+ font-size: 20rpx;
+ text-align: center;
+ border-radius: 5rpx;
+ padding: 0 4rpx;
+ height: 28rpx;
+ align-items: center;
+ justify-content: center;
+ margin-right: 8rpx;
+ }
+
+ .item_tags .tags_item.ticket {
+ color: var(--view-theme);
+ border: 1px solid var(--view-theme);
+ }
+
+ .item_tags .tags_item.delivery {
+ color: #FF9000;
+ border: 1px solid #FF9000;
+ }
+
+ .wf-page1 .text .money .ticket-big {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ max-width: 163rpx;
+ padding: 0 6rpx;
+ height: 28rpx;
+ margin-left: 10rpx;
+ background-image: url(~static/images/yh.png);
+ background-size: 100% 100%;
+ font-size: 20rpx;
+ font-weight: normal;
+ }
+
+ .wf-page1 .text .score {
+ margin-top: 10rpx;
+ color: #B3B3B3;
+ font-size: 20rpx;
+ }
+
+ .wf-page1 .text .company {
+ display: flex;
+ align-items: center;
+ color: #737373;
+ font-size: 20rpx;
+ margin-top: 10rpx;
+
+ .line1 {
+ max-width: 200rpx;
+ }
+
+ .flex {
+ display: flex;
+ align-items: center;
+ margin-left: 10rpx;
+ color: #282828;
+
+ .iconfont {
+ font-size: 16rpx;
+ margin-top: 4rpx;
+ }
+ }
+ }
+
+ .foot-bar {
+ width: 100%;
+ height: 52rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background-image: linear-gradient(-90deg, var(--view-bntColor21) 0%, var(--view-bntColor22) 100%);
+ border-radius: 0px 0px 16rpx 16rpx;
+ color: #fff;
+ font-size: 24rpx;
+
+ .icon-fenxiang {
+ font-size: 24rpx;
+ margin-right: 10rpx;
+ }
+ }
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 52de672..5ddca50 100644
--- a/pages.json
+++ b/pages.json
@@ -28,15 +28,15 @@
// },
// // #endif
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/moreProject/moreProject",
- "style": {
- "navigationBarTitleText": "更多功能",
- "enablePullDownRefresh": false
- }
-
- },
-
+ // {
+ // "path": "pages/moreProject/moreProject",
+ // "style": {
+ // "navigationBarTitleText": "更多功能",
+ // "enablePullDownRefresh": false
+ // }
+
+ // },
+
{
"path": "pages/index/index",
"style": {
@@ -52,20 +52,40 @@
}
},
{
- "path": "pages/gather/gather",
+ "path": "pages/chat/customer_list/index",
"style": {
- "navigationBarTitleText": "工作台",
+ "navigationBarTitleText": "消息",
"navigationStyle": "custom",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ // #ifdef APP-PLUS
+ "enablePullDownRefresh": true,
+ // #endif
+ "app-plus": {
+ "scrollIndicator": false //禁用原生导航栏
+ }
}
},
{
- "path": "pages/plant_release/index",
+ "path": "pages/product/list/index",
"style": {
- "navigationBarTitleText": "常用",
+ "navigationBarTitleText": "商品管理",
"navigationStyle": "custom",
+ "enablePullDownRefresh": true,
+ // #ifdef APP-PLUS
+ "enablePullDownRefresh": true,
+ // #endif
+ "app-plus": {
+ "scrollIndicator": false //禁用原生导航栏
+ }
+ }
+ },
+ {
+ "path": "pages/moreProject/moreProject",
+ "style": {
+ "navigationBarTitleText": "更多功能",
"enablePullDownRefresh": false
}
+
},
{
"path": "pages/order_addcart/order_addcart",
@@ -74,90 +94,120 @@
}
},
{
- "path": "pages/plant_grass/index",
+ "path": "pages/product/list/index",
"style": {
- // "navigationStyle": "custom",
- "navigationBarTitleText": "种草社区"
- }
- },
- {
- "path": "pages/user/index",
- "style": {
- "navigationBarTitleText": "个人中心",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/news_list/index",
- "style": {
- "navigationBarTitleText": "资讯"
- }
- },
- {
- "path": "pages/news_details/index",
- "style": {
- "navigationBarTitleText": "资讯详情"
- }
- },
- {
- "path": "pages/auth/index",
- "style": {
- "navigationBarTitleText": "加载中"
- }
- },
- {
- "path": "pages/order_pay_status/index",
- "style": {
- "navigationBarTitleText": "支付状态"
- }
- },
- {
- "path": "pages/error/index",
- "style": {
- "navigationBarTitleText": "网站已关闭"
- }
- },
- {
- "path": "pages/order_pay_back/index",
- "style": {
- "navigationBarTitleText": "支付提示"
- }
- }, {
- "path": "pages/supply_chains/supply_chains",
- "style": {
- "navigationBarTitleText": "供应",
- "enablePullDownRefresh": true,
- "navigationStyle": "custom"
- }
-
- }, {
- "path": "pages/moreProject/moreProject",
- "style": {
- "navigationBarTitleText": "更多功能",
- "enablePullDownRefresh": false
- }
-
- }, {
- "path": "uni_modules/guyue-updater/pages/updater",
- "style": {
- "app-plus": {
- "animationDuration": 200,
- "animationType": "fade-in",
- "background": "transparent",
- "backgroundColorTop": "transparent",
- "bounce": "none",
- "popGesture": "none",
- "scrollIndicator": false,
- "titleNView": false
- },
- "backgroundColor": "transparent",
- "disableScroll": true,
+ "navigationBarTitleText": "商品管理",
"navigationStyle": "custom"
}
}
+
+ // {
+ // "path": "pages/gather/gather",
+ // "style": {
+ // "navigationBarTitleText": "工作台",
+ // "navigationStyle": "custom",
+ // "enablePullDownRefresh": true
+ // }
+ // },
+ // {
+ // "path": "pages/plant_release/index",
+ // "style": {
+ // "navigationBarTitleText": "常用",
+ // "navigationStyle": "custom",
+ // "enablePullDownRefresh": false
+ // }
+ // },
+ // {
+ // "path": "pages/order_addcart/order_addcart",
+ // "style": {
+ // "navigationBarTitleText": "购物车"
+ // }
+ // },
+ // {
+ // "path": "pages/plant_grass/index",
+ // "style": {
+ // // "navigationStyle": "custom",
+ // "navigationBarTitleText": "种草社区"
+ // }
+ // },
+ // {
+ // "path": "pages/user/index",
+ // "style": {
+ // "navigationBarTitleText": "个人中心",
+ // "navigationStyle": "custom"
+ // }
+ // },
+ // {
+ // "path": "pages/news_list/index",
+ // "style": {
+ // "navigationBarTitleText": "资讯"
+ // }
+ // },
+ // {
+ // "path": "pages/news_details/index",
+ // "style": {
+ // "navigationBarTitleText": "资讯详情"
+ // }
+ // },
+ // {
+ // "path": "pages/auth/index",
+ // "style": {
+ // "navigationBarTitleText": "加载中"
+ // }
+ // },
+ // {
+ // "path": "pages/order_pay_status/index",
+ // "style": {
+ // "navigationBarTitleText": "支付状态"
+ // }
+ // },
+ // {
+ // "path": "pages/error/index",
+ // "style": {
+ // "navigationBarTitleText": "网站已关闭"
+ // }
+ // },
+ // {
+ // "path": "pages/order_pay_back/index",
+ // "style": {
+ // "navigationBarTitleText": "支付提示"
+ // }
+ // }, {
+ // "path": "pages/supply_chains/supply_chains",
+ // "style": {
+ // "navigationBarTitleText": "供应",
+ // "enablePullDownRefresh": true,
+ // "navigationStyle": "custom"
+ // }
+
+ // }, {
+ // "path": "pages/moreProject/moreProject",
+ // "style": {
+ // "navigationBarTitleText": "更多功能",
+ // "enablePullDownRefresh": false
+ // }
+
+ // }, {
+ // "path": "uni_modules/guyue-updater/pages/updater",
+ // "style": {
+ // "app-plus": {
+ // "animationDuration": 200,
+ // "animationType": "fade-in",
+ // "background": "transparent",
+ // "backgroundColorTop": "transparent",
+ // "bounce": "none",
+ // "popGesture": "none",
+ // "scrollIndicator": false,
+ // "titleNView": false
+ // },
+ // "backgroundColor": "transparent",
+ // "disableScroll": true,
+ // "navigationStyle": "custom"
+ // }
+
+ // }
],
- "subPackages": [
- {
+ "subPackages": [{
"root": "pages/goods_cate",
"name": "goods_cate",
"pages": [{
@@ -949,26 +999,14 @@
]
},
-
{
"root": "pages/store",
"name": "store",
"pages": [{
- "path": "index",
- "style": {
- "navigationStyle": "custom",
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "店铺diy首页"
- // #ifdef MP
- ,
- "navigationBarTextStyle": "#FFFFFF"
- // #endif
- }
- }, {
"path": "home/index",
"style": {
"navigationStyle": "custom",
- "navigationBarTitleText": "店铺首页"
+ "navigationBarTitleText": "我的店铺"
// #ifdef MP
,
"navigationBarTextStyle": "#FFFFFF"
@@ -1132,19 +1170,7 @@
"navigationBarTitleText": "商品管理",
"enablePullDownRefresh": true
}
- },{
- "path": "transactionApplication/index",
- "style": {
- "navigationBarTitleText": "交易申请",
- "enablePullDownRefresh": false
- }
- },{
- "path": "transactionApplication/application",
- "style": {
- "navigationBarTitleText": "申请记录",
- "enablePullDownRefresh": false
- }
- },
+ },
{
"path": "goodsOnSale/index",
"style": {
@@ -1627,40 +1653,36 @@
"selectedColor": "#E93323",
"borderStyle": "white",
"backgroundColor": "#ffffff",
-
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar_icon/a.png",
"selectedIconPath": "static/tabbar_icon/a-a.png",
- "text": "泸州"
-
+ "text": "首页"
},
{
- "pagePath": "pages/gather/gather",
+ "pagePath": "pages/chat/customer_list/index",
"iconPath": "static/tabbar_icon/b.png",
"selectedIconPath": "static/tabbar_icon/b-a.png",
- "text": "生产"
+ "text": "消息"
},
{
- "pagePath": "pages/plant_release/index",
+ "pagePath": "pages/product/list/index",
"iconPath": "static/tabbar_icon/c.png",
"selectedIconPath": "static/tabbar_icon/c-a.png",
- "text": "发布"
-
- },
- {
- "pagePath": "pages/supply_chains/supply_chains",
-
- "iconPath": "static/tabbar_icon/d.png",
- "selectedIconPath": "static/tabbar_icon/d-a.png",
- "text": "供销"
- },
- {
- "pagePath": "pages/user/index",
- "iconPath": "static/tabbar_icon/e.png",
- "selectedIconPath": "static/tabbar_icon/e-a.png",
- "text": "我的"
+ "text": "商品"
}
+ // {
+ // "pagePath": "pages/supply_chains/supply_chains",
+ // "iconPath": "static/tabbar_icon/d.png",
+ // "selectedIconPath": "static/tabbar_icon/d-a.png",
+ // "text": "供销"
+ // },
+ // {
+ // "pagePath": "pages/user/index",
+ // "iconPath": "static/tabbar_icon/e.png",
+ // "selectedIconPath": "static/tabbar_icon/e-a.png",
+ // "text": "我的"
+ // }
]
diff --git a/pages/chat/customer_list/index.vue b/pages/chat/customer_list/index.vue
index da48440..517c85c 100644
--- a/pages/chat/customer_list/index.vue
+++ b/pages/chat/customer_list/index.vue
@@ -62,6 +62,9 @@
serviceList,
serviceUserList
} from "@/api/user";
+ import {
+ getUserInfo
+ } from '@/api/user.js';
import { mapGetters } from "vuex";
export default {
name: "CustomerList",
@@ -88,13 +91,9 @@
computed: mapGetters(['isLogin','viewColor']),
onLoad(optios) {
this.type = optios.type;
- this.mer_id = optios.mer_id;
- if(this.isLogin){
- this.getList(this.mer_id)
- } else {
- this.isAuto = true;
- this.isShowAuth = true
- }
+
+
+ this.getindex()
},
onShow(option) {
if(this.isLogin){
@@ -119,6 +118,21 @@
this.clear = true;
},
methods: {
+ //获取商户信息
+ getindex(){
+ getUserInfo().then(res => {
+
+ this.mer_id = res.data.service.mer_id;
+ if(this.isLogin){
+ this.getList(this.mer_id)
+ } else {
+ this.isAuto = true;
+ this.isShowAuth = true
+ }
+ // this.getList(this.mer_id)
+ // this.getList(res.data.service.mer_id, true);
+ });
+ },
onLoadFun() {
this.isShowAuth = false;
this.getList(this.mer_id);
@@ -217,7 +231,7 @@
},
};
-
\ No newline at end of file
diff --git a/pages/guide/judge.vue b/pages/guide/judge.vue
deleted file mode 100644
index 3bc1292..0000000
--- a/pages/guide/judge.vue
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 6d5d98e..b6877c2 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,243 +1,318 @@
-
-
-
-
-
-
-
- {{ street }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{userInfoData.mer_info.mer_name}}
-
-
-
-
-
-
-
-
-
-
-
- {{street}}
-
-
-
+
+
+ 请登录
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{loadTitle}}
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
- 全部分类
-
+
+
+
+ {{item.name}}
-
- 点击进入分类
+
+ {{item.value}}
-
-
- {{item.cate_name}}
+
+
+
+
+
+
+
+
+
+
+ 订单数据统计
+
+
+
+
+
+
+
+
+
+ {{item.value}}
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+ 常用工具
+
+
+
+
+
+
+
+ {{item.name}}
-
+
+
+
+
+ 订单列表
+
+
+
+
+
+
+
+
+
+
+ {{item.real_name}}
+
+
+
+
+
+
+ {{item.pay_time}}拍下
+
+
+
+ 待发货
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ g.cart_info.product.store_name }}
+
+ ¥{{g.product_price.split('.')[0]}}.
+ {{g.product_price.split('.')[1]}}
+
+ X{{g.product_num}}
+
+
+
+ 共{{g.product_num}}件
+ 实收: ¥{{g.cart_info.productAttr.price.split('.')[0] }}.{{g.cart_info.productAttr.price.split('.')[1] }}(含快递:¥0.00)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 订单编号{{item.order_sn}}
+
+
+
+
+
+
+ {{item.real_name}} {{ item.user_phone}} {{item.user_address}}
+
+
+
+
+
+ 去发货
+
+
+
+
+
+
+
+
+
+ {{loadTitle}}
+
+
+
+
+
+
+
-
- 位置权限使用说明
- 用于向你推荐最近门店
-
@@ -741,564 +537,393 @@
-
diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue
index 0cd8bba..5988551 100644
--- a/pages/moreProject/moreProject.vue
+++ b/pages/moreProject/moreProject.vue
@@ -1,89 +1,105 @@
+
-
+
市级供应链
+
+
+
+
+
+
+
+
+
+ 交易申请状态:已通过
+ 交易申请状态:已拒绝
+ 交易申请状态:待审核
+
-
+
在售管理
-
- 财务管理
+
+ 财务管理
-
+
入库管理
-
- 商户设置
+
+ 商户设置
+
-
-
- 交易申请
-
-
-
+ @click="navigator(`/pages/product/list/index?mer_id=${mer_id}`,'商品管理')">
+
商品管理
-
+
提现管理
-
+
订单核销
+
+
+
+ 保证缴纳金
+
+
@@ -96,100 +112,114 @@
我的店铺
+
+
+
+
+
+
+
+
+
+ 交易申请状态:已通过
+ 交易申请状态:已拒绝
+ 交易申请状态:待审核
+
-
+
扫码出库
-
+
入库管理
-
+
提现管理
-
+ @click="navigator(`/pages/chat/customer_list/index?type=1&mer_id=${mer_id}`,'客服记录')">
+
客服记录
-
+
订单核销
-
+
订单管理
-
-
+
+
商品管理
-
+
商户设置
-
-
-
- 交易申请
-
+
+
+
+ 保证缴纳金
+
+
@@ -206,71 +236,83 @@
里海云仓
+
+
+
+
+
+
+
+
+
+ 交易申请状态:已通过
+ 交易申请状态:已拒绝
+ 交易申请状态:待审核
+
-
+
供货采购
-
+
进货管理
-
+
扫码出库
-
+
入库管理
-
+
提现管理
-
+ @click="navigator(`/pages/chat/customer_list/index?type=1&mer_id=${mer_id}`,'客服记录')">
+
客服记录
-
+
订单核销
-
+
订单管理
-
+
- 商品管理
-
+
商户设置
-
-
-
- 交易申请
-
+
+
+
+ 保证缴纳金
+
+
@@ -285,49 +327,63 @@
我的店铺
+
+
+
+
+
+
+
+
+
+ 交易申请状态:已通过
+ 交易申请状态:已拒绝
+ 交易申请状态:待审核
+
-
+
提现管理
-
+ @click="navigator(`/pages/chat/customer_list/index?type=1&mer_id=${mer_id}`,'客服记录')">
+
客服记录
-
+
订单核销
-
+
订单管理
-
-
+
+
商品管理
-
+
商户设置
-
-
-
- 交易申请
-
+
+
+
+ 保证缴纳金
+
+
@@ -345,17 +401,17 @@
-
+
商户设置
-
-
-
+
+
- 交易申请
+ 保证缴纳金
+
@@ -366,7 +422,119 @@
+
+
+
+ {{detail.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -375,15 +543,16 @@
import emptyPage from '@/components/emptyPage.vue';
import zbpSwiper from '@/components/zbpSwiper'
import {
- mapState,
+
mapGetters
} from 'vuex'
import {
- getWorkArticleCount,
- getSlideAPI
- } from '@/api/article.js'
+ business,
+ intention,
+ intentionbus
+ } from "@/api/product"
import {
- getStoreList,
+
getUserInfo
} from '@/api/user.js'
import {
@@ -395,7 +564,9 @@
Toast
} from '@/libs/uniApi';
import {
- getDiy
+ getDiy,
+ merchant,
+ paymerchant
} from '@/api/api.js'
export default {
@@ -419,11 +590,32 @@
isShow: false,
bgColor: '',
isFshow: false,
- street: ''
+ street: '',
+ detail: {},
+ tagStyle: {
+ img: 'width:100%;display:block;'
+ },
+ num: 15,
+ where: {
+ type: 2,
+ page: 1,
+ limit: 10
+ },
+ codenote: [],
+ validate: false,
+ merchantData: {
+ bank_username: '',
+ bank_opening: '',
+ bank_front: '',
+ bank_back: '',
+ cardno_front: '',
+ cardno_back: ''
+ },
+
};
},
computed: {
- ...mapGetters(['userInfo', 'location', 'isLogin'])
+ ...mapGetters(['userInfo', 'isLogin'])
},
created() {},
onLoad() {},
@@ -432,122 +624,314 @@
this.emptyText = '暂无可用应用'
this.jurisdiction = false
} else {
- // this.emptyText = '请登录'
- uni.navigateTo({
- url:'/pages/users/login/login_copy'
- })
+ this.emptyText = '请登录'
this.jurisdiction = true
}
this.getUserInfo()
- this.appLocation()
- },
- onPullDownRefresh() {
- this.getUserInfo()
- uni.stopPullDownRefresh()
- },
- mounted() {
- this.appLocation()
+ this.list()
+ this.codelist()
+
},
+
+
methods: {
+ //关闭弹窗
+ close() {
+ this.$refs.popup.close()
+ this.num = 15
+ },
+ //获取交易信息
+ codelist() {
+ intention(this.where).then(res => {
+ this.codenote = res.data.list
+ })
+ },
-
-
- //获取定位
- appLocation() {
- uni.getLocation({
- type: 'wgs84',
- timeout: '10',
- success: (res) => {
- // console.log(res)
-
- let latitude, longitude;
- latitude = res.latitude.toString();
- longitude = res.longitude.toString();
- getGeocoder({
- lat: latitude,
- long: longitude
- }).then(res => {
- this.street = res.data.address_component.street
- Cache.set('ADRESS_LOCATION', this.street)
- }).catch(err => {
- uni.showToast({
- title: err,
- icon: 'none'
- })
- })
- },
- fail: (err) => {
-
- // uni.showToast({
- // title: "获取定位超时",
- // icon: 'none',
- // duration: 2000
- // });
- }
+ decimal() {
+ merchant({
+ id: this.mer_id
+ }).then((res) => {
+ this.merchant_Data = res.data
});
},
-
- scrolling() {
- // 滚动条距文档顶部的距离
- let scrollTop =
- window.pageYOffset ||
- document.documentElement.scrollTop ||
- document.body.scrollTop;
- // 滚动条滚动的距离
- let scrollStep = scrollTop - this.oldScrollTop;
- console.log("header 滚动距离 ", scrollTop);
- // 更新——滚动前,滚动条距文档顶部的距离
- this.oldScrollTop = scrollTop;
-
- //变量windowHeight是可视区的高度
- let windowHeight =
- document.documentElement.clientHeight || document.body.clientHeight;
- //变量scrollHeight是滚动条的总高度
- let scrollHeight =
- document.documentElement.scrollHeight || document.body.scrollHeight;
-
- //滚动条到底部的条件
- if (scrollTop + windowHeight == scrollHeight) {
- //你想做的事情
- console.log("header 你已经到底部了");
- }
- if (scrollStep < 0) {
- this.isFshow = false
- console.log("header 滚动条向上滚动了!");
+ //缴纳保证金
+ paydecimal() {
+ if (this.merchant_Data.is_margin != 1) {
+ this.$util.Tips({
+ title: '暂时无需缴纳保证金'
+ });
} else {
- this.isFshow = true
- console.log("header 滚动条向下滚动了!");
+
+
+ uni.showModal({
+ title: '提示',
+ content: '商户' + this.merchant_Data.mer_name + '是否同意缴纳保证金',
+ success: function(res) {
+ if (res.confirm) {
+ // console.log('用户点击确定');
+ paymerchant().then((res) => {
+ console.log(res.data)
+ uni.requestPayment({
+ provider: 'wxpay',
+ orderInfo: res.data
+ .config, //微信、支付宝订单数据 【注意微信的订单信息,键值应该全部是小写,不能采用驼峰命名】
+ success: function(res) {
+ console.log('success:' + JSON.stringify(res));
+ },
+ fail: function(err) {
+ console.log('fail:' + JSON.stringify(err));
+ }
+ });
+ }).catch((err) => {
+ console.log(err)
+ })
+ } else if (res.cancel) {
+ console.log('用户点击取消');
+ }
+ }
+ });
+
}
- // 判断是否到了最顶部
- if (scrollTop <= 0) {
+
+ },
+ //提交
+ formSubmit: function(e) {
+ let that = this;
+ if (that.validateForm() && that.validate) {
+
+ that.validate = false;
+
+ intentionbus(that.merchantData).then(res => {
+ if (res.status == 200) {
+ this.$refs.popup.close()
+ that.$util.Tips({
+ title: '提交成功'
+ });
+ this.codelist()
+ that.timer = setTimeout(() => {
+ that.successful = true;
+ that.validate = true;
+ }, 1000)
+
+ }
+ }).catch(res => {
+ that.validate = true;
+ this.num = 15
+ this.$refs.popup.close()
+ that.$util.Tips({
+ title: res
+ });
+ })
+
+
+ }
+
+ },
+ //同意
+ agree() {
+ this.$refs.popup.open()
+ this.isFshow = false
+
+ // intentionbus({
+ // "status": 1
+ // }).then((res) => {
+ // if (res.status == 200) {
+ // this.$util.Tips({
+ // title: res.message,
+ // icon: 'success',
+ // })
+ // this.getUserInfo()
+ // this.isFshow = false
+ // }
+ // }).catch((err) => {
+ // this.isFshow = false
+ // this.$util.Tips({
+ // title: err,
+ // icon: 'error',
+ // })
+ // })
+ },
+ //拒绝
+ refuse() {
+ uni.switchTab({
+ url: '/pages/gather/gather'
+ })
+ },
+ //关闭弹窗
+ recuo() {
+
+ if (this.num > 0) {
+ this.num = 15
+ this.isFshow = false
+ } else {
+ this.num = 15
this.isFshow = false
- console.log("header 到了最顶部")
}
},
- kkchange(e) {
- this.bgColor = e
+ countDown() {
+ let {
+ num
+ } = this;
+ // if (num === 3) this.nums = true;
+ num = num > 0 ? num - 1 : "0";
+ setTimeout(() => {
+
+ this.num = num;
+ if (num == '0') {
+ // this.launchApp()
+ return
+ }
+
+ if (this.isFshow == false && this.num > 0) {
+ this.num = 15
+ return
+ }
+ this.countDown();
+ }, 1000);
+
+
+ },
+ //验证
+ validateBtn: function() {
+ let that = this,
+ value = that.merchantData;
+ if (value.bank_username && value.bank_opening) {
+ if (!that.isShowCode) {
+ that.validate = true;
+ } else {
+ if (that.codeVal) {
+ that.validate = true;
+ } else {
+ that.validate = false;
+ }
+ }
+ } else {
+ that.validate = false;
+ }
+ },
+ validateForm: function() {
+ let that = this,
+ value = that.merchantData;
+
+ if (!value.bank_username) return that.$util.Tips({
+ title: '请输入银行账户姓名'
+ });
+ if (!value.bank_opening) return that.$util.Tips({
+ title: '请输入开户行'
+ });
+
+ if (value.bank_front.length == 0) return that.$util.Tips({
+ title: '请上传一张或者多张图片'
+ });
+
+ if (value.bank_back.length == 0) return that.$util.Tips({
+ title: '请上传一张或者多张图片'
+ });
+ if (value.cardno_front.length == 0) return that.$util.Tips({
+ title: '请上传一张或者多张图片'
+ });
+ if (value.cardno_back.length == 0) return that.$util.Tips({
+ title: '请上传一张或者多张图片'
+ });
+ that.validate = true;
+ return true;
+ },
+ /**
+ * 上传文件
+ *
+ */
+ uploadpic(data) {
+ let that = this;
+ if (data.type == 1) {
+ that.$util.uploadImageOne('upload/image', function(res) {
+ that.merchantData.cardno_front = res.data.path
+
+ });
+ } else if (data.type == 2) {
+ that.$util.uploadImageOne('upload/image', function(res) {
+ that.merchantData.cardno_back = res.data.path
+
+ });
+ } else if (data.type == 3) {
+ that.$util.uploadImageOne('upload/image', function(res) {
+ that.merchantData.bank_front = res.data.path
+
+ });
+ } else {
+ that.$util.uploadImageOne('upload/image', function(res) {
+ that.merchantData.bank_back = res.data.path
+
+ });
+ }
+
+ },
+ //删除图片
+ DelPic(data) {
+ let that = this;
+ if (data.type == 1) {
+
+ that.merchantData.cardno_front = ''
+
+
+ } else if (data.type == 2) {
+
+ that.merchantData.cardno_back = ''
+
+
+ } else if (data.type == 3) {
+
+ that.merchantData.bank_front = ''
+
+
+ } else {
+
+ that.merchantData.bank_back = ''
+
+
+ }
+
+ },
+ //商户设置
+ buyserset() {
+ uni.navigateTo({
+ url: `/pages/product/basicSet?mer_id=` + this.mer_id
+ })
+ },
+ //获取协议内容
+ list() {
+ business({
+ type: 'mer_settlement_agree'
+ }).then(res => {
+ this.detail = res.data
+ })
},
navigator(url, t) {
- // if (this.userInfoData.is_wsxx === 0 && t != '商户设置') return Toast("请完善商户信息");
- uni.navigateTo({
- url: url
- })
+ if (this.userInfoData.mer_info.mer_settlement_agree_status == 0) {
+ this.isFshow = true
+ this.countDown()
+ } else {
+ uni.navigateTo({
+ url: url
+ })
+ }
},
getUserInfo: function() {
let that = this;
getUserInfo().then(res => {
that.userInfoData = res.data;
- // console.log(res.data.service);
+ this.merchantData.phone = res.data.phone
+
if (res.data.service == null) {
// console.log('123');
this.isShow = false
} else {
this.isShow = true
this.mer_id = res.data.service.mer_id
+ this.decimal()
}
if (!res.data.mer_info) {
@@ -565,6 +949,379 @@
background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F6 100%);
}
+ .userpage {
+ width: 100%;
+ height: 1368rpx;
+ padding-top: 150rpx;
+ background-color: #fff;
+ position: relative;
+ }
+
+ .userpage-icon {
+ width: 60rpx;
+ height: 60rpx;
+ position: absolute;
+ top: 60rpx;
+ right: 60rpx;
+
+ image {
+ width: 100%;
+ height: 100%;
+ }
+ }
+
+ .item-name {
+ width: 190rpx;
+ }
+
+ .merchantsSettled {
+ height: 1368rpx;
+ }
+
+ .merchantsSettled .title {
+ font-size: 35rpx;
+ font-family: Microsoft YaHei;
+ font-weight: 400;
+ text-align: center;
+ }
+
+ .merchantsSettled .list {
+ background-color: #fff;
+ border-radius: 12px;
+
+ margin: 0 15px;
+ position: absolute;
+
+ width: calc(100% - 30px);
+
+ }
+
+ .application-record {
+ position: absolute;
+ display: flex;
+ align-items: center;
+ top: 240rpx;
+ right: 0;
+ color: #fff;
+ font-size: 22rpx;
+ background-color: rgba(0, 0, 0, 0.3);
+ padding: 8rpx 18rpx;
+ border-radius: 20px 0px 0px 20px;
+ }
+
+ .item-card {
+ display: flex;
+ margin-top: 20rpx;
+
+ .item-carda {
+ width: 298rpx;
+ height: 175rpx;
+ margin-right: 20rpx;
+
+ image {
+ width: 100%;
+ height: 100%;
+ }
+ }
+
+ .item-cardb {
+ width: 298rpx;
+ height: 175rpx;
+
+ image {
+ width: 100%;
+ height: 100%;
+ }
+ }
+ }
+
+ .merchantsSettled .list .item {
+ padding: 50rpx 0 20rpx;
+
+ position: relative;
+ margin: 0 20px;
+
+ &.no-border {
+ border-bottom: none;
+ padding-left: 0;
+ padding-right: 0;
+ }
+
+ .item-title {
+ color: #666666;
+ font-size: 28rpx;
+ display: block;
+ }
+
+ .item-desc {
+ color: #B2B2B2;
+ font-size: 22rpx;
+ display: block;
+ margin-top: 9rpx;
+ line-height: 36rpx;
+ }
+ }
+
+ .acea-row,
+ .upload {
+ display: -webkit-box;
+ display: -moz-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-lines: multiple;
+ -moz-box-lines: multiple;
+ -o-box-lines: multiple;
+ -webkit-flex-wrap: wrap;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
+ }
+
+ .upload {
+ margin-top: 20rpx;
+ }
+
+ .acea-row.row-middle {
+ -webkit-box-align: center;
+ -moz-box-align: center;
+ -o-box-align: center;
+ -ms-flex-align: center;
+ -webkit-align-items: center;
+ align-items: center;
+ padding-left: 2px;
+ }
+
+ .acea-row.row-column {
+ -webkit-box-orient: vertical;
+ -moz-box-orient: vertical;
+ -o-box-orient: vertical;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ }
+
+ .acea-row.row-center-wrapper {
+ -webkit-box-align: center;
+ -moz-box-align: center;
+ -o-box-align: center;
+ -ms-flex-align: center;
+ -webkit-align-items: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -moz-box-pack: center;
+ -o-box-pack: center;
+ -ms-flex-pack: center;
+ -webkit-justify-content: center;
+ justify-content: center;
+ }
+
+ .merchantsSettled .list .item .pictrue {
+ width: 130rpx;
+ height: 130rpx;
+ margin: 24rpx 22rpx 0 0;
+ position: relative;
+ font-size: 11px;
+ color: #bbb;
+
+ &:nth-child(4n) {
+ margin-right: 0;
+ }
+
+ &:nth-last-child(1) {
+ border: 0.5px solid #ddd;
+ box-sizing: border-box;
+ }
+
+ uni-image,
+ image {
+ width: 100%;
+ height: 100%;
+ border-radius: 1px;
+
+ img {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ opacity: 0;
+ width: 100%;
+ height: 100%;
+ }
+ }
+
+ .icon-guanbi1 {
+ font-size: 33rpx;
+ position: absolute;
+ top: -10px;
+ right: -10px;
+ }
+ }
+
+ .uni-list-cell-db {
+ position: relative;
+ }
+
+ .merchantsSettled .submitBtn {
+ width: 588rpx;
+ margin: 0 auto;
+ height: 86rpx;
+ border-radius: 25px;
+ text-align: center;
+ line-height: 86rpx;
+ font-size: 15px;
+ color: #fff;
+ background: #E3E3E3;
+ margin-top: 25px;
+ pointer-events: none;
+ }
+
+ .merchantsSettled .submitBtn.on {
+ background: red;
+ pointer-events: all;
+ }
+
+
+ .settlementAgreement {
+ width: 100%;
+ height: 100%;
+ position: fixed;
+ top: 0;
+ left: 0;
+ background: rgba(0, 0, 0, .5);
+ z-index: 10;
+ }
+
+ .settlementAgreement .setAgCount {
+ background: #fff;
+ width: 656rpx;
+ // height: 458px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+
+ -webkit-border-radius: 12rpx;
+ padding: 52rpx;
+ -webkit-transform: translate(-50%, -50%);
+ -moz-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ overflow: hidden;
+
+ .content {
+ height: 900rpx;
+ overflow-y: scroll;
+
+ /deep/ p {
+ font-size: 13px;
+ line-height: 22px;
+ }
+
+ /deep/ img {
+ max-width: 100%;
+ }
+ }
+ }
+
+ .settlementAgreement .setAgCount .icon {
+ font-size: 42rpx;
+ color: #b4b1b4;
+ position: absolute;
+ top: 15rpx;
+ right: 15rpx;
+ }
+
+ .settlementAgreement .setAgCount .title {
+ color: #333;
+ font-size: 32rpx;
+ text-align: center;
+ font-weight: bold;
+ }
+
+ .settlementAgreement .setAgCount .content {
+ margin-top: 32rpx;
+ color: #333;
+ font-size: 26rpx;
+ line-height: 22px;
+ text-align: justify;
+ text-justify: distribute-all-lines;
+ height: 1050rpx;
+ overflow-y: scroll;
+ }
+
+
+ .settlementAgreement .setAgCount .contenta {
+ margin-top: 32rpx;
+ color: #333;
+ font-size: 26rpx;
+ line-height: 22px;
+ text-align: justify;
+ text-justify: distribute-all-lines;
+
+ height: 1050rpx;
+
+ overflow-y: scroll;
+
+
+ }
+
+ .setAgCountbtn {
+ display: flex;
+ justify-content: space-around;
+
+ .setAgCountbtna {
+ margin-top: 40rpx;
+ width: 200rpx;
+ height: 74rpx;
+ text-align: center;
+ line-height: 74rpx;
+ border-radius: 46rpx 46rpx;
+ opacity: 1;
+ border: 2rpx solid #B3B3B3;
+ font-size: 25rpx;
+ font-family: PingFang SC-Medium, PingFang SC;
+ font-weight: 500;
+ color: #737373;
+
+ }
+
+ .setAgCountbtnb {
+ margin-top: 40rpx;
+ padding-left: 20rpx;
+ padding-right: 20rpx;
+
+ text-align: center;
+ line-height: 74rpx;
+ background: #cecece;
+ border-radius: 46rpx 46rpx;
+ opacity: 1;
+ font-size: 25rpx;
+ font-family: PingFang SC-Medium, PingFang SC;
+ font-weight: 500;
+ color: #fff;
+
+ }
+
+ .setAgCountbtnc {
+ margin-top: 40rpx;
+ width: 200rpx;
+ height: 74rpx;
+ text-align: center;
+ line-height: 74rpx;
+ background: linear-gradient(270deg, #FF6D20 0%, #F84221 100%);
+ border-radius: 46rpx 46rpx;
+ opacity: 1;
+ font-size: 25rpx;
+ font-family: PingFang SC-Medium, PingFang SC;
+ font-weight: 500;
+ color: #fff;
+
+ }
+ }
+
+
+
.bg-img {
position: absolute;
width: 100%;
@@ -638,7 +1395,48 @@
// margin-top: 52.63rpx;
padding-top: 32rpx;
border-radius: 17.54rpx;
+
// box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
+ .special_work-title {
+ display: flex;
+ margin-bottom: 50rpx;
+
+ background-color: #efefef;
+ padding: 10rpx 10rpx;
+
+ .special_work-titlea {
+ width: 40rpx;
+ height: 40rpx;
+
+ image {
+ width: 100%;
+ height: 100%;
+ }
+ }
+
+ .special_work-titleb {
+ font-size: 23rpx;
+ font-family: PingFang SC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #737373;
+ margin-top: 5rpx;
+ }
+
+ .special_work-titlec {
+ font-size: 23rpx;
+ font-family: PingFang SC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #16C295;
+ margin-top: 5rpx;
+ }
+
+ .special_work-titled {
+ font-size: 23rpx;
+ font-family: PingFang SC-Regular, PingFang SC;
+ font-weight: 400;
+ margin-top: 5rpx;
+ }
+ }
.title {
font-size: 31.58rpx;
@@ -662,8 +1460,8 @@
// margin: 0 0 33.33rpx 33.33rpx !important;
.icon_img {
- width: 63.16rpx;
- height: 63.16rpx;
+ width: 120rpx;
+ height: 120rpx;
}
.text {
diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue
index 3dade8f..2adaa5d 100644
--- a/pages/product/list/index.vue
+++ b/pages/product/list/index.vue
@@ -149,6 +149,10 @@
+
+
+
+
@@ -199,6 +203,9 @@
productRecommendApi,
postImport
} from "@/api/product";
+ import {
+ getUserInfo
+ } from '@/api/user.js';
import Loading from '@/components/Loading/index.vue';
import {
navigateTo,
@@ -248,9 +255,9 @@
ll: 0
}
},
- onLoad(options) {
- this.mer_id = options.mer_id;
- this.getList(this.mer_id, true);
+ onLoad() {
+ this.getindex()
+
},
onPullDownRefresh() {
this.where.page = 1
@@ -269,6 +276,15 @@
},
methods: {
+
+ //获取商户信息
+ getindex(){
+ getUserInfo().then(res => {
+
+ this.mer_id = res.data.service.mer_id;
+ this.getList(res.data.service.mer_id, true);
+ });
+ },
menuActiona(item, index) {
if (item.is_good) {
this.options = [{
@@ -697,6 +713,19 @@
swiper {
height: 200rpx;
}
+.conter-img {
+ width: 650rpx;
+ height: 400rpx;
+ margin: 0 auto;
+ margin-top: 360rpx;
+
+
+ image {
+ width: 100%;
+ height: 100%;
+ }
+
+ }
.header {
padding-top: 40rpx;
diff --git a/pages/product/transactionApplication/application.vue b/pages/product/transactionApplication/application.vue
deleted file mode 100644
index 76ab2c2..0000000
--- a/pages/product/transactionApplication/application.vue
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-
-
-
-
- 已通过
-
-
-
- 已拒绝
-
-
- 审核中
-
-
-
- {{item.mer_name}}
-
-
-
- 拒绝原因:{{item.fail_msg}}
-
-
-
- 申请人:
- {{item.name}}{{item.phone}}
-
-
-
- 申请时间:
- {{item.create_time}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/product/transactionApplication/index.vue b/pages/product/transactionApplication/index.vue
deleted file mode 100644
index 84da1c1..0000000
--- a/pages/product/transactionApplication/index.vue
+++ /dev/null
@@ -1,241 +0,0 @@
-
-
-
-
-
-
- 交易申请协议
-
-
- 申请记录
-
-
-
-
-
-
-
-
-
-
-
-
-
- 拒绝
- 同意
-
-
- 重新申请
-
-
-
-
-
-
-
- 恭喜,您的资料提交成功!
- 预计15个工作日内审核完毕,平台客服会及时与您联系!
-
- 返回首页
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/store/detail/index.vue b/pages/store/detail/index.vue
index 51d0552..f71a4dc 100644
--- a/pages/store/detail/index.vue
+++ b/pages/store/detail/index.vue
@@ -1,46 +1,69 @@
-
-
-
-
-
- {{ store.mer_name }}
-
- {{ store.type_name }}
- 自营
+
+
+
+
+
+
+
+
+ {{ store.mer_name }}
+
+ {{ store.type_name }}
+ 自营
+
+ 粉丝数量
+ {{ store.care_count < 10000 ? store.care_count : (store.care_count / 10000).toFixed(2) + '万' }}
+
+
+
+
+
+
+
- {{ store.care_count < 10000 ? store.care_count : (store.care_count / 10000).toFixed(2) + '万' }}人关注
-
-
-
- 店铺评级
-
-
- {{ score.toFixed(1) }}
+
+ 店铺评级
+
+
+
+
+
+ {{ score.toFixed(1) }}
+
-
- 店铺二维码
-
+
+
+
+
+ 店铺二维码
+
+
+
+
+ 店铺资质信息
+
+
+
-
- 店铺资质信息
-
-
-
联系客服
-
+
-
+
联系客服
-
+
店铺简介
@@ -49,7 +72,8 @@
店铺地址
{{ store.mer_address }}
-
+
联系电话
@@ -76,428 +100,494 @@
+
\ No newline at end of file
diff --git a/pages/store/home/index.vue b/pages/store/home/index.vue
index 072b5da..a7ea511 100644
--- a/pages/store/home/index.vue
+++ b/pages/store/home/index.vue
@@ -1,2100 +1,2403 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ select.selected ? '评分' : '默认' }}
-
-
-
-
- 销量
-
-
-
- 价格
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
- 精选
-
-
- 新品
-
-
- 活动
-
-
- 领券
-
-
-
-
-
-
-
-
-
- {{store.type_name}}
- 自营
- {{ store.mer_name }}
-
-
-
-
-
-
-
-
- {{ score.number.toFixed(1) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ select.selected ? '评分' : '默认' }}
-
-
-
-
-
- 销量
-
-
-
-
- 价格
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
- 精选
-
-
- 新品
-
-
- 活动
-
-
- 领券
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 已售罄
-
-
-
-
- {{ item.store_name }}
-
-
-
-
- ¥{{ item.price }}
-
-
- ¥{{item.svip_price}}
-
-
-
-
-
-
- {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
- 领券
- 包邮
-
- {{ item.rate }}评分 {{ item.reply_count }}条评论
-
-
-
-
-
-
-
-
-
-
- {{loadTitle}}
-
-
-
-
-
-
-
-
-
- 全部
-
-
-
-
-
- {{ item.cate_name }}
-
-
-
- {{ value.cate_name }}
-
-
-
-
-
- {{loadTitle}}
-
-
-
-
-
-
-
-
-
-
-
- {{ item.store_name }}
-
-
-
-
- ¥
- {{ item.price }}
-
-
- ¥{{item.svip_price}}
-
-
-
-
-
-
- {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
- 领券
- 包邮
-
- {{ item.rate }}评分 {{ item.reply_count }}条评论
-
-
-
-
-
-
-
- {{loadTitle}}
-
-
-
-
-
-
-
-
-
- ¥
- {{ item.coupon_price }}
-
- 满{{ item.use_min_price }}元可用
-
-
-
- ¥
- {{ item.coupon_price }}
-
- 满{{ item.use_min_price }}元可用
-
-
-
- {{item.type===0?'店铺券':'商品券'}}
- {{ item.title }}
-
-
-
- {{ item.use_start_time | dateFormat }}-{{ item.use_end_time | dateFormat }}
-
-
-
- 领取后{{ item.coupon_time}}天内可用
-
-
-
-
-
- 立即领取
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 暂无活动专场哦~
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ store.mer_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{store.type_name}}
+
+ 自营
+
+ 店铺评分
+
+
+
+
+
+
+
+ {{ care_conut < 10000 ? care_conut : (care_conut / 10000).toFixed(2) + '万' }}人关注
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ select.selected ? '评分' : '默认' }}
+
+
+
+
+
+ 销量
+
+
+
+
+ 价格
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+ 精选
+
+
+ 新品
+
+
+ 活动
+
+
+ 领券
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ select.selected ? '评分' : '默认' }}
+
+
+
+
+ 销量
+
+
+
+ 价格
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+ 精选
+
+
+ 新品
+
+
+ 活动
+
+
+ 领券
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 已售罄
+
+
+
+
+ {{ item.store_name }}
+
+ {{ item.rate }}评分 {{ item.reply_count }}条评论
+
+
+
+
+
+ ¥{{ item.price }}
+
+
+
+
+
+
+ ¥{{item.svip_price}}
+
+
+
+
+
+
+ {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
+ 领券
+ 包邮
+
+
+
+
+
+
+
+
+
+
+
+
+ {{loadTitle}}
+
+
+
+
+
+
+
+
+
+ 全部
+
+
+
+
+
+ {{ item.cate_name }}
+
+
+
+ {{ value.cate_name }}
+
+
+
+
+
+ {{loadTitle}}
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.store_name }}
+
+
+
+
+ ¥
+ {{ item.price }}
+
+
+ ¥{{item.svip_price}}
+
+
+
+
+
+
+ {{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}
+ 领券
+ 包邮
+
+ {{ item.rate }}评分 {{ item.reply_count }}条评论
+
+
+
+
+
+
+
+ {{loadTitle}}
+
+
+
+
+
+
+
+
+
+ ¥
+ {{ item.coupon_price }}
+
+ 满{{ item.use_min_price }}元可用
+
+
+
+ ¥
+ {{ item.coupon_price }}
+
+ 满{{ item.use_min_price }}元可用
+
+
+
+ {{item.type===0?'店铺券':'商品券'}}
+ {{ item.title }}
+
+
+
+
+ {{ item.use_start_time | dateFormat }}-{{ item.use_end_time | dateFormat }}
+
+
+
+ 领取后{{ item.coupon_time}}天内可用
+
+
+
+
+
+ 立即领取
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无活动专场哦~
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/store/list/index.vue b/pages/store/list/index.vue
index ebfa454..95f90f9 100644
--- a/pages/store/list/index.vue
+++ b/pages/store/list/index.vue
@@ -7,11 +7,27 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -220,6 +236,7 @@
price_off: '',
isAuto: false, //没有授权的不会自动授权
isShowAuth: false, //是否隐藏授权
+
};
},
onLoad: function(options) {
@@ -379,7 +396,7 @@
},
searchSubmit: function(e) {
let that = this;
- that.$set(that.where, 'keyword', e.detail.value);
+ that.$set(that.where, 'keyword', that.sotreParam.keywor);
if(this.tabIndex == 1){
that.loadend = false;
that.$set(that.where, 'page', 1)
@@ -489,6 +506,27 @@