Commit c82046b7 authored by usgeek's avatar usgeek
Browse files

修复样式

parent 13f36197
...@@ -24,6 +24,7 @@ Page({ ...@@ -24,6 +24,7 @@ Page({
tmpSpecText: '请选择规格数量', tmpSpecText: '请选择规格数量',
checkedSpecPrice: 0, checkedSpecPrice: 0,
openAttr: false, openAttr: false,
openShare: false,
noCollectImage: '/static/images/icon_collect.png', noCollectImage: '/static/images/icon_collect.png',
hasCollectImage: '/static/images/icon_collect_checked.png', hasCollectImage: '/static/images/icon_collect_checked.png',
collectImage: '/static/images/icon_collect.png', collectImage: '/static/images/icon_collect.png',
...@@ -42,7 +43,7 @@ Page({ ...@@ -42,7 +43,7 @@ Page({
} }
}, },
shareFriendOrCircle: function () { shareFriendOrCircle: function() {
//var that = this; //var that = this;
if (this.data.openShare === false) { if (this.data.openShare === false) {
this.setData({ this.setData({
...@@ -626,6 +627,11 @@ Page({ ...@@ -626,6 +627,11 @@ Page({
openAttr: false, openAttr: false,
}); });
}, },
closeShare: function() {
this.setData({
openShare: false,
});
},
openCartPage: function() { openCartPage: function() {
wx.switchTab({ wx.switchTab({
url: '/pages/cart/cart' url: '/pages/cart/cart'
......
...@@ -90,18 +90,31 @@ page{ ...@@ -90,18 +90,31 @@ page{
} }
.add-address{ .add-address{
background: #b4282d;
text-align: center;
width: 100%;
height: 99rpx;
line-height: 99rpx;
position: fixed;
border-radius: 0;
border: none; border: none;
color: #fff; right: 0;
font-size: 29rpx; display: flex;
justify-content: center;
align-items: center;
width: 90%;
height: 90rpx;
line-height: 98rpx;
position: absolute;
bottom: 0; bottom: 0;
left:0; left: 0;
border-radius: 0;
padding: 0;
margin: 0;
margin-left: 5%;
text-align: center;
/* padding-left: -5rpx; */
font-size: 25rpx;
color: #f4f4f4;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
} }
.empty-view{ .empty-view{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment