ui修改
This commit is contained in:
@@ -73,7 +73,8 @@ Page({
|
||||
sharetitle:"",
|
||||
checked:0,
|
||||
vipqx:0,
|
||||
loadingHidden:false
|
||||
loadingHidden:false,
|
||||
fromHot:0
|
||||
},
|
||||
|
||||
onLoad: function(options) {
|
||||
@@ -88,6 +89,12 @@ Page({
|
||||
|
||||
}
|
||||
|
||||
if(options.fromHot){
|
||||
that.setData({
|
||||
fromHot:options.fromHot
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
that.rdata(0)
|
||||
},onPullDownRefresh: function () {
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
<view class="selguige_box" wx:for="{{selguiges}}">
|
||||
<view class="selguige_item {{(item.selectednum>0?'hover':'')}}" data-id="{{index}}">
|
||||
<view class="select_name">{{item.gg}}<view>兑换券:{{(ttype==6 && addtype==0)?item.jg2:item.jg}}</view><!--<view>金豆:{{item.jg0}}</view>--></view>
|
||||
<view class="select_name">{{item.gg}}<view>{{fromHot==1?'会员价:':'兑换券:'}}{{(ttype==6 && addtype==0)?item.jg2:item.jg}}</view><!--<view>金豆:{{item.jg0}}</view>--></view>
|
||||
<view class="select_colors" wx:if='{{item.colors!=""}}' bindtap="showcolor" data-id="{{index}}">
|
||||
<view>{{item.selectedcolor==""?"选择颜色":item.selectedcolor}}</view>
|
||||
</view>
|
||||
|
||||
@@ -144,23 +144,23 @@ page{
|
||||
.shopping_container .spell_list .title text{
|
||||
color:#ff0000;
|
||||
}
|
||||
.shopping_container .oldprice{
|
||||
background:linear-gradient(to right, #6BA3F0, #8BBDF5);
|
||||
.shopping_container .oldprice{
|
||||
background:linear-gradient(to right, #FF6B35, #FF4E50);
|
||||
margin-right: 0.5em;
|
||||
text-align:center;
|
||||
line-height:2.5em;
|
||||
color:#fff;
|
||||
text-align:center;
|
||||
line-height:2.5em;
|
||||
color:#fff;
|
||||
padding:5px;
|
||||
border-radius:3px;
|
||||
}
|
||||
.shopping_container .oldprice text{
|
||||
text-decoration:line-through;
|
||||
}
|
||||
.shopping_container .currentprice{
|
||||
background:linear-gradient(to right, #6BA3F0, #8BBDF5);
|
||||
text-align:center;
|
||||
line-height:2.5em;
|
||||
color:#fff;
|
||||
.shopping_container .currentprice{
|
||||
background:linear-gradient(to right, #FF6B35, #FF4E50);
|
||||
text-align:center;
|
||||
line-height:2.5em;
|
||||
color:#fff;
|
||||
padding:5px;
|
||||
border-radius:3px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user