liudan 1 year ago
commit b273787882
  1. 10
      api/newFun.js
  2. 13
      manifest.json
  3. 11
      pages.json
  4. 9
      pages/activity/intimate.vue
  5. 3
      pages/activity/newGoods.vue
  6. 6
      pages/activity/presaleRule.vue
  7. 32
      pages/category/index.vue
  8. 764
      pages/index/index.vue
  9. 37
      pages/invite/index.vue
  10. 152
      pages/invite/list.vue
  11. 8
      pages/login/index.vue
  12. 39
      pages/news/consult/about.vue
  13. 15
      pages/news/consult/comment.vue
  14. 29
      pages/news/consult/index.vue
  15. 18
      pages/news/consult/store.vue
  16. 27
      pages/news/park/index.vue
  17. 29
      pages/news/user/invite.vue
  18. 3
      pages/news3/updatePrice.vue
  19. 96
      pages/serve/index.vue
  20. 17
      pages/user/vip/goods.vue

@ -1,5 +1,15 @@
import request from '@/utils/request'
// 邀请有礼 记录
export const inviteGetList = (param) => {
return request.post('invite/getList', param)
}
// 邀请有礼
export const inviteInit = (param) => {
return request.post('invite/index', param)
}
// 足迹列表 删除
export const goodsBrowseDel = (param) => {
return request.get('goods/browseDel', param)

@ -1,9 +1,9 @@
{
"name" : "萤火商城2.0",
"name" : "惠云商",
"appid" : "__UNI__1D774AF",
"description" : "萤火商城V2.0,是全新推出的一款轻量级、高性能、前后端分离的电商系统,让您快速搭建个性化独立商城",
"versionName" : "2.3.12",
"versionCode" : 235,
"description" : "慧云商是一款提供家电,3C数码,家装建材为一体的批发采购平台,一站式解决找货方案,简化采购流程",
"versionName" : "1.0.0",
"versionCode" : 1,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@ -98,7 +98,7 @@
// TLS
"urlCheck" : true,
// es6es5
"es6" : false,
"es6" : true,
//
"minified" : true,
// wxml shadow-root
@ -107,7 +107,8 @@
"minifyWXSS" : true,
// wxml
// uniapppwxml, , , false
"minifyWXML" : false
"minifyWXML" : false,
"postcss" : true
},
"usingComponents" : true,
"lazyCodeLoading" : "requiredComponents",

@ -36,14 +36,14 @@
{
"path": "pages/index/index",
"style": {
"enablePullDownRefresh": true,
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/serve/index",
"style": {
"enablePullDownRefresh": true,
"enablePullDownRefresh": false,
"navigationBarTitleText": "服务"
}
},
@ -63,7 +63,7 @@
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": true,
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"mp-alipay": {
"defaultTitle": "",
@ -94,6 +94,11 @@
"navigationBarBackgroundColor": "#FF5554",
"navigationBarTextStyle": "white"
}
},{
"path": "pages/invite/list",
"style": {
"navigationBarTitleText": "邀请记录"
}
},
{
"path": "pages/custom/index",

@ -4,9 +4,9 @@
<u-navbar title="贴心服务" :border-bottom="false" :background="isScroll?background:background1"></u-navbar>
</view>
<view class="intimate-hd" @click="openPage(1)">
<image :src="storeInfo.image_url"></image>
<view class="a">{{storeInfo.store_name}}<u-icon style="margin-left: 10rpx;" name="arrow-right"></u-icon></view>
<view class="b">{{storeInfo.describe}}</view>
<image :src="storeInfo.imageList?storeInfo.imageList[0]:''"></image>
<view class="a">{{storeInfo.shop_name}}<u-icon style="margin-left: 10rpx;" name="arrow-right"></u-icon></view>
<view class="b">{{storeInfo.summary}}</view>
</view>
<!-- <scroll-view scroll-x class="intimate-menu">
<view class="item" @click="tabItem1(i)" v-for="i in 10" :key="i" :class="tabIndex1==i?'item-on':''">
@ -50,7 +50,6 @@
<script>
import * as newFunApi from '@/api/newFun'
// import img from "@/static/news/refund-bg1.png"
export default {
data() {
return {
@ -76,7 +75,7 @@
onLoad(o) {
this.tabIndex = o.index?(o.index): -1
this.getList();
this.storeInfo = uni.getStorageSync("Store").storeInfo
this.storeInfo = uni.getStorageSync("cityInfo")
},
onPageScroll(e){
if(e.scrollTop <= 44){

@ -45,7 +45,6 @@
</template>
<script>
// import img from "@/static/member/head.png"
import * as Api from '@/api/activity'
import {
getEmptyPaginateObj,
@ -57,7 +56,7 @@
return {
background: {
background: 'url(' + img + ') center top no-repeat',
backgroundSize: '100%',
backgroundSize: '100% auto',
},
backgroundImg: '',

@ -1,6 +1,8 @@
<template>
<view class="presale">
<view class="p" v-html="content"></view>
<view class="p">
<image :src="content"></image>
</view>
</view>
</template>
@ -29,7 +31,7 @@
type: type
})
.then(result => {
this.content = result.data.content[0]
this.content = result.data.imgurl[0]
})
.finally(() => app.isLoading = false)
},

@ -63,7 +63,7 @@
console.log(item)
//
uni.navigateTo({
url: '/pages/goods/detail?goodsId=' + item.category_id
url: '/pages/goods/list?categoryId=' + item.category_id
})
},
goSearch() {
@ -95,11 +95,6 @@
//
console.log(res, '分类数据')
that.tabbar = res.data.list;
// that.isChose = that.menuList[0].category_id;
// that.secondMenu = that.menuList[0].children;
// that.secondChose = that.secondMenu[0].category_id
// that.getSonList(that.secondChose)
// that.hotList = that.menuList[0].
})
.catch(reject)
})
@ -141,14 +136,15 @@
},
//
async leftMenuStatus(index) {
this.current = index;
// 0
if (this.menuHeight == 0 || this.menuItemHeight == 0) {
await this.getElRect('menu-scroll-view', 'menuHeight');
await this.getElRect('u-tab-item', 'menuItemHeight');
}
this.current = index;
// item
this.scrollTop = index * this.menuItemHeight + this.menuItemHeight / 2 - this.menuHeight / 2;
},
// item
getMenuItemTop() {
@ -183,7 +179,7 @@
setTimeout(() => { //
this.timer = null;
// scrollHeight
let scrollHeight = e.detail.scrollTop + this.menuHeight / 2;
let scrollHeight = e.detail.scrollTop;
for (let i = 0; i < this.arr.length; i++) {
let height1 = this.arr[i];
let height2 = this.arr[i + 1];
@ -240,12 +236,11 @@
.u-tab-item {
height: 110rpx;
background: #f6f6f6;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
font-size: 26rpx;
font-size: 28rpx;
color: #444;
font-weight: 400;
line-height: 1;
@ -254,10 +249,8 @@
.u-tab-item-active {
position: relative;
color: #F21A1C;
font-size: 30rpx;
font-weight: 600;
background: #fff;
// background: #fff;
}
// .u-tab-item-active::before {
@ -278,13 +271,14 @@
}
.page-view {
padding: 16rpx;
padding: 0 16rpx 16rpx;
overflow: hidden;
}
.class-item {
margin-bottom: 30rpx;
margin-bottom: 12rpx;
background-color: #fff;
padding: 16rpx;
padding: 20rpx;
border-radius: 8rpx;
}
@ -293,14 +287,15 @@
}
.item-title {
font-size: 26rpx;
font-size: 28rpx;
color: $u-main-color;
font-weight: bold;
padding: 10rpx;
}
.item-menu-name {
font-weight: normal;
font-size: 24rpx;
font-size: 28rpx;
color: $u-main-color;
}
@ -321,5 +316,6 @@
.item-menu-image {
width: 120rpx;
height: 120rpx;
margin-bottom: 10rpx;
}
</style>

File diff suppressed because it is too large Load Diff

@ -13,11 +13,11 @@
<view class="a">
<view class="l">
累计邀请好友(
<view class="p">224</view>
<view class="p">{{info.count_people}}</view>
</view>
<view class="l">
累计现金奖励(
<view class="p">224</view>
<view class="p">{{info.money}}</view>
</view>
</view>
<view class="b" @click="openPage(1)">
@ -31,13 +31,13 @@
<image :src="$picUrl+'static/news/invite-bg2.png'"></image>
<view class="a">
<view class="l">
可得288积分<br />188元优惠券
可得{{info.integral}}积分<br />{{info.coupon_name}}
</view>
<view class="l">
可返现3%
可返现{{info.one_order_rate}}%
</view>
<view class="l">
188元优惠券
{{info.one_order_rate}}{{info.coupon_name}}
</view>
</view>
</view>
@ -45,13 +45,13 @@
<image :src="$picUrl+'static/news/invite-bg3.png'"></image>
<view class="a">
<view class="l">
188优惠券
{{info.one_order_rate}}{{info.coupon_name}}
</view>
<view class="l">
288积分
{{info.integral}}积分
</view>
<view class="l">
首单返3%
首单返{{info.one_order_rate}}%
</view>
</view>
</view>
@ -64,12 +64,14 @@
</template>
<script>
import * as newFunApi from '@/api/newFun'
export default{
data(){
return{
backgroundBg: {
"background": "rgba(255,255,255,0.22)"
},
info: {},
list: [
'寒雨连江夜入吴',
'平明送客楚山孤',
@ -78,7 +80,21 @@
]
}
},
onReady() {
this.getList();
},
methods: {
async getList() {
uni.showLoading({
title:"加载中"
})
const {status, data} = await newFunApi.inviteInit({});
if(status == 200){
uni.hideLoading();
this.info = data;
console.log(this.info)
}
},
openPage(index){
if(index == 1){
uni.navigateTo({
@ -188,7 +204,7 @@
}
.a{
width: 100%;
bottom: 50rpx;
bottom: 40rpx;
padding: 0 25rpx;
box-sizing: border-box;
z-index: 1;
@ -217,7 +233,7 @@
}
.a{
width: 260rpx;
bottom: 0;
bottom: -60rpx;
box-sizing: border-box;
z-index: 1;
right: 0;
@ -230,7 +246,6 @@
text-align: center;
font-size: 22rpx;
font-weight: 500;
line-height: 150rpx;
color: #414141;
}
}

@ -1,91 +1,101 @@
<template>
<view class="member">
<view >
<u-navbar title="邀请记录" back-icon-color="#fff" :border-bottom="false" title-color="#333" :background="background"></u-navbar>
</view>
<view class="tab">
<view class="tabList">
<view v-for="(item,index) in tabList" :key="index" class="tabItem">
<view class="name" :style="{'color':item.value==chosed?'#FF4C4B':'#7A7A7A'}">
{{item.name}}
</view>
<view class="line" v-if="item.value==chosed">
</view>
<view class="user">
<view class="user-bd">
<view class="li" v-for="(a,i) in list" :key="i">
<view class="l">
<image :src="$picUrl+'/static/news/avater.png'"></image>
</view>
<view class="m">
<view class="n">AUIIO</view>
<view class="t">2023-02-12 10:00</view>
</view>
<view class="r">
+<text>18</text>
</view>
</view>
</view>
<u-empty text="暂无信息" v-if="total == 0" mode="list"></u-empty>
</view>
</template>
<script>
// import img from "@/static/member/top.png"
export default{
data(){
let img = 'https://www.saas.njrenzhou.com/static/member/top.png'
return{
background: {
background: 'url('+ img+') center top no-repeat',
backgroundSize: '100% auto',
},
chosed:'0',
tabList:[
{
name:'待完成',
value:'0'
},{
name:'已完成',
value:'1'
},{
name:'已完成',
value:'2'
}
]
}
import * as newFunApi from '@/api/newFun'
export default {
data() {
return {
list: [],
total: 1
};
},
onLoad() {
this.getList();
},
methods: {
async getList() {
uni.showLoading({
title:"加载中"
})
const {status, data} = await newFunApi.inviteGetList({});
if(status == 200){
uni.hideLoading();
this.list = data.list.data;
this.total = data.list.total
console.log(this.total)
}
},
}
}
</script>
<style lang="scss" scoped>
.member{
width: 100%;
background: url('https://www.saas.njrenzhou.com/static/member/merBack.png') 100% no-repeat;
background-size: 100% 100%;
position:relative;
}
.tab{
width: 682rpx;
height: 692rpx;
background: #FFFFFF;
border-radius: 10rpx 10rpx 10rpx 10rpx;
opacity: 1;
margin: 48rpx 0 0 42rpx;
padding-top: 20rpx;
.tabList{
.user{
padding: 0 0 130rpx;
overflow: hidden;
&-bd{
padding: 0 20rpx 0 60rpx;;
background-color: #FFFFFF;
overflow: hidden;
margin-top: 20rpx;
.li{
display: flex;
justify-content: space-around;
align-items: center;
.tabItem{
.name{
width: 96rpx;
height: 60rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
line-height: 44rpx;
align-items: flex-start;
justify-content: space-between;
padding: 35rpx 0;
border-bottom: 1px solid #F2F2F2;
.l{
width: 86rpx;
height: 86rpx;
margin-right: 25rpx;
image{
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.m{
flex: 1;
max-width: 400rpx;
margin-right: 20rpx;
.n{
font-size: 28rpx;
font-weight: 400;
color: #545454;
}
.line{
width: 48rpx;
height: 6rpx;
background: #FF4C4B;
border-radius: 56rpx 56rpx 56rpx 56rpx;
opacity: 1;
.t{
margin-top: 10rpx;
margin-left: 24rpx;
font-size: 28rpx;
font-weight: 400;
color: #A7A7A7;
}
}
.r{
font-size: 28rpx;
color: #FF4C4B;
text{
font-size: 36rpx;
}
}
}
}
</style>
}
</style>

@ -27,7 +27,6 @@
<script>
import * as UserApi from '@/api/user'
// import img from "@/static/news/login-bg.png";
import * as CaptchaApi from '@/api/captcha';
import mpWeiXinMobile from './components/mp-weixin-mobile.vue'
import store from '@/store';
@ -43,10 +42,8 @@
showCountDown: false,
currentIndex: 0,
background: {
// background: 'url(' + img + ') center top no-repeat',
background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`,
// background: "url(' + this.$picUrl+'/static/news/login-bg.png'+')' center top no-repeat,
backgroundSize: '100%',
backgroundSize: '100% auto',
},
phoneNum: '',
semCode: '',
@ -154,8 +151,7 @@
<style lang="scss" scoped>
.login {
width: 100%;
background: #fffafb url(`https://www.saas.njrenzhou.com/static/news/login-bg.png`) center top no-repeat;
background-size: 100% 100%;
background: #fffafb url(https://www.saas.njrenzhou.com/static/news/login-bg.png) center top no-repeat;
background-size: 100% auto;
min-height: 100vh;

@ -4,21 +4,21 @@
<u-navbar title="联系我们" :border-bottom="false" :background="background"></u-navbar>
</view>
<view class="park-hd">
<image :src="$picUrl+'/static/home/phone.jpg'"></image>
<view class="a">昆明湖店·YN_k121</view>
<view class="b"><u-icon name="map" style="margin-right: 10rpx; margin-top: 10rpx;"></u-icon>2线2600m</view>
<image :src="cityInfo.imageList?cityInfo.imageList[0]:''"></image>
<view class="a">{{cityInfo.shop_name}}</view>
<view class="b" @click="openMap()"><u-icon name="map" style="margin-right: 10rpx; margin-top: 10rpx;"></u-icon>{{cityInfo.address}}</view>
</view>
<view class="park-bd">
<view class="a">联系电话</view>
<view class="b">18020890980<image :src="$picUrl+'/static/news/tel.png'"></image></view>
<view class="b">{{cityInfo.phone}}<image :src="$picUrl+'/static/news/tel.png'" @click="callPhone()"></image></view>
</view>
<view class="park-fd">
<image :src="$picUrl+'/static/home/phone.jpg'"></image>
<image :src="cityInfo.wechat"></image>
<view class="txt">长按识别二维码</view>
<view class="txt">添加我的微信</view>
</view>
<view class="park-btn">
<view class="btn">编辑信息</view>
<view class="park-btn" v-if="userInfo.user_type==40">
<view class="btn" @click="toEdit">编辑信息</view>
</view>
</view>
</template>
@ -33,11 +33,32 @@
background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`,
// background: 'url('+ img+') center top no-repeat',
backgroundSize: '100%',
},
},
cityInfo: {},
userInfo: {}
}
},
onLoad() {
this.cityInfo = uni.getStorageSync("cityInfo");
this.userInfo = uni.getStorageSync("userInfo");
},
methods: {
callPhone() {
uni.makePhoneCall({
phoneNumber: this.cityInfo.phone
})
},
openMap() {
uni.openLocation({
latitude: Number(this.cityInfo.latitude),
longitude: Number(this.cityInfo.longitude)
})
},
toEdit() {
uni.navigateTo({
url: "/pages/news/park/personal"
})
},
}
}
</script>

@ -1,13 +1,13 @@
<template>
<view class="comment">
<view class="item" v-for="i in 10" :key="i">
<view class="item" v-for="(a,i) in cityInfo.evaluate">
<view class="avater">
<image :src="$picUrl+'/static/news/avater.png'"></image>
<image :src="a.image"></image>
</view>
<view class="info">
<view class="a">Shark特<text>10分钟前</text></view>
<view class="b">非常棒讲解细致下次还来</view>
<view class="c">
<view class="a">{{a.nickname}}<text v-if="false">10分钟前</text></view>
<view class="b">{{a.content}}</view>
<view class="c" v-if="false">
<image v-for="o in 3" :key="o" :src="$picUrl+'/static/home/phone.jpg'"></image>
</view>
</view>
@ -19,8 +19,11 @@
export default {
data() {
return {
cityInfo: {}
};
},
onLoad() {
this.cityInfo = uni.getStorageSync("cityInfo")
}
}
</script>

@ -4,17 +4,17 @@
<u-navbar title="咨询" :border-bottom="false" :background="background"></u-navbar>
</view>
<view class="park-hd">
<image :src="$picUrl+'/static/home/phone.jpg'"></image>
<view class="a">昆明湖店·YN_k121</view>
<view class="b"><u-icon name="map" style="margin-right: 10rpx; margin-top: 10rpx;"></u-icon>2线2600m</view>
<image :src="cityInfo.imageList?cityInfo.imageList[0]:''"></image>
<view class="a">{{cityInfo.shop_name}}</view>
<view class="b" @click="openMap()"><u-icon name="map" style="margin-right: 10rpx; margin-top: 10rpx;"></u-icon>{{cityInfo.address}}</view>
</view>
<view class="park-bd">
<view class="item"><text>1406</text>服务总时长</view>
<view class="item"><text>7606</text>服务总数</view>
<view class="item"><text>0</text>为我服务次数</view>
<view class="item"><text>{{cityInfo.fuwu_hours}}</text>服务总时长</view>
<view class="item"><text>{{cityInfo.fuwu_num}}</text>服务总数</view>
<view class="item"><text>{{cityInfo.star}}</text>为我服务次数</view>
</view>
<view class="park-fd">
<image :src="$picUrl+'/static/home/phone.jpg'"></image>
<image :src="cityInfo.wechat"></image>
<view class="txt">长按识别二维码</view>
<view class="txt">添加我的微信</view>
</view>
@ -31,11 +31,20 @@
background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`,
// background: 'url('+ img+') center top no-repeat',
backgroundSize: '100%',
},
},
cityInfo: {},
}
},
onLoad() {
this.cityInfo = uni.getStorageSync("cityInfo")
},
methods: {
methods: {
openMap() {
uni.openLocation({
latitude: Number(this.cityInfo.latitude),
longitude: Number(this.cityInfo.longitude)
})
},
}
}
</script>

@ -1,7 +1,7 @@
<template>
<view class="comment">
<view class="item" v-for="i in 20" :key="i">
<image :src="$picUrl+'/static/home/ranking.png'"></image>
<view class="item" v-for="(a,i) in cityInfo.imageList" :key="i" @click="previewImage(i)">
<image :src="a"></image>
</view>
</view>
</template>
@ -10,8 +10,20 @@
export default {
data() {
return {
cityInfo: {},
};
},
onLoad() {
this.cityInfo = uni.getStorageSync("cityInfo")
},
methods: {
//
previewImage(i){
uni.previewImage({
current: this.cityInfo.imageList[i],
urls: this.cityInfo.imageList
})
},
}
}
</script>

@ -4,20 +4,16 @@
<u-navbar title="停车指引" :border-bottom="false" :background="background"></u-navbar>
</view>
<view class="park-hd">
<view class="a">昆明湖店·YN_k121</view>
<view class="b"><u-icon name="map" style="margin-right: 10rpx;"></u-icon>2线2600m</view>
<view class="a">{{cityInfo.shop_name}}</view>
<view class="b"><u-icon name="map" style="margin-right: 10rpx;"></u-icon>{{cityInfo.address}}</view>
</view>
<view class="park-bd">
<view class="a">停车攻略</view>
<view class="b">
<view class="store">昆明湖店广场地下停车场<text>推荐</text></view>
<view class="btn">导航</view>
</view>
<view class="c">
<view class="p"><text>价格:</text>购物免费停车2小时超出部份收取3元/小时</view>
<view class="p"><text>特点:</text>长时间停留推荐相对安全可享免费停车两小时</view>
<view class="p"><text>详细:</text>佰腾数码广场楼下有地下停车场停车场车位不少且出门即可乘坐电梯至门店但节假日等高峰期车位较为紧张</view>
<view class="store">{{cityInfo.parking_name}}<text>推荐</text></view>
<view class="btn" @click="openMap()">导航</view>
</view>
<view class="c" v-html="cityInfo.parking_desc"></view>
</view>
</view>
</template>
@ -32,11 +28,20 @@
background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`,
// background: 'url('+ img+') center top no-repeat',
backgroundSize: '100%',
},
},
cityInfo: {},
}
},
onLoad() {
this.cityInfo = uni.getStorageSync("cityInfo");
},
methods: {
openMap() {
uni.openLocation({
latitude: Number(this.cityInfo.latitude),
longitude: Number(this.cityInfo.longitude)
})
},
}
}
</script>

@ -1,7 +1,7 @@
<template>
<view class="user">
<view class="user-bd">
<view class="li" v-for="i in 2" :key="i">
<view class="li" v-for="(a,i) in list" :key="i">
<view class="l">
<image :src="$picUrl+'/static/news/avater.png'"></image>
</view>
@ -13,19 +13,36 @@
+<text>18</text>
</view>
</view>
</view>
</view>
<u-empty text="暂无信息" v-if="total == 0" mode="list"></u-empty>
</view>
</template>
<script>
<script>
import * as newFunApi from '@/api/newFun'
export default {
data() {
return {
list: [],
total: 1
};
},
onLoad() {
this.getList();
},
methods: {
async getList() {
uni.showLoading({
title:"加载中"
})
const {status, data} = await newFunApi.inviteGetList({});
if(status == 200){
uni.hideLoading();
this.list = data.list.data;
this.total = data.list.total
console.log(this.total)
}
},
}
}
</script>
@ -35,7 +52,7 @@
padding: 0 0 130rpx;
overflow: hidden;
&-bd{
padding: 0 0 0 60rpx;;
padding: 0 20rpx 0 60rpx;;
background-color: #FFFFFF;
overflow: hidden;
margin-top: 20rpx;

@ -117,8 +117,9 @@ export default{
}
}
let {status, message, data} = await newFunApi.updatePrice({
uni.navigateBack({delta:1})
});
uni.navigateBack({delta:1})
}
},
onLoad(option){

@ -5,11 +5,11 @@
<view class="group">
<image :src="$picUrl+'/static/serve/right.png'" class="tip tipImg"></image>
<text lines="1" class="groupText">不满意重做</text>
<image :src="$picUrl+'/static/serve/right.png'" class="tip"></image>
<image :src="$picUrl+'/static/serve/right1.png'" class="tip"></image>
<text lines="1" class="groupText">7x24小时服务</text>
<image :src="$picUrl+'/static/serve/right.png'" class="tip"></image>
<image :src="$picUrl+'/static/serve/right2.png'" class="tip"></image>
<text lines="1" class="groupText">全场保障</text>
<image :src="$picUrl+'/static/serve/right.png'" class="tip"></image>
<image :src="$picUrl+'/static/serve/right3.png'" class="tip"></image>
<text lines="1" class="groupText">专业服务</text>
</view>
</view>
@ -41,7 +41,7 @@
<text class="listText">支付订单</text>
<text class="listText">服务评价</text>
</view>
<view class="member" @click="goMember" v-if="userInfo.grade_id == 0">
<view class="member" @click="goMember" v-if="!userInfo == false || userInfo.grade_id == 0">
<view class="memberCenter">
会员中心
</view>
@ -72,7 +72,7 @@
this.getList();
},
onShow() {
this.userInfo = uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo"):{}
this.userInfo = uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo"): ""
},
methods:{
openPage1(){
@ -110,35 +110,38 @@
</script>
<style lang="scss" scoped>
.serve {
height: 100%;
width: 100%;
background-color: #F7F8FA;
padding-bottom: 30rpx;
overflow: hidden;
.heade {
width: 100%;
height: 360rpx;
height: 396rpx;
background-color: #fff;
padding-top: 28rpx;
box-sizing: border-box;
.headImage {
width: 690rpx;
height: 264rpx;
margin: 28rpx 0 0 34rpx;
display: block;
margin: 0 auto 0;
}
.group {
display: flex;
align-items: center;
margin-top: 28rpx;
.tip {
width: 42rpx;
height: 42rpx;
}
.tipImg{
margin-left: 24rpx;
width: 40rpx;
height: 40rpx;
margin-left: 10rpx;
margin-right: 10rpx;
&:first-child{
margin-left: 20rpx;
}
}
.groupText {
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #444444;
line-height: 34rpx;
@ -151,7 +154,6 @@
height: 246rpx;
background: #FFFFFF;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
left: 0;
right: 0;
margin: auto;
@ -160,7 +162,6 @@
.serveTitle {
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #000000;
line-height: 40rpx;
@ -171,28 +172,28 @@
white-space: nowrap;
.listItem {
width: 100rpx;
height: 100rpx;
display: inline-block;
text-align: center;
align-items: center;
margin-left: 20rpx;
text-align: center;
&:first-child{
margin-left: 0;
}
.itemImage {
width: 56rpx;
height: 56rpx;
margin-bottom: 16rpx;
margin: 0 auto 16rpx;
}
.itemText {
width: 100rpx;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #565656;
line-height: 34rpx;
white-space: nowrap;
overflow: hidden;
}
}
}
@ -200,7 +201,7 @@
.flowPath {
width: 704rpx;
height: 534rpx;
max-height: 534rpx;
left: 0;
right: 0;
margin: auto;
@ -208,32 +209,28 @@
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
margin-top: 14rpx;
padding-top: 24rpx;
padding: 24rpx;
box-sizing: border-box;
.flowTitle {
margin: 0 0 0 26rpx;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #000000;
line-height: 40rpx;
.services {
margin-left: 14rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #565656;
}
}
.flowImage {
margin-top: 42rpx;
width: 592rpx;
height: 74rpx;
margin-left: 60rpx;
display: block;
margin: 0 auto;
margin-top: 42rpx;
image {
width: 100%;
height: 100%;
@ -241,16 +238,14 @@
}
.flowList {
;
width: 678rpx;
height: 34rpx;
line-height: 34rpx;
left: 0;
right: 0;
margin: auto;
margin-left: 54rpx;
display: flex;
// justify-content: space-around;
justify-content: center;
margin-top: 18rpx;
.listText {
@ -267,57 +262,46 @@
height: 214rpx;
background-image: url('https://www.saas.njrenzhou.com/static/serve/member.png');
background-size: 100% 100%;
margin: 50rpx 0 0 36rpx;
padding-top: 28rpx;
padding: 28rpx;
margin-top: 50rpx;
.memberCenter {
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #966542;
line-height: 40rpx;
margin: 0 0 0 32rpx;
line-height: 50rpx;
}
.power {
margin: 4rpx 0 0 32rpx;
height: 28rpx;
margin-top: 4rpx;
font-size: 20rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #966542;
line-height: 28rpx;
line-height: 40rpx;
}
.opera {
margin: 24rpx 0 0 32rpx;
margin-top: 14rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #9F744D;
line-height: 28rpx;
display: flex;
align-items: center;
.number {
font-size: 52rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #9C714A;
line-height: 61rpx;
}
.operaBtn {
margin-left: 14rpx;
width: 138rpx;
height: 60rpx;
background: #9F744D;
border-radius: 82rpx 82rpx 82rpx 82rpx;
opacity: 1;
border-radius: 82rpx;
text-align: center;
line-height: 54rpx;
line-height: 60rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #FFFFFF;
}

@ -10,8 +10,8 @@
</view>
<scroll-view scroll-x class="goods-menu">
<view class="item" @click="tabItem1(item,index)" v-for="(item,index) in categoryList" :key="index"
:class="tabIndex1==item?'item-on':''">
<image v-if="item.image" :src="item.image.external_url"></image>
:class="tabIndex1==index?'item-on':''">
<image :src="item.image?item.image.external_url:''"></image>
<view class="p">{{item.name}}</view>
</view>
</scroll-view>
@ -59,7 +59,7 @@
},
//
isLoading: true,
tabIndex1: 1,
tabIndex1: 0,
tabIndex: 0,
filterIndex: 0,
keyword: "",
@ -114,7 +114,16 @@
}
Api.brandList(pamars)
.then(result => {
app.list = result.data.data;
let arr = result.data.data;
if(arr && arr.length > 0){
arr.map(a=>{
a.goods_price_min = Number(a.goods_price_min)
a.goods_price_max = Number(a.goods_price_max)
a.line_price_min = Number(a.line_price_min)
a.line_price_max = Number(a.line_price_max)
})
}
app.list = arr
})
.finally(() => app.isLoading = false)
},

Loading…
Cancel
Save