在线签约

This commit is contained in:
闫晓茹 2023-10-09 09:31:42 +08:00
parent 08d79d5f68
commit 41bdde4884
6 changed files with 97 additions and 43 deletions

View File

@ -245,8 +245,9 @@
}, { }, {
"path": "ProductList/ProductList", // "path": "ProductList/ProductList", //
"style": { "style": {
"navigationStyle": "custom", //
"navigationBarTitleText": "医路优品", "navigationBarTitleText": "医路优品",
"onReachBottomDistance": 40, // px "onReachBottomDistance": 20, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, { }, {
@ -376,7 +377,8 @@
] ]
}, { }, {
"root": "pagesC", "root": "pagesC",
"pages": [{ "pages": [
{
"path": "appointmenttime/appointmenttime", "path": "appointmenttime/appointmenttime",
"style": { "style": {
"navigationBarTitleText": "服务预约", "navigationBarTitleText": "服务预约",
@ -466,15 +468,7 @@
} }
} }
,{
"path" : "Mysigning/Mysigning",
"style" :
{
"navigationBarTitleText": "我的签约",
"enablePullDownRefresh": false
}
}
] ]
}], }],
"globalStyle": { "globalStyle": {

View File

@ -12,7 +12,7 @@
</view> </view>
</u-navbar> </u-navbar>
<u-tabs :list="tabslist" :is-scroll="false" :current="tabscurrent" @change="tabschange" :show-bar='false' <u-tabs :list="tabslist" :is-scroll="false" :current="tabscurrent" @change="tabschange" :show-bar='false'
active-color='#000000'></u-tabs> active-color='#26A888'></u-tabs>
<view class="" v-if="total>0" style="margin-top: 80rpx;padding: 3%;"> <view class="" v-if="total>0" style="margin-top: 80rpx;padding: 3%;">
<view class="Apayment" v-for='(item,index) in orderlist' :key="index"> <view class="Apayment" v-for='(item,index) in orderlist' :key="index">
<view class="names">店铺名称 <view class="names">店铺名称
@ -294,10 +294,10 @@
uni.removeStorageSync('Refresh'); uni.removeStorageSync('Refresh');
this.total = res.total this.total = res.total
} else if (res.code == 9999) { } else if (res.code == 9999) {
this.$refs.uToast.show({ // this.$refs.uToast.show({
title: '未登录,请先登录', // title: ',',
type: 'error', // type: 'error',
}) // })
} }
}) })
}, },

View File

@ -1,5 +1,16 @@
<template> <template>
<view class="app"> <view class="app">
<u-navbar :is-back="false" :background="background" class="u-navbar">
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
<view class="title" @tap="goprevious">
健康商城
</view>
<view class="inputitem">
<i class="icon"></i>
<input v-model="goodsName" type="text" name="" id="" class="input" placeholder="搜索商品"
placeholder-class="placeholder">
</view>
</u-navbar>
<u-tabs :list="GoodsCategorychildrenlist" :current="tabIndex" @change="toggleTab" active-color='#26A888' <u-tabs :list="GoodsCategorychildrenlist" :current="tabIndex" @change="toggleTab" active-color='#26A888'
v-if="GoodsCategorychildrenlist.length>=2"></u-tabs> v-if="GoodsCategorychildrenlist.length>=2"></u-tabs>
<view class="fenlei" @tap='toggleTab(1111111111111)' v-if="GoodsCategorychildrenlist.length>=2"> <view class="fenlei" @tap='toggleTab(1111111111111)' v-if="GoodsCategorychildrenlist.length>=2">
@ -8,10 +19,10 @@
分类 分类
</view> </view>
</view> </view>
<view class="inputs"> <!-- <view class="inputs">
<i class="icon"></i> <i class="icon"></i>
<input v-model="goodsName" type="text" name="" id="" class="input" placeholder="请输入商品名称"> <input v-model="goodsName" type="text" name="" id="" class="input" placeholder="请输入商品名称">
</view> </view> -->
<view class="productlist" v-if='goodsList.length>0'> <view class="productlist" v-if='goodsList.length>0'>
<view class="item" @tap='goCommodityDetails(item)' v-for="(item,index) in goodsList" :key="index"> <view class="item" @tap='goCommodityDetails(item)' v-for="(item,index) in goodsList" :key="index">
<image :src="baseurl+item.goodsPictureUrl" mode=""></image> <image :src="baseurl+item.goodsPictureUrl" mode=""></image>
@ -45,6 +56,9 @@
components: {}, components: {},
data() { data() {
return { return {
background: {
backgroundColor: '#26A888',
},
//tabIndex便 //tabIndex便
tabIndex: 0, tabIndex: 0,
baseurl: '', baseurl: '',
@ -89,6 +103,11 @@
this.GoodsCategorychildren(this.goodsCategoryId); this.GoodsCategorychildren(this.goodsCategoryId);
}, },
methods: { methods: {
goprevious() {
uni.navigateBack({
delta: 1
})
},
onPageScroll(e) { onPageScroll(e) {
this.scrollTop = e.scrollTop; this.scrollTop = e.scrollTop;
}, },
@ -214,6 +233,65 @@
.app { .app {
padding: 0; padding: 0;
::v-deep .u-navbar-placeholder {
background-color: #F7F5F5;
z-index: 999;
}
.u-navbar {
display: block;
// height: 200rpx;
image {
margin: 0 4% 0 4%;
width: 20rpx;
height: 30rpx;
}
.title {
width: 31%;
font-size: 34rpx;
font-weight: 500;
color: #FFFFFF;
}
.inputitem {
position: relative;
// margin-left: 4%;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
width: 60%;
height: 65rpx;
border-radius: 31rpx;
z-index: 999;
background: #65c0a9;
color: #FFFFFF;
.placeholder {
color: #FFFFFF;
}
.input {
margin: 0 auto;
position: absolute;
height: 65rpx;
// top: 8%;
left: 18%;
width: 80%;
font-size: 26rpx;
color: #FFFFFF;
}
.icon {
background: url(@/static/pagesB/sousuo.png) no-repeat;
width: 30rpx;
height: 28rpx;
background-size: cover;
position: absolute;
top: 28%;
left: 4%;
}
}
}
.fenlei { .fenlei {
width: 20%; width: 20%;

View File

@ -37,7 +37,7 @@
</view> </view>
<view class="name"> <view class="name">
详细地址 详细地址
<u-input v-model="value" :type="type" :border="border" placeholder="请输入详细地址" /> <u-input v-model="value" :type="type" :border="border" placeholder="请输入详细地址" placeholder-style="color:#8E8E8E" />
</view> </view>
<view class="cancelitem"> <view class="cancelitem">
<view class="cancel"> <view class="cancel">
@ -96,20 +96,15 @@
width: 636rpx; width: 636rpx;
height: 63rpx; height: 63rpx;
background: #F6F6F6; background: #F6F6F6;
// color: #8E8E8E;
// border: 1rpx solid red; // border: 1rpx solid red;
margin: 12rpx auto; margin: 12rpx auto;
border: none; border: none;
border-radius: 5rpx; border-radius: 5rpx;
} }
::v-deep .u-input__input.data-v-fdbb9fe6{
font-size: 20rpx; ::v-deep.input-placeholder{
// font-size: 20px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #8E8E8E;
}
::v-deep.uni-input-placeholder{
color: #8E8E8E !important; color: #8E8E8E !important;
font-size: 20rpx; font-size: 20rpx;
} }

View File

@ -139,13 +139,9 @@
color: #8E8E8E !important; color: #8E8E8E !important;
font-size: 20rpx; font-size: 20rpx;
} }
::v-deep .u-input__input.data-v-fdbb9fe6{ ::v-deep.input-placeholder{
color: #8E8E8E !important;
font-size: 20rpx; font-size: 20rpx;
// font-size: 20px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #8E8E8E;
} }
.select { .select {

View File

@ -116,15 +116,6 @@
color: #333333; color: #333333;
line-height: 38rpx; line-height: 38rpx;
::v-deep .u-input {
width: 636rpx;
height: 63rpx;
background: #F6F6F6;
margin: 12rpx auto;
border: none;
border-radius: 5rpx;
}
.select { .select {
width: 636rpx; width: 636rpx;
height: 63rpx; height: 63rpx;