Commit f711d713 by luyt

feat;修改新增组件样式

1 parent c6bdaa88
/* 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 {
box-sizing: border-box;
padding-top: 88px;
......
......@@ -220,7 +220,9 @@ Component({
downVideo(e) {
let { url } = e.target.dataset;
console.log(url);
wx.showToast("正在下载视频...");
wx.showToast({
title:"正在下载视频..."
});
wx.downloadFile({
url: url,
success(res) {
......@@ -230,7 +232,9 @@ Component({
filePath: res.tempFilePath,
success(res) {
setTimeout(() => {
wx.showToast("下载成功!");
wx.showToast({
title:"下载成功!"
});
}, 2000);
},
});
......@@ -370,7 +374,9 @@ Component({
this.getMoreFn();
})
.catch(({ errMsg }) => {
wx.showToast(errMsg || "系统异常");
wx.showToast({
title:errMsg || "系统异常"
});
// 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 {
height: 100vh;
width: 100vw;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!