临时提交

This commit is contained in:
xk_yangdeshi
2020-08-18 17:19:08 +08:00
parent 1f8b3e6e55
commit 8feae367f5
30 changed files with 165 additions and 2223 deletions

View File

@@ -24,7 +24,7 @@
<view class="padding-sm">
89
</view>
<button @tap="routerTo('/pages/wallet/record/record')" class="cu-btn bg-main-oil text-white text-sm ">
<button class="cu-btn bg-main-oil text-white text-sm ">
查看明细
</button>
</view>
@@ -33,7 +33,7 @@
<view class="padding-sm">
1899.50
</view>
<button @tap="routerTo('/pages/wallet/record/record')" class="cu-btn bg-main-oil text-white text-sm ">
<button class="cu-btn bg-main-oil text-white text-sm ">
查看明细
</button>
</view>
@@ -41,7 +41,7 @@
</view>
<view class="cu-list grid col-3 no-border margin radius ">
<view class="cu-item" @tap="routerTo('../station-info/station-info')">
<view class="cu-item">
<view :class="['cuIcon-' + cuIconList[0].cuIcon, 'text-' + cuIconList[0].color]" class="text-sl">
<view class="cu-tag badge" v-if="cuIconList[0].badge != 0">
<block v-if="cuIconList[0].badge != 1">{{ cuIconList[0].badge > 99 ? '99+' : cuIconList[0].badge }}</block>
@@ -49,7 +49,7 @@
</view>
<text>{{ cuIconList[0].name }}</text>
</view>
<view class="cu-item" @tap="routerTo('/pages/orderList/orderList')">
<view class="cu-item">
<view :class="['cuIcon-' + cuIconList[1].cuIcon, 'text-' + cuIconList[1].color]" class="text-sl">
<view class="cu-tag badge" v-if="cuIconList[1].badge != 0">
<block v-if="cuIconList[1].badge != 1">{{ cuIconList[1].badge > 99 ? '99+' : cuIconList[1].badge }}</block>
@@ -57,7 +57,7 @@
</view>
<text>{{ cuIconList[1].name }}</text>
</view>
<view class="cu-item" @tap="routerTo('../stationList/stationList')">
<view class="cu-item">
<view :class="['cuIcon-' + cuIconList[2].cuIcon, 'text-' + cuIconList[2].color]" class="text-sl">
<view class="cu-tag badge" v-if="cuIconList[2].badge != 0">
<block v-if="cuIconList[2].badge != 1">{{ cuIconList[2].badge > 99 ? '99+' : cuIconList[2].badge }}</block>
@@ -89,52 +89,10 @@
</view>
<text>{{ cuIconList[5].name }}</text>
</view>
<!-- <view class="cu-item">
<view :class="['cuIcon-' + cuIconList[6].cuIcon, 'text-' + cuIconList[6].color]">
<view class="cu-tag badge" v-if="cuIconList[6].badge != 0">
<block v-if="cuIconList[6].badge != 1">{{ cuIconList[6].badge > 99 ? '99+' : cuIconList[6].badge }}</block>
</view>
</view>
<text>{{ cuIconList[6].name }}</text>
</view>
<view class="cu-item">
<view :class="['cuIcon-' + cuIconList[7].cuIcon, 'text-' + cuIconList[7].color]">
<view class="cu-tag badge" v-if="cuIconList[7].badge != 0">
<block v-if="cuIconList[7].badge != 1">{{ cuIconList[7].badge > 99 ? '99+' : cuIconList[7].badge }}</block>
</view>
</view>
<text>{{ cuIconList[7].name }}</text>
</view>
<view class="cu-item" @tap="makeCall">
<view :class="['cuIcon-' + cuIconList[8].cuIcon, 'text-' + cuIconList[8].color]">
<view class="cu-tag badge" v-if="cuIconList[8].badge != 0">
<block v-if="cuIconList[8].badge != 1">{{ cuIconList[8].badge > 99 ? '99+' : cuIconList[8].badge }}</block>
</view>
</view>
<text>{{ cuIconList[8].name }}</text>
</view> -->
<view class="padding-bottom-xl">
</view>
</view>
<!-- <view class="padding-top radius shadow bottom-bar-fixed">
<view class="cu-bar tabbar bg-white">
<view class="action text-gray" @tap="routerTo('../stationList/stationList')">
<view class="cuIcon-homefill"></view>
加油站
</view>
<view class="action text-gray add-action" @tap="toQrcode">
<button class="cu-btn cuIcon-qr_code bg-main-oil shadow"></button>
加油码
</view>
<view class="action text-gray" @tap="routerTo('/pages/userPage/userPage')">
<view class="cuIcon-my"></view>
我的
</view>
</view>
</view> -->
</view>
</template>
@@ -185,20 +143,6 @@
},
onLoad() {},
methods: {
thirdAdd(){
uni.chooseAddress({
success(res) {
console.log(res.userName)
console.log(res.postalCode)
console.log(res.provinceName)
console.log(res.cityName)
console.log(res.countyName)
console.log(res.detailInfo)
console.log(res.nationalCode)
console.log(res.telNumber)
}
})
},
scanQr(){
uni.scanCode({
onlyFromCamera: true,
@@ -212,44 +156,6 @@
})
}
})
},
copy() {
uni.setClipboardData({
data: 'lallalala',
success() {
uni.showToast({
title: '复制成功',
position: 'bottom',
icon: 'none'
})
}
})
},
toAuth() {
uni.navigateTo({
url: '/pages/authentication/authForm/authForm'
})
},
toQrcode() {
uni.navigateTo({
url: '/pages/qrcode/qrcodeList/qrcodeList'
});
},
routerTo(url) {
uni.navigateTo({
url: url
});
},
toLogin() {
uni.navigateTo({
url: 'pages/login/login'
});
},
// 拨打电话
makeCall() {
uni.makePhoneCall({
phoneNumber: '4008-56-5355' //仅为示例
})
}
}
};