银花优选微信小程序修改后的最新版本代码
This commit is contained in:
283
pages/shop/index.js
Normal file
283
pages/shop/index.js
Normal file
@@ -0,0 +1,283 @@
|
||||
var WxParse = null;
|
||||
//获取应用实例
|
||||
var app = getApp()
|
||||
var sopenFrame=null;
|
||||
var sopenFrame0=null;
|
||||
var sopenFrame1=null;
|
||||
var that=null;
|
||||
Page({
|
||||
data: {
|
||||
indicatorDots: true,
|
||||
indicatorDots0: true,
|
||||
vertical: false,
|
||||
vertical0: false,
|
||||
autoplay: true,
|
||||
interval: 6000,
|
||||
interval0: 8000,
|
||||
duration: 1000,
|
||||
loadingHidden: false, // loading
|
||||
images:[],
|
||||
images1:[],
|
||||
Products:[],
|
||||
Products0:[],
|
||||
ifxn:0
|
||||
},
|
||||
|
||||
//事件处理函数
|
||||
swiperchange: function(e) {
|
||||
//console.log(e.detail.current)
|
||||
},
|
||||
|
||||
//事件处理函数
|
||||
swiperchange0: function(e) {
|
||||
//console.log(e.detail.current)
|
||||
},onShow: function () {
|
||||
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
|
||||
this.getTabBar().setData({
|
||||
selected: 2
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
onLoad: function(options) {
|
||||
|
||||
that=this;
|
||||
WxParse = require('../../wxParse/wxParse.js');
|
||||
/*var shopdata = wx.getStorageSync('shopdata')
|
||||
if(shopdata){
|
||||
var resshopdata=JSON.parse(shopdata);
|
||||
that.setData({
|
||||
images: resshopdata.pic,
|
||||
images1: resshopdata.pic1,
|
||||
Products:resshopdata.products,
|
||||
Products0:resshopdata.Products0,
|
||||
loadingHidden:true
|
||||
})
|
||||
|
||||
}*/
|
||||
|
||||
that.rdata(0);
|
||||
|
||||
|
||||
sopenFrame=setInterval(function (){
|
||||
if(app.globalData.IFRefreshshop==1){
|
||||
app.globalData.IFRefreshshop=0;
|
||||
that.setData({
|
||||
Start: 0
|
||||
});
|
||||
that.rdata(0);
|
||||
}
|
||||
}, 1000);
|
||||
},onPullDownRefresh: function () {
|
||||
//在当前页面显示导航条加载动画
|
||||
wx.showNavigationBarLoading();
|
||||
//显示 loading 提示框。需主动调用 wx.hideLoading 才能关闭提示框
|
||||
wx.showLoading({
|
||||
title: '刷新中...',
|
||||
|
||||
})
|
||||
|
||||
that.setData({
|
||||
Start: 0
|
||||
});
|
||||
wx.removeStorageSync('selcityid')
|
||||
wx.removeStorageSync('selcountyid')
|
||||
wx.removeStorageSync('dlMemberId')
|
||||
|
||||
that.rdata(1);
|
||||
|
||||
},// 页面上拉触底事件(上拉加载更多)
|
||||
|
||||
|
||||
// 清缓存
|
||||
clearCache:function(){
|
||||
that.setData({
|
||||
loadingHidden:false
|
||||
});
|
||||
},rdata:function(t) {
|
||||
|
||||
try{
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var selcityid = wx.getStorageSync("selcityid")
|
||||
var selcountyid = wx.getStorageSync("selcountyid")
|
||||
var dlMemberId = wx.getStorageSync("dlMemberId")
|
||||
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
|
||||
data: {
|
||||
action:"getshopdata",
|
||||
userId:(!userId?"":userId),
|
||||
LoginId:(!LoginId?"":LoginId),
|
||||
Start:that.data.Start,
|
||||
cid:that.data.cid,
|
||||
selcityid:(!selcityid?"":selcityid),
|
||||
selcountyid:(!selcountyid?"":selcountyid),
|
||||
dlMemberId:(!dlMemberId?"":dlMemberId),
|
||||
},
|
||||
method:"GET",
|
||||
dataType:"json",
|
||||
header: {
|
||||
"content-type": "application/json" // 默认值
|
||||
},
|
||||
success (res) {
|
||||
|
||||
if(res.data.status==1){
|
||||
wx.setStorageSync('shopdata', JSON.stringify(res.data))
|
||||
that.setData({
|
||||
images: res.data.pic,
|
||||
images1: res.data.pic1,
|
||||
Products:res.data.products,
|
||||
Products0:res.data.products0,
|
||||
loadingHidden:true
|
||||
})
|
||||
|
||||
if(res.data.userInfo.ifxn==0){
|
||||
that.setData({
|
||||
ifxn:1
|
||||
})
|
||||
}
|
||||
|
||||
if(t==1){
|
||||
//隐藏loading 提示框
|
||||
wx.hideLoading();
|
||||
//隐藏导航条加载动画
|
||||
wx.hideNavigationBarLoading();
|
||||
//停止下拉刷新
|
||||
wx.stopPullDownRefresh();
|
||||
}
|
||||
|
||||
}else{
|
||||
if(res.data.msg=="您未登录"||res.data.msg=="参数错误"){
|
||||
wx.removeStorageSync('userId')
|
||||
wx.removeStorageSync('LoginId')
|
||||
that.rdata(0)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}catch(err){
|
||||
wx.showToast({
|
||||
title: err,
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
}
|
||||
},gotodetail:function(e) {
|
||||
|
||||
var id = e.currentTarget.dataset.id
|
||||
wx.navigateTo({
|
||||
url: "../details/index?id="+id
|
||||
})
|
||||
|
||||
},
|
||||
onshop: function (e) {
|
||||
var id = e.currentTarget.dataset.id
|
||||
|
||||
wx.navigateTo({
|
||||
url: "../othershop/index?t=" + id
|
||||
})
|
||||
|
||||
|
||||
},onnav: function (e) {
|
||||
var id = e.currentTarget.dataset.id
|
||||
|
||||
wx.navigateTo({
|
||||
url: "../list/index?t=0&id=" + id
|
||||
})
|
||||
|
||||
|
||||
},getkeyword:function(e) {
|
||||
that.setData({
|
||||
keyword:e.detail.value
|
||||
})
|
||||
},onsearch:function() {
|
||||
var keyword=that.data.keyword.replace(/\s+/g, "");
|
||||
if(keyword!=""){
|
||||
wx.navigateTo({
|
||||
url: "../list/index?keyword=" + keyword
|
||||
})
|
||||
}else{
|
||||
wx.showToast({
|
||||
title: "关键字不能为空",
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
},onpd:function(e) {
|
||||
var ids = e.currentTarget.dataset.id
|
||||
wx.navigateTo({
|
||||
url: "../details/index?"+ids
|
||||
})
|
||||
},onyjpt:function(e) {
|
||||
var id = e.currentTarget.dataset.id
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
if(userId&&LoginId){
|
||||
if(that.data.IFAuto==1){
|
||||
if(that.data.button_title=="一键拼团"){
|
||||
that.setData({
|
||||
button_title: "请稍候..."
|
||||
})
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
data: {
|
||||
action:"ononekey",
|
||||
userId:(!userId?"":userId),
|
||||
LoginId:(!LoginId?"":LoginId),
|
||||
id:id,
|
||||
t:1
|
||||
},
|
||||
method:"GET",
|
||||
dataType:"json",
|
||||
header: {
|
||||
"content-type": "application/json" // 默认值
|
||||
},
|
||||
success (res) {
|
||||
that.setData({
|
||||
button_title: "一键拼团"
|
||||
})
|
||||
if(res.data.status==1){
|
||||
wx.showToast({
|
||||
title: "已下单成功",
|
||||
icon: "success",
|
||||
duration: 2000
|
||||
})
|
||||
that.setData({
|
||||
IFAuto:2
|
||||
})
|
||||
that.setData({
|
||||
Start: 0
|
||||
});
|
||||
that.getlist(0);
|
||||
|
||||
}else{
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
}else{
|
||||
if(that.data.IFAuto==0){
|
||||
wx.navigateTo({
|
||||
url: "../vip/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
}else{
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},catchbutton:function(e) {
|
||||
|
||||
},onautopt:function(e) {
|
||||
|
||||
}
|
||||
})
|
||||
4
pages/shop/index.json
Normal file
4
pages/shop/index.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
87
pages/shop/index.wxml
Normal file
87
pages/shop/index.wxml
Normal file
@@ -0,0 +1,87 @@
|
||||
<!--index.wxml-->
|
||||
<import src="../../wxParse/wxParse.wxml"/>
|
||||
<view class="container">
|
||||
<view>
|
||||
<swiper class="swiper_box" indicator-dots="{{indicatorDots}}" vertical="{{vertical}}" circular="true"
|
||||
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperchange">
|
||||
<block wx:for="{{images}}" wx:key="index">
|
||||
<swiper-item bindtap="onslide" data-id="{{item.url}}">
|
||||
<image src="{{item.img}}" class="slide-image"/>
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
</view>
|
||||
<view class="mydata_box0" wx:if="{{ifxn==1}}">
|
||||
<view>
|
||||
<swiper class="swiper_box0" indicator-dots="{{indicatorDots0}}" vertical="{{vertical0}}" circular="true"
|
||||
autoplay="{{autoplay}}" interval="{{interval0}}" duration="{{duration}}" bindchange="swiperchange0">
|
||||
<swiper-item wx:for="{{images1}}">
|
||||
<view wx:for="{{item.datas}}" wx:for-item="cell" wx:for-index="index0" bindtap="onnav" data-id='{{cell.id+"&title="+cell.label}}'>
|
||||
<image src='{{cell.img}}'></image>
|
||||
<text>{{cell.label}}</text>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="choice_text">
|
||||
<view class="line_flag"></view>
|
||||
<text>热门商品</text>
|
||||
<view class="more"></view>
|
||||
</view>
|
||||
<view class="choice_box">
|
||||
<view class="choice_list">
|
||||
<block wx:for="{{Products}}" wx:for-item="cell" wx:for-index="index0">
|
||||
<view class='block block0{{(index0%2)==1?" r":" l"}}' bindtap="gotodetail" data-id="{{cell._id}}">
|
||||
<view class='choice_item'>
|
||||
<image src="{{cell.image}}"/>
|
||||
<view class="title">{{cell.name}}</view>
|
||||
<view class="je">
|
||||
|
||||
<view class="jeto">
|
||||
<view>零售价: </view>
|
||||
<view class="scje">¥{{cell.scje}}</view>
|
||||
</view>
|
||||
<view class="jeto jeto0">
|
||||
<view class="viphyj">兑换价:<text>{{cell.hyje}}</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="choice_text">
|
||||
<view class="line_flag"></view>
|
||||
<text>推荐商品</text>
|
||||
<view class="more"></view>
|
||||
</view>
|
||||
<view class="choice_box">
|
||||
<view class="choice_list">
|
||||
<block wx:for="{{Products0}}" wx:for-item="cell" wx:for-index="index0">
|
||||
<view class='block block0{{(index0%2)==1?" r":" l"}}' bindtap="gotodetail" data-id="{{cell._id}}">
|
||||
<view class='choice_item'>
|
||||
<image src="{{cell.image}}"/>
|
||||
<view class="title">{{cell.name}}</view>
|
||||
<view class="je">
|
||||
|
||||
<view class="jeto">
|
||||
<view>零售价: </view>
|
||||
<view class="scje">¥{{cell.scje}}</view>
|
||||
</view>
|
||||
<view class="jeto jeto0">
|
||||
<view class="viphyj">兑换价:<text>{{cell.hyje}}</text></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 4em;"></view>
|
||||
<loading hidden="{{loadingHidden}}">
|
||||
加载中...
|
||||
</loading>
|
||||
|
||||
</view>
|
||||
386
pages/shop/index.wxss
Normal file
386
pages/shop/index.wxss
Normal file
@@ -0,0 +1,386 @@
|
||||
page{
|
||||
background: #ccc;
|
||||
}
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
}
|
||||
.swiper_box {
|
||||
width: 100%;
|
||||
min-height: 15em;
|
||||
}
|
||||
|
||||
swiper-item image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.searchbox2{position: fixed; top:1.7em; left:0.5em; display: flex; z-index: 5; flex-direction: row; margin:0; height:2.2em; padding:0; background-color:rgba(0, 0, 0, 0.3); box-sizing: border-box;border-radius:1.2em;}
|
||||
|
||||
.searchbox2 .inpubox{flex-grow: 1; height:2.2em; }
|
||||
.searchbox2 .inpubox #keyword{ margin:0; padding-left: 0.2em; width: 100%; font-size:1em; height:2.2em; outline: none; text-indent:0;box-sizing:border-box;color:#fff;}
|
||||
.searchbox2 .icobox{width:2.2em;height:2.2em; font-size:1em; box-sizing:border-box;}
|
||||
.searchbox2 .icobox image{width: 1.2em; height:1.2em; margin-top: .45em; margin-left: 0.6em;}
|
||||
.searchbox2 .icobox1{margin-left:-2.2em; padding-right: 0.3em; width:3.2em;height:2.2em; z-index:2; line-height:2.2em; font-size:1em; box-sizing:border-box; color:#fff;}
|
||||
.searchbox2 .icobox0{width:auto; padding:0 0.5em; height:2.2em; font-size:1em; box-sizing:border-box;}
|
||||
.searchbox2 .icobox0 image{float:left; margin-left: 0.3em; width: 1.2em; height:1.2em; margin-top: .75em;}
|
||||
.searchbox2 .icobox0 text{float:left;display: block; width:auto;height:2.2em; line-height:2.2em; }
|
||||
.phcolor{color:#bbb;}
|
||||
.notice_box{margin-top:-2.5em; z-index: 2; height:2.5em; width:100%;display: flex; flex-direction: row; padding: 0 0.5em; box-sizing: border-box; background-color:rgba(0, 0, 0, 0.3);}
|
||||
.notice_box .notice_title{display: flex; flex-direction: row; height:2.5em; width:auto; min-width:6.6em;}
|
||||
.notice_box .notice_title image{ margin-top:0.5em; height:1.5em; width:1.5em;}
|
||||
.notice_box .notice_title text{ margin-left:0.5em; height:2.5em; line-height: 2.5em; color:#fff;}
|
||||
.notice_box .notice_body{height:2.5em; overflow: hidden; color:#fff;position:relative;flex-grow: 1;}
|
||||
@keyframes around {
|
||||
from {
|
||||
margin-left: 100%;
|
||||
}
|
||||
to {
|
||||
/* var接受传入的变量 */
|
||||
margin-left: var(--marqueeWidth--);
|
||||
}
|
||||
}
|
||||
|
||||
.marquee_container{
|
||||
margin-top:0;
|
||||
height: 2.5em;
|
||||
line-height: 2.5em;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.marquee_container:hover{
|
||||
/* 不起作用 */
|
||||
animation-play-state: paused;
|
||||
}
|
||||
.marquee_text{
|
||||
color:#fff;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
animation-name: around;
|
||||
animation-duration: 10s; /*过渡时间*/
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function:linear;
|
||||
}
|
||||
.menus{
|
||||
margin-top:0em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding:0.8em;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
z-index:11;
|
||||
}
|
||||
.menus .item-menu{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding:0;
|
||||
flex-grow: 1;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.menus .item-menu view{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-right:0.8em;
|
||||
padding:0;
|
||||
width: 100%;
|
||||
color:#333;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.menus .item-menu view.end{
|
||||
margin-right:0;
|
||||
}
|
||||
.menus .item-menu view view{
|
||||
width: auto;
|
||||
margin:0 auto;
|
||||
}
|
||||
.menus .item-menu view.hover view{
|
||||
color:#000;
|
||||
font-weight: 900;
|
||||
line-height: 2.5em;
|
||||
border-bottom: 3px solid #ff4d00;
|
||||
}
|
||||
.mydata_box{
|
||||
float:left;
|
||||
margin-top:0.5em;
|
||||
padding:0.3em 0.8em;
|
||||
padding-right:0;
|
||||
padding-bottom: 0.8em;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mydata_box .swiper_box0 {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
.mydata_box .swiper_box0 .wx-swiper-dots{bottom: 0em;}
|
||||
.mydata_box .mydata-item{
|
||||
float:left;
|
||||
margin: 0.5em 0;
|
||||
width: 20%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mydata_box .mydata-item view{
|
||||
float:left;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
.mydata_box view image{
|
||||
width:5em;
|
||||
height:5em;
|
||||
border-radius:50%;
|
||||
}
|
||||
.mydata_box view text{
|
||||
display: block;
|
||||
width:100%;
|
||||
font-size:0.85em;
|
||||
color: #000;
|
||||
}
|
||||
.mydata_box view.umoney1{
|
||||
border-left:1px solid #f1f1f1;
|
||||
}
|
||||
.mydata_box view image{
|
||||
width: 3em;
|
||||
height: 3em;
|
||||
|
||||
}
|
||||
.mydata_box0{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding:0.4em 0.4em;
|
||||
box-sizing: border-box;
|
||||
z-index: 10;
|
||||
}
|
||||
.mydata_box0 view{
|
||||
display:block;
|
||||
float:left;
|
||||
width: 100%;
|
||||
padding: 0.4em 0;
|
||||
padding-bottom: 0.4em;
|
||||
border-radius:0.5em;
|
||||
background-color:#fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mydata_box0 view .swiper_box0 {
|
||||
display:block;
|
||||
float:left;
|
||||
width: 100%;
|
||||
height:11em;
|
||||
}
|
||||
.mydata_box0 .swiper_box0 .wx-swiper-dots{bottom: 0em;}
|
||||
.mydata_box0 view view{
|
||||
float: left;
|
||||
display: flex;
|
||||
width: 25%;
|
||||
height: 6em;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
font-size:0.9em;
|
||||
}
|
||||
|
||||
.mydata_box0 view view image{
|
||||
width: 3em;
|
||||
height: 3em;
|
||||
padding:0;
|
||||
background-color: #f5f5f5;
|
||||
border-radius:0.4em;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mydata_box0 view view text{
|
||||
margin-top: 0.4em;
|
||||
|
||||
}
|
||||
|
||||
.text{
|
||||
margin-top: 0;
|
||||
line-height: 2.5em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
border-bottom:1px solid #f1f1f1;
|
||||
}
|
||||
.text .line_flag{
|
||||
margin-top: 0em;
|
||||
margin-left: 0.5em;
|
||||
margin-right: 0.5em;
|
||||
width:0.5em;
|
||||
height: 1.5em;
|
||||
line-height: 1.5em;
|
||||
background-color: #f0514d;
|
||||
border-radius:0.2em;
|
||||
}
|
||||
|
||||
.text .line_more{
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
align-self: center;
|
||||
color:#ff0000
|
||||
}
|
||||
.choice_text{
|
||||
margin-top: 0.5em;
|
||||
width:100%;
|
||||
line-height: 2.5em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
background-color: #1D7946;
|
||||
}
|
||||
.choice_text .line_flag{
|
||||
margin-top: 0em;
|
||||
margin-left: 0.5em;
|
||||
margin-right: 0.5em;
|
||||
width:0.5em;
|
||||
height: 1.5em;
|
||||
line-height: 1.5em;
|
||||
background-color: #00B050;
|
||||
border-radius:0.2em;
|
||||
}
|
||||
.choice_text text{
|
||||
flex-grow: 1;
|
||||
font-weight: 800;
|
||||
color:#fff;
|
||||
}
|
||||
.choice_text .more{
|
||||
width:4em;
|
||||
}
|
||||
|
||||
.choice_box {
|
||||
float: left;
|
||||
width:100%;
|
||||
padding:0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.choice_box .choice_list .block{
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding:0.5em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.choice_box .choice_list .block.block0{
|
||||
width: 50%;
|
||||
padding: 0.5em;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.choice_box .choice_list .block.block0.l{
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
.choice_box .choice_list .block.block0.r{
|
||||
padding-left: 0.25em;
|
||||
}
|
||||
.choice_box .choice_list .block .choice_item{
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding:0;
|
||||
border:1px solid #f1f1f1;
|
||||
background-color: #fff;
|
||||
border-radius:0.5em;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.choice_box .choice_list .block image {
|
||||
width: 100%;
|
||||
height:90vw;
|
||||
}
|
||||
.choice_box .choice_list .block.block0 image {
|
||||
width: 100%;
|
||||
height:46vw;
|
||||
}
|
||||
|
||||
.choice_box .choice_list .title {
|
||||
float: left;
|
||||
padding:0 0.5em;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.choice_box .choice_list .je {
|
||||
float: right;
|
||||
width:auto;
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
align-items:flex-end;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
padding:0 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.choice_box .choice_list .je .jeto{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
color: #00B050;
|
||||
}
|
||||
.choice_box .choice_list .je .jeto.jeto0{
|
||||
|
||||
}
|
||||
.choice_box .choice_list .je .jeto .viphyj{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
margin-top: 0.2em;
|
||||
font-weight: 600;
|
||||
}
|
||||
.choice_box .choice_list .je .jeto .viphyj image{
|
||||
width:1.2em;
|
||||
height:1.2em;
|
||||
margin-top: 0.1em;
|
||||
margin-right: 0.2em;
|
||||
}
|
||||
.choice_box .choice_list .je .jeto .viphyj view{
|
||||
height:1.5em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
.choice_box .choice_list .je .jeto .scje{
|
||||
text-decoration:line-through;
|
||||
}
|
||||
.choice_box .choice_list .je .jeto .hyje{
|
||||
|
||||
line-height:1.4em;
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
|
||||
.choice_box .choice_list .block.block0 .title{
|
||||
width:100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.choice_box .choice_list .block.block0 .je {
|
||||
float: left;
|
||||
width:100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.nodatas{
|
||||
width:100%;
|
||||
text-align: center;
|
||||
}
|
||||
.nodatas image{
|
||||
margin-top: 1em;
|
||||
width:5em;
|
||||
height:5em;
|
||||
}
|
||||
.nodatas view{
|
||||
width:100%;
|
||||
color:#939393;
|
||||
}
|
||||
Reference in New Issue
Block a user