diff --git a/pages/gamll/dailyReport.vue b/pages/gamll/dailyReport.vue
index c9f376f..869c16f 100644
--- a/pages/gamll/dailyReport.vue
+++ b/pages/gamll/dailyReport.vue
@@ -1,29 +1,36 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
{{a.channel_name}}
+
+ 预览
+
+
+ 复制
+
-
-
-
-
-
-
- 今天 {{today}},{{fromData.header_content}}
-
+
+
+
+
+
+
+
+ 今天 {{today}},{{fromData.header_content}}
+
+
- {{item.goods_name}}
+ {{'★'+item.goods_name}}
市场价:{{item.cost_price_min}}
@@ -38,16 +45,8 @@
{{item.jd_short_url}}
-
-
-
- 取消
-
-
- 复制
-
-
-
+
+
@@ -79,21 +78,26 @@
let day = now.getDate()
this.today = year + '年' + month + '月' + day + '日'
},
- onClickReport(item) {
+ onClickReport(item, type) {
this.fromData = item
uni.showLoading({
- title: '加载中'
+ title: type==1?'加载中':'复制中'
});
- this.getJDShortLinks(item.id)
+ this.getJDShortLinks(item.id, type)
this.getCurrentDate()
},
- getJDShortLinks(id) {
+ getJDShortLinks(id, type) {
help.JDShortLinks({
id: id
}).then(result => {
if (result.status == 200) {
this.shortList = result.data.goodsList
- this.cdDia = true
+ if (type == 1) {
+ this.cdDia = true
+ }
+ if (type == 2) {
+ this.copyData()
+ }
uni.hideLoading();
}
})
@@ -103,7 +107,7 @@
let text = ''
that.shortList.forEach(function(obj) {
text +=
- obj.goods_name +
+ '★'+obj.goods_name +
'\n' +
'市场价:' +
obj.goods_price_min +
@@ -115,10 +119,11 @@
obj.goods_no +
'\n' +
obj.jd_short_url +
- ';\n'
+ '\n'+
+ ' \n'
})
uni.setClipboardData({
- data: '今天' + that.today + ',' + this.fromData.header_content + '\n' + text,
+ data: '今天' + that.today + ',' + this.fromData.header_content + '\n' + ' \n' + text,
success: () => {
// 可以添加用户友好的提示,例如使用uni.showToast提示复制成功
uni.showToast({
@@ -164,29 +169,11 @@
align-items: center;
justify-content: center;
- .reportCopy {
- height: 80rpx;
- width: 100%;
- border-top: 1rpx solid #f7f7f7;
- display: flex;
-
- .reportbut {
- width: 50%;
- line-height: 80rpx;
- text-align: center;
- font-size: 28rpx;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- color: rgb(41, 121, 255);
- ;
- }
- }
-
.report-name {
font-size: 28rpx;
color: #000;
font-weight: 700;
- margin: 20rpx 24rpx;
+ margin: 40rpx 0 16rpx 0;
}
.report-line {
@@ -194,7 +181,7 @@
color: #000;
padding-top: 16rpx;
margin-top: 16rpx;
- border-top: 1rpx dashed #999;
+ // border-top: 1rpx dashed #999;
}
.report-line:nth-child(1) {
@@ -204,12 +191,13 @@
}
.diaMain {
- width: 600rpx;
- max-height: 900rpx;
+ width: 680rpx;
+ min-height: 500rpx;
background: #fff;
border-radius: 12rpx 12rpx 12rpx 12rpx;
opacity: 1;
position: relative;
+ padding: 24rpx;
overflow: hidden;
.ld {
@@ -221,49 +209,62 @@
}
.cdInfo {
- overflow: hidden;
- max-height: 620rpx;
- overflow-y: auto;
+ height: 1000rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #727272;
line-height: 38rpx;
- margin: 0 24rpx 20rpx 24rpx;
+ margin-top: 20rpx;
}
}
}
.park {
- overflow: hidden;
width: 100%;
background-size: 100% auto;
- min-height: 100vh;
- padding-bottom: 68rpx;
+ height: 1720rpx;
background-size: cover;
.report {
box-shadow: 0 5rpx 10rpx 5rpx #fff;
- // box-shadow: 5rpx 5rpx 5rpx #fff,5rpx -5rpx 5rpx #fff,-5rpx 5rpx 5rpx #fff,-5rpx -5rpx 5rpx #fff;
border-radius: 8rpx;
margin: 20rpx 50rpx 0rpx 50rpx;
padding: 12rpx;
max-height: 570rpx;
overflow-y: auto;
- .report-box {
- display: inline-block;
- background: #3d84f2;
- height: 60rpx;
- padding: 0 24rpx;
- color: #fff;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 26rpx;
- color: #fff;
- line-height: 60rpx;
- border-radius: 16rpx;
- margin: 12rpx;
+ .report-content {
+ overflow: hidden;
+ display: flex;
+ justify-content: center;
+
+ .report-box {
+ display: inline-block;
+ background: #3d84f2;
+ height: 60rpx;
+ text-align: center;
+ width: 120rpx;
+ padding: 0 24rpx;
+ color: #fff;
+ font-family: PingFang SC, PingFang SC;
+ font-weight: 400;
+ font-size: 26rpx;
+ color: #fff;
+ line-height: 60rpx;
+ border-radius: 16rpx;
+ margin: 12rpx 18rpx;
+ }
+
+ .report-box1 {
+ width: 200rpx;
+ max-width: 200rpx;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ -webkit-line-clamp: 1;
+ border-radius: 32rpx !important;
+ }
}
}
diff --git a/pages/gamll/mall.vue b/pages/gamll/mall.vue
index 8621124..c5ee598 100644
--- a/pages/gamll/mall.vue
+++ b/pages/gamll/mall.vue
@@ -1,8 +1,8 @@
-
+
+
+
公司
@@ -531,15 +531,14 @@
overflow: hidden;
width: 100%;
background-size: 100% auto;
- min-height: 100vh;
- padding-bottom: 68rpx;
+ height: 3720rpx;
background-size: cover;
.park-but {
overflow: hidden;
display: flex;
justify-content: space-between;
- margin: 330rpx 60rpx 110rpx 60rpx;
+ margin: 200rpx 60rpx 110rpx 60rpx;
.but {
width: 200rpx;