Commit f711d713 by luyt

feat;修改新增组件样式

1 parent c6bdaa88
/* pages/checkProduct/checkProduct.wxss */ /* pages/checkProduct/checkProduct.wxss */
@import "/style/common.wxss";
page {
background-color: #F7F7F7;
color: #282829;
font-size: 28rpx;
--themeColor: #F13C3D;
--btnColor: #3666FE;
--borderRadius: 8rpx;
--margin: 32rpx;
}
image {
width: 100%;
height: 100%;
vertical-align: top;
}
.icon-mine-arrow {
width: 16rpx !important;
height: 28rpx !important;
transform: translateY(7rpx);
}
.productCon { .productCon {
box-sizing: border-box; box-sizing: border-box;
padding-top: 88px; padding-top: 88px;
......
...@@ -220,7 +220,9 @@ Component({ ...@@ -220,7 +220,9 @@ Component({
downVideo(e) { downVideo(e) {
let { url } = e.target.dataset; let { url } = e.target.dataset;
console.log(url); console.log(url);
wx.showToast("正在下载视频..."); wx.showToast({
title:"正在下载视频..."
});
wx.downloadFile({ wx.downloadFile({
url: url, url: url,
success(res) { success(res) {
...@@ -230,7 +232,9 @@ Component({ ...@@ -230,7 +232,9 @@ Component({
filePath: res.tempFilePath, filePath: res.tempFilePath,
success(res) { success(res) {
setTimeout(() => { setTimeout(() => {
wx.showToast("下载成功!"); wx.showToast({
title:"下载成功!"
});
}, 2000); }, 2000);
}, },
}); });
...@@ -370,7 +374,9 @@ Component({ ...@@ -370,7 +374,9 @@ Component({
this.getMoreFn(); this.getMoreFn();
}) })
.catch(({ errMsg }) => { .catch(({ errMsg }) => {
wx.showToast(errMsg || "系统异常"); wx.showToast({
title:errMsg || "系统异常"
});
// this.setBtnLoading(false) // this.setBtnLoading(false)
}); });
}, },
......
@import "/style/common.wxss";
page {
background-color: #F7F7F7;
color: #282829;
font-size: 28rpx;
--themeColor: #F13C3D;
--btnColor: #3666FE;
--borderRadius: 8rpx;
--margin: 32rpx;
}
image {
width: 100%;
height: 100%;
vertical-align: top;
}
.icon-mine-arrow {
width: 16rpx !important;
height: 28rpx !important;
transform: translateY(7rpx);
}
page { page {
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!