添加样式

This commit is contained in:
yangjun 2024-07-02 15:02:26 +08:00
parent b6de102c7d
commit 6e7eb4e1fd
3 changed files with 23 additions and 1 deletions

View File

@ -184,12 +184,17 @@
console.log(e); console.log(e);
// this.sendId = this.WayListTwo[e.detail.value].id; // this.sendId = this.WayListTwo[e.detail.value].id;
this.sendName = this.WayList[e.detail.value]; this.sendName = this.WayList[e.detail.value];
console.log('this.sendName---->',this.sendName);
if (this.sendName === '快递') { if (this.sendName === '快递') {
this.sendWay = 1; this.sendWay = 1;
this.postagePrice = this.postagePrices; this.postagePrice = this.postagePrices;
} else if (this.sendName === '自取') { } else if (this.sendName === '自取') {
this.sendWay = 2; this.sendWay = 2;
this.postagePrice = 0; this.postagePrice = 0;
}else if (this.sendName === '同城自取') {
this.sendWay = 2;
this.postagePrice = 0;
} }
}, },
// id // id

View File

@ -50,6 +50,18 @@
"navigationBarTitleText": "当前收益" "navigationBarTitleText": "当前收益"
} }
}, },
{
"path": "pages/index/currentYeji",
"style": {
"navigationBarTitleText": "当前业绩"
}
},
{
"path": "pages/index/previousYeji",
"style": {
"navigationBarTitleText": "往期业绩"
}
},
{ {
"path": "pages/index/addClock", "path": "pages/index/addClock",
"style": { "style": {

View File

@ -118,7 +118,7 @@
</view> --> </view> -->
<view class="flex align-center" <view class="flex align-center"
style="justify-content: space-evenly;text-align: center;"> style="justify-content: space-evenly;text-align: center;">
<view class=""> <view class="" @click="handleYeji">
<view style="font-size: 24px;font-weight: bold;">{{ currentWholeIncome ? currentWholeIncome : 0 }}</view> <view style="font-size: 24px;font-weight: bold;">{{ currentWholeIncome ? currentWholeIncome : 0 }}</view>
<text style="font-size: 14px; margin-top: 15px;">当前业绩</text> <text style="font-size: 14px; margin-top: 15px;">当前业绩</text>
<!-- <text style="font-size: 16px;">/{{ totalIncomeRange ? totalIncomeRange : 4000 }}</text> --> <!-- <text style="font-size: 16px;">/{{ totalIncomeRange ? totalIncomeRange : 4000 }}</text> -->
@ -815,6 +815,11 @@ export default {
url:'/pages/index/currentIncome' url:'/pages/index/currentIncome'
}) })
}, },
handleYeji(){//
uni.navigateTo({
url:'/pages/index/currentYeji'
})
},
showMoreMaterialPackageList() { showMoreMaterialPackageList() {
this.showMaterialPackageListStatus = true; this.showMaterialPackageListStatus = true;
}, },