|
@@ -12,8 +12,10 @@
|
|
|
</view>
|
|
|
<view class="contract-item">
|
|
|
<text class="title-ratio">资金费率:{{ rateProfitsTotal.profits_total }}%</text>
|
|
|
- <image class="ratio-icon" @click.stop="lookDetails" src="../../../static/images/icon_05.png" mode="aspectFit"></image>
|
|
|
- <image class="ratio-icon" @click.stop="setContract" src="../../../static/images/icon_06.png" mode="aspectFit"></image>
|
|
|
+ <image class="ratio-icon" @click.stop="lookDetails" src="../../../static/images/icon_05.png"
|
|
|
+ mode="aspectFit"></image>
|
|
|
+ <image class="ratio-icon" @click.stop="setContract" src="../../../static/images/icon_06.png"
|
|
|
+ mode="aspectFit"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -36,46 +38,69 @@
|
|
|
</view>
|
|
|
<text class="account-num">{{ rateProfitsTotal.hazard_rate }}</text>
|
|
|
</view>
|
|
|
+ <view class="account-item">
|
|
|
+ <view class="account-title">
|
|
|
+ <text class="text">净值(USDT</text>
|
|
|
+ </view>
|
|
|
+ <text class="account-num">{{ contractAccount.usdt_totle }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="account-item">
|
|
|
+ <view class="account-title">
|
|
|
+ <text class="text">风险率</text>
|
|
|
+ </view>
|
|
|
+ <text class="account-num">{{ contractAccount.totle }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="account-item">
|
|
|
+ <view class="account-title">
|
|
|
+ <text class="text">账户余额(USDT)</text>
|
|
|
+ </view>
|
|
|
+ <text class="account-num">{{ rateProfitsTotal.hazard_rate }}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<view class="data-box">
|
|
|
<view class="data-left">
|
|
|
- <view class="left-title flex">
|
|
|
- <text>价格</text>
|
|
|
- <text>数量</text>
|
|
|
- </view>
|
|
|
- <view class="subhead-title flex">
|
|
|
- <text>(USDT)</text>
|
|
|
- <text>(张)</text>
|
|
|
+ <view class="nums-title">
|
|
|
+ <view class="left-title flex">
|
|
|
+ <text>价格</text>
|
|
|
+ <text>数量</text>
|
|
|
+ </view>
|
|
|
+ <view class="subhead-title flex">
|
|
|
+ <text>(USDT)</text>
|
|
|
+ <text>(张)</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<view class="nums-list">
|
|
|
- <view class="nums-item die" v-for="(item , indx) in bids" :key="`bids_${indx}`" v-if="indx < 7">
|
|
|
+ <template v-for="(item , indx) in bids" v-if="indx < marketNum">
|
|
|
+ <market-depth :type="1" :val="item"></market-depth>
|
|
|
+ </template>
|
|
|
+ <!-- <view class="nums-item die" v-for="(item , indx) in bids" :key="`bids_${indx}`" v-if="indx < 7">
|
|
|
<text class="nums-item-bg pankoubgcolor" :style="{'width': item[2] + '%' }"></text>
|
|
|
<view class="item-num">
|
|
|
<text class="color">{{ item[1] }}</text>
|
|
|
<text>{{ item[0] }}</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
|
|
|
- <view class="left-title index-num-title flex">
|
|
|
- <text>{{ daymarket.now_price }}</text>
|
|
|
- <text>{{ daymarket.change }}%</text>
|
|
|
- </view>
|
|
|
- <view class="subhead-title index-title flex">
|
|
|
- <text>指数{{ daymarket.high }}</text>
|
|
|
- <text>标记{{ daymarket.open }}</text>
|
|
|
+ <view class="index-num-box">
|
|
|
+ <view class=" index-num-title ">
|
|
|
+ <text>{{ daymarket.now_price }}</text>
|
|
|
+ <text>{{ daymarket.change }}%</text>
|
|
|
+ </view>
|
|
|
+ <view class=" index-title ">
|
|
|
+ <text>指数{{ daymarket.high }}</text>
|
|
|
+ <text>标记{{ daymarket.open }}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<view class="nums-list" style="padding-top: 6.5rpx;">
|
|
|
- <view class="nums-item zhang" v-for="(item , indx) in asks" :key="`asks_${indx}`" v-if="indx < 7">
|
|
|
- <text class="nums-item-bg pankoubgcolor" :style="{'width': item[2] + '%' }"></text>
|
|
|
- <view class="item-num">
|
|
|
- <text class="color">{{ item[1] }}</text>
|
|
|
- <text>{{ item[0] }}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <!-- <template v-for="(item , indx) in asks" v-if="indx < 7"> -->
|
|
|
+ <template v-for="(item , indx) in asks" v-if="indx < marketNum">
|
|
|
+ <market-depth :type="2" :val="item"></market-depth>
|
|
|
+ </template>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -111,8 +136,11 @@
|
|
|
</template>
|
|
|
<!-- target_price -->
|
|
|
</view>
|
|
|
+ <!-- 下单数量 -->
|
|
|
<view class="right-input">
|
|
|
- <input class="input-item" v-model="share" type="number">
|
|
|
+ <input v-show="!percent" class="input-item" @focus="percent = 0" v-model="share" type="number">
|
|
|
+ <text @click.stop="percent = 0" v-show="percent"
|
|
|
+ class="input-item input-item-text">{{ percent }}%</text>
|
|
|
<view class="right-input-icon">
|
|
|
<text>张</text>
|
|
|
<text class="icon-link">|</text>
|
|
@@ -120,13 +148,43 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="step-content">
|
|
|
- <step :width="365" :percent.sync="percent" />
|
|
|
+ <step :percent.sync="percent" />
|
|
|
+ <!-- <cu-progress width="100%" @dragging="dragging"> </cu-progress> -->
|
|
|
</view>
|
|
|
|
|
|
<view class="set-node">
|
|
|
- <view class="set-node-status"></view>
|
|
|
- <text class="set-node-text">设置止盈止损</text>
|
|
|
+ <view class="set-node-box">
|
|
|
+ <view @click.stop="setNodePrice = !setNodePrice"
|
|
|
+ :class="['set-node-status' , setNodePrice ? 'active-set' : '']">
|
|
|
+ <text class="iconfont" v-show="setNodePrice"></text>
|
|
|
+ </view>
|
|
|
+ <text class="set-node-text">设置止盈止损</text>
|
|
|
+ </view>
|
|
|
+ <text v-show="setNodePrice" class="set-node-high">高级</text>
|
|
|
</view>
|
|
|
+ <template v-if="setNodePrice">
|
|
|
+ <view class="right-input">
|
|
|
+ <input placeholder-class="placeholder-class" :placeholder="`按${ restrictProfitStatus == 1 ? '价格' : '比例' }止盈`" class="input-item"
|
|
|
+ v-model="restrictProfitVal" type="number">
|
|
|
+ <text v-show="restrictProfitStatus === 2" class="input-item input-item-text">%</text>
|
|
|
+ <view class="right-input-icon">
|
|
|
+ <text>USDT</text>
|
|
|
+ <text class="icon-link">|</text>
|
|
|
+ <text class="switch-icon iconfont"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="right-input">
|
|
|
+ <input :placeholder="`按${ restrictLossStatus == 1 ? '价格' : '比例' }止损`" class="input-item"
|
|
|
+ v-model="restrictLossVal" type="number">
|
|
|
+ <text v-show="restrictLossStatus === 2" class="input-item input-item-text">%</text>
|
|
|
+ <view class="right-input-icon">
|
|
|
+ <text>USDT</text>
|
|
|
+ <text class="icon-link">|</text>
|
|
|
+ <text class="switch-icon iconfont"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </template>
|
|
|
|
|
|
<view class="info-item">
|
|
|
<text class="info-item-lable">成本</text>
|
|
@@ -143,7 +201,8 @@
|
|
|
<view class="info-btns">
|
|
|
<view class="info-btn-info">
|
|
|
<text class="info-btn-lable">可做多</text>
|
|
|
- <text class="info-btn-val">{{ pagesInfo.lever_share_limit ? pagesInfo.lever_share_limit.max : '--' }}张</text>
|
|
|
+ <text
|
|
|
+ class="info-btn-val">{{ pagesInfo.lever_share_limit ? pagesInfo.lever_share_limit.max : '--' }}张</text>
|
|
|
<!-- {{ pagesInfo.lever_share_limit ? pagesInfo.lever_share_limit?.max : '--' }} -->
|
|
|
</view>
|
|
|
<view class="info-btn" @click.stop="setSubmitLever(2)">
|
|
@@ -153,7 +212,8 @@
|
|
|
<view class="info-btns err-btns">
|
|
|
<view class="info-btn-info">
|
|
|
<text class="info-btn-lable">可做空</text>
|
|
|
- <text class="info-btn-val">{{ pagesInfo.lever_share_limit ? pagesInfo.lever_share_limit.max : '--' }}张</text>
|
|
|
+ <text
|
|
|
+ class="info-btn-val">{{ pagesInfo.lever_share_limit ? pagesInfo.lever_share_limit.max : '--' }}张</text>
|
|
|
</view>
|
|
|
<view class="info-btn" @click.stop="setSubmitLever(1)">
|
|
|
卖出/做空
|
|
@@ -169,7 +229,7 @@
|
|
|
<text @click.stop="freightSpaceIndex = 2"
|
|
|
:class="['lable-text-item' , freightSpaceIndex == 2 ? 'active-text-item' : '' ]">当前委托({{ entrustList.length }})</text>
|
|
|
</view>
|
|
|
- <view class="iconfont" @click.stop="getHistory()"></view>
|
|
|
+ <view class="iconfont" style="color: #878592;" @click.stop="getHistory()"></view>
|
|
|
</view>
|
|
|
|
|
|
<swiper class="swiper-content" :current="freightSpaceIndex - 1"
|
|
@@ -177,7 +237,8 @@
|
|
|
<swiper-item class="swiper-item-box">
|
|
|
<u-list class="swiper-list" :style="{'height': scrollHeight ? `${scrollHeight}px` : '' }">
|
|
|
<freightSpace ref="freightSpaceRef" :leverTransaction="leverTransaction"
|
|
|
- @closeLeverSuccess="closeLeverSuccess" @setDepot="setDepot" :currency="currencyVal" v-bind="$attrs" v-on="$listeners"/>
|
|
|
+ @closeLeverSuccess="closeLeverSuccess" @setDepot="setDepot" :currency="currencyVal"
|
|
|
+ v-bind="$attrs" v-on="$listeners" />
|
|
|
</u-list>
|
|
|
</swiper-item>
|
|
|
<swiper-item>
|
|
@@ -267,8 +328,8 @@
|
|
|
|
|
|
|
|
|
freightSpaceIndex: 1,
|
|
|
-
|
|
|
-
|
|
|
+ marketNum:7,
|
|
|
+
|
|
|
entrustList: [],
|
|
|
scrollHeight: '',
|
|
|
percent: 0,
|
|
@@ -281,10 +342,28 @@
|
|
|
// 平仓 - 反向开仓
|
|
|
closeLeverContent: '',
|
|
|
title: '平仓',
|
|
|
- restrict: ''
|
|
|
+ restrict: '',
|
|
|
+ setNodePrice: false,
|
|
|
+ // 止盈
|
|
|
+ restrictProfitVal: '',
|
|
|
+ restrictProfitStatus: 1, // 按价格止盈 , 2 : 比例止盈
|
|
|
+ // 止损
|
|
|
+ restrictLossVal: '',
|
|
|
+ restrictLossStatus: 1, // 按价格止损 , 2 : 比例止损
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
+
|
|
|
+ setNodePrice:{
|
|
|
+ handler(newStatus){
|
|
|
+ if(newStatus){
|
|
|
+ this.marketNum = 9
|
|
|
+ }else{
|
|
|
+ this.marketNum = 7
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
PageContentHeight: {
|
|
|
handler(newHeigth) {
|
|
|
this.scrollHeight = newHeigth - uni.upx2px(100) - this.tabBarHeight;
|
|
@@ -292,11 +371,11 @@
|
|
|
immediate: true
|
|
|
},
|
|
|
percent(newNums) {
|
|
|
- const maxNums = this.pagesInfo?.lever_share_limit?.max
|
|
|
- if (newNums >= 0 && maxNums) {
|
|
|
- this.share = this.$decimalNum.mul(maxNums, newNums / 100);
|
|
|
- console.log('this.share = ', this.share)
|
|
|
- }
|
|
|
+ // const maxNums = this.pagesInfo?.lever_share_limit?.max
|
|
|
+ // if (newNums >= 0 && maxNums) {
|
|
|
+ // this.share = this.$decimalNum.mul(maxNums, newNums / 100);
|
|
|
+ // console.log('this.share = ', this.share)
|
|
|
+ // }
|
|
|
//
|
|
|
},
|
|
|
|
|
@@ -317,9 +396,12 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
getData() {
|
|
|
this.closeLeverSuccess();
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
setNum(type) {
|
|
|
if (this.status === 0) {
|
|
@@ -436,19 +518,19 @@
|
|
|
this.$refs.freightSpaceRef.confirm();
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
- lookDetails(){
|
|
|
- if(this.currencyVal && this.currencyVal.currency_id && this.currencyVal.legal_id){
|
|
|
+
|
|
|
+ lookDetails() {
|
|
|
+ if (this.currencyVal && this.currencyVal.currency_id && this.currencyVal.legal_id) {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/contract/sustainability/details'
|
|
|
+ url: '/pages/contract/sustainability/details'
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
// 合约设置
|
|
|
- setContract(){
|
|
|
+ setContract() {
|
|
|
this.$emit('setContract')
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
},
|
|
|
}
|
|
@@ -466,6 +548,7 @@
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
flex-shrink: 0;
|
|
|
+
|
|
|
.title-iocn {
|
|
|
width: 28rpx;
|
|
|
height: 24rpx;
|
|
@@ -586,68 +669,54 @@
|
|
|
.data-left {
|
|
|
width: 303rpx;
|
|
|
|
|
|
- .flex {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
-
|
|
|
- .left-title {
|
|
|
- font-size: 24rpx;
|
|
|
- font-family: PingFang SC, PingFang SC-Bold;
|
|
|
- font-weight: 700;
|
|
|
- color: #807e89;
|
|
|
- line-height: 33rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .subhead-title {
|
|
|
- font-size: 24rpx;
|
|
|
- font-family: PingFang SC, PingFang SC-Bold;
|
|
|
- font-weight: 700;
|
|
|
- color: #807e89;
|
|
|
- line-height: 33rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .index-num-title {
|
|
|
+ .nums-title {
|
|
|
+ width: 100%;
|
|
|
+ height: 67rpx;
|
|
|
|
|
|
- font-size: 36rpx;
|
|
|
- font-family: PingFang SC, PingFang SC-Bold;
|
|
|
- font-weight: 700;
|
|
|
- color: #20b482;
|
|
|
- line-height: 50rpx;
|
|
|
+ .flex {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ line-height: 33rpx;
|
|
|
|
|
|
- text+text {
|
|
|
- font-size: 28rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
font-family: PingFang SC, PingFang SC-Bold;
|
|
|
font-weight: 700;
|
|
|
- color: #20b482;
|
|
|
- line-height: 40rpx;
|
|
|
+ color: #807e89;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .index-title {
|
|
|
- font-size: 20rpx;
|
|
|
- color: #808080;
|
|
|
- line-height: 1.2;
|
|
|
-
|
|
|
- text {
|
|
|
- border-bottom: 2rpx dashed #707070;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
+ // .<view class="nums-title">
|
|
|
+ // <view class="left-title flex">
|
|
|
+ // <text>价格</text>
|
|
|
+ // <text>数量</text>
|
|
|
+ // </view>
|
|
|
+ // <view class="subhead-title flex">
|
|
|
+ // <text>(USDT)</text>
|
|
|
+ // <text>(张)</text>
|
|
|
+ // </view>
|
|
|
+ // </view>
|
|
|
+ // .left-title {
|
|
|
+ // font-size: 24rpx;
|
|
|
+ // font-family: PingFang SC, PingFang SC-Bold;
|
|
|
+ // font-weight: 700;
|
|
|
+ // color: #807e89;
|
|
|
+ // line-height: 33rpx;
|
|
|
+ // }
|
|
|
+
|
|
|
+ // .subhead-title {
|
|
|
+ // font-size: 24rpx;
|
|
|
+ // font-family: PingFang SC, PingFang SC-Bold;
|
|
|
+ // font-weight: 700;
|
|
|
+ // color: #807e89;
|
|
|
+ // line-height: 33rpx;
|
|
|
+ // }
|
|
|
|
|
|
- padding-bottom: 18rpx;
|
|
|
- border-bottom: 1px solid #f2f2f2;
|
|
|
- // &:first-child{
|
|
|
- // text-align: right;
|
|
|
- // }
|
|
|
- }
|
|
|
|
|
|
.nums-list {
|
|
|
width: 100%;
|
|
|
padding: 10rpx 0 4rpx;
|
|
|
- border-bottom: 1rpx solid #f2f2f2;
|
|
|
- min-height: 300rpx;
|
|
|
+ min-height: 318rpx;
|
|
|
|
|
|
.nums-item {
|
|
|
width: 100%;
|
|
@@ -716,7 +785,7 @@
|
|
|
align-items: center;
|
|
|
background-color: #f1f1f1;
|
|
|
padding: 0 3px;
|
|
|
- border-radius: 4rpx;
|
|
|
+ border-radius: 8rpx;
|
|
|
|
|
|
.select-text {
|
|
|
font-size: 26rpx;
|
|
@@ -799,7 +868,7 @@
|
|
|
height: 76rpx;
|
|
|
background: #efefef;
|
|
|
border-radius: 10rpx;
|
|
|
- margin-top: 20rpx;
|
|
|
+ margin-top: 30rpx;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
@@ -813,6 +882,14 @@
|
|
|
.input-item {
|
|
|
height: 100%;
|
|
|
font-size: 24rpx;
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
+ .placeholder-class{
|
|
|
+ font-size: 24rpx;
|
|
|
+ }
|
|
|
+ .input-item-text {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
.input-item-p {
|
|
@@ -911,6 +988,20 @@
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .set-node-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .set-node-high {
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-family: PingFang SC, PingFang SC-Regular;
|
|
|
+ font-weight: 400;
|
|
|
+ color: $Theme-Color;
|
|
|
+ line-height: 1.1;
|
|
|
+ }
|
|
|
|
|
|
.set-node-status {
|
|
|
width: 27rpx;
|
|
@@ -919,6 +1010,18 @@
|
|
|
border-radius: 2rpx;
|
|
|
}
|
|
|
|
|
|
+ .active-set {
|
|
|
+ background-color: $Theme-Color;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .iconfont {
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.set-node-text {
|
|
|
|
|
|
font-size: 24rpx;
|
|
@@ -938,11 +1041,11 @@
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
font-size: 26rpx;
|
|
|
- padding: 16rpx 0;
|
|
|
+ padding: 32rpx 0 0;
|
|
|
line-height: 1.1;
|
|
|
|
|
|
.info-item-lable {
|
|
|
- color: #ccc;
|
|
|
+ color: $SizeColor3;
|
|
|
border-bottom: 1rpx dashed #707070;
|
|
|
}
|
|
|
|
|
@@ -977,7 +1080,7 @@
|
|
|
padding-bottom: 10rpx;
|
|
|
|
|
|
.info-btn-lable {
|
|
|
- color: #ccc;
|
|
|
+ color: $SizeColor3;
|
|
|
}
|
|
|
|
|
|
.info-btn-val {
|
|
@@ -1009,21 +1112,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // <view class="info-btns">
|
|
|
- // <view class="info-btn-info">
|
|
|
- // <text class="info-btn-lable">可做多</text>
|
|
|
- // <text class="info-btn-val">33719张</text>
|
|
|
- // </view>
|
|
|
- // <view class="info-btn">
|
|
|
- // 买入/做多
|
|
|
- // </view>
|
|
|
- // </view>
|
|
|
-
|
|
|
- // <view class="set-node">
|
|
|
- // <view class="set-node-status"></view>
|
|
|
- // <text class="set-node-text">设置止盈止损</text>
|
|
|
- // </view>
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1078,4 +1166,95 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // <view class="left-title index-num-title flex">
|
|
|
+ // <text>{{ daymarket.now_price }}</text>
|
|
|
+ // <text>{{ daymarket.change }}%</text>
|
|
|
+ // </view>
|
|
|
+ // <view class="subhead-title index-title flex">
|
|
|
+ // <text>指数{{ daymarket.high }}</text>
|
|
|
+ // <text>标记{{ daymarket.open }}</text>
|
|
|
+ // </view>
|
|
|
+ .index-num-box {
|
|
|
+ height: 115rpx;
|
|
|
+ width: 100%;
|
|
|
+ border: 1rpx solid $border-color;
|
|
|
+ border-left: none;
|
|
|
+ border-right: none;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
+ .index-num-title {
|
|
|
+ height: 50rpx;
|
|
|
+ line-height: 50rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-family: PingFang SC, PingFang SC-Bold;
|
|
|
+ font-weight: 700;
|
|
|
+ color: #20b482;
|
|
|
+
|
|
|
+ text {
|
|
|
+ &:first-child {
|
|
|
+ font-size: 36rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+
|
|
|
+ font-size: 28rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .index-title {
|
|
|
+ height: 28rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-family: PingFang SC, PingFang SC-Bold;
|
|
|
+ font-weight: 700;
|
|
|
+
|
|
|
+ text {
|
|
|
+ font-size: 20rpx;
|
|
|
+ line-height: 28rpx;
|
|
|
+ color: #808080;
|
|
|
+ border-bottom: 1px solid #808080;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // .index-num-title {
|
|
|
+
|
|
|
+ // font-size: 36rpx;
|
|
|
+ // font-family: PingFang SC, PingFang SC-Bold;
|
|
|
+ // font-weight: 700;
|
|
|
+ // color: #20b482;
|
|
|
+ // line-height: 50rpx;
|
|
|
+
|
|
|
+ // text+text {
|
|
|
+ // font-size: 28rpx;
|
|
|
+ // font-family: PingFang SC, PingFang SC-Bold;
|
|
|
+ // font-weight: 700;
|
|
|
+ // color: #20b482;
|
|
|
+ // line-height: 40rpx;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+
|
|
|
+ // .index-title {
|
|
|
+ // font-size: 20rpx;
|
|
|
+ // color: #808080;
|
|
|
+ // line-height: 1.2;
|
|
|
+
|
|
|
+ // text {
|
|
|
+ // border-bottom: 2rpx dashed #707070;
|
|
|
+ // display: flex;
|
|
|
+ // align-items: center;
|
|
|
+ // }
|
|
|
+
|
|
|
+ // padding-bottom: 18rpx;
|
|
|
+ // border-bottom: 1px solid #f2f2f2;
|
|
|
+ // // &:first-child{
|
|
|
+ // // text-align: right;
|
|
|
+ // // }
|
|
|
+ // }
|
|
|
+
|
|
|
+ }
|
|
|
</style>
|