|
@@ -1,23 +1,9 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
- <!-- <view class="user-section">
|
|
|
- <view class="bg">
|
|
|
- <image class="bg_ware" src="https://moyv.top/wechat/images/bg_wave.gif"></image>
|
|
|
- </view>
|
|
|
- <view class="user-info-box">
|
|
|
- <view class="portrait-box">
|
|
|
- <image v-if="userInfo" class="portrait" :src="userInfo.avatarUrl"></image>
|
|
|
- <u-avatar v-else class="portrait" text=""></u-avatar>
|
|
|
- </view>
|
|
|
- <view class="info-box">
|
|
|
- <view @click="toLogin" class="username">{{hasLogin? (userInfo.userName || '点击修改昵称') : '立即登录' }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
<view style="position: absolute;padding-left: 80%; display: flex;">
|
|
|
- <image @click='smBtnClick' style='width:21px;height:21px;' src="../../static/img/saoma.png" ></image>
|
|
|
- <image @click='setting' style='width:21px;height:21px;margin-left: 20rpx;' src="../../static/img/sign/shezhi@3x.png" ></image>
|
|
|
+ <image @click='smBtnClick' style='width:21px;height:21px;' src="../../static/img/saoma.png"></image>
|
|
|
+ <image @click='setting' style='width:21px;height:21px;margin-left: 20rpx;'
|
|
|
+ src="../../static/img/sign/shezhi@3x.png"></image>
|
|
|
</view>
|
|
|
<view class="indexUp flex justify-between">
|
|
|
<view class='flex'>
|
|
@@ -29,40 +15,33 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
- <view style='background:transparent;margin-bottom:0;padding:0;' class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">
|
|
|
- <view class="cu-item" v-for="(item,index) in gridList" :key="index" @click="gridClick(item, index)" v-if="index<gridCol*2">
|
|
|
- <view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
|
|
|
- <image :src="item.src" class="sign"></image>
|
|
|
-
|
|
|
- <text>{{item.name}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <view style='background:transparent;margin-bottom:0;padding:0;' class="cu-list grid"
|
|
|
+ :class="['col-' + gridCol,gridBorder?'':'no-border']">
|
|
|
+ <view class="cu-item" v-for="(item,index) in gridList" :key="index" @click="gridClick(item, index)"
|
|
|
+ v-if="index<gridCol*2">
|
|
|
+ <view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
|
|
|
+ <image :src="item.src" class="sign"></image>
|
|
|
+
|
|
|
+ <text>{{item.name}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="cover-container">
|
|
|
-
|
|
|
<view class='cover-container-item'>
|
|
|
<view style='font-size:16px;padding-left:14px;'>我的功能</view>
|
|
|
<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">
|
|
|
- <view class="cu-item" style='text-align:center;' v-for="(item,index) in gridList1" :key="index" @click="gridClick(item, index)" v-if="index<gridCol*2">
|
|
|
- <view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
|
|
|
- <text v-if='item.num==1&&taskTip' class='badge_user'>{{taskTip}}</text>
|
|
|
- <image :src="item.src" class="sign1"></image>
|
|
|
- </view>
|
|
|
- <text>{{item.name}}</text>
|
|
|
+ <view class="cu-item" style='text-align:center;' v-for="(item,index) in gridList1" :key="index"
|
|
|
+ @click="gridClick(item, index)" v-if="index<gridCol*2">
|
|
|
+ <view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
|
|
|
+ <text v-if='item.num==1&&taskTip' class='badge_user'>{{taskTip}}</text>
|
|
|
+ <image :src="item.src" class="sign1"></image>
|
|
|
+ </view>
|
|
|
+ <text>{{item.name}}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-
|
|
|
-
|
|
|
- <!-- <view class='cu-item' @click='scanCode'>
|
|
|
- <view>
|
|
|
- <text class="cuIcon-scan icon text-grey"></text>
|
|
|
- <text class="text-grey">扫一扫</text>
|
|
|
- </view>
|
|
|
- <view class = 'tip_text cuIcon-right' ></view>
|
|
|
- </view> -->
|
|
|
- </view>
|
|
|
- <!-- <view style='text-align:center;'>
|
|
|
+ </view>
|
|
|
+ <!-- <view style='text-align:center;'>
|
|
|
<navigator
|
|
|
url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/userAgreement.html"
|
|
|
class="path" hover-class="navigator-hover">《服务协议》</navigator>
|
|
@@ -70,7 +49,27 @@
|
|
|
url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/screctAgreement.html"
|
|
|
class="path" hover-class="navigator-hover">《隐私政策》</navigator>
|
|
|
</view> -->
|
|
|
+ <view class="guess-section-wrap">
|
|
|
+ <view class='flex justify-between'>
|
|
|
+ <view class='title Medium'>工厂价格</view>
|
|
|
+ </view>
|
|
|
+ <view class=' guess-section-wrap-item clearfix' v-for='(item,index1) in plantList' :key="index1">
|
|
|
+ <view class='factory'>{{item.factory}}</view>
|
|
|
+ <view class='wrap'>{{item.city}} {{item.factoryType}}</view>
|
|
|
+ <view class='price'>
|
|
|
+ <text class='currectprice '>{{item.price}}</text>
|
|
|
+ 较昨日
|
|
|
+ <image v-if='item.comparePrice>0' style="width:7.5px;height:9px;"
|
|
|
+ src='../../static/img/homepage/shangsheng.png'></image>
|
|
|
+ <image v-if='item.comparePrice<0' style="width:7.5px;height:9px;"
|
|
|
+ src='../../static/img/homepage/xiajiang.png'></image>
|
|
|
+ <text v-if='item.comparePrice>0' class='yesterday up'>{{item.comparePrice}}</text>
|
|
|
+ <text v-if='item.comparePrice<0' class='yesterday down'>{{-item.comparePrice}}</text>
|
|
|
+ <text v-if='item.comparePrice==0' class='yesterday'>-</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <u-back-top :scroll-top="scrollTop" mode="circle" icon="arrow-upward"></u-back-top>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -87,6 +86,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ scrollTop: 0,
|
|
|
inputShow: false,
|
|
|
modalName: '',
|
|
|
mycarStyle: '',
|
|
@@ -100,17 +100,17 @@
|
|
|
userInfoTmp: [],
|
|
|
inputStatus: 'none',
|
|
|
carInfo: [],
|
|
|
- headUrl:"../../static/img/myimg/YongHu@3x.png",
|
|
|
- userphone:"",
|
|
|
+ plantList: [],
|
|
|
+ headUrl: "../../static/img/myimg/YongHu@3x.png",
|
|
|
+ userphone: "",
|
|
|
gridCol: 4,
|
|
|
gridBorder: false,
|
|
|
- username:"请更改昵称",
|
|
|
- gridList: [
|
|
|
- {
|
|
|
+ username: "请更改昵称",
|
|
|
+ gridList: [{
|
|
|
num: 0,
|
|
|
name: '认证',
|
|
|
// icon: 'cuIcon-apps',
|
|
|
- src:'../../static/img/myimg/renzheng@3x.png',
|
|
|
+ src: '../../static/img/myimg/renzheng@3x.png',
|
|
|
tips: 0,
|
|
|
url: '/pages/attestation/index',
|
|
|
show: true
|
|
@@ -119,7 +119,7 @@
|
|
|
num: 1,
|
|
|
name: '粮脉',
|
|
|
// icon: 'cuIcon-apps',
|
|
|
- src:'../../static/img/myimg/liangmai@3x.png',
|
|
|
+ src: '../../static/img/myimg/liangmai@3x.png',
|
|
|
tips: 0,
|
|
|
url: '/pages/grain_pulse/my_grain_pulse',
|
|
|
show: true
|
|
@@ -128,85 +128,75 @@
|
|
|
num: 2,
|
|
|
name: '发布',
|
|
|
// icon: 'cuIcon-news',
|
|
|
- src:'../../static/img/myimg/fabu@3x.png',
|
|
|
+ src: '../../static/img/myimg/fabu@3x.png',
|
|
|
tips: 0,
|
|
|
url: `/pages/release/release`,
|
|
|
show: true
|
|
|
},
|
|
|
{
|
|
|
num: 3,
|
|
|
- name: '收购业务',
|
|
|
+ name: '货运收发',
|
|
|
// icon: 'cuIcon-copy',
|
|
|
- src:'../../static/img/myimg/erp.png',
|
|
|
+ src: '../../static/img/sign/receiveGoods@2x.png',
|
|
|
tips: 0,
|
|
|
- url: `/pages/erpbusiness/index`,
|
|
|
+ url: `/pageA/freightTransport/index`,
|
|
|
show: true
|
|
|
},
|
|
|
- {
|
|
|
- num: 4,
|
|
|
+ ],
|
|
|
+ gridList1: [{
|
|
|
+ num: 0,
|
|
|
name: 'ERP业务',
|
|
|
// icon: 'cuIcon-copy',
|
|
|
- src:'../../static/img/myimg/erp.png',
|
|
|
+ src: '../../static/img/myimg/erp.png',
|
|
|
tips: 0,
|
|
|
url: `/pages/erp/index`,
|
|
|
show: true
|
|
|
},
|
|
|
- // {
|
|
|
- // num: 5,
|
|
|
- // name: '设置',
|
|
|
- // // icon: 'cuIcon-edit',
|
|
|
- // src:'../../static/img/sign/shezhi@2x.png',
|
|
|
- // tips: 0,
|
|
|
- // url: `/pages/user/setUp`,
|
|
|
- // show: true
|
|
|
- // }
|
|
|
- ],
|
|
|
- gridList1: [
|
|
|
-
|
|
|
{
|
|
|
- num: 0,
|
|
|
+ num: 1,
|
|
|
+ name: '收购业务',
|
|
|
+ // icon: 'cuIcon-copy',
|
|
|
+ src: '../../static/img/myimg/sg.png',
|
|
|
+ tips: 0,
|
|
|
+ url: `/pages/erpbusiness/index`,
|
|
|
+ show: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 2,
|
|
|
+ name: '我的票据',
|
|
|
+ // icon: 'cuIcon-news',
|
|
|
+ src: '../../static/img/sign/piaoju@3x.png',
|
|
|
+ tips: 0,
|
|
|
+ url: `/pages/bill/index`,
|
|
|
+ show: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ num: 3,
|
|
|
name: '我的合同',
|
|
|
// icon: 'cuIcon-calendar',
|
|
|
- src:'../../static/img/sign/myContract@2x.png',
|
|
|
+ src: '../../static/img/sign/myContract@2x.png',
|
|
|
tips: 0,
|
|
|
url: '/pageB/contract/contract',
|
|
|
show: true
|
|
|
},
|
|
|
{
|
|
|
- num: 1,
|
|
|
+ num: 4,
|
|
|
name: '我的任务',
|
|
|
// icon: 'cuIcon-copy',
|
|
|
- src:'../../static/img/sign/myTask@2x.png',
|
|
|
+ src: '../../static/img/sign/myTask@2x.png',
|
|
|
tips: 0,
|
|
|
url: '/pages/task/my_task',
|
|
|
show: true
|
|
|
},
|
|
|
{
|
|
|
- num: 2,
|
|
|
- name: '货运收发',
|
|
|
- // icon: 'cuIcon-copy',
|
|
|
- src:'../../static/img/sign/receiveGoods@2x.png',
|
|
|
+ num: 5,
|
|
|
+ name: '联系客服',
|
|
|
+ // icon: 'cuIcon-edit',
|
|
|
+ src: '../../static/img/sign/service.png',
|
|
|
tips: 0,
|
|
|
- url: `/pageA/freightTransport/index`,
|
|
|
- show: true
|
|
|
- },{
|
|
|
- num: 3,
|
|
|
- name: '我的票据',
|
|
|
- // icon: 'cuIcon-news',
|
|
|
- src:'../../static/img/sign/piaoju@3x.png',
|
|
|
- tips: 0,
|
|
|
- url: `/pages/bill/index`,
|
|
|
+ url: `/pages/erp/contactCustomerService/contactCustomerService`,
|
|
|
show: true
|
|
|
- },
|
|
|
- // {
|
|
|
- // num: 5,
|
|
|
- // name: '设置',
|
|
|
- // // icon: 'cuIcon-edit',
|
|
|
- // src:'../../static/img/sign/shezhi@2x.png',
|
|
|
- // tips: 0,
|
|
|
- // url: `/pages/user/setUp`,
|
|
|
- // show: true
|
|
|
- // }
|
|
|
+ }
|
|
|
],
|
|
|
showTran: true,
|
|
|
companyId: 1,
|
|
@@ -236,30 +226,33 @@
|
|
|
computed: {
|
|
|
...mapState(['hasLogin', 'userInfo']),
|
|
|
// 手机号中间4位加*
|
|
|
- starUserphone(){
|
|
|
+ starUserphone() {
|
|
|
let reg = /^(\d{3})\d{4}(\d{4})$/;
|
|
|
- if(this.userphone){
|
|
|
+ if (this.userphone) {
|
|
|
return this.userphone.replace(reg, "$1****$2");
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ onPageScroll(e) {
|
|
|
+ this.scrollTop = e.scrollTop;
|
|
|
+ },
|
|
|
onShow() {
|
|
|
-
|
|
|
+
|
|
|
uni.hideKeyboard()
|
|
|
uni.showTabBar()
|
|
|
this.loadData()
|
|
|
- console.log("hasLogin",this.hasLogin )
|
|
|
- if(this.userInfo){
|
|
|
- if(!this.userInfo.avatarUrl){
|
|
|
+ console.log("hasLogin", this.hasLogin)
|
|
|
+ if (this.userInfo) {
|
|
|
+ if (!this.userInfo.avatarUrl) {
|
|
|
this.headUrl = "../../static/img/myimg/YongHu@3x.png"
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.headUrl = this.userInfo.avatarUrl
|
|
|
}
|
|
|
this.username = this.userInfo.userName
|
|
|
this.userphone = this.userInfo.phone
|
|
|
var that = this
|
|
|
this.$api.doRequest('get', '/notice/query/noticeNumber').then(res => {
|
|
|
- console.log("noticeNumber",res)
|
|
|
+ console.log("noticeNumber", res)
|
|
|
if (res.data.data) {
|
|
|
let name = 'myTip';
|
|
|
let value = res.data.data.task;
|
|
@@ -267,10 +260,10 @@
|
|
|
name,
|
|
|
value
|
|
|
});
|
|
|
- if(value != 0&&value){
|
|
|
+ if (value != 0 && value) {
|
|
|
uni.setTabBarBadge({
|
|
|
- index:4,
|
|
|
- text:value+""
|
|
|
+ index: 4,
|
|
|
+ text: value + ""
|
|
|
})
|
|
|
}
|
|
|
name = 'taskTip';
|
|
@@ -287,14 +280,14 @@
|
|
|
// });
|
|
|
}
|
|
|
})
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.headUrl = "../../static/img/myimg/YongHu@3x.png"
|
|
|
this.username = "立即登录"
|
|
|
}
|
|
|
- console.log("this.userInfo",this.userInfo)
|
|
|
+ console.log("this.userInfo", this.userInfo)
|
|
|
},
|
|
|
methods: {
|
|
|
- smBtnClick(){
|
|
|
+ smBtnClick() {
|
|
|
console.log(2)
|
|
|
if (!this.hasLogin) {
|
|
|
uni.showModal({
|
|
@@ -312,19 +305,19 @@
|
|
|
fail: () => {},
|
|
|
complete: () => {}
|
|
|
})
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
uni.scanCode({
|
|
|
- success: function (res) {
|
|
|
- console.log('条码内容:' + res.result);
|
|
|
+ success: function(res) {
|
|
|
+ console.log('条码内容:' + res.result);
|
|
|
uni.navigateTo({
|
|
|
- url:"/pages/erpbusiness/sm/sm?data="+res.result
|
|
|
+ url: "/pages/erpbusiness/sm/sm?data=" + res.result
|
|
|
})
|
|
|
- }
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
- fankui(){
|
|
|
+ fankui() {
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/user/fankui`
|
|
|
})
|
|
@@ -351,6 +344,27 @@
|
|
|
});
|
|
|
},
|
|
|
loadData() {
|
|
|
+ // 工厂价格
|
|
|
+ let that = this
|
|
|
+ that.$api.request('news', 'getFactoryPriceInfo', {
|
|
|
+ category: this.category,
|
|
|
+ page: 1,
|
|
|
+ limit: 99999
|
|
|
+ }, failres => {
|
|
|
+ that.$api.msg(failres.errmsg)
|
|
|
+ this.isLoadMore = false
|
|
|
+ this.loadStatus = 'nomore'
|
|
|
+ if (this.pages > 1) {
|
|
|
+ this.pages = 1
|
|
|
+ }
|
|
|
+ uni.hideLoading()
|
|
|
+ }).then(res => {
|
|
|
+ debugger
|
|
|
+ let data = res.data
|
|
|
+ that.plantList = data
|
|
|
+ // that.makeScrollData(that.plantList, 8)
|
|
|
+ uni.hideLoading()
|
|
|
+ })
|
|
|
// const that = this
|
|
|
// if(uni.getStorageSync("PageCur")){
|
|
|
// that.PageCur = uni.getStorageSync("PageCur");
|
|
@@ -432,7 +446,7 @@
|
|
|
fail: () => {},
|
|
|
complete: () => {}
|
|
|
})
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
if (item.url) {
|
|
|
uni.navigateTo({
|
|
|
url: item.url + `?companyId=${that.companyId}`
|
|
@@ -440,7 +454,7 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- setting(){
|
|
|
+ setting() {
|
|
|
if (!this.hasLogin) {
|
|
|
uni.showModal({
|
|
|
title: '登录提示',
|
|
@@ -457,20 +471,19 @@
|
|
|
fail: () => {},
|
|
|
complete: () => {}
|
|
|
})
|
|
|
- }else {
|
|
|
- uni.navigateTo({
|
|
|
- url:'/pages/user/setUp'
|
|
|
- })
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/user/setUp'
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
toLogin() {
|
|
|
- console.log("userInfo",this.userInfo)
|
|
|
+ console.log("userInfo", this.userInfo)
|
|
|
if (!this.hasLogin || !this.userInfo || this.username == "立即登录") {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/public/login_account_number'
|
|
|
})
|
|
|
- }
|
|
|
- else{
|
|
|
+ } else {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/user/setUp'
|
|
|
})
|
|
@@ -516,7 +529,7 @@
|
|
|
success: (e) => {
|
|
|
if (e.confirm) {
|
|
|
uni.hideTabBarRedDot({
|
|
|
- index:3
|
|
|
+ index: 3
|
|
|
})
|
|
|
uni.clearStorageSync();
|
|
|
that.$store.commit('logout')
|
|
@@ -568,9 +581,10 @@
|
|
|
}
|
|
|
</script>
|
|
|
<style lang='scss' scoped>
|
|
|
- page{
|
|
|
- background:#F8F9FC;
|
|
|
+ page {
|
|
|
+ background: #F8F9FC;
|
|
|
}
|
|
|
+
|
|
|
.container {
|
|
|
padding-top: 85px;
|
|
|
padding-top: 35px;
|
|
@@ -613,22 +627,23 @@
|
|
|
margin-top: 16rpx;
|
|
|
margin-bottom: 80rpx;
|
|
|
}
|
|
|
+
|
|
|
.cu-list.grid>.cu-item .badge_user {
|
|
|
color: #fff;
|
|
|
- border:1px solid #fff;
|
|
|
+ border: 1px solid #fff;
|
|
|
background-color: #FF6600;
|
|
|
display: inline-block;
|
|
|
padding: .25em .25em;
|
|
|
- position:absolute;
|
|
|
+ position: absolute;
|
|
|
font-size: 9px;
|
|
|
font-weight: 700;
|
|
|
line-height: 1;
|
|
|
text-align: center;
|
|
|
white-space: nowrap;
|
|
|
vertical-align: top;
|
|
|
- right:26px;
|
|
|
- top:-10px;
|
|
|
- z-index:2;
|
|
|
+ right: 26px;
|
|
|
+ top: -10px;
|
|
|
+ z-index: 2;
|
|
|
border-radius: 50%;
|
|
|
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
|
|
}
|
|
@@ -692,6 +707,7 @@
|
|
|
justify-content: center;
|
|
|
padding: 15px 0;
|
|
|
}
|
|
|
+
|
|
|
.user-section {
|
|
|
height: 520upx;
|
|
|
padding: 100upx 30upx 0;
|
|
@@ -785,11 +801,11 @@
|
|
|
}
|
|
|
|
|
|
.cover-container {
|
|
|
- padding: 1px 10px ;
|
|
|
- padding-bottom: 200upx;
|
|
|
-
|
|
|
- /* background-color: #F5F6FA; */
|
|
|
- /* border-radius: 20px; */
|
|
|
+ padding: 1px 10px;
|
|
|
+ padding-bottom: 20rpx;
|
|
|
+
|
|
|
+ /* background-color: #F5F6FA; */
|
|
|
+ /* border-radius: 20px; */
|
|
|
margin-top: 12upx;
|
|
|
|
|
|
.arc {
|
|
@@ -943,42 +959,123 @@
|
|
|
font-weight: 600;
|
|
|
height: 36px;
|
|
|
}
|
|
|
- .indexlow{
|
|
|
+
|
|
|
+ .indexlow {
|
|
|
/* margin-top: 30px; */
|
|
|
border-radius: 10px;
|
|
|
}
|
|
|
- .cu-list>.cu-item:after{
|
|
|
- border:none;
|
|
|
+
|
|
|
+ .cu-list>.cu-item:after {
|
|
|
+ border: none;
|
|
|
}
|
|
|
- .sign{
|
|
|
- width:35px;
|
|
|
- height:35px;
|
|
|
+
|
|
|
+ .sign {
|
|
|
+ width: 35px;
|
|
|
+ height: 35px;
|
|
|
top: 4px;
|
|
|
}
|
|
|
- .sign1{
|
|
|
- width:26px;
|
|
|
- height:26px;
|
|
|
+
|
|
|
+ .sign1 {
|
|
|
+ width: 26px;
|
|
|
+ height: 26px;
|
|
|
top: 4px;
|
|
|
}
|
|
|
- .indexUp{
|
|
|
- padding:0 20px;
|
|
|
+
|
|
|
+ .indexUp {
|
|
|
+ padding: 0 20px;
|
|
|
align-items: center;
|
|
|
}
|
|
|
- .cu-list.grid>.cu-item .cu-tag.badge{
|
|
|
- color:#fff;
|
|
|
- background:#FF6600;
|
|
|
- font-size:9px;
|
|
|
- line-height:5px;padding:5px;
|
|
|
+
|
|
|
+ .cu-list.grid>.cu-item .cu-tag.badge {
|
|
|
+ color: #fff;
|
|
|
+ background: #FF6600;
|
|
|
+ font-size: 9px;
|
|
|
+ line-height: 5px;
|
|
|
+ padding: 5px;
|
|
|
}
|
|
|
- .cover-container-item{
|
|
|
- background:#fff;
|
|
|
- border-radius:10px;
|
|
|
+
|
|
|
+ .cover-container-item {
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 10px;
|
|
|
padding: 10px 0;
|
|
|
}
|
|
|
- .cover-container-item .cu-list{
|
|
|
- margin:0;
|
|
|
+
|
|
|
+ .cover-container-item .cu-list {
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .cover-container-item .cu-list.grid>.cu-item [class*=cuIcon] {
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .guess-section-wrap-item {
|
|
|
+ float: left;
|
|
|
+ width: 38vw;
|
|
|
+ background: #F9F9FA;
|
|
|
+ padding: 7px;
|
|
|
+
|
|
|
+ margin: 20rpx;
|
|
|
+ border-radius: 3px;
|
|
|
+ // width:50%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .guess-section-wrap-item:first-child {
|
|
|
+ // margin-left:2px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .clearfix:after {
|
|
|
+ content: "";
|
|
|
+ display: block;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+
|
|
|
+ .guess-section-wrap {
|
|
|
+ padding: 15px;
|
|
|
+ margin: 10rpx 20rpx;
|
|
|
+ border-radius: 5px;
|
|
|
+ background: #fff;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .guess-section-wrap .price {
|
|
|
+ color: #B2B3BB;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 28upx;
|
|
|
+ color: $font-color-dark;
|
|
|
+ font-weight: bold;
|
|
|
+ height: 50upx;
|
|
|
+ line-height: 50upx;
|
|
|
+ flex: 2.5;
|
|
|
+ }
|
|
|
+
|
|
|
+ .factory {
|
|
|
+ font-size: 26rpx;
|
|
|
+ font-weight: 900;
|
|
|
}
|
|
|
- .cover-container-item .cu-list.grid>.cu-item [class*=cuIcon]{
|
|
|
- margin:0;
|
|
|
+
|
|
|
+ .currectprice {
|
|
|
+ color: rgba(253, 113, 79, 1);
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 550;
|
|
|
+ vertical-align: middle;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .yesterday {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 600;
|
|
|
+ vertical-align: middle;
|
|
|
+ }
|
|
|
+
|
|
|
+ .yesterday.up {
|
|
|
+ color: rgba(253, 113, 79, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .yesterday.down {
|
|
|
+ color: #22C572;
|
|
|
}
|
|
|
</style>
|