diff --git a/App.vue b/App.vue
index 3d5f87d..d547ae6 100644
--- a/App.vue
+++ b/App.vue
@@ -1,6 +1,6 @@
+
+
\ No newline at end of file
diff --git a/components/productWindow/newIndex.vue b/components/productWindow/newIndex.vue
new file mode 100644
index 0000000..d59cbaf
--- /dev/null
+++ b/components/productWindow/newIndex.vue
@@ -0,0 +1,466 @@
+
+
+
+
+
+
+
+
+
+ {{ attr.productSelect.store_name }}
+
+
+
+ 预售价
+ ¥{{ attr.productSelect.price }}
+ 定金¥{{ attr.productSelect.down_price }}
+
+ 库存: {{ attr.productSelect.stock }}
+ 限量: {{attr.productSelect.quota_show}}
+
+
+
+
+ ¥{{ attr.productSelect.price }}
+
+ ¥{{attr.productSelect.svip_price}}
+
+
+
+
+
+
+
+ 库12存: {{ attr.productSelect.stock }}
+ 限量: {{attr.productSelect.quota_show}}
+
+
+
+
+
+
+
+ {{ item.attr_name }}
+
+
+ {{ itemn.attr }}
+
+
+
+
+
+ 数量
+
+
+ ({{minCount}}件起购,最多{{maxCount}}件)
+
+
+ -
+
+
+
+
+ +
+ +
+
+
+
+ 立即购买
+ 已售罄
+ 我要参团
+ 已售罄
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/realselist/realselist.vue b/components/realselist/realselist.vue
index afc7665..a402b21 100644
--- a/components/realselist/realselist.vue
+++ b/components/realselist/realselist.vue
@@ -159,23 +159,23 @@
checkedObj: {
handler(n) {
- this.checkedArr = JSON.parse(JSON.stringify(n||{}))
+ this.checkedArr = JSON.parse(JSON.stringify(n || {}))
},
deep: true
}
},
mounted() {
- this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj||{}))
- this.aryys = JSON.parse(JSON.stringify(this.checkedObj||{}))
+ this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj || {}))
+ this.aryys = JSON.parse(JSON.stringify(this.checkedObj || {}))
this.getBounht();
},
methods: {
//价格
producrprice(e, i, item) {
this.bought[i].price = e.detail.value
- // 处理数据回显时, 调整数量, 选中的数据不改变的问题
- let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id);
- obj ? obj.price = e.detail.value:null;
+ // 处理数据回显时, 调整数量, 选中的数据不改变的问题
+ let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
+ obj ? obj.price = e.detail.value : null;
// this.$set(item, 'check', false);
// for (let i in this.checkedArr) {
// if (this.checkedArr[i].product_id == item.product_id) {
@@ -216,9 +216,9 @@
numberChange(data, i) {
this.peicenumber = data.number;
this.bought[i].number = data.number;
- // 处理数据回显时, 调整数量, 选中的数据不改变的问题
- let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id);
- obj ? obj.number = data.number:null;
+ // 处理数据回显时, 调整数量, 选中的数据不改变的问题
+ let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
+ obj ? obj.number = data.number : null;
},
tabs(index) {
@@ -289,7 +289,7 @@
that.$set(item, 'check', true);
that.$set(item, 'number', val.number);
that.$set(item, 'price', val.price);
- that.peicenumber=val.number
+ that.peicenumber = val.number
}
})
})
@@ -344,7 +344,7 @@
},
/*确定提交*/
submit() {
- console.log(this.checkedArr);
+ console.log(this.checkedArr);
this.$emit('getProduct', this.checkedArr);
},
@@ -396,14 +396,14 @@
width: 44rpx;
height: 44rpx;
line-height: 44rpx;
-
+
border-radius: 50%;
text-align: center;
-
+
position: absolute;
top: -150rpx;
right: 30rpx;
-
+
image {
width: 100%;
height: 100%;
@@ -483,7 +483,6 @@
line-height: 60rpx;
text-align: center;
font-size: 28rpx;
- font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #959595;
background-color: #E7E6E4;
@@ -512,9 +511,7 @@
background: #F5F5F5;
border-radius: 7rpx 7rpx 7rpx 7rpx;
font-size: 28rpx;
- font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
-
margin-left: 20rpx;
diff --git a/components/release/release.vue b/components/release/release.vue
index bacdf9e..3bbce82 100644
--- a/components/release/release.vue
+++ b/components/release/release.vue
@@ -63,13 +63,13 @@
},
methods: {
navigtion(item) {
-
- if (item.title1 =='发布调货商品') {
+
+ if (item.title1 == '发布调货商品') {
uni.navigateTo({
url: '/pages/trading_hall/transfer_goods/index'
})
} else {
-
+
uni.navigateTo({
url: '/pages/trading_hall/adddiscounts/index'
})
@@ -121,7 +121,7 @@
.release_content_left {
display: flex;
-
+
}
.release_content_right {
@@ -135,7 +135,7 @@
height: 96rpx;
margin-top: 21rpx;
margin-right: 19rpx;
-
+
image {
width: 111rpx;
@@ -144,10 +144,10 @@
}
.release_imga {
-
+
width: 76rpx;
height: 113rpx;
-
+
margin-top: 5rpx;
margin-right: 50rpx;
@@ -163,14 +163,12 @@
.title1 {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
.title2 {
font-size: 28rpx;
- font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
margin-top: 11rpx;
diff --git a/components/shoppinglist/shoppinglist.vue b/components/shoppinglist/shoppinglist.vue
index 3fe50a5..86ec5fc 100644
--- a/components/shoppinglist/shoppinglist.vue
+++ b/components/shoppinglist/shoppinglist.vue
@@ -159,23 +159,23 @@
checkedObj: {
handler(n) {
- this.checkedArr = JSON.parse(JSON.stringify(n||{}))
+ this.checkedArr = JSON.parse(JSON.stringify(n || {}))
},
deep: true
}
},
mounted() {
- this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj||{}))
- this.aryys = JSON.parse(JSON.stringify(this.checkedObj||{}))
+ this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj || {}))
+ this.aryys = JSON.parse(JSON.stringify(this.checkedObj || {}))
this.getBounht();
},
methods: {
//价格
producrprice(e, i, item) {
this.bought[i].price = e.detail.value
- // 处理数据回显时, 调整数量, 选中的数据不改变的问题
- let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id);
- obj ? obj.price = e.detail.value:null;
+ // 处理数据回显时, 调整数量, 选中的数据不改变的问题
+ let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
+ obj ? obj.price = e.detail.value : null;
// this.$set(item, 'check', false);
// for (let i in this.checkedArr) {
// if (this.checkedArr[i].product_id == item.product_id) {
@@ -212,9 +212,9 @@
numberChange(data, i) {
this.peicenumber = data.number;
this.bought[i].number = data.number
- // 处理数据回显时, 调整数量, 选中的数据不改变的问题
- let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id);
- obj ? obj.number = data.number:null;
+ // 处理数据回显时, 调整数量, 选中的数据不改变的问题
+ let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
+ obj ? obj.number = data.number : null;
},
tabs(index) {
@@ -285,7 +285,7 @@
that.$set(item, 'check', true);
that.$set(item, 'number', val.number);
that.$set(item, 'price', val.price);
- that.peicenumber=val.number
+ that.peicenumber = val.number
}
})
})
@@ -302,7 +302,7 @@
goodsCheck(item) {
this.$set(item, 'check', !item.check);
if (item.check) {
-
+
if (this.peicenumber == 0) {
item.number = 1
}
@@ -314,7 +314,7 @@
this.checkedArr.splice(this.checkedArr.findIndex(itemn => ((itemn.product_id == item.product_id))), 1)
}
},
-
+
/*确定提交*/
submit() {
@@ -456,7 +456,6 @@
line-height: 60rpx;
text-align: center;
font-size: 28rpx;
- font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #959595;
background-color: #E7E6E4;
@@ -485,7 +484,6 @@
background: #F5F5F5;
border-radius: 7rpx 7rpx 7rpx 7rpx;
font-size: 28rpx;
- font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-left: 20rpx;
diff --git a/components/shortPopup.vue b/components/shortPopup.vue
index 5402c35..99c85fd 100644
--- a/components/shortPopup.vue
+++ b/components/shortPopup.vue
@@ -1,552 +1,554 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{current+1}}/{{product.slider_image && product.slider_image.length||1}}
-
-
-
-
-
- ¥{{leftPrice}}.{{rightPrice}}
-
-
-
- {{datas.store_name}}
-
-
-
- {{datas.merchant.mer_name}}
-
-
-
-
- {{att.attr_name}}
-
-
- {{item.attr}}
-
-
-
-
- 购买数量
-
-
- ({{once_min_count}}件起购)
-
- -
-
- +
-
-
-
- 商品库存 {{sku[changeSkuKey] ? sku[changeSkuKey].stock : change.stock}}
-
-
-
-
-
-
- 采购车
-
- {{goodsNum}}
- 99+
-
-
- 加入采购清单
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{current+1}}/{{product.slider_image && product.slider_image.length||1}}
+
+
+
+
+
+
+ ¥{{leftPrice}}.{{rightPrice}}
+
+
+
+ {{datas.store_name}}
+
+
+
+ {{datas.merchant.mer_name}}
+
+
+
+
+ {{att.attr_name}}
+
+
+ {{item.attr}}
+
+
+
+
+ 购买数量
+
+
+ ({{once_min_count}}件起购)
+
+ -
+
+ +
+
+
+
+ 商品库存 {{sku[changeSkuKey] ? sku[changeSkuKey].stock : change.stock}}
+
+
+
+
+
+
+ 采购车
+
+ {{goodsNum}}
+ 99+
+
+
+ 加入采购清单
+
+
+
+
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index 31627ab..162b6a4 100644
--- a/manifest.json
+++ b/manifest.json
@@ -163,6 +163,134 @@
"splashscreen" : {
"useOriginalMsgbox" : true
}
+ },
+ "nativePlugins" : {
+ "JG-JCore" : {
+ "JPUSH_APPKEY_IOS" : "",
+ "JPUSH_CHANNEL_IOS" : "",
+ "JPUSH_APPKEY_ANDROID" : "",
+ "JPUSH_CHANNEL_ANDROID" : "",
+ "__plugin_info__" : {
+ "name" : "JG-JCore",
+ "description" : "极光推送JCore插件",
+ "platforms" : "Android,iOS",
+ "url" : "",
+ "android_package_name" : "",
+ "ios_bundle_id" : "",
+ "isCloud" : false,
+ "bought" : -1,
+ "pid" : "",
+ "parameters" : {
+ "JPUSH_APPKEY_IOS" : {
+ "des" : "[iOS]极光portal配置应用信息时分配的AppKey",
+ "key" : "JCore:APP_KEY",
+ "value" : ""
+ },
+ "JPUSH_CHANNEL_IOS" : {
+ "des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
+ "key" : "JCore:CHANNEL",
+ "value" : ""
+ },
+ "JPUSH_APPKEY_ANDROID" : {
+ "des" : "[Android]极光portal配置应用信息时分配的AppKey",
+ "key" : "JPUSH_APPKEY",
+ "value" : ""
+ },
+ "JPUSH_CHANNEL_ANDROID" : {
+ "des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default",
+ "key" : "JPUSH_CHANNEL",
+ "value" : ""
+ }
+ }
+ }
+ },
+ "JG-JPush" : {
+ "JPUSH_ISPRODUCTION_IOS" : "",
+ "JPUSH_ADVERTISINGID_IOS" : "",
+ "JPUSH_DEFAULTINITJPUSH_IOS" : "",
+ "JPUSH_OPPO_APPKEY" : "",
+ "JPUSH_OPPO_APPID" : "",
+ "JPUSH_OPPO_APPSECRET" : "",
+ "JPUSH_VIVO_APPKEY" : "",
+ "JPUSH_VIVO_APPID" : "",
+ "JPUSH_MEIZU_APPKEY" : "",
+ "JPUSH_MEIZU_APPID" : "",
+ "JPUSH_XIAOMI_APPKEY" : "",
+ "JPUSH_XIAOMI_APPID" : "",
+ "__plugin_info__" : {
+ "name" : "JG-JPush",
+ "description" : "极光推送Hbuilder插件",
+ "platforms" : "Android,iOS",
+ "url" : "",
+ "android_package_name" : "",
+ "ios_bundle_id" : "",
+ "isCloud" : false,
+ "bought" : -1,
+ "pid" : "",
+ "parameters" : {
+ "JPUSH_ISPRODUCTION_IOS" : {
+ "des" : "[iOS]是否是生产环境,是填true,不是填false或者不填",
+ "key" : "JPush:ISPRODUCTION",
+ "value" : ""
+ },
+ "JPUSH_ADVERTISINGID_IOS" : {
+ "des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
+ "key" : "JPush:ADVERTISINGID",
+ "value" : ""
+ },
+ "JPUSH_DEFAULTINITJPUSH_IOS" : {
+ "des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
+ "key" : "JPush:DEFAULTINITJPUSH",
+ "value" : ""
+ },
+ "JPUSH_OPPO_APPKEY" : {
+ "des" : "厂商OPPO-appkey,示例:OP-12345678",
+ "key" : "OPPO_APPKEY",
+ "value" : ""
+ },
+ "JPUSH_OPPO_APPID" : {
+ "des" : "厂商OPPO-appId,示例:OP-12345678",
+ "key" : "OPPO_APPID",
+ "value" : ""
+ },
+ "JPUSH_OPPO_APPSECRET" : {
+ "des" : "厂商OPPO-appSecret,示例:OP-12345678",
+ "key" : "OPPO_APPSECRET",
+ "value" : ""
+ },
+ "JPUSH_VIVO_APPKEY" : {
+ "des" : "厂商VIVO-appkey,示例:12345678",
+ "key" : "com.vivo.push.api_key",
+ "value" : ""
+ },
+ "JPUSH_VIVO_APPID" : {
+ "des" : "厂商VIVO-appId,示例:12345678",
+ "key" : "com.vivo.push.app_id",
+ "value" : ""
+ },
+ "JPUSH_MEIZU_APPKEY" : {
+ "des" : "厂商MEIZU-appKey,示例:MZ-12345678",
+ "key" : "MEIZU_APPKEY",
+ "value" : ""
+ },
+ "JPUSH_MEIZU_APPID" : {
+ "des" : "厂商MEIZU-appId,示例:MZ-12345678",
+ "key" : "MEIZU_APPID",
+ "value" : ""
+ },
+ "JPUSH_XIAOMI_APPKEY" : {
+ "des" : "厂商XIAOMI-appKey,示例:MI-12345678",
+ "key" : "XIAOMI_APPKEY",
+ "value" : ""
+ },
+ "JPUSH_XIAOMI_APPID" : {
+ "des" : "厂商XIAOMI-appId,示例:MI-12345678",
+ "key" : "XIAOMI_APPID",
+ "value" : ""
+ }
+ }
+ }
+ }
}
},
/* 快应用特有相关 */
diff --git a/pages.json b/pages.json
index dc1be56..8347c95 100644
--- a/pages.json
+++ b/pages.json
@@ -47,7 +47,38 @@
"enablePullDownRefresh": true,
// #endif
"app-plus": {
- "scrollIndicator": false //禁用原生导航栏
+ "scrollIndicator": false, //禁用原生导航栏
+ "subNVues": [{
+ "id": "concat", // 唯一标识
+ "path": "pages/index/subnvue/concat", // 页面路径
+ "type": "popup",
+ "style": {
+ "position": "absolute",
+ "dock": "right",
+ "width": "750rpx",
+ "height": "1500rpx",
+ "background": "rgba(0,0,0,0.2)"
+ }
+ }]
+ }
+ }
+ },
+ {
+ "path": "pages/test/index", //首页
+ "style": {
+ "app-plus": {
+ "subNVues": [{
+ "id": "concat", // 唯一标识
+ "path": "pages/test/subnvue/concat", // 页面路径
+ /*"type": "popup", 这里不需要*/
+ "style": {
+ "position": "absolute",
+ "dock": "right",
+ "width": "100rpx",
+ "height": "150rpx",
+ "background": "transparent"
+ }
+ }]
}
}
},
@@ -308,12 +339,11 @@
}
},
{
- "path" : "pages/cashier/cashier",
- "style" :
- {
- "navigationBarTitleText" : "收银",
- "enablePullDownRefresh" : true
- }
+ "path": "pages/cashier/cashier",
+ "style": {
+ "navigationBarTitleText": "收银",
+ "enablePullDownRefresh": true
+ }
}
],
"subPackages": [{
@@ -1367,7 +1397,15 @@
"navigationBarTitleText": "商品详情"
}
- }, {
+ },
+ {
+ "path": "goods_details/videoPlay",
+ "style": {
+ "navigationBarTitleText": "视屏详情"
+
+ }
+ },
+ {
"path": "stockOut/index",
"style": {
"navigationBarTitleText": "扫码出库",
@@ -1390,7 +1428,22 @@
"path": "list/index",
"style": {
"navigationBarTitleText": "商品管理",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ "scrollIndicator": false, //禁用原生导航栏
+ "subNVues": [{
+ "id": "concatpro", // 唯一标识
+ "path": "list/subnvue/concat", // 页面路径
+ "type": "popup",
+ "style": {
+ "position": "absolute",
+ "dock": "right",
+ "width": "750rpx",
+ "height": "2000rpx",
+ "background": "rgba(0,0,0,0.2)"
+ }
+ }]
+ }
}
},
{
@@ -1505,7 +1558,14 @@
}, {
"path": "addGood/addGood",
"style": {
- "navigationBarTitleText": "商品设置",
+ "navigationBarTitleText": "发布商品",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addGood/addGoodOld",
+ "style": {
+ "navigationBarTitleText": "发布商品",
"enablePullDownRefresh": false
}
},
@@ -1536,7 +1596,43 @@
"navigationBarTitleText": "更新库存",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path": "addGoodDetail/addGoodDetail",
+ "style": {
+ "navigationBarTitleText": "发布商品",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addGoodDetail/goodsType",
+ "style": {
+ "navigationBarTitleText": "商品分类",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addGoodDetail/goodsAttr",
+ "style": {
+ "navigationBarTitleText": "商品属性",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addGoodDetail/goodsPrice",
+ "style": {
+ "navigationBarTitleText": "价格与规格",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addGoodDetail/goodsSearch",
+ "style": {
+ "navigationBarTitleText": "商品分类",
+ "enablePullDownRefresh": false
+ }
}
+
]
},
{
diff --git a/pages/admin/financial_management/index.vue b/pages/admin/financial_management/index.vue
index 7fb54bb..d15f5c4 100644
--- a/pages/admin/financial_management/index.vue
+++ b/pages/admin/financial_management/index.vue
@@ -1,84 +1,62 @@
-
-
-
-
-
-
- {{ userInfo.nickname }}
-
-
-
-
+
+
+
+
+
+
+ {{ userInfo.nickname }}
+
+
+
+
- {{ userInfo.nickname }}
-
-
-
-
+
+
+
-
-
-
- 账户总金额(元)
-
- {{ all_money }}元
- ****元
-
-
- 可提现金额{{ userInfo.user_money || 0.0 }}元
- 可提现金额****元
-
-
-
-
- 履约押金额(元)
- {{
+
+
+
+ 账户总金额(元)
+
+ {{ all_money }}元
+ ****元
+
+
+ 可提现金额{{ userInfo.user_money || 0.0 }}元
+ 可提现金额****元
+
+
+
+
+ 履约押金额(元)
+ {{
userInfo.deposit || 0.0
}}
- ****
-
-
-
- 个人收益金额(元)
- {{
+ ****
+
+
+
+ 个人收益金额(元)
+ {{
userInfo.user_money || 0.0
}}
- ****
-
-
-
-
-
-
-
-
+
-
-
-
+
+
-
-
- 账单日期: {{ current ? item.month : item.create_time }}
-
-
-
-
- 任务名称:
- {{ item.remark }}
-
-
-
-
- 收益来源:
-
- {{
+
+
+ 收益来源:
+
+ {{
item.type_desc
}}
- {{ item.type_desc }}
- {{
+ {{ item.type_desc }}
+ {{
item.type_desc
}}
-
-
-
-
- {{
+
+
+
+
+ {{
current
? item.expenditure == 0
? "+" + item.income
: "-" + item.income
: item.change_amount_desc
}}
-
-
-
+
+
+
-
-
-
-
-
-
-
- 账单详情
- 账单日期:{{ item.month }}
-
-
-
- 个人收益金额(元)
- {{ item.income }}
-
-
- 支出金额:{{
+
+
+
+
+
+
+ 账单详情
+ 账单日期:{{ item.month }}
+
+
+
+ 个人收益金额(元)
+ {{ item.income }}
+
+
+ 支出金额:{{
item.expenditure > 0 ? item.expenditure : "0.00"
- }}
- 入账金额:{{ item.income > 0 ? item.income : "0.00" }}
-
-
-
-
-
+ }}
+ 入账金额:{{ item.income > 0 ? item.income : "0.00" }}
+
+
+
+
+
-
-
-
+
+
+
\ No newline at end of file
diff --git a/pages/admin/goods_details/index.vue b/pages/admin/goods_details/index.vue
index bd2454e..fee9768 100644
--- a/pages/admin/goods_details/index.vue
+++ b/pages/admin/goods_details/index.vue
@@ -1,1652 +1,1837 @@
-
-
-
-
-
-
-
- ¥{{storeInfo.price}}¥{{storeInfo.ot_price}}
-
-
- 距秒杀结束仅剩
-
-
-
-
-
-
-
-
- ¥
- {{storeInfo.price}}
- 预售价
-
-
-
-
- 市场价:¥{{storeInfo.ot_price || ''}}
- 已预定:0{{ storeInfo.unit_name }}
-
-
- {{storeInfo.merchant.type_name}}
- 自营
- {{storeInfo.store_name}}
-
-
-
- 预售活动时间:
-
-
- {{ new Date(storeInfo.start_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.start_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.start_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.start_time.replace(/-/g,"/")).getMinutes()}}分
- ~
-
- {{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getMinutes()}}分
-
-
-
- 支付尾款时间:
-
-
- {{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getMinutes()}}分
- ~
-
- {{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getMinutes()}}分
-
-
-
- 支付成功后{{ storeInfo.delivery_day }}天内发货
- 付尾款成功后{{ storeInfo.delivery_day }}天内发货
-
- 预售结束后{{ storeInfo.delivery_day }}天内发货
-
-
-
-
-
-
- ¥{{storeInfo.price}}
- ¥{{storeInfo.ot_price}}
-
+
+
+
+
+
+
+
+
+ ¥{{storeInfo.price}}¥{{storeInfo.ot_price}}
+
+
+ 距秒杀结束仅剩
+
+
+
+
+
+
+
+
+ ¥
+ {{storeInfo.price}}
+ 预售价
+
+
+
+
+ 市场价:¥{{storeInfo.ot_price || ''}}
+ 已预定:0{{ storeInfo.unit_name }}
+
+
+ {{storeInfo.merchant.type_name}}
+ 自营
+ {{storeInfo.store_name}}
+
+
+
+ 预售活动时间:
+
+
+ {{ new Date(storeInfo.start_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.start_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.start_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.start_time.replace(/-/g,"/")).getMinutes()}}分
+ ~
+
+ {{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.p_end_time.replace(/-/g,"/")).getMinutes()}}分
+
+
+
+ 支付尾款时间:
+
+
+ {{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.final_start_time.replace(/-/g,"/")).getMinutes()}}分
+ ~
+
+ {{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getMonth()+1 }}月{{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getDate() }}日{{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getHours() }}时{{ new Date(storeInfo.final_end_time.replace(/-/g,"/")).getMinutes()}}分
+
+
+
+ 支付成功后{{ storeInfo.delivery_day }}天内发货
+ 付尾款成功后{{ storeInfo.delivery_day }}天内发货
+
+ 预售结束后{{ storeInfo.delivery_day }}天内发货
+
+
+
+
+
+
+ ¥{{storeInfo.price}}
+ ¥{{storeInfo.ot_price}}
+
-
-
+
+
-
- {{storeInfo.merchant.type_name}}
- 自营
- {{storeInfo.store_name}}
-
-
- 类型:{{storeInfo.buying_count_num ? storeInfo.buying_count_num : 0}}人团
- 库存:{{storeInfo.stock ? storeInfo.stock : 0}}
- 已拼:{{storeInfo.sales ? storeInfo.sales : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}
-
-
+
+ {{storeInfo.merchant.type_name}}
+ 自营
+ {{storeInfo.store_name}}
+
+
+ 类型:{{storeInfo.buying_count_num ? storeInfo.buying_count_num : 0}}人团
+ 库存:{{storeInfo.stock ? storeInfo.stock : 0}}
+
+ 已拼:{{storeInfo.sales ? storeInfo.sales : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}
+
+
-
-
-
-
-
- 已拼{{storeInfo.sales ? storeInfo.sales : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}|
-
-
-
-
-
- {{item.nickname ? item.nickname : ''}}拼团成功
-
-
-
-
-
-
-
-
-
-
-
- {{ item.initiator.nickname ? item.initiator.nickname : ""}}
-
-
-
- 还差{{item.buying_count_num - item.yet_buying_num}}人成团
-
- 剩余
-
-
-
-
- 去拼单
-
-
-
-
-
- 查看更多
- 收起
-
-
-
-
- 拼团玩法
-
-
-
- ①
- 开团/参团
-
-
-
- ②
- 邀请好友
-
-
-
-
- ③
- 满员发货
-
- 不满自动退款
-
-
-
-
-
-
-
- ¥
- {{storeInfo.price}}
-
-
-
-
- {{storeInfo.merchant.type_name}}
- 自营{{storeInfo.store_name ? storeInfo.store_name : ''}}
-
-
- 原价:¥{{storeInfo.ot_price ? storeInfo.ot_price : ''}}
- 库存:{{storeInfo.stock ? storeInfo.stock : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}
-
- 销量:{{storeInfo.sales ? storeInfo.sales : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}
-
-
-
-
- {{attrTxt}}:
- {{attrValue}}
-
-
-
-
-
- 运费:
- {{shippingValue}}
-
-
-
-
-
- 保障:
-
-
- {{item.guarantee_name ? item.guarantee_name : ''}}
-
-
+
+
+
+
+
+ 已拼{{storeInfo.sales ? storeInfo.sales : 0}}{{storeInfo.unit_name ? storeInfo.unit_name : ''}}|
+
+
+
+
+
+ {{item.nickname ? item.nickname : ''}}拼团成功
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.initiator.nickname ? item.initiator.nickname : ""}}
+
+
+
+
+ 还差{{item.buying_count_num - item.yet_buying_num}}人成团
+
+
+ 剩余
+
+
+
+
+ 去拼单
+
+
+
+
+
+ 查看更多
+ 收起
+
+
+
+
+ 拼团玩法
+
+
+
+ ①
+ 开团/参团
+
+
+
+ ②
+ 邀请好友
+
+
+
+
+ ③
+ 满员发货
+
+ 不满自动退款
+
+
+
+
+
+
+
+ ¥
+ {{storeInfo.price}}/{{storeInfo.unit_name}}
+
+
+ {{storeInfo.store_name ? storeInfo.store_name : ''}}
+
+
+
+
+
+
+ 等级
+
+
+ {{product_attribute.leval}}
+
+
+
+
+
+
+
+ 产地
+
+
+ {{product_attribute.address.substring(0,3)}}
+
+
+
+
+
+
+
+ 包装
+
+
+ {{product_attribute.pack}}
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+ {{item.value}}
+
+
+
+
+
+
+
+
+
+
+
+ {{attrTxt}}:
+ {{attrValue}}
+
+
+ 1{{storeInfo.unit_name}}
+
+
+
+
+
+ 运费:
+ {{shippingValue}}
+
+
+
+
+
+
+ 保障:
+
+
+ {{item.guarantee_name ? item.guarantee_name : ''}}
+
+
-
-
-
-
-
- 流程:
-
-
- 定金
- 尾款
- 发货
-
-
-
-
-
-
-
-
-
-
-
-
- {{storeInfo.merchant.mer_name ? storeInfo.merchant.mer_name : ''}}
- {{storeInfo.merchant.type_name}}
- 自营
-
-
- {{storeInfo.merchant.care_count < 10000 ? storeInfo.merchant.care_count : (storeInfo.merchant.care_count/10000).toFixed(2)+'万'}}人关注
-
- 0人关注
-
-
-
-
- 商品描述{{storeInfo.merchant.product_score}}
-
-
- 卖家服务{{storeInfo.merchant.service_score}}
-
-
- 物流服务{{storeInfo.merchant.postage_score}}
-
-
-
-
-
- 产品介绍
-
-
-
-
-
-
-
- {{description.content.title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 流程:
+
+
+ 定金
+ 尾款
+ 发货
+
+
+
+
+
+
+
+
+
+
+
+
+ {{storeInfo.merchant.mer_name ? storeInfo.merchant.mer_name : ''}}
+ {{storeInfo.merchant.type_name}}
+ 自营
+
+
+ {{storeInfo.merchant.care_count < 10000 ? storeInfo.merchant.care_count : (storeInfo.merchant.care_count/10000).toFixed(2)+'万'}}人关注
+
+ 0人关注
+
+
+
+
+ 商品描述{{storeInfo.merchant.product_score}}
+
+
+ 卖家服务{{storeInfo.merchant.service_score}}
+
+
+ 物流服务{{storeInfo.merchant.postage_score}}
+
+
+
+
+
+ 产品介绍
+
+
+
+
+
+
+
+
+ {{description.content.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/admin/goods_details/videoPlay.nvue b/pages/admin/goods_details/videoPlay.nvue
new file mode 100644
index 0000000..57c7b68
--- /dev/null
+++ b/pages/admin/goods_details/videoPlay.nvue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/admin/refundDetail/index.vue b/pages/admin/refundDetail/index.vue
index f89abd1..05fe96f 100644
--- a/pages/admin/refundDetail/index.vue
+++ b/pages/admin/refundDetail/index.vue
@@ -5,7 +5,7 @@
审核未通过
待退货
待收货
- 已退款
+ 已退款
{{ orderInfo.user && orderInfo.user.nickname }}
@@ -16,7 +16,8 @@
{{ orderInfo.mer_delivery_address }}
-
+
@@ -26,7 +27,9 @@
-
+
@@ -71,7 +74,7 @@
退款原因:
- {{ orderInfo.refund_message }}
+ {{ getRightText(orderInfo.refund_message) }}
备注信息:
@@ -90,26 +93,25 @@
-
-
- 订单备注
-
-
-
-
-
-
- 确认提交
-
-
-
+
+
+ 订单备注
+
+
+
+
+
+
+ 确认提交
+
+
+
@@ -132,12 +134,15 @@
refundOrderReceive,
setRefundMark
} from "@/api/admin";
- import { isMoney } from '@/utils/validate.js'
- import { HTTP_REQUEST_URL } from '@/config/app';
+ import {
+ isMoney
+ } from '@/utils/validate.js'
+ import {
+ HTTP_REQUEST_URL
+ } from '@/config/app';
export default {
name: "AdminOrder",
- components: {
- },
+ components: {},
props: {},
data: function() {
return {
@@ -155,7 +160,7 @@
payType: "",
types: "",
clickNum: 1,
- goname:'',
+ goname: '',
domain: HTTP_REQUEST_URL,
};
},
@@ -179,19 +184,27 @@
var clipboard = new ClipboardJS('.copy-data');
clipboard.on('success', function(e) {
self.$util.Tips({
- title:'复制成功'
+ title: '复制成功'
})
});
clipboard.on('error', function(e) {
self.$util.Tips({
- title:'复制失败'
+ title: '复制失败'
})
});
});
// #endif
-
+
},
methods: {
+ getRightText(str) {
+ const index = str.indexOf("@");
+ if (index !== -1) {
+ return str.substring(index + 1);
+ } else {
+ return str
+ }
+ },
more: function() {
this.order = !this.order;
},
@@ -203,7 +216,7 @@
this.change = false;
},
// 查看大图
- loookImg(item,index){
+ loookImg(item, index) {
uni.previewImage({
urls: this.orderInfo.pics,
current: this.orderInfo.pics[index]
@@ -216,38 +229,37 @@
urls: list
});
},
- copyText: function (e) {
- // var copy = e.currentTarget.dataset.copy; //data-copy传过来的数值
- let arr = [
- {
- name: "收货人姓名",
- value: this.orderInfo.real_name
- },
- {
- name: "收货人电话",
- value: this.orderInfo.user_phone
- },
- {
- name: "收货人地址",
- value: this.orderInfo.user_address
- }
- ]
- wx.setClipboardData({
- data: `${arr.map(item =>`${item.name}: ${item.value}`).join("\n")}`,
- success: function (res) {
- wx.getClipboardData({
- success: function (res) {
- wx.showToast({
- title: '复制成功'
- })
- }
- })
- }
- })
+ copyText: function(e) {
+ // var copy = e.currentTarget.dataset.copy; //data-copy传过来的数值
+ let arr = [{
+ name: "收货人姓名",
+ value: this.orderInfo.real_name
+ },
+ {
+ name: "收货人电话",
+ value: this.orderInfo.user_phone
+ },
+ {
+ name: "收货人地址",
+ value: this.orderInfo.user_address
+ }
+ ]
+ wx.setClipboardData({
+ data: `${arr.map(item =>`${item.name}: ${item.value}`).join("\n")}`,
+ success: function(res) {
+ wx.getClipboardData({
+ success: function(res) {
+ wx.showToast({
+ title: '复制成功'
+ })
+ }
+ })
+ }
+ })
},
getIndex: function() {
let that = this;
- getRefundOrderDetail(that.mer_id,that.order_id).then(
+ getRefundOrderDetail(that.mer_id, that.order_id).then(
res => {
that.orderInfo = res.data;
},
@@ -269,7 +281,7 @@
content: '为保障权益,请收到货确认无误后,再确认收货',
success: function(res) {
if (res.confirm) {
- refundOrderReceive(that.mer_id,that.orderInfo.refund_order_id).then(res => {
+ refundOrderReceive(that.mer_id, that.orderInfo.refund_order_id).then(res => {
return that.$util.Tips({
title: '操作成功',
icon: 'success'
@@ -286,14 +298,16 @@
})
},
// 提交备注信息
- save(){
+ save() {
let that = this;
if (!that.orderInfo.mer_mark) {
return this.$util.Tips({
title: '请输入备注'
})
}
- setRefundMark(that.mer_id,that.orderInfo.refund_order_id,{ mer_mark: that.orderInfo.mer_mark }).then(
+ setRefundMark(that.mer_id, that.orderInfo.refund_order_id, {
+ mer_mark: that.orderInfo.mer_mark
+ }).then(
res => {
that.change = false;
this.$util.Tips({
@@ -318,7 +332,7 @@
}
});
},
- copyData(id){
+ copyData(id) {
uni.setClipboardData({
data: id,
success: function() {
@@ -348,36 +362,44 @@
background: -webkit-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
background: -moz-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
}
+
.pos-order-details .header .state {
font-size: 36upx;
color: #fff;
}
+
.pos-order-details .header .data {
margin-left: 35upx;
font-size: 28upx;
}
+
.pos-order-details .header .data .order-num {
font-size: 30upx;
margin-bottom: 8upx;
}
+
.pos-order-details .remarks {
width: 100%;
height: 86upx;
background-color: #fff;
padding: 0 30upx;
}
+
.pos-order-details .remarks .iconfont {
font-size: 40upx;
color: #2a7efb;
}
+
.pos-order-details .remarks input {
width: 630upx;
height: 100%;
font-size: 30upx;
}
+
.pos-order-details .remarks input::placeholder {
color: #666;
}
+
.pos-order-details .orderingUser {
font-size: 26upx;
color: #282828;
@@ -387,17 +409,21 @@
margin-top: 16upx;
border-bottom: 1px solid #f5f5f5;
}
+
.pos-order-details .orderingUser .iconfont {
font-size: 40upx;
color: #2a7efb;
margin-right: 15upx;
}
+
.pos-order-details .address {
margin-top: 0;
}
+
.pos-order-details .pos-order-goods {
margin-top: 17upx;
}
+
.pos-order-details .footer .more {
font-size: 27upx;
color: #aaa;
@@ -408,11 +434,13 @@
margin-right: 25upx;
position: relative;
}
+
.pos-order-details .footer .delivery {
background: linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
background: -webkit-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
background: -moz-linear-gradient(to right, #2291f8 0%, #1cd1dc 100%);
}
+
.pos-order-details .footer .more .order .arrow {
width: 0;
height: 0;
@@ -423,6 +451,7 @@
left: 15upx;
bottom: -18upx;
}
+
.pos-order-details .footer .more .order .arrow:before {
content: '';
width: 0;
@@ -434,6 +463,7 @@
left: -10upx;
bottom: 0;
}
+
.pos-order-details .footer .more .order {
width: 200upx;
background-color: #fff;
@@ -443,68 +473,84 @@
top: -200upx;
z-index: 9;
}
+
.pos-order-details .footer .more .order .item {
height: 77upx;
line-height: 77upx;
}
+
.pos-order-details .footer .more .order .item~.item {
border-top: 1px solid #f5f5f5;
}
+
.pos-order-details .footer .more .moreName {
width: 100%;
height: 100%;
}
+
.order-details .header {
padding: 0 30upx;
height: 150upx;
}
+
.order-details .header.on {
background-color: #666 !important;
}
+
.order-details .header .pictrue {
width: 110upx;
height: 110upx;
}
+
.order-details .header .pictrue image {
width: 100%;
height: 100%;
}
+
.order-details .header .data {
color: rgba(255, 255, 255, 0.8);
font-size: 24upx;
margin-left: 27upx;
}
+
.order-details .header.on .data {
margin-left: 0;
}
+
.order-details .header .data .state {
font-size: 30upx;
font-weight: bold;
color: #fff;
margin-bottom: 7upx;
}
+
.order-details .nav {
background-color: #fff;
font-size: 26upx;
color: #282828;
padding: 25upx 0;
}
+
.order-details .nav .navCon {
padding: 0 40upx;
}
+
.order-details .nav .navCon .on {
font-weight: bold;
color: #e93323;
}
+
.order-details .nav .progress {
padding: 0 65upx;
margin-top: 10upx;
}
+
.order-details .nav .progress .line {
width: 100upx;
height: 2upx;
background-color: #939390;
}
+
.order-details .nav .progress .iconfont {
font-size: 25upx;
color: #939390;
@@ -515,6 +561,7 @@
text-align: center;
margin-right: 0 !important;
}
+
.order-details .address {
font-size: 26upx;
color: #868686;
@@ -522,52 +569,64 @@
padding: 25upx 30upx 30upx 30upx;
position: relative;
}
+
.order-details .address .name {
font-size: 30upx;
color: #282828;
margin-bottom: 0.1rem;
}
+
.order-details .address .name .phone {
margin-left: 40upx;
}
+
.order-details .line {
width: 100%;
height: 3upx;
}
+
.order-details .line image {
width: 100%;
height: 100%;
display: block;
}
+
.order-details .wrapper {
background-color: #fff;
margin-top: 12upx;
padding: 30upx;
}
+
.order-details .wrapper .item {
font-size: 28upx;
color: #282828;
}
+
.order-details .wrapper .item~.item {
margin-top: 20upx;
}
+
.order-details .wrapper .item .conter {
color: #868686;
text-align: right;
}
+
.order-details .wrapper .item .virtual_image {
// text-align: left;
margin-left: 50rpx;
}
- .order-details .wrapper .item .virtual_image .picture{
+
+ .order-details .wrapper .item .virtual_image .picture {
width: 106rpx;
height: 106rpx;
border-radius: 8rpx;
margin-right: 10rpx;
- &:last-child{
+
+ &:last-child {
margin-right: 0;
}
}
+
.order-details .wrapper .item .conter .copy {
font-size: 20rpx;
color: #868686;
@@ -581,7 +640,8 @@
justify-content: center;
border-radius: 16rpx;
}
- .address .copy{
+
+ .address .copy {
font-size: 20rpx;
color: #868686;
border-radius: 3rpx;
@@ -594,17 +654,20 @@
border-radius: 16rpx;
position: absolute;
right: 30rpx;
- top: 20rpx;
+ top: 20rpx;
}
+
.order-details .wrapper .actualPay {
border-top: 1upx solid #eee;
margin-top: 30upx;
padding-top: 30upx;
}
+
.order-details .wrapper .actualPay .money {
font-weight: bold;
font-size: 30upx;
}
+
.order-details .footer {
width: 100%;
height: 100upx;
@@ -615,6 +678,7 @@
padding: 0 30upx;
border-top: 1px solid #eee;
}
+
.order-details .footer .bnt {
width: auto;
height: 60upx;
@@ -626,52 +690,65 @@
font-size: 27upx;
padding: 0 3%;
}
+
.order-details .footer .bnt.cancel {
color: #aaa;
border: 1px solid #ddd;
}
+
.order-details .footer .bnt.default {
color: #444;
border: 1px solid #444;
}
+
.order-details .footer .bnt~.bnt {
margin-left: 18upx;
}
+
.pos-order-goods {
padding: 0 30upx;
background-color: #fff;
}
+
.pos-order-goods .goods {
height: 185upx;
position: relative;
}
+
.pos-order-goods .goods~.goods {
border-top: 1px dashed #e5e5e5;
}
+
.pos-order-goods .goods .picTxt {
width: 515upx;
}
+
.pos-order-goods .goods .picTxt .pictrue {
width: 130upx;
height: 130upx;
}
+
.pos-order-goods .goods .picTxt .pictrue image {
width: 100%;
height: 100%;
border-radius: 6upx;
}
+
.pos-order-goods .goods .picTxt .text {
width: 365upx;
height: 130upx;
}
+
.pos-order-goods .goods .picTxt .text .info {
font-size: 28upx;
color: #282828;
}
+
.pos-order-goods .goods .picTxt .text .attr {
font-size: 24upx;
color: #999;
}
+
.pos-order-goods .goods .money {
width: 164upx;
text-align: right;
@@ -681,48 +758,117 @@
right: 0;
color: #999999;
}
- .pos-order-goods .goods .money .refund_num{
+
+ .pos-order-goods .goods .money .refund_num {
display: inline-block;
margin-left: 10rpx;
}
+
.pos-order-goods .goods .x-money {
color: #FF9600;
}
-.priceChange{position:fixed;width:580upx;background-color:#fff;border-radius:10upx;top:50%;left:50%;margin-left:-290upx;margin-top:-335upx;z-index:666;transition:all 0.3s ease-in-out 0s;transform: scale(0);opacity:0;}
-.priceChange.on{opacity:1;transform: scale(1);}
-.priceChange .priceTitle{background:url("~@/static/images/pricetitle.jpg") no-repeat;background-size:100% 100%;width:100%;height:160upx;border-radius:10upx 10upx 0 0;text-align:center;font-size:40upx;color:#fff;line-height:160upx;position:relative;}
-.priceChange .priceTitle .iconfont{position:absolute;font-size:40upx;right:26upx;top:23upx;width:40upx;height:40upx;line-height:40upx;}
-.priceChange .listChange{padding:0 40upx;}
-.priceChange .listChange textarea{box-sizing: border-box;}
-.priceChange .listChange .item{height:103upx;border-bottom:1px solid #e3e3e3;font-size:32upx;color:#333;}
-.priceChange .modify{font-size:32upx;color:#fff;width:490upx;height:90upx;text-align:center;line-height:90upx;border-radius:45upx;background-color:#2291f8;margin:53upx auto;}
-.priceChange .listChange textarea {
- border: 1px solid #eee;
- width: 100%;
- height: 200upx;
- margin-top: 50upx;
- border-radius: 10upx;
- color: #333;
- padding: 20upx;
-}
-.upload-img{
- display: flex;
- flex-wrap: wrap;
- margin-top: 20rpx;
- .img-item{
+
+ .priceChange {
+ position: fixed;
+ width: 580upx;
+ background-color: #fff;
+ border-radius: 10upx;
+ top: 50%;
+ left: 50%;
+ margin-left: -290upx;
+ margin-top: -335upx;
+ z-index: 666;
+ transition: all 0.3s ease-in-out 0s;
+ transform: scale(0);
+ opacity: 0;
+ }
+
+ .priceChange.on {
+ opacity: 1;
+ transform: scale(1);
+ }
+
+ .priceChange .priceTitle {
+ background: url("~@/static/images/pricetitle.jpg") no-repeat;
+ background-size: 100% 100%;
+ width: 100%;
+ height: 160upx;
+ border-radius: 10upx 10upx 0 0;
+ text-align: center;
+ font-size: 40upx;
+ color: #fff;
+ line-height: 160upx;
position: relative;
- width: 156rpx;
- height: 156rpx;
- margin-right: 23rpx;
+ }
+
+ .priceChange .priceTitle .iconfont {
+ position: absolute;
+ font-size: 40upx;
+ right: 26upx;
+ top: 23upx;
+ width: 40upx;
+ height: 40upx;
+ line-height: 40upx;
+ }
+
+ .priceChange .listChange {
+ padding: 0 40upx;
+ }
+
+ .priceChange .listChange textarea {
+ box-sizing: border-box;
+ }
+
+ .priceChange .listChange .item {
+ height: 103upx;
+ border-bottom: 1px solid #e3e3e3;
+ font-size: 32upx;
+ color: #333;
+ }
+
+ .priceChange .modify {
+ font-size: 32upx;
+ color: #fff;
+ width: 490upx;
+ height: 90upx;
+ text-align: center;
+ line-height: 90upx;
+ border-radius: 45upx;
+ background-color: #2291f8;
+ margin: 53upx auto;
+ }
+
+ .priceChange .listChange textarea {
+ border: 1px solid #eee;
+ width: 100%;
+ height: 200upx;
+ margin-top: 50upx;
+ border-radius: 10upx;
+ color: #333;
+ padding: 20upx;
+ }
+
+ .upload-img {
+ display: flex;
+ flex-wrap: wrap;
margin-top: 20rpx;
- &:nth-child(4n){
- margin-right: 0;
- }
- image{
+
+ .img-item {
+ position: relative;
width: 156rpx;
height: 156rpx;
- border-radius: 8rpx;
+ margin-right: 23rpx;
+ margin-top: 20rpx;
+
+ &:nth-child(4n) {
+ margin-right: 0;
+ }
+
+ image {
+ width: 156rpx;
+ height: 156rpx;
+ border-radius: 8rpx;
+ }
}
}
-}
-
+
\ No newline at end of file
diff --git a/pages/chat/customer_list/index.vue b/pages/chat/customer_list/index.vue
index 29694e5..e4374db 100644
--- a/pages/chat/customer_list/index.vue
+++ b/pages/chat/customer_list/index.vue
@@ -106,6 +106,7 @@
this.isAuto = true;
this.isShowAuth = true
}
+ this.getindex()
},
onHide() {
if (this.timer) {
@@ -145,6 +146,8 @@
this.isAuto = true;
this.isShowAuth = true
}
+ // this.getList(this.mer_id)
+ // this.getList(res.data.service.mer_id, true);
});
},
onLoadFun() {
diff --git a/pages/commissionedSales/addDelegation/index.vue b/pages/commissionedSales/addDelegation/index.vue
index f1fd411..50d088b 100644
--- a/pages/commissionedSales/addDelegation/index.vue
+++ b/pages/commissionedSales/addDelegation/index.vue
@@ -9,8 +9,8 @@
被委托商家
-
+
@@ -170,16 +170,16 @@
},
//获取商品信息
getProduct(data) {
- this.productList = [];
- this.formData.product_info = [];
- this.formData.content = '';
- if (data.length > 0) {
- this.productList = data;
+ this.productList = [];
+ this.formData.product_info = [];
+ this.formData.content = '';
+ if (data.length > 0) {
+ this.productList = data;
for (let i in data) {
this.formData.content += data[i].store_name + ',';
- if(typeof this.productList[i].image == 'object'){
- this.productList[i].image = this.productList[i].image[0]
- }
+ if (typeof this.productList[i].image == 'object') {
+ this.productList[i].image = this.productList[i].image[0]
+ }
this.formData.product_info.push({
product_attr_unique: data[i].product_attr_unique,
number: Number(data[i].number),
@@ -187,7 +187,7 @@
})
}
}
- this.formData.content = this.formData.content.slice(0,-1);
+ this.formData.content = this.formData.content.slice(0, -1);
this.$refs.associated.close()
},
//提交
@@ -199,79 +199,79 @@
if (value.entrust_day.length == 0 || value.entrust_day <= 0) return that.$util.Tips({
title: '请选择委托周期'
});
- if (value.entrust_day < 15) return that.$util.Tips({
- title: '委托周期不得小于15天'
- });
- if (value.entrust_day > 90) return that.$util.Tips({
- title: '委托周期不得大于90天'
- });
+ if (value.entrust_day < 15) return that.$util.Tips({
+ title: '委托周期不得小于15天'
+ });
+ if (value.entrust_day > 90) return that.$util.Tips({
+ title: '委托周期不得大于90天'
+ });
if (value.product_info.length == 0) return that.$util.Tips({
title: '请选择产品'
});
if (!value.entrust_mer_id) return that.$util.Tips({
title: '请添加商家'
});
- this.type?
- editentrust(this.id,value).then(res => {
- if (res.status == '200') {
- uni.hideLoading()
- that.$util.Tips({
- title: '编辑成功',
- icon: 'success'
- });
- that.formData = {
- entrust_mer_id: '',
- entrust_day: 0,
- is_type: "4",
- product_info: []
- }
- uni.redirectTo({
- url: '/pages/commissionedSales/initiateDelegation/index'
- })
-
- } else {
- that.$util.Tips({
- title: res.messge,
- icon: 'success'
- });
- }
- }).catch(err => {
-
- return that.$util.Tips({
- title: err
- });
- })
-
- :
- entrustchain(value).then(res => {
- if (res.status == '200') {
- uni.hideLoading()
- that.$util.Tips({
- title: '提交成功',
- icon: 'success'
- });
- that.formData = {
- entrust_mer_id: '',
- entrust_day: 0,
- is_type: "4",
- product_info: []
- }
- uni.redirectTo({
- url: '/pages/commissionedSales/initiateDelegation/index'
- })
+ this.type ?
+ editentrust(this.id, value).then(res => {
+ if (res.status == '200') {
+ uni.hideLoading()
+ that.$util.Tips({
+ title: '编辑成功',
+ icon: 'success'
+ });
+ that.formData = {
+ entrust_mer_id: '',
+ entrust_day: 0,
+ is_type: "4",
+ product_info: []
+ }
+ uni.redirectTo({
+ url: '/pages/commissionedSales/initiateDelegation/index'
+ })
- } else {
- that.$util.Tips({
- title: res.messge,
- icon: 'success'
- });
- }
- }).catch(err => {
+ } else {
+ that.$util.Tips({
+ title: res.messge,
+ icon: 'success'
+ });
+ }
+ }).catch(err => {
- return that.$util.Tips({
- title: err
- });
- })
+ return that.$util.Tips({
+ title: err
+ });
+ })
+
+ :
+ entrustchain(value).then(res => {
+ if (res.status == '200') {
+ uni.hideLoading()
+ that.$util.Tips({
+ title: '提交成功',
+ icon: 'success'
+ });
+ that.formData = {
+ entrust_mer_id: '',
+ entrust_day: 0,
+ is_type: "4",
+ product_info: []
+ }
+ uni.redirectTo({
+ url: '/pages/commissionedSales/initiateDelegation/index'
+ })
+
+ } else {
+ that.$util.Tips({
+ title: res.messge,
+ icon: 'success'
+ });
+ }
+ }).catch(err => {
+
+ return that.$util.Tips({
+ title: err
+ });
+ })
}
}
@@ -316,7 +316,6 @@
.center-one-txt {
.one-txta {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -325,7 +324,6 @@
display: flex;
margin-top: 28rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
@@ -351,7 +349,6 @@
margin-top: 32rpx;
margin-bottom: 20rpx;
font-size: 32rpx;
- font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
}
@@ -525,7 +522,6 @@
background: linear-gradient(84deg, #F98649 0%, #F34E45 100%);
border-radius: 42px 42px 42px 42px;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
}
diff --git a/pages/commissionedSales/delegation_details/index.vue b/pages/commissionedSales/delegation_details/index.vue
index f4260ed..161808f 100644
--- a/pages/commissionedSales/delegation_details/index.vue
+++ b/pages/commissionedSales/delegation_details/index.vue
@@ -101,7 +101,8 @@
拒绝原因:
-
+
{{objinfo.entrust_finish_refusal}}
@@ -111,7 +112,7 @@
查看TA提到的宝贝
- ({{objinfo.product_list.length||0}})
+ ({{objinfo.product_list.length||0}})
@@ -154,13 +155,13 @@
}
],
type: 0,
- credit_buy: 0,
+ credit_buy: 0,
}
},
onLoad(e) {
this.list(e.id)
this.type = e.type
- this.credit_buy = e.credit_buy || 0;
+ this.credit_buy = e.credit_buy || 0;
},
onShow() {
@@ -233,7 +234,6 @@
.top-two-one {
font-size: 35rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
margin-top: 10rpx;
@@ -280,7 +280,6 @@
.center-one-txt {
.one-txta {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -289,7 +288,6 @@
display: flex;
margin-top: 28rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
@@ -316,7 +314,6 @@
.center-twoa {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #333333;
}
@@ -327,7 +324,6 @@
word-wrap: break-word;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
}
@@ -377,7 +373,6 @@
background: linear-gradient(84deg, #F98649 0%, #F34E45 100%);
border-radius: 42px 42px 42px 42px;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
position: absolute;
diff --git a/pages/commissionedSales/index/index.vue b/pages/commissionedSales/index/index.vue
index 1cd1dbf..e9adacf 100644
--- a/pages/commissionedSales/index/index.vue
+++ b/pages/commissionedSales/index/index.vue
@@ -147,7 +147,6 @@
.titlea {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
}
@@ -155,7 +154,6 @@
.titleb {
margin-top: 5rpx;
font-size: 25rpx;
- font-family: PingFang SC;
font-weight: 400;
color: rgba(255, 255, 255, 0.8);
}
diff --git a/pages/commissionedSales/initiateDelegation/index.vue b/pages/commissionedSales/initiateDelegation/index.vue
index 8613885..5a7d604 100644
--- a/pages/commissionedSales/initiateDelegation/index.vue
+++ b/pages/commissionedSales/initiateDelegation/index.vue
@@ -11,92 +11,92 @@
-
+
-
- {{item.title}}
-
-
-
-
- 待处理
-
-
-
-
- 已接受
-
-
-
-
- 已拒绝
-
-
-
-
- 已完成
-
-
-
-
-
-
-
- 委托周期:{{item.entrust_day}}天
-
-
-
-
-
- 编辑
-
-
-
- 删除
-
-
-
- 详情
-
-
-
-
-
-
- 结束委托
-
-
-
- 详情
-
-
-
-
-
-
-
- 详情
-
-
-
-
-
-
- 删除
-
-
-
- 详情
-
-
-
-
-
+
+ 详情
+
+
+
+
+
+
+ 删除
+
+
+
+ 详情
+
+
+
+
+
@@ -112,7 +112,7 @@
-
+
@@ -418,7 +418,7 @@
// this.$refs.bindmobile2.open()
this.$refs.bindmobile3.open()
},
- agree(item, status=2) {
+ agree(item, status = 2) {
finishentrust(item.community_id, {
status: status,
refusal: this.refuseds
@@ -437,31 +437,31 @@
},
//删除订单
deleteOrder(item) {
- uni.showModal({
- title:'警告',
- content:'删除后不可恢复, 是否继续删除?',
- complete: (e) => {
- if(e.confirm){
- checkchain(item.community_id, {
- status: 3
- }).then(res => {
- this.$util.Tips({
- title: res.message,
- icon: 'success'
- })
- this.orderList = []
- this.tabTitle = "tabOne"
- this.commislist()
- }).catch((err) => {
- console.log(err)
- this.$util.Tips({
- title: err,
- icon: 'error'
- })
- })
- }
- }
- })
+ uni.showModal({
+ title: '警告',
+ content: '删除后不可恢复, 是否继续删除?',
+ complete: (e) => {
+ if (e.confirm) {
+ checkchain(item.community_id, {
+ status: 3
+ }).then(res => {
+ this.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ })
+ this.orderList = []
+ this.tabTitle = "tabOne"
+ this.commislist()
+ }).catch((err) => {
+ console.log(err)
+ this.$util.Tips({
+ title: err,
+ icon: 'error'
+ })
+ })
+ }
+ }
+ })
},
// 审核未通过 编辑
auditEdit() {
@@ -542,7 +542,6 @@
.adddelegation-two {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
margin-top: 25rpx;
@@ -569,7 +568,7 @@
.content-one {
- width: 100%;
+ width: 100%;
display: flex;
padding-bottom: 23rpx;
@@ -579,8 +578,8 @@
height: 148rpx;
margin-right: 28rpx;
// border: 1px solid;
- border-radius: 10rpx;
- overflow: hidden;
+ border-radius: 10rpx;
+ overflow: hidden;
image {
width: 100%;
@@ -593,7 +592,6 @@
.txt-b-a {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -612,33 +610,35 @@
.txt-b-b {
font-size: 28rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #333333
}
}
}
-
- .content-text{
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .text-bottom{
- display: flex;
- justify-content: space-between;
- }
- .one-txt-a{
- flex: 1;
- font-size: 30rpx;
- display: -webkit-box;
- -webkit-line-clamp: 2; /* 限制为三行 */
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
+
+ .content-text {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+
+ .text-bottom {
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .one-txt-a {
+ flex: 1;
+ font-size: 30rpx;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ /* 限制为三行 */
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
}
@@ -686,7 +686,6 @@
.contentgn_a {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #F84221;
margin-right: 10rpx;
@@ -704,7 +703,6 @@
.contentgn_b {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 10rpx;
@@ -716,7 +714,7 @@
.content-two_one {
- flex-shrink: 0;
+ flex-shrink: 0;
text-align: right;
@@ -760,7 +758,6 @@
.contentgn_a {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #F84221;
margin-right: 10rpx;
@@ -777,7 +774,6 @@
.contentgn_b {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 10rpx;
@@ -819,7 +815,6 @@
.bg-content-a {
margin-left: 242rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -827,14 +822,12 @@
.bg-content-b {
margin-left: 35rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
margin-top: 32rpx;
span {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #F84221;
margin-left: 18rpx;
@@ -844,14 +837,12 @@
.bg-content-c {
margin-left: 35rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
margin-top: 32rpx;
span {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #F84221;
margin-left: 18rpx;
@@ -867,7 +858,6 @@
height: 95rpx;
line-height: 95rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 121rpx;
@@ -880,7 +870,6 @@
line-height: 95rpx;
text-align: center;
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
@@ -904,7 +893,6 @@
.bg-content-a {
margin-left: 242rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -917,7 +905,6 @@
height: 95rpx;
line-height: 95rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 121rpx;
@@ -930,7 +917,6 @@
line-height: 95rpx;
text-align: center;
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
@@ -957,7 +943,6 @@
.bg-content-a {
margin-left: 242rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -965,14 +950,12 @@
.bg-content-b {
margin-left: 35rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
margin-top: 32rpx;
span {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #F84221;
margin-left: 18rpx;
@@ -982,14 +965,12 @@
.bg-content-c {
margin-left: 35rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
margin-top: 22rpx;
span {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #F84221;
margin-left: 18rpx;
@@ -1017,7 +998,6 @@
line-height: 95rpx;
text-align: center;
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
diff --git a/pages/commissionedSales/receivedCommission/index.vue b/pages/commissionedSales/receivedCommission/index.vue
index 5d9976b..ceff427 100644
--- a/pages/commissionedSales/receivedCommission/index.vue
+++ b/pages/commissionedSales/receivedCommission/index.vue
@@ -13,94 +13,98 @@
-
- {{item.title}}
-
-
-
-
- 待处理
-
-
-
-
- 已接受
-
-
-
-
- 已拒绝
-
-
-
-
- 已完成
-
-
-
-
-
-
-
- 委托周期:{{item.entrust_day}}天
-
-
-
-
-
- 处理
-
-
-
- 详情
-
-
-
-
-
-
-
- 申请结束
-
-
- 已结束
-
-
- 被拒绝
-
-
- 申请中
-
-
-
-
- 去下单
-
-
-
-
- 详情
-
-
-
-
-
-
- 详情
-
-
-
-
-
-
-
- 详情
-
-
-
-
-
+
+ {{item.title}}
+
+
+
+
+ 待处理
+
+
+
+
+ 已接受
+
+
+
+
+ 已拒绝
+
+
+
+
+ 已完成
+
+
+
+
+
+
+
+ 委托周期:{{item.entrust_day}}天
+
+
+
+
+
+ 处理
+
+
+
+ 详情
+
+
+
+
+
+
+
+ 申请结束
+
+
+ 已结束
+
+
+ 被拒绝
+
+
+ 申请中
+
+
+
+
+ 去下单
+
+
+
+
+ 详情
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
@@ -120,23 +124,23 @@
委托申请处理
-
- 委托方: {{obj.mer_info.mer_name}}
-
+
+ 委托方: {{obj.mer_info.mer_name}}
+
-
- 结算周期: {{obj.mer_info.settle_cycle}}天
-
-
- 利息比例: {{obj.mer_info.interest_rate}}%
-
-
-
-
- 该商户暂不支持先货后款
-
-
-
+
+ 结算周期: {{obj.mer_info.settle_cycle}}天
+
+
+ 利息比例: {{obj.mer_info.interest_rate}}%
+
+
+
+
+ 该商户暂不支持先货后款
+
+
+
拒绝
@@ -249,7 +253,7 @@
entrustlist,
finishchain,
checkchain,
- addEntrustCart
+ addEntrustCart
} from '@/api/sale.js'
export default {
components: {
@@ -264,7 +268,7 @@
activeItem: "tabOne",
tabTitle: "",
orderList: [],
- type_id: '',
+ type_id: '',
where: {
page: 1,
type: 2,
@@ -316,7 +320,7 @@
}
},
onLoad(options) {
- this.type_id = options.type_id
+ this.type_id = options.type_id
this.tabTitle = this.tabs[0].name
//有时进入页面需要获取默认的第一个标签做逻辑判断 -- 如下:
console.log(this.tabs[0])
@@ -390,20 +394,20 @@
// uni.navigateTo({
// url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id + '&type=1'
// })
- addEntrustCart({
- community_id: item.community_id
- }).then(res => {
- if (res.status == 200) {
- this.$util.Tips({
- title: res.message,
- icon: 'success'
- })
- uni.navigateTo({
- url: `/pages/users/order_confirm/index?cartId=${res.data.cart_id.toString()}&type_id=${this.type_id}`
- })
- }
-
- })
+ addEntrustCart({
+ community_id: item.community_id
+ }).then(res => {
+ if (res.status == 200) {
+ this.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ })
+ uni.navigateTo({
+ url: `/pages/users/order_confirm/index?cartId=${res.data.cart_id.toString()}&type_id=${this.type_id}`
+ })
+ }
+
+ })
},
//申请结束委托申请
deteragrss(item) {
@@ -421,7 +425,7 @@
this.commislist()
this.$refs.bindmobile1.close()
}).catch((err) => {
- this.$refs.bindmobile1.close()
+ this.$refs.bindmobile1.close()
this.$util.Tips({
title: err,
icon: 'error'
@@ -507,7 +511,7 @@
.content-one {
- width: 100%;
+ width: 100%;
display: flex;
padding-bottom: 23rpx;
@@ -516,9 +520,9 @@
height: 148rpx;
margin-right: 28rpx;
// border: 1px solid;
- border-radius: 10rpx;
- overflow: hidden;
- flex-shrink: 0;
+ border-radius: 10rpx;
+ overflow: hidden;
+ flex-shrink: 0;
image {
width: 100%;
@@ -527,11 +531,10 @@
}
.content-one-txt {
- flex: 1;
+ flex: 1;
.txt-b-a {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -550,39 +553,41 @@
.txt-b-b {
font-size: 28rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #333333
}
}
}
-
- .content-text{
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .text-bottom{
- display: flex;
- justify-content: space-between;
- }
- .one-txt-a{
- flex: 1;
- font-size: 30rpx;
- display: -webkit-box;
- -webkit-line-clamp: 2; /* 限制为三行 */
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
+
+ .content-text {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+
+ .text-bottom {
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .one-txt-a {
+ flex: 1;
+ font-size: 30rpx;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ /* 限制为三行 */
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
}
.content-two_oneq {
text-align: right;
- flex-shrink: 0;
+ flex-shrink: 0;
.content-two-edita {
@@ -624,7 +629,6 @@
.contentgn_a {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #F84221;
margin-right: 10rpx;
@@ -642,7 +646,6 @@
.contentgn_b {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 10rpx;
@@ -654,7 +657,7 @@
.content-two_one {
- flex-shrink: 0;
+ flex-shrink: 0;
text-align: right;
@@ -698,7 +701,6 @@
.contentgn_a {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #F84221;
margin-right: 10rpx;
@@ -716,7 +718,6 @@
.contentgn_b {
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 10rpx;
@@ -757,7 +758,6 @@
.bg-content-a {
margin-left: 242rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
@@ -765,14 +765,12 @@
.bg-content-b {
margin-left: 35rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
margin-top: 16rpx;
span {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #F84221;
margin-left: 18rpx;
@@ -782,35 +780,32 @@
.bg-content-c {
margin-left: 35rpx;
font-size: 35rpx;
- font-family: PingFang SC;
font-weight: 500;
color: #333333;
margin-top: 16rpx;
span {
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #F84221;
margin-left: 18rpx;
}
}
- .bg-content-d {
- margin-left: 35rpx;
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- margin-top: 16rpx;
-
- span {
- font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 500;
- color: #F84221;
- margin-left: 18rpx;
- }
- }
+
+ .bg-content-d {
+ margin-left: 35rpx;
+ font-size: 32rpx;
+ font-weight: 500;
+ color: #333333;
+ margin-top: 16rpx;
+
+ span {
+ font-size: 32rpx;
+ font-weight: 500;
+ color: #F84221;
+ margin-left: 18rpx;
+ }
+ }
}
.entrust_bga_btn {
@@ -821,7 +816,6 @@
height: 95rpx;
line-height: 95rpx;
font-size: 32rpx;
- font-family: PingFang SC;
font-weight: 400;
color: #999999;
margin-left: 121rpx;
@@ -834,7 +828,6 @@
line-height: 95rpx;
text-align: center;
font-size: 32rpx;
- font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 41ef021..5a860fc 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -78,10 +78,11 @@
常用工具
-
+
{{item.name}}
@@ -91,27 +92,28 @@
v-else-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='PersonalStore'">
+
{{item.name}}
-
-
+ -->
+
-
+
{{item.name}}
-
+
@@ -417,8 +419,10 @@
merstreet,
getUserInfo,
getAdminApplyAPI,
- progressBankList
+ progressBankList,
+ isNewMer
} from '@/api/user.js';
+
import {
business,
intention,
@@ -446,6 +450,8 @@
},
data() {
return {
+ subNVue: '',
+ elInfo: {},
isAuto: false, //没有授权的不会自动授权
isShowAuth: false, //是否隐藏授权
loadEndFlag: false,
@@ -510,11 +516,11 @@
type: 1,
image: require('@/static/images/index7.png')
},
- {
- name: '入库管理',
- type: 13,
- image: require('@/static/images/index9.png')
- },
+ // {
+ // name: '入库管理',
+ // type: 13,
+ // image: require('@/static/images/index9.png')
+ // },
// {
// name: '供货采购',
// type: 3,
@@ -611,11 +617,11 @@
type: 1,
image: require('@/static/images/index7.png')
},
- {
- name: '入库管理',
- type: 13,
- image: require('@/static/images/index9.png')
- },
+ // {
+ // name: '入库管理',
+ // type: 13,
+ // image: require('@/static/images/index9.png')
+ // },
{
name: '订单管理',
type: 2,
@@ -691,11 +697,11 @@
type: 1,
image: require('@/static/images/index7.png')
},
- {
- name: '入库管理',
- type: 13,
- image: require('@/static/images/index9.png')
- },
+ // {
+ // name: '入库管理',
+ // type: 13,
+ // image: require('@/static/images/index9.png')
+ // },
{
name: '订单管理',
type: 2,
@@ -838,6 +844,7 @@
},
async onLoad() {
+ this.subNVue = uni.getSubNVueById('concat')
this.Fheight = uni.getSystemInfoSync().windowHeight + 'px';
await this.$onLaunched;
this.list1();
@@ -846,6 +853,13 @@
this.$u.sleep(5000).then(() => {
this.loadEndFlag = true;
});
+ uni.$on('diverIndexSubEmit', () => {
+ this.subNVue.hide()
+ uni.navigateTo({
+ url: '/pages/product/list/index'
+ })
+
+ })
},
onReachBottom() {
@@ -856,11 +870,36 @@
}, 10)
}
},
+ onReady() {
+ // if (Boolean(this.$store.state.app.userInfo.service?.mer_id)) {
+ // isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then(res => {
+ // if (res.data == 'true') {
+ // let that = this
+ // const query = uni.createSelectorQuery().in(this);
+ // query
+ // .select(".tools-two-img")
+ // .boundingClientRect((data) => {
+ // let info = JSON.stringify(data)
+ // that.elInfo = data
+ // // #ifdef APP-PLUS
+ // that.openDiver()
+ // // #endif
+ // })
+ // .exec();
+ // }
+ // })
+ // }
+
+
+ },
onShow() {
if (this.loadEndFlag) {
this.codelist();
this.getUserInfo();
+ } else {
+ this.isNewUser()
+ console.log('1111111111')
}
// this.getGoods(true);
},
@@ -871,6 +910,56 @@
},
methods: {
+ isNewUser(data) {
+ let user;
+ if (data) {
+ user = data
+ } else {
+ user = this.$store.state.app.userInfo
+ }
+ setTimeout(() => {
+ if (Boolean(user.service?.mer_id)) {
+ isNewMer(user.uid, user.service
+ ?.mer_id).then(
+ res => {
+ if (res.data == 'true' && this.elInfo) {
+ let that = this
+ setTimeout(() => {
+ const query = uni.createSelectorQuery().in(this);
+ query
+ .select(".tools-two-img")
+ .boundingClientRect((data) => {
+ let info = JSON.stringify(data)
+ that.elInfo = data
+ // #ifdef APP-PLUS
+ that.openDiver()
+ // #endif
+ })
+ .exec();
+ }, 500)
+ }
+ })
+ }
+ }, 500)
+ },
+ test1() {
+ isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then(res => {
+ console.log(res, 'res')
+ })
+
+ },
+
+ test2() {
+ isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id, {
+ done: 1
+ }).then(res => {
+ console.log(res, 'res')
+ })
+ },
+ openDiver() {
+ this.subNVue.show('zoom-out', 300)
+ uni.$emit('diverIndexEmit', this.elInfo);
+ },
// 提现页面
handleToWithDraw(item, index) {
if (index == 4) return;
@@ -1295,6 +1384,7 @@
this.userid = res.data.uid
this.userInfoData = res.data;
this.$store.commit('SET_USERINFO', res.data);
+ this.isNewUser(res.data)
this.merchantData.phone = res.data.phone;
if (res.data.mer_info.is_company == 0) !this.merchantData.company_name ? this.merchantData
.company_name = "" : null;
diff --git a/pages/index/subnvue/concat.nvue b/pages/index/subnvue/concat.nvue
new file mode 100644
index 0000000..c25eca3
--- /dev/null
+++ b/pages/index/subnvue/concat.nvue
@@ -0,0 +1,247 @@
+
+
+
+ 跳过
+
+
+
+
+
+
+
+
+
+ 点击商品管理,发布商品
+
+
+
+
+
+
+ 下一步(3/4)
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue
index 8e62c49..c4b9e34 100644
--- a/pages/nongKe/gather/select_warehouse.vue
+++ b/pages/nongKe/gather/select_warehouse.vue
@@ -1,14 +1,14 @@
-
+
+ {{item.type}}
-
+ -->
@@ -171,11 +171,11 @@
-
+
- 取消
+ 取消
搜索
@@ -194,6 +194,7 @@
import {
productCreate
} from '@/api/product.js'
+
import {
microSeachBarCode,
microEadtProduct,
@@ -217,19 +218,16 @@
goodsData: [{
name: '搜索名称入库',
type: 1,
- // src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/mingcheng.png'
src: '/static/images/SMRK/name.png'
},
{
name: '标品扫码入库',
type: 2,
- // src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/saoma.png'
src: '/static/images/SMRK/bar.png'
},
{
name: '非标手动入库',
type: 3,
- // src: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/saoma.png'
src: '/static/images/SMRK/img.png'
}
],
@@ -295,6 +293,15 @@
this.mer_id = e.mer_id
this.userInfo = this.$store.state.app.userInfo;
if (typeof this.userInfo == 'string') this.userInfo = JSON.parse(this.userInfo);
+ if (e.type) {
+ uni.showLoading({
+ title: '正在加载中'
+ });
+ setTimeout(() => {
+ uni.hideLoading();
+ this.navigato(e.type)
+ }, 700)
+ }
// if(this.userInfo.mer_info.type_code=='PersonalStore'){
// this.goodsData = [{
// name: '农产品入库',
@@ -305,11 +312,21 @@
// }
},
onShow() {
-
+ console.log('show')
},
methods: {
+ handCancel() {
+ uni.redirectTo({
+ url: '/pages/product/list/index'
+ })
+ },
addGoods(item = {}) {
- item = JSON.parse(JSON.stringify(item));
+ item = (JSON.stringify(item));
+ console.log(item)
+ uni.navigateTo({
+ url: `/pages/product/addGoodDetail/addGoodDetail?mer_id=${this.mer_id}&&goodsInfo=${item}`
+ })
+ return
// if(this.isNullImage(item.image)||
// ( this.isNullImage(item.slider_image[0]) && this.isNullImage(item.slider_image[1]) && this.isNullImage(item.slider_image[2]) )){
// return Toast('请先上传商品图片后再加入店铺');
@@ -624,13 +641,13 @@
}
},
navigato(type) {
- if (type === 1) {
+ if (type == 1) {
this.searchGoodsName = '';
this.searchGoodsShow = true;
this.pageType = 1;
} else if (type == 2) {
this.scanCode();
- this.pageType = 1;
+ // this.pageType = 1;
} else {
// this.photograph();
// this.pageType = 2;
@@ -646,8 +663,21 @@
self.seachBarCode(res.result)
},
fail(res) {
- // console.log(res);
+ uni.redirectTo({
+ url: '/pages/product/list/index'
+ })
+ // uni.showLoading({
+ // title: '加载中',
+ // mask: true
+ // })
+ // uni.navigateBack()
},
+ // complete() {
+ // uni.showLoading({
+ // title: '加载中',
+ // mask: true
+ // })
+ // }
})
},
isStartsWith6Or06(str) {
@@ -655,6 +685,7 @@
return regex.test(str);
},
async seachBarCode(code) {
+ console.log("laizheer;e1")
if (code.length < 12) {
return Toast('条形码长度不正确, 请重试!')
}
@@ -763,6 +794,15 @@
onPullDownRefresh() {
uni.stopPullDownRefresh()
},
+ onBackPress: function(e) {
+ uni.redirectTo({
+ url: '/pages/product/list/index'
+ })
+ // uni.navigateBack()
+ // return false
+ // this.showlay = true
+ // return this.go;
+ }
}
diff --git a/pages/product/addGood/addGood.vue b/pages/product/addGood/addGood.vue
index f2a978d..1ac401d 100644
--- a/pages/product/addGood/addGood.vue
+++ b/pages/product/addGood/addGood.vue
@@ -1,762 +1,703 @@
-
-
-
-
- 商品条码
-
-
-
-
-
- (品牌,名称,规格,口味)
-
- {{ setFormData.store_name.length }}
- 0/60
-
-
-
-
- 建议:图片尺寸为750*750px, 上传2张以上
-
-
-
-
-
-
-
-
-
-
-
- 添加图片
-
-
-
-
-
-
-
+
+
+
+
+ {{cateLength}}/{{maxLength}}
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{formData.attrValue[0].unit_name ||'请选择'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+
+ 计量单位
+ 确定
+
+
+
+
+
+
+ {{item}}
+
+
+ 自定义
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- 提交
-
-
-
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGood/addGoodOld.vue b/pages/product/addGood/addGoodOld.vue
new file mode 100644
index 0000000..fc9575f
--- /dev/null
+++ b/pages/product/addGood/addGoodOld.vue
@@ -0,0 +1,762 @@
+
+
+
+
+
+ 商品条码
+
+
+
+
+
+ (品牌,名称,规格,口味)
+
+ {{ setFormData.store_name.length }}
+ 0/60
+
+
+
+
+ 建议:图片尺寸为750*750px, 上传2张以上
+
+
+
+
+
+
+
+
+
+
+
+ 添加图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGood/components/commodity.vue b/pages/product/addGood/components/commodity.vue
index a17c77e..e35555f 100644
--- a/pages/product/addGood/components/commodity.vue
+++ b/pages/product/addGood/components/commodity.vue
@@ -1,539 +1,554 @@
-
-
-
-
- 商品详情
-
-
-
-
- 商品视频
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 点击可预览视频
-
-
-
-
-
-
-
- 点击可预览视频
-
-
-
-
-
-
-
- 添加视频
-
-
-
-
-
- 是否推荐
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击可预览视频
+
+
+
+
+
+
+
+ 点击可预览视频
+
+
+
+
+
+
+
+ 添加视频
+
+
+
+
+
+
+
+ 是否推荐
+
+
+
+
+
-
-
-
-
-
- 商品排序
-
-
-
-
-
-
-
- 更多
- 收起
-
-
-
-
-
-
-
+
+ 商品排序
+
+
+
+
+
+
+
+ 更多
+ 收起
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGood/components/uploadImgVideo.vue b/pages/product/addGood/components/uploadImgVideo.vue
new file mode 100644
index 0000000..12f2f72
--- /dev/null
+++ b/pages/product/addGood/components/uploadImgVideo.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGoodDetail/addGoodDetail.vue b/pages/product/addGoodDetail/addGoodDetail.vue
new file mode 100644
index 0000000..28d924a
--- /dev/null
+++ b/pages/product/addGoodDetail/addGoodDetail.vue
@@ -0,0 +1,941 @@
+
+
+
+
+
+ {{stroeNameLength}}/{{maxLength}}
+
+
+
+
+
+
+ 上传时应注重真实性、清晰度
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传图片/视频
+
+
+
+
+
+
+
+ 上传时应注重真实性、清晰度
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传图片/视频
+
+
+
+
+
+
+ 商品类目属性
+
+
+
+
+ {{ formData.cate_name|| '请选择'}}
+
+
+
+
+
+
+ {{isSet(formData.product_attribute)?'已设置':'未设置' }}
+
+
+
+
+
+
+ 规格与价格
+
+
+
+
+ {{sets?"已设置":""}}
+
+
+
+
+
+
+
+
+
+
+ {{item.price}}元/{{item.unit_name}}
+
+
+
+
+ {{item.wholesale_price}}元/{{item.wholesale_unit_name}}
+
+
+
+
+ {{item.stock}}
+
+
+
+
+
+
+
+ 零售价
+
+
+ {{item.price}}元/{{item.unit_name}}
+
+
+
+
+
+
+ 批发价
+
+
+ {{item.wholesale_price}}元/{{item.wholesale_unit_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{storeInfoLength}}/{{300}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 温馨提示
+
+
+ 发布中断可能导致商机流失
+
+
+
+ 您的商品信息已经填写了大半,
+
+
+ 只差最后几步就能上架销售了!
+
+
+
+
+ 越早发布产品曝光量越高
+
+
+ 越早发布产品可提前 抢占商机
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGoodDetail/goodsAttr.vue b/pages/product/addGoodDetail/goodsAttr.vue
new file mode 100644
index 0000000..e2e4972
--- /dev/null
+++ b/pages/product/addGoodDetail/goodsAttr.vue
@@ -0,0 +1,512 @@
+
+
+
+
+
+ 产品属性
+
+
+
+
+
+ {{formData.product_attribute.address||'请选择'}}
+
+
+
+
+
+
+
+
+ {{formData.product_attribute.leval||'请选择'}}
+
+
+
+
+
+
+ {{formData.product_attribute.pack||'请选择'}}
+
+
+
+
+
+
+ 产品属性
+
+ 自定义
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+ {{popType=='place'?'商品产地': popType=='leval'?'商品等级':'商品包装' }}
+
+ 确定
+
+
+
+
+
+
+ {{(address.province+address.city+address.district )||errMag}}
+
+
+ 刷新定位
+
+
+
+
+
+ {{address.province||'请选择' }}
+
+
+ {{address.city ||'请选择'}}
+
+
+ {{address.district ||'请选择'}}
+
+
+
+
+
+ 请选择
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item}}
+
+
+ 自定义
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item}}
+
+
+
+ 自定义
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGoodDetail/goodsPrice.vue b/pages/product/addGoodDetail/goodsPrice.vue
new file mode 100644
index 0000000..da6f304
--- /dev/null
+++ b/pages/product/addGoodDetail/goodsPrice.vue
@@ -0,0 +1,392 @@
+
+
+
+
+
+
+
+ 规格{{index+1}}
+
+
+
+
+
+
+
+
+
+
+
+
+ /
+
+
+
+
+
+
+
+
+
+ /
+
+
+
+
+
+
+
+
+
+ 商品库存
+
+
+
+
+
+
+ 条形码
+
+
+
+
+
+
+
+ 删除
+
+
+
+ 启用
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+
+ 计量单位
+ 确定
+
+
+
+
+
+
+ {{item}}
+
+
+ 自定义
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGoodDetail/goodsSearch.vue b/pages/product/addGoodDetail/goodsSearch.vue
new file mode 100644
index 0000000..3a2e043
--- /dev/null
+++ b/pages/product/addGoodDetail/goodsSearch.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+ 常用分类
+
+
+
+ {{item.label}}
+
+
+
+
+
+ 热门分类
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+ 暂无搜索结果,点击 手动选择
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGoodDetail/goodsType.vue b/pages/product/addGoodDetail/goodsType.vue
new file mode 100644
index 0000000..2165307
--- /dev/null
+++ b/pages/product/addGoodDetail/goodsType.vue
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+ 可能在找
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/list/components/overly.vue b/pages/product/list/components/overly.vue
new file mode 100644
index 0000000..dbcf3e6
--- /dev/null
+++ b/pages/product/list/components/overly.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
+ 温馨提示
+
+
+ 当前商品待审核,删除后将移至回收站
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/list/index - 副本.vue b/pages/product/list/index - 副本.vue
new file mode 100644
index 0000000..9169f75
--- /dev/null
+++ b/pages/product/list/index - 副本.vue
@@ -0,0 +1,1369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 多规格
+
+
+
+ 礼包
+ {{item.store_name}}
+
+
+
+ 库存: {{item.stock}}
+ 销量: {{item.sales}}
+
+
+
+ {{lable.label_name}}
+
+
+
+
+
+ ¥{{item.attrValue[0].wholesale_price}}
+ 零售价¥{{item.attrValue[0].price}}
+
+ 商品规格错误
+
+ ¥{{item.price}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改库存
+
+ 下架
+
+ 上架
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改库存
+ 线上入库
+
+
+
+
+
+
+
+
+
+
+
+
+ 数量:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue
index 227026e..6c11879 100644
--- a/pages/product/list/index.vue
+++ b/pages/product/list/index.vue
@@ -1,147 +1,99 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
+
+
-
-
-
-
- 多规格
+
+
+
+
+
+ 点击预览
+
-
-
- 礼包
- {{item.store_name}}
-
-
-
- 库存: {{item.stock}}
- 销量: {{item.sales}}
-
-
-
- {{lable.label_name}}
+
+
+
+ {{item.store_name}}
+
+
+ 库存: {{item.attrValue[0].stock}}
-
-
-
- ¥{{item.attrValue[0].wholesale_price}}
- 零售价¥{{item.attrValue[0].price}}
-
- 商品规格错误
-
- ¥{{item.price}}
+
+
+ 零售: ¥{{item.attrValue[0].price}}/{{item.attrValue[0].unit_name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改库存
-
- 下架
-
- 上架
-
- 编辑
+
+
+
+
+
+
+ 删除
+
+
+ 修改库存
+
+
+ 修改库存
+
+
+ 下架
+
+
+ 上架
+
+
+ 编辑商品
+
+
+
+
+
+
+
@@ -149,6 +101,60 @@
icon="http://cdn.uviewui.com/uview/empty/data.png">
+
+
+
+
+
+
+
+ 温馨提示
+
+
+ 当前商品待审核,删除后将移至回收站
+
+
+ 确定删除吗?
+
+
+ 仓库页面商品,点击上架即可开售
+
+
+ 页面商品已经售罄,如有存货可添加库存数量,若没有库存可进行下架操作。
+
+
+ 当前商品正在销售中,下架后将移至仓库
+
+
+
+
+
+
@@ -211,7 +217,8 @@
productOffApi,
productRecommendApi,
productUpdateFree,
- productTitle
+ productTitle,
+ productDestory
} from "@/api/product";
import {
labelLst
@@ -219,7 +226,8 @@
import Loading from '@/components/Loading/index.vue';
import {
merstreet,
- getUserInfo
+ getUserInfo,
+ isNewMer
} from '@/api/user.js';
import {
navigateTo,
@@ -244,6 +252,16 @@
},
data() {
return {
+ newUser: false,
+ elInfo: "",
+ current: 0,
+ flag1: true,
+ flag: true,
+ xjList: [1, 3, ],
+ sjList: [2, 4],
+ xjItem: "",
+ showOverly: false,
+ isWholeSale: false,
status: 'loadmore',
current: "",
where: {
@@ -299,9 +317,13 @@
}
},
onLoad(options) {
+ this.newUser = Boolean(options.diver)
this.getUserInfo()
this.getCategoryList();
-
+ this.isWholeSale = this.$store.state.app.userInfo?.mer_info?.wholesale == 2;
+ if (options.type) {
+ this.where.type = options.type
+ }
var that = this;
// 获取设备宽度
uni.getSystemInfo({
@@ -312,20 +334,110 @@
},
onPullDownRefresh() {
this.where.page = 1
- this.productList = []
this.loading = false
this.loaded = false
+ this.productList = []
+ this.getProductTitle()
this.getList(this.mer_id, false);
uni.stopPullDownRefresh()
},
+ onBackPress: function(e) {
+ uni.switchTab({
+ url: '/pages/index/index'
+ })
+ return true
+ },
onReachBottom() {
if (this.status == 'nomore') return;
this.status = 'loading';
this.where.page = ++this.where.page;
this.getList(this.mer_id, false);
},
+ onShow() {
+ let userInfo = JSON.parse(uni.getStorageSync('USER_INFO'))
+ isNewMer(userInfo.uid, userInfo.service?.mer_id).then(res => {
+ if (res.data == 'true') {
+ let that = this
+ setTimeout(() => {
+ const query = uni.createSelectorQuery().in(this);
+ query
+ .select(".wcnm")
+ .boundingClientRect((data) => {
+ let info = JSON.stringify(data)
+ console.log(data)
+ that.elInfo = data
+ // #ifdef APP-PLUS
+ that.openDiver()
+ // #endif
+ })
+ .exec();
+ }, 500)
+ }
+ })
+
+ },
methods: {
+ openDiver() {
+ let that = this
+ const subNVue = uni.getSubNVueById('concatpro')
+ // console.log(that.elInfo)
+ // return
+ subNVue.show('zoom-out', 300, () => {
+ uni.$emit('diverProductEmit', that.elInfo);
+ })
+ },
+ handClick(type) {
+ if (type == 2) {
+ // #ifndef APP-PLUS
+ this.$util.Tips({
+ title: '当前环境不支持扫码'
+ });
+ return
+ // #endif
+ }
+ if (type == 3) {
+ uni.navigateTo({
+ url: `/pages/product/addGood/addGood?mer_id=${this.mer_id}`
+ })
+ } else {
+ uni.navigateTo({
+ url: `/pages/nongKe/gather/select_warehouse?mer_id=${this.mer_id}&&type=${type}`
+ })
+ }
+
+ },
+ Iknow() {
+ if (this.where.type == 2) {
+ this.flag = false
+ } else {
+ this.flag1 = false
+ }
+ this.showOverly = false
+ },
+ showInWarehouse() {
+ if (flag) {
+ this.showOverly = true
+ }
+ },
+ preViewImg(item) {
+
+ uni.navigateTo({
+ url: `/pages/admin/goods_details/index?product_id=${item.product_id}&product_type=0`
+ })
+ // let that = this
+ // uni.previewImage({
+ // urls: [url],
+ // // longPressActions: {
+ // // itemList: ['发送给朋友', '保存图片', '收藏'],
+ // // success: function(data) {
+ // // },
+ // // fail: function(err) {
+ // // }
+ // // }
+ // });
+
+ },
// 商品分类
getCategoryList() {
getCategoryListLevel({
@@ -342,8 +454,9 @@
this.tabList = res.data;
let clickIndex = 0;
this.tabList.forEach((item, index) => {
- if (item.type == this.type) {
- clickIndex = index;
+ item.name = item.name + `(${item.count})`
+ if (item.type == this.where.type) {
+ this.current = index;
}
});
this.setMenuLeft(clickIndex);
@@ -351,7 +464,8 @@
},
// 点击列表头部
- selectMenu(item, index) {
+ selectMenu(item) {
+ let index = this.tabList.findIndex(items => items.name == item.name);
this.where.type = item.type;
this.loading = this.loaded = false;
this.where.page = 1;
@@ -387,9 +501,7 @@
// 条件
this.getProductTitle();
- }).catch(res => {
- console.log(res)
- })
+ }).catch(res => {})
},
// 搜索
@@ -652,7 +764,7 @@
}
})
}
- navigateTo(1, '/pages/product/addGood/addGood', {
+ navigateTo(1, '/pages/product/addGoodDetail/addGoodDetail', {
mer_id: this.mer_id
});
},
@@ -681,6 +793,7 @@
that.where.cate_id = this.cate_id.store_category_id;
// mer_cate_id 为商户自己的分类参数
}
+ that.where.order = 'check'
productLstApi(mer_id, that.where).then(
res => {
that.loading = false;
@@ -697,56 +810,83 @@
},
editGoods(item) {
- let url = '/pages/product/addGood/addGood';
- if (this.mer_info.type_code == 'PersonalStore') url = '/pages/product/addGood/addGood_one';
- if (this.mer_info.type_code == 'TypeSupplyChain') url = '/pages/product/addGood/addGood_supply';
+ let url = '/pages/product/addGoodDetail/addGoodDetail';
+ if (this.mer_info.type_code == 'PersonalStore') url = '/pages/product/addGoodDetail/addGoodDetail';
+ if (this.mer_info.type_code == 'TypeSupplyChain') url = '/pages/product/addGoodDetail/addGoodDetail';
navigateTo(1, url, {
mer_id: item.mer_id,
product_id: item.product_id
});
},
- handleRecycle(item, index) {
- let that = this;
- Modal('温馨提示', `商品"${item.store_name}"将被加入回收站,请问是否继续?`).then(res => {
- productDeleteApi(that.mer_id, item.product_id)
- .then(res => {
- that.$util.Tips({
- title: res.message,
- icon: 'success'
- }, () => {
- that.productList.splice(index, 1);
- });
- this.$set(this, 'num', -1);
- })
- .catch(rej => {
-
- this.$set(this, 'num', -1);
- Toast(`${rej}, 加入回收站失败`);
+ handleRecycle(item, type) {
+ let index = this.productList.findIndex(items => items.product_id == item.product_id)
+ let that = this
+ type == 5 ?
+ productDestory(that.mer_id, item.product_id)
+ .then(res => {
+ that.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ }, () => {
+ that.productList.splice(index, 1);
});
- });
+ // this.$set(this, 'num', -1);
+ })
+ .catch(rej => {
+
+ this.$set(this, 'num', -1);
+ Toast(`${rej}, 删除失败`);
+ }) :
+ productDeleteApi(that.mer_id, item.product_id)
+ .then(res => {
+ that.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ }, () => {
+ that.productList.splice(index, 1);
+ });
+ this.$set(this, 'num', -1);
+ })
+ .catch(rej => {
+
+ this.$set(this, 'num', -1);
+ Toast(`${rej}, 加入回收站失败`);
+ })
+
+
+ this.showOverly = false
},
//下架 0
handleShelves(item, status) {
let that = this;
if (status == 0) {
- uni.showModal({
- content: '确定要下架该商品么?',
- success: function(res) {
- if (res.confirm) {
- that.onAndOff(item, 0)
- uni.showToast({
- title: '下架成功',
- icon: 'none'
- })
- that.getList(this.mer_id, false)
- } else if (res.cancel) {
- // console.log('用户点击取消');
- }
- }
- });
+ that.onAndOff(item, 0)
+ uni.showToast({
+ title: '下架成功',
+ icon: 'none'
+ })
+ that.showOverly = false
+ // this.productList = []
+ // this.getList(this.mer_id, false);
+ // uni.showModal({
+ // content: '确定要下架该商品么?',
+ // success: function(res) {
+ // if (res.confirm) {
+ // that.onAndOff(item, 0)
+ // uni.showToast({
+ // title: '下架成功',
+ // icon: 'none'
+ // })
+ // that.getList(this.mer_id, false)
+ // } else if (res.cancel) {
+ // }
+ // }
+ // });
} else {
that.onAndOff(item, 1)
+ // this.productList = []
+ // this.getList(this.mer_id, false);
}
},
//上下架
@@ -759,8 +899,10 @@
title: res.message,
icon: 'success'
}, () => {
+ that.loading = false
+ that.loaded = false
that.$set(item, 'is_show', item.is_show == 0 ? 1 : 0);
- that.getList(this.mer_id, false)
+ that.getList(this.mer_id, true)
});
}).catch(err => {
return that.$util.Tips({
@@ -825,17 +967,131 @@
background-color: #F5F5F5;
}
+ .card {
+ width: 718rpx;
+ padding-bottom: 20rpx;
+ // height: 410rpx;
+ box-sizing: border-box;
+ border-radius: 16rpx;
+ background-color: #fff;
+ margin-top: 20rpx;
+ position: relative;
+
+ .preview {
+ width: 196rpx;
+ height: 50rpx;
+ position: absolute;
+ bottom: 0;
+ background: rgba(0, 0, 0, 0.2);
+ color: white;
+ text-align: center;
+ font-size: 24rpx;
+ line-height: 50rpx;
+ }
+
+ .card-top {
+ display: flex;
+ padding: 20rpx;
+
+ .card-head-right {
+ height: 196rpx;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+
+ }
+
+ // flex-wrap:;
+ // flex-direction: column;
+ // justify-content: sp;
+ }
+
+ .card-footer {
+ width: 713rpx;
+ height: 74rpx;
+ border-radius: 0 0 16rpx 16rpx;
+ background-color: #FFF1EC;
+ display: flex;
+ align-items: center;
+ font-size: 24rpx;
+ color: #777777;
+ transform: translateY(20rpx);
+
+ .card-footer-li {
+ text-align: center;
+ border-right: 1rpx solid #BDA9A1;
+ }
+ }
+ }
+
+ .warp {
+ background-color: white;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 590rpx;
+ height: 354rpx;
+ border-radius: 16rpx;
+ padding: 50rpx 44rpx;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: center;
+
+ .warp-tit {
+ font-size: 28rpx;
+ color: #777777;
+ // widows: 490rpx
+ }
+
+ .warp-foot {
+ display: flex;
+ // background-color: red;
+ width: 490rpx;
+ justify-content: space-around;
+
+ .warp-foot-li {
+ width: 236rpx;
+ height: 84rpx;
+ border-radius: 12rpx;
+ }
+
+ }
+ }
+
+ .ellipsis {
+ width: 400rpx;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
.longTab {
display: flex;
width: 100%;
.longItem {
+ width: 200px !important;
height: 50upx;
display: inline-block;
line-height: 50upx;
text-align: center;
font-size: 30rpx;
- color: #8f6262;
+ color: #444444;
max-width: 160rpx;
white-space: nowrap;
overflow: hidden;
@@ -847,8 +1103,8 @@
&.click {
font-weight: bold;
- font-size: 30rpx;
- color: #e93323;
+ font-size: 32rpx;
+ color: #20B128;
.underline {
opacity: 1;
@@ -867,7 +1123,7 @@
.underline {
width: 60rpx;
height: 4rpx;
- background-color: #e93323;
+ background-color: #20B128;
}
}
}
@@ -896,8 +1152,8 @@
}
.order-index {
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABdwAAAP8CAMAAABrl4xaAAABQVBMVEXxOirxOir5QTDuLS33QC/uNyj1Pi72Py7zPCv0PS3wOSntNiTrNCfuOCbwOSn3Py/yOyr6QjH1Pi7xOirrNCfrNSLqORzqMyH5QTH4QTDyOyv0PS30PCzzPSz5QjH0PS3wOSn3QC/tNibvNyf/Rzb3QTDvOCf1Pi36QzL/Rzb+RzbyPCvzOyvvOCjuNyjtNiTsNifsNCP6QjL5QjH3Py/1Pi3tNSflMgz3Py7wOSjzPCv7QzLuNiX9RTT9RjX9RTT+RjX7RDP7RDT9RTTtNyj/SDb+Rjb+RjX7RDP7QzL+RjX7RDP9RTX7QzP7RTT8XD/7W0L7WkT9Xzn9XTz+Xzb5Wkj+YTP7WUf6WEn9X0L8RDL7YEP7YEL9RDP9RDL8RDL8YEP9RTP9RTP7Sjf9YUP+YEP9YEL7UDv8UTr7UTr9UjhLGMRyAAAAa3RSTlNUWa4FoDmPk3B+UCMMNUmcYLyLXRoWCRCyqmR7dHe4gk2kJz36p0CFw/bzbWdGLSogHcC1mYgTAZZDascw3ubh6M/Z2zL+7fDWyuvS5MzU8O3q9/P75v7n5N7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GCxB0gSNwBgsQdIEjcAYLEHSBI3AGCdo+ZmdW2A0DOfj8vZmb2+XzuAEE+dzOz4HzuAEHiDhAk7gBB4g4QJO4AQeIOECTuAEHiDhAk7gBB4g4QJO4AQXsAyBF3gCBxBwgSd4AgcQcIEneAIHEHCBJ3gCBxB1527KgEYBgKguCJSITUv7maKBSWmTOQryU8gsQdIEjcAYLEHSBoDwA54g4QJO4AQeIOECTuAEHiDhAk7gBB4g4QJO4AQeIOECTuAEHiDhC0A0COuAMEiTtAkLgDBIk7QJC4AwSJO0CQuAMEiTtAkLgDBIk7QJC4AwTtApDj5w4QtHPNzKy2/f4CMzP7em7uAEXiDhAk7gBB4g4QJO4AQeIOECTuAEHiDhAk7gBB4s7Ljh2UABADQRBcAfnHyfqXdiYOAk3VGMirCQsEiTtAkLgDBM0CkCPuAEHiDhAk7gBB4g4QJO4AQeIOECTuAEHiDhAk7gBB4g4QNLvXzMximwtAjrgDBIk7QJC4AwSJO0CQuAMEiTtAkLgDBIk7QJC4AwSJO0CQuAMEzQEgZ+4xM7Pa5vkLzMzs9/m5m5kF5+YOECTuAEHiDhAk7gBB4g4QJO4AQeIOECTuAEHiDhAk7gBBHzt2QAJADANBMBAPtVL/zt7EQ2GZOQ/bUHEHCBJ3gKA5AOSIO0CQuAMEiTtAkLgDBIk7QJC4AwSJO0CQuAMEiTtAkLgDBIk7QNCcNTOz2lzuAEGzAOT4ljEzC87lDhAk7gBB4g4QJO4AQeIOECTuAEHiDhAk7gBB4g4QJO4AQeIOECTuAEGz18zManO5AwS53M3MgpsLQM48f17MzOzvudwBisQdIEjcAYLEHSBI3AGCxB342qkDGQAAAIBB/tb3+AoihuQOMCR3gCG5AwwF1N90MVTQh6wAAAAASUVORK5CYII=');
- background-repeat: no-repeat;
+ // background-repeat: no-repeat;
+ background-color: white;
background-size: 100%;
}
@@ -1365,4 +1621,35 @@
margin: 0 auto;
padding-top: 30rpx;
}
+
+ .footer {
+ width: 750rpx;
+ height: 75px;
+ background-color: white;
+ position: fixed;
+ bottom: 0;
+ z-index: 999;
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ box-sizing: border-box;
+
+ .footer-li {
+ border: 1px solid #989898;
+ font-size: 32rpx;
+ padding: 7px 27rpx;
+ border-radius: 40rpx;
+ overflow: hidden;
+ width: 184rpx;
+ height: 36px;
+ }
+
+ .act {
+ border: none;
+ background-color: #32BB3B;
+ color: white;
+ width: 302rpx;
+ text-align: center;
+ }
+ }
\ No newline at end of file
diff --git a/pages/product/list/subnvue/concat.nvue b/pages/product/list/subnvue/concat.nvue
new file mode 100644
index 0000000..f68e632
--- /dev/null
+++ b/pages/product/list/subnvue/concat.nvue
@@ -0,0 +1,173 @@
+
+
+
+ 跳过
+
+
+ 发布商品
+
+
+ 我知道了
+
+
+
+
+
+
+
+ 点击发布商品,开启赚钱之旅
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/updateStock/updateStock.vue b/pages/product/updateStock/updateStock.vue
index 33f05f0..b8d1ce8 100644
--- a/pages/product/updateStock/updateStock.vue
+++ b/pages/product/updateStock/updateStock.vue
@@ -1,189 +1,344 @@
-
-
-
-
- 图片
- 规格
- 库存
-
-
-
-
-
-
-
-
- {{name}}
-
- {{short.store_name}}
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 点击预览
+
+
+
+
+
+
+ {{short.store_name}}
+
+
+
+ 库存: {{attrvalueStock}}个
+
+
+
+ ¥10.00/个
+
+
+
+
+
+ {{item.sku||'单规格'}}
+
+
+
+
+ 商品库存
+
+
+ 个
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/test/index.vue b/pages/test/index.vue
new file mode 100644
index 0000000..e1fb67f
--- /dev/null
+++ b/pages/test/index.vue
@@ -0,0 +1,27 @@
+
+
+ 我已经吐了,傻逼是的
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/test/subnvue/concat.nvue b/pages/test/subnvue/concat.nvue
new file mode 100644
index 0000000..9e4a6fc
--- /dev/null
+++ b/pages/test/subnvue/concat.nvue
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/css/base.css b/static/css/base.css
index cc6bd59..d5828f2 100644
--- a/static/css/base.css
+++ b/static/css/base.css
@@ -1,211 +1,415 @@
@charset "UTF-8";
-* {scrollbar-color: #e5e5e5 #f7f7f9;scrollbar-width: thin;}
-html {margin: 0 auto;max-width: 1200px;}
-body {overflow-x: hidden;}
-.font-color,.font-color-red {color:#fc4141!important}
-.bg-color{background-color:#e93323!important}
-.icon-color{color: #ff3c2b}
-.cart-color {color: #ff3700 !important;border:1px solid #ff3700 !important}
-.padding20{padding: 20rpx}
-.pad20 {padding: 0 20rpx}
-.padding30{padding: 30rpx}
-.pad30{padding: 0 30rpx}
-.pull-left{float: left;}
-.pull-right{float: right;}
-.clearfix:after{content:'';display:block;height:0;clear:both}
-.clearfix{zoom:1}
-.acea-row {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}
+
+* {
+ scrollbar-color: #e5e5e5 #f7f7f9;
+ scrollbar-width: thin;
+}
+
+html {
+ margin: 0 auto;
+ max-width: 1200px;
+}
+
+body {
+ overflow-x: hidden;
+}
+
+.font-color,
+.font-color-red {
+ color: #fc4141 !important
+}
+
+.bg-color {
+ background-color: #e93323 !important
+}
+
+.icon-color {
+ color: #ff3c2b
+}
+
+.cart-color {
+ color: #ff3700 !important;
+ border: 1px solid #ff3700 !important
+}
+
+.padding20 {
+ padding: 20rpx
+}
+
+.pad20 {
+ padding: 0 20rpx
+}
+
+.padding30 {
+ padding: 30rpx
+}
+
+.pad30 {
+ padding: 0 30rpx
+}
+
+.pull-left {
+ float: left;
+}
+
+.pull-right {
+ float: right;
+}
+
+.clearfix:after {
+ content: '';
+ display: block;
+ height: 0;
+ clear: both
+}
+
+.clearfix {
+ zoom: 1
+}
+
+.acea-row {
+ 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
+}
+
.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
+ -webkit-box-align: center;
+ -moz-box-align: center;
+ -o-box-align: center;
+ -ms-flex-align: center;
+ -webkit-align-items: center;
+ align-items: center
}
+
.acea-row.row-top {
- -webkit-box-align: start;
- -moz-box-align: start;
- -o-box-align: start;
- -ms-flex-align: start;
- -webkit-align-items: flex-start;
- align-items: flex-start
+ -webkit-box-align: start;
+ -moz-box-align: start;
+ -o-box-align: start;
+ -ms-flex-align: start;
+ -webkit-align-items: flex-start;
+ align-items: flex-start
}
+
.acea-row.row-bottom {
- -webkit-box-align: end;
- -moz-box-align: end;
- -o-box-align: end;
- -ms-flex-align: end;
- -webkit-align-items: flex-end;
- align-items: flex-end
+ -webkit-box-align: end;
+ -moz-box-align: end;
+ -o-box-align: end;
+ -ms-flex-align: end;
+ -webkit-align-items: flex-end;
+ align-items: flex-end
}
+
.acea-row.row-center {
- -webkit-box-pack: center;
- -moz-box-pack: center;
- -o-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center
+ -webkit-box-pack: center;
+ -moz-box-pack: center;
+ -o-box-pack: center;
+ -ms-flex-pack: center;
+ -webkit-justify-content: center;
+ justify-content: center
}
+
.acea-row.row-right {
- -webkit-box-pack: end;
- -moz-box-pack: end;
- -o-box-pack: end;
- -ms-flex-pack: end;
- -webkit-justify-content: flex-end;
- justify-content: flex-end;
+ -webkit-box-pack: end;
+ -moz-box-pack: end;
+ -o-box-pack: end;
+ -ms-flex-pack: end;
+ -webkit-justify-content: flex-end;
+ justify-content: flex-end;
}
+
.acea-row.row-left {
- -webkit-box-pack: start;
- -moz-box-pack: start;
- -o-box-pack: start;
- -ms-flex-pack: start;
- -webkit-justify-content: flex-start;
- justify-content: flex-start
+ -webkit-box-pack: start;
+ -moz-box-pack: start;
+ -o-box-pack: start;
+ -ms-flex-pack: start;
+ -webkit-justify-content: flex-start;
+ justify-content: flex-start
}
+
.acea-row.row-between {
- -webkit-box-pack: justify;
- -moz-box-pack: justify;
- -o-box-pack: justify;
- -ms-flex-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between
+ -webkit-box-pack: justify;
+ -moz-box-pack: justify;
+ -o-box-pack: justify;
+ -ms-flex-pack: justify;
+ -webkit-justify-content: space-between;
+ justify-content: space-between
}
+
.acea-row.row-around {
- justify-content: space-around;
- -webkit-justify-content: space-around
+ justify-content: space-around;
+ -webkit-justify-content: space-around
}
+
.acea-row.row-column-around {
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- justify-content: space-around;
- -webkit-justify-content: space-around
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ justify-content: space-around;
+ -webkit-justify-content: space-around
}
+
.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
+ -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-column-between {
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -o-box-orient: vertical;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: justify;
- -moz-box-pack: justify;
- -o-box-pack: justify;
- -ms-flex-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between
+ -webkit-box-orient: vertical;
+ -moz-box-orient: vertical;
+ -o-box-orient: vertical;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-box-pack: justify;
+ -moz-box-pack: justify;
+ -o-box-pack: justify;
+ -ms-flex-pack: justify;
+ -webkit-justify-content: space-between;
+ justify-content: space-between
}
+
.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
+ -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
}
+
.acea-row.row-between-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: justify;
- -moz-box-pack: justify;
- -o-box-pack: justify;
- -ms-flex-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between
+ -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: justify;
+ -moz-box-pack: justify;
+ -o-box-pack: justify;
+ -ms-flex-pack: justify;
+ -webkit-justify-content: space-between;
+ justify-content: space-between
}
+
.start {
- width: 122rpx;
- height: 30rpx;
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAADMCAYAAAC8yreMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0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ETQiaETQiKARQaMMNY1h4tRUDggMk/BqJAck5t4bxzBpMgck5t4bxTDxaiwHJObem8YwcWosByTm3mthmKRMT43mgMTcey0Mk1g5IDH3XhfDJEoOSMy918owiY0DEnPvtTNMYuKAxNx77QyTmDggMffeFIZJFByQmHuvnWHSf34SAQck5t6bwDBJkkg4IDH3XjvDJCYOSMy9N4FhEg0HJObeR56jh5bnGxM/Z6TIfXbeVxKS8b2bDcaxOvR3Z7tFe+2M/6q1Kd5R9Q7DpCXip0QEjQgaETQiaETQiKARQSOCRgRN0IigEUEjgkYEjQgamQhqQDt6L3tEt5IaEHPvhYNuMzUg5t7LHNGtpQbE3HuZoFtLDYi590UFp4/jV977yzmPXXkfcHoy8297790xxlADWkI8gBowYb13oAZAPDj+IT2BGhB975mLMagBk9F73lU31IDIe+/mfEGoAZH3nveIhhoQee95FmNT/nPbDn/OeLh/UbYeW67hVdWnyTwXdL0eO1JwQRPUn95LLsYSqAET0XueczTUgAnoHeJBS8RPiQgaETQiaNRM/S/AAOykxVBJG5QXAAAAAElFTkSuQmCC');
- background-repeat: no-repeat;
- background-size: 122rpx auto;
+ width: 122rpx;
+ height: 30rpx;
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAADMCAYAAAC8yreMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJk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9Q7DpCXip0QEjQgaETQiaETQiKARQSOCRgRN0IigEUEjgkYEjQgamQhqQDt6L3tEt5IaEHPvhYNuMzUg5t7LHNGtpQbE3HuZoFtLDYi590UFp4/jV977yzmPXXkfcHoy8297790xxlADWkI8gBowYb13oAZAPDj+IT2BGhB975mLMagBk9F73lU31IDIe+/mfEGoAZH3nveIhhoQee95FmNT/nPbDn/OeLh/UbYeW67hVdWnyTwXdL0eO1JwQRPUn95LLsYSqAET0XueczTUgAnoHeJBS8RPiQgaETQiaNRM/S/AAOykxVBJG5QXAAAAAElFTkSuQmCC');
+ background-repeat: no-repeat;
+ background-size: 122rpx auto;
}
-.start.star5{background-position:0 3rpx;}
-.start.star4{background-position:0 -30rpx;}
-.start.star3{background-position:0 -70rpx;}
-.start.star2{background-position:0 -105rpx;}
-.start.star1{background-position:0 -140rpx;}
-.start.star0{background-position:0 -175rpx;}
-*{box-sizing:border-box}
-page{font-size: 28rpx;background-color:#f5f5f5;color: #333}
-body,html{height:unset}
-button{padding:0;margin:0;line-height:normal;background-color:#fff}
-button::after {border:0}
-radio .wx-radio-input {border-radius:50%;width:38rpx;height:38rpx}
-radio .wx-radio-input.wx-radio-input-checked{border:1px solid #e93323;background-color:#e93323;}
-radio .uni-radio-input{border-radius:50%;width:38rpx;height:38rpx}
-radio .uni-radio-input.uni-radio-input-checked{border: 1px solid #e93323;background-color: #e93323;}
-checkbox .wx-checkbox-input{width:38rpx;height:38rpx}
-checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{color: #fff!important;}
-checkbox .uni-checkbox-input{width: 38rpx;height: 38rpx}
+
+.start.star5 {
+ background-position: 0 3rpx;
+}
+
+.start.star4 {
+ background-position: 0 -30rpx;
+}
+
+.start.star3 {
+ background-position: 0 -70rpx;
+}
+
+.start.star2 {
+ background-position: 0 -105rpx;
+}
+
+.start.star1 {
+ background-position: 0 -140rpx;
+}
+
+.start.star0 {
+ background-position: 0 -175rpx;
+}
+
+* {
+ box-sizing: border-box
+}
+
+page {
+ font-size: 28rpx;
+ background-color: #f5f5f5;
+ color: #333
+}
+
+body,
+html {
+ height: unset
+}
+
+button {
+ padding: 0;
+ margin: 0;
+ line-height: normal;
+ background-color: #fff
+}
+
+button::after {
+ border: 0
+}
+
+radio .wx-radio-input {
+ border-radius: 50%;
+ width: 38rpx;
+ height: 38rpx
+}
+
+radio .wx-radio-input.wx-radio-input-checked {
+ border: 1px solid #e93323;
+ background-color: #e93323;
+}
+
+radio .uni-radio-input {
+ border-radius: 50%;
+ width: 38rpx;
+ height: 38rpx
+}
+
+radio .uni-radio-input.uni-radio-input-checked {
+ border: 1px solid #e93323;
+ background-color: #e93323;
+}
+
+checkbox .wx-checkbox-input {
+ width: 38rpx;
+ height: 38rpx
+}
+
+checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
+ color: #fff !important;
+}
+
+checkbox .uni-checkbox-input {
+ width: 38rpx;
+ height: 38rpx
+}
+
checkbox .uni-checkbox-input.uni-checkbox-input-checked,
-checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid #e93323!important;background-color:#e93323!important;color:#fff!important;}
-checkbox .uni-checkbox-input.uni-checkbox-input-checked::before{font-size: 35rpx}
-.line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
-.line2{word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;}
-.mask{position:fixed;top: 0;left:0;right:0;bottom:0;background-color:#000;opacity:.5;z-index:30}
+checkbox .wx-checkbox-input.wx-checkbox-input-checked {
+ border: 1px solid #e93323 !important;
+ background-color: #e93323 !important;
+ color: #fff !important;
+}
+
+checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
+ font-size: 35rpx
+}
+
+.line1 {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap
+}
+
+.line2 {
+ word-break: break-all;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ white-space: pre-wrap;
+}
+
+.mask {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #000;
+ opacity: .5;
+ z-index: 30
+}
+
@keyframes load {
- from {
- transform: rotate(0)
- }
- to {
- transform: rotate(360deg)
- }
+ from {
+ transform: rotate(0)
+ }
+
+ to {
+ transform: rotate(360deg)
+ }
}
+
@-webkit-keyframes load {
- from {
- transform: rotate(0)
- }
- to {
- transform: rotate(360deg)
- }
+ from {
+ transform: rotate(0)
+ }
+
+ to {
+ transform: rotate(360deg)
+ }
}
-.loadingpic{animation:load 3s linear 1s infinite;--webkit-animation:load 3s linear 1s infinite}
-.loading-list{animation:load linear 1s infinite;-webkit-animation:load linear 1s infinite;font-size:40rpx;margin-right:22rpx}
-.loading{width:100%;height:100rpx;line-height:100rpx;align-items:center;justify-content:center;position:relative;text-align:center}
+
+.loadingpic {
+ animation: load 3s linear 1s infinite;
+ --webkit-animation: load 3s linear 1s infinite
+}
+
+.loading-list {
+ animation: load linear 1s infinite;
+ -webkit-animation: load linear 1s infinite;
+ font-size: 40rpx;
+ margin-right: 22rpx
+}
+
+.loading {
+ width: 100%;
+ height: 100rpx;
+ line-height: 100rpx;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ text-align: center
+}
+
.loading .line {
- position: absolute;
- width: 450rpx;
- left: 150rpx;
- top: 50rpx;
- height: 1px;
- border-top: 1px solid #eee
+ position: absolute;
+ width: 450rpx;
+ left: 150rpx;
+ top: 50rpx;
+ height: 1px;
+ border-top: 1px solid #eee
}
+
.loading .text {
- position: relative;
- display: inline-block;
- padding: 0 20rpx;
- background: #fff;
- z-index: 2;
- color: #777
+ position: relative;
+ display: inline-block;
+ padding: 0 20rpx;
+ background: #fff;
+ z-index: 2;
+ color: #777
}
+
.loadingicon .loading {
- animation: load linear 1s infinite;
- font-size: 45rpx;
- color: #000
+ animation: load linear 1s infinite;
+ font-size: 45rpx;
+ color: #000
}
+
.loadingicon {
- width: 100%;
- height: 80rpx;
- overflow: hidden
+ width: 100%;
+ height: 80rpx;
+ overflow: hidden
}
\ No newline at end of file
diff --git a/static/css/theme.scss b/static/css/theme.scss
new file mode 100644
index 0000000..53f7893
--- /dev/null
+++ b/static/css/theme.scss
@@ -0,0 +1,44 @@
+// 此文件为uView的主题变量,这些变量目前只能通过uni.scss引入才有效,另外由于
+// uni.scss中引入的样式会同时混入到全局样式文件和单独每一个页面的样式中,造成微信程序包太大,
+// 故uni.scss只建议放scss变量名相关样式,其他的样式可以通过main.js或者App.vue引入
+
+$u-main-color: #303133;
+$u-content-color: #606266;
+$u-tips-color: #909193;
+$u-light-color: #c0c4cc;
+$u-border-color: #dadbde;
+$u-bg-color: #f3f4f6;
+$u-disabled-color: #c8c9cc;
+
+$u-primary: #32BB3B;
+$u-primary-dark: #398ade;
+$u-primary-disabled: #9acafc;
+$u-primary-light: #ecf5ff;
+
+$u-warning: #f9ae3d;
+$u-warning-dark: #f1a532;
+$u-warning-disabled: #f9d39b;
+$u-warning-light: #fdf6ec;
+
+$u-success: #5ac725;
+$u-success-dark: #53c21d;
+$u-success-disabled: #a9e08f;
+$u-success-light: #f5fff0;
+
+$u-error: #f56c6c;
+$u-error-dark: #e45656;
+$u-error-disabled: #f7b2b2;
+$u-error-light: #fef0f0;
+
+$u-info: #909399;
+$u-info-dark: #767a82;
+$u-info-disabled: #c4c6c9;
+$u-info-light: #f4f4f5;
+
+// scss混入,为了少写几行#ifndef
+@mixin flex($direction: row) {
+ /* #ifndef APP-NVUE */
+ display: flex;
+ /* #endif */
+ flex-direction: $direction;
+}
diff --git a/static/empty/goodsEmpty.png b/static/empty/goodsEmpty.png
new file mode 100644
index 0000000..0292af5
Binary files /dev/null and b/static/empty/goodsEmpty.png differ
diff --git a/static/images/addGodd/addGoodBg.png b/static/images/addGodd/addGoodBg.png
new file mode 100644
index 0000000..a299877
Binary files /dev/null and b/static/images/addGodd/addGoodBg.png differ
diff --git a/static/images/gban.png b/static/images/gban.png
new file mode 100644
index 0000000..e46307f
Binary files /dev/null and b/static/images/gban.png differ
diff --git a/static/images/greenLine.png b/static/images/greenLine.png
new file mode 100644
index 0000000..f7d7d09
Binary files /dev/null and b/static/images/greenLine.png differ
diff --git a/static/images/greenLineDown.png b/static/images/greenLineDown.png
new file mode 100644
index 0000000..46cc650
Binary files /dev/null and b/static/images/greenLineDown.png differ
diff --git a/static/images/pointer.png b/static/images/pointer.png
new file mode 100644
index 0000000..9570f99
Binary files /dev/null and b/static/images/pointer.png differ
diff --git a/uni.scss b/uni.scss
index 45776b4..7836378 100644
--- a/uni.scss
+++ b/uni.scss
@@ -11,9 +11,10 @@
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
-@import '@/uni_modules/uview-ui/theme.scss';
+@import '@/static/css/theme.scss';
/* 颜色变量 */
$uni-theme-color: #f45846;
+$uni-newTheme-color: #38BE41;
$uni-theme-bg-color: linear-gradient(180deg, #f98649 0%, #f34e45 100%);
/* 行为相关颜色 */
diff --git a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
index 9b32348..0b7fa55 100644
--- a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
+++ b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
@@ -6,8 +6,8 @@
{{current}}
{{typePlaceholder}}
-
-
+
+
@@ -20,9 +20,10 @@
{{emptyTips}}
-
- {{formatItemName(item)}}
+
+ {{formatItemName(item)}}
@@ -125,7 +126,7 @@
common + placeholder :
common
},
- valueCom(){
+ valueCom() {
// #ifdef VUE3
return this.modelValue;
// #endif
@@ -156,7 +157,7 @@
}
},
methods: {
- debounce(fn, time = 100){
+ debounce(fn, time = 100) {
let timer = null
return function(...args) {
if (timer) clearTimeout(timer)
@@ -166,11 +167,11 @@
}
},
// 执行数据库查询
- query(){
+ query() {
this.mixinDatacomEasyGet();
},
// 监听查询条件变更事件
- onMixinDatacomPropsChange(){
+ onMixinDatacomPropsChange() {
if (this.collection) {
this.debounceGet();
}
@@ -193,9 +194,9 @@
}
defValue = defItem
}
- if (defValue || defValue === 0) {
- this.emit(defValue)
- }
+ if (defValue || defValue === 0) {
+ this.emit(defValue)
+ }
}
const def = this.mixinDatacomResData.find(item => item.value === defValue)
this.current = def ? this.formatItemName(def) : ''
@@ -258,7 +259,7 @@
let str = "";
str = this.format;
for (let key in item) {
- str = str.replace(new RegExp(`{${key}}`,"g"),item[key]);
+ str = str.replace(new RegExp(`{${key}}`, "g"), item[key]);
}
return str;
} else {
@@ -272,26 +273,26 @@
}
},
// 获取当前加载的数据
- getLoadData(){
+ getLoadData() {
return this.mixinDatacomResData;
},
// 获取当前缓存key
- getCurrentCacheKey(){
+ getCurrentCacheKey() {
return this.collection;
},
// 获取缓存
- getCache(name=this.getCurrentCacheKey()){
+ getCache(name = this.getCurrentCacheKey()) {
let cacheData = uni.getStorageSync(this.cacheKey) || {};
return cacheData[name];
},
// 设置缓存
- setCache(value, name=this.getCurrentCacheKey()){
+ setCache(value, name = this.getCurrentCacheKey()) {
let cacheData = uni.getStorageSync(this.cacheKey) || {};
cacheData[name] = value;
uni.setStorageSync(this.cacheKey, cacheData);
},
// 删除缓存
- removeCache(name=this.getCurrentCacheKey()){
+ removeCache(name = this.getCurrentCacheKey()) {
let cacheData = uni.getStorageSync(this.cacheKey) || {};
delete cacheData[name];
uni.setStorageSync(this.cacheKey, cacheData);
@@ -431,6 +432,7 @@
max-height: 600px;
}
}
+
/* #endif */
.uni-select__selector-empty,
@@ -514,4 +516,4 @@
left: 0;
z-index: 2;
}
-
+
\ No newline at end of file
diff --git a/uni_modules/uview-ui/components/u-picker/u-picker.vue b/uni_modules/uview-ui/components/u-picker/u-picker.vue
index 8885917..4c44681 100644
--- a/uni_modules/uview-ui/components/u-picker/u-picker.vue
+++ b/uni_modules/uview-ui/components/u-picker/u-picker.vue
@@ -1,51 +1,23 @@
-
+
-
-
+
-
-
+
+ {{ getItemText(item1) }}
+ }">{{ getItemText(item1) }}
-
+
@@ -53,184 +25,184 @@
+
\ No newline at end of file
diff --git a/uni_modules/uview-ui/theme.scss b/uni_modules/uview-ui/theme.scss
index 331b30f..53f7893 100644
--- a/uni_modules/uview-ui/theme.scss
+++ b/uni_modules/uview-ui/theme.scss
@@ -10,7 +10,7 @@ $u-border-color: #dadbde;
$u-bg-color: #f3f4f6;
$u-disabled-color: #c8c9cc;
-$u-primary: #3c9cff;
+$u-primary: #32BB3B;
$u-primary-dark: #398ade;
$u-primary-disabled: #9acafc;
$u-primary-light: #ecf5ff;
diff --git a/utils/util.js b/utils/util.js
index 15c59f1..600a560 100644
--- a/utils/util.js
+++ b/utils/util.js
@@ -590,28 +590,27 @@ export default {
*/
uploadImageOne: function(opt, successCallback, errorCallback) {
let that = this;
- let obj = {};
+ let obj = {};
if (typeof opt === 'string') {
let url = opt;
opt = {};
opt.url = url;
- }else {
- opt.crop ? obj.crop = opt.crop : null;
- }
+ } else {
+ opt.crop ? obj.crop = opt.crop : null;
+ }
let count = opt.count || 1,
sizeType = opt.sizeType || ['compressed'],
sourceType = opt.sourceType || ['album', 'camera'],
is_load = opt.is_load || true,
uploadUrl = opt.url || '',
inputName = opt.name || 'field';
-
uni.chooseImage({
count: count, //最多可以选择的图片总数
sizeType: sizeType, // 可以指定是原图还是压缩图,默认二者都有
sourceType: sourceType, // 可以指定来源是相册还是相机,默认二者都有
- ...obj,
+ ...obj,
success: function(res) {
- console.log(res);
+ console.log(res);
//启动上传等待中...
uni.showLoading({
title: '图片上传中',
@@ -657,6 +656,83 @@ export default {
}
})
},
+ /*
+ * 多上传
+ * @param object opt
+ * @param callable successCallback 成功执行方法 data
+ * @param callable errorCallback 失败执行方法
+ */
+ uploadImages: function(opt, successCallback, errorCallback) {
+ let that = this;
+ let obj = {};
+ if (typeof opt === 'string') {
+ let url = opt;
+ opt = {};
+ opt.url = url;
+ } else {
+ opt.crop ? obj.crop = opt.crop : null;
+ }
+ let count = opt.count || 1,
+ sizeType = opt.sizeType || ['compressed'],
+ sourceType = opt.sourceType || ['album', 'camera'],
+ is_load = opt.is_load || true,
+ uploadUrl = opt.url || '',
+ inputName = opt.name || 'field';
+
+ uni.chooseImage({
+ count: count, //最多可以选择的图片总数
+ sizeType: sizeType, // 可以指定是原图还是压缩图,默认二者都有
+ sourceType: sourceType, // 可以指定来源是相册还是相机,默认二者都有
+ ...obj,
+ success: function(res) {
+ //启动上传等待中...
+ uni.showLoading({
+ title: '图片上传中',
+ });
+ res.tempFilePaths.forEach((item, index) => {
+ uni.uploadFile({
+ url: HTTP_REQUEST_URL + '/api/' + uploadUrl + '/' + inputName,
+ filePath: item,
+ name: inputName,
+ formData: {
+ 'filename': inputName
+ },
+ header: {
+ // #ifdef MP
+ "Content-Type": "multipart/form-data",
+ // #endif
+ [TOKENNAME]: 'Bearer ' + store.state.app.token
+ },
+ success: function(res) {
+ uni.hideLoading();
+ if (res.statusCode == 403) {
+ that.Tips({
+ title: res.data
+ });
+ } else {
+ let data = res.data ? JSON.parse(res.data) : {};
+ if (data.status == 200) {
+ successCallback && successCallback(data)
+ } else {
+ errorCallback && errorCallback(data);
+ that.Tips({
+ title: data.message
+ });
+ }
+ }
+ },
+ fail: function(res) {
+ uni.hideLoading();
+ that.Tips({
+ title: '上传图片失败'
+ });
+ }
+ })
+ })
+
+ }
+ })
+ },
/**
* 小程序头像获取上传
* @param uploadUrl 上传接口地址