pos 端
This commit is contained in:
parent
6a20bf7df3
commit
62bce4739d
@ -64,6 +64,13 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "AddVip/AddCode",
|
||||
"style": {
|
||||
"navigationBarTitleText": "新增会员",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "changeShifts/changeShifts",
|
||||
"style": {
|
||||
@ -95,7 +102,7 @@
|
||||
{
|
||||
"path": "PaymentCode/SetUpCode",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收款码",
|
||||
"navigationBarTitleText": "设置金额",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
@ -20,7 +20,7 @@
|
||||
</view>
|
||||
<view class="">收款</view>
|
||||
</view>
|
||||
<view class="s-box">
|
||||
<view class="s-box" @click="goMemberRecharge()">
|
||||
<view class="">
|
||||
<image src="/static/imgs/cz.png" mode=""></image>
|
||||
</view>
|
||||
@ -123,7 +123,7 @@
|
||||
|
||||
goAdd() {
|
||||
uni.navigateTo({
|
||||
url: '/pagesHome/AddVip/AddVip'
|
||||
url: '/pagesHome/AddVip/AddCode'
|
||||
})
|
||||
},
|
||||
goCollection() {
|
||||
@ -141,6 +141,11 @@
|
||||
url: '/pagesHome/BusinessData/BusinessData'
|
||||
})
|
||||
},
|
||||
goMemberRecharge() {
|
||||
uni.navigateTo({
|
||||
url: '/pagesHome/MemberRecharge/MemberRecharge'
|
||||
})
|
||||
},
|
||||
goback() {
|
||||
uni.navigateBack()
|
||||
},
|
||||
|
75
pos-uni/pagesHome/AddVip/AddCode.vue
Normal file
75
pos-uni/pagesHome/AddVip/AddCode.vue
Normal file
@ -0,0 +1,75 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="container">
|
||||
<headers :titles="titles"><u-icon name="arrow-left" color="#fff" size="22"></u-icon></headers>
|
||||
|
||||
<view class="img-box">
|
||||
<image src="../../static/imgs/posimgurl.png" mode=""></image>
|
||||
</view>
|
||||
|
||||
<view class="p-bottom">
|
||||
<view class="anniu" @click="goback()">
|
||||
保存
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import headers from '../../components/header/headers.vue'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
titles: "新增会员",
|
||||
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
// this.actList = ["1", "1", "1", "1", "1", ]
|
||||
// this.status = "nomore" 底部刷新结束
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
console.log("刷新");
|
||||
uni.stopPullDownRefresh()
|
||||
},
|
||||
onReachBottom() {
|
||||
// this.show = true
|
||||
setTimeout(() => {
|
||||
console.log("加载执行");
|
||||
}, 2000)
|
||||
},
|
||||
components: {
|
||||
headers
|
||||
},
|
||||
methods: {
|
||||
goback() {
|
||||
uni.navigateBack()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.content {
|
||||
background: #fff;
|
||||
// background: linear-gradient(180deg, #B2D2FC 0%, #B2D2FC 14%, rgba(255, 255, 255, 0.84) 24%, rgba(255, 255, 255, 0.84) 100%);
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 88px;
|
||||
}
|
||||
|
||||
.img-box {
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -47,9 +47,9 @@
|
||||
},
|
||||
methods: {
|
||||
// 设置金额
|
||||
setAmount(){
|
||||
setAmount() {
|
||||
uni.navigateTo({
|
||||
url:"/pagesHome/PaymentCode/SetUpCode"
|
||||
url: "/pagesHome/PaymentCode/SetUpCode"
|
||||
})
|
||||
},
|
||||
onReady() {
|
||||
|
@ -4,11 +4,11 @@
|
||||
<headers :titles="titles"><u-icon name="arrow-left" color="#fff" size="22"></u-icon></headers>
|
||||
<view class="b-box">
|
||||
<view class="">金额</view>
|
||||
<view class=""><input type="text" placeholder="请输入金额" /></view>
|
||||
<view style="text-align: right;"><input type="text" placeholder="请输入金额" /></view>
|
||||
</view>
|
||||
<view class="b-box">
|
||||
<view class="">备注</view>
|
||||
<view class=""><input type="text" placeholder="请输入金额" /></view>
|
||||
<view style="text-align: right;"><input type="text" placeholder="请输入备注" /></view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -80,5 +80,8 @@
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #333333;
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user