临时提交

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

@@ -1,77 +0,0 @@
<template>
<view class="page-content bg-wjy">
<cu-custom class="main-totextbar bg-main-oil" :isBack="true" bgColor="bg-wjy">
<block slot="backText">返回</block>
<block slot="content">万金油</block>
</cu-custom>
<view class="margin radius bg-white">
<view class="qr-container margin padding-xl padding-bottom-xs padding-top">
<image class="padding-xl padding-bottom-sm" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597122816612&di=796a08dc7fbedf19a48c3f9d04089455&imgtype=0&src=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F01%2F37%2F28%2F39573c44ad6d806.jpg"
mode=""></image>
</view>
<view class="text-center padding-bottom-sm">
<text class="color-999 font-12">付款码自动 25s
<block class="oil-main-color">
刷新
</block>
</text>
</view>
<view class="text-center color-000 font-10 margin-bottom">
提示将二维码想油站工作人员展示即可加油
</view>
<view class="padding font-12 solid-top">
<view class="flex padding-bottom-sm padding-left padding-right">
<view class="flex-sub">
<text class="cuIcon-moneybagfill oil-main-color font-16 padding-right-xs">
</text>
<text>
星油余额
</text>
</view>
<view class="text-right flex-sub oil-main-color">
1.20
</view>
</view>
<view class="flex padding-left padding-right">
<view class="flex-sub">
<text class="cuIcon-infofill color-wjy font-16 padding-right-xs">
</text>
<text>
支持油站
</text>
</view>
<text class="text-right flex-sub">
星油/老吕油站
</text>
</view>
</view>
</view>
<view class="margin-top-xl padding">
<button class="bg-white oil-main-color">转入</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
.page-content {
min-height: 100%;
}
</style>

View File

@@ -1,77 +0,0 @@
<template>
<view class="page-content bg-main-oil">
<cu-custom class="main-totextbar bg-main-oil" :isBack="true" bgColor="bg-main-oil">
<block slot="backText">返回</block>
<block slot="content">星油</block>
</cu-custom>
<view class="margin radius bg-white">
<view class="qr-container margin padding-xl padding-bottom-xs padding-top">
<image class="padding-xl padding-bottom-sm" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597122816612&di=796a08dc7fbedf19a48c3f9d04089455&imgtype=0&src=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F01%2F37%2F28%2F39573c44ad6d806.jpg"
mode=""></image>
</view>
<view class="text-center padding-bottom-sm">
<text class="color-999 font-12">付款码自动 25s
<block class="oil-main-color">
刷新
</block>
</text>
</view>
<view class="text-center color-000 font-10 margin-bottom">
提示将二维码想油站工作人员展示即可加油
</view>
<view class="padding font-12 solid-top">
<view class="flex padding-bottom-sm padding-left padding-right">
<view class="flex-sub">
<text class="cuIcon-moneybagfill oil-main-color font-16 padding-right-xs">
</text>
<text>
星油余额
</text>
</view>
<view class="text-right flex-sub oil-main-color">
1.20
</view>
</view>
<view class="flex padding-left padding-right">
<view class="flex-sub">
<text class="cuIcon-infofill color-wjy font-16 padding-right-xs">
</text>
<text>
支持油站
</text>
</view>
<text class="text-right flex-sub">
星油/老吕油站
</text>
</view>
</view>
</view>
<view class="margin-top-xl padding">
<button class="bg-white oil-main-color">转入</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
.page-content {
min-height: 100%;
}
</style>

View File

@@ -1,132 +0,0 @@
<template>
<view>
<cu-custom class="main-totextbar bg-main-oil" :isBack="true" bgColor="bg-main-oil">
<block slot="backText">返回</block>
<block slot="content">加油码</block>
</cu-custom>
<view class="main padding-top">
<view class="card" @tap="routerTo('xk')">
<view class="text">
<view class="">
<text class="title font-16 ">星油</text> </view> <text class="font-14">加油码</text>
<view class="tip-container font-12">支持油站星油/老吕油站</view>
</view>
<view class="qr-bg">
<image src="https://www.51xingka.net/LSMOIL/static/img/xk.png"></image>
</view>
<text color="#fff" class="opened van-tag">{{'111'}}</text>
</view>
<view class="margin-top-xs">
</view>
<view class="card margin-top" @tap="routerTo('wjy')">
<view class="text">
<view class="">
<text class="title font-16 ">万金油</text>
</view>
<text class="font-14">加油码</text>
</view>
<view class="qr-bg">
<image src="https://www.51xingka.net/LSMOIL/static/img/wjy.png"></image>
</view>
<text color="#fff" v-if="wanjinAccount" class="opened van-tag">{{'111'}}</text>
<text color="#D54C4C" v-else class="before-open van-tag">{{'111'}}</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
wanjinAccount: true
}
},
methods: {
routerTo(key) {
if(key==='xk'){
var url ='/pages/qrcode/QrCode_xy/QrCode_xy'
}else{
var url = '/pages/qrcode/QrCode-wjy/QrCode-wjy'
}
console.log(url)
uni.navigateTo({
url: url,
fail:(err)=>{
console.log('失败',url,err)
}
})
}
}
}
</script>
<style scoped>
.card {
position: relative;
width: 700upx;
margin: auto;
}
.qr-bg {
min-height: 200rpx;
text-align: center;
max-height: 300rpx;
}
.text {
position: absolute;
z-index: 1;
left: 4rem;
top: 1.2rem;
color: #fff;
}
.van-tag {
display: inline-block;
padding: 0.3rem 0.4rem;
position: absolute;
right: 1px;
font-size: 12px;
top: 15.75%;
background-color: #fff;
border-radius: 10rem 0 0 10rem;
border-color: transparent;
}
.opened {
color: #fe0505;
}
.before-open {
padding-bottom: 4px;
}
.qr-bg image {
background-size: cover;
width: 700upx;
height: 232rpx;
}
.tip-container {
margin-top: 0.5rem;
color: rgba(191, 39, 1, 1);
background: rgba(255, 255, 255, 1);
box-shadow: 6px 2px 6px 1px rgba(0, 0, 0, 0.06);
opacity: 0.71;
border-radius: 0px 20px 20px 15px;
padding: 0.3rem 0.8rem;
}
.opened {
color: #fe0505;
}
.before-open {
padding-bottom: 4px;
}
</style>