剩余需求,此版本部分访问地址还是指向本地,下一版代码进行修改
This commit is contained in:
parent
2303320106
commit
3a22ec4c07
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
// const ROOTPATH3 = "wss://192.168.2.22:8187/wss/chatSocket/";
|
// const ROOTPATH3 = "wss://192.168.2.22:8187/wss/chatSocket/";
|
||||||
// const ROOTPATH = "http://192.168.2.22:8187/sqx_fast";
|
const ROOTPATH = "http://192.168.2.22:8187/sqx_fast";
|
||||||
// const ROOTPATH1 = "http://192.168.2.22:8187/sqx_fast";
|
const ROOTPATH1 = "http://192.168.2.22:8187/sqx_fast";
|
||||||
|
|
||||||
//生产环境
|
//生产环境
|
||||||
const ROOTPATH = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
// const ROOTPATH = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
||||||
const ROOTPATH1 = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
// const ROOTPATH1 = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
||||||
const ROOTPATH3 = "wss://admin.sjajk.com/wss/chatSocket/"; //联系客服//生产需替换
|
const ROOTPATH3 = "wss://admin.sjajk.com/wss/chatSocket/"; //联系客服//生产需替换
|
||||||
|
|
||||||
//上传地址
|
//上传地址
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
//securityJsCode: "js秘钥",
|
//securityJsCode: "js秘钥",
|
||||||
serviceHost: 'https://wx.sjajk.com/_AMapService',
|
serviceHost: 'https://wx.sjajk.com/_AMapService',
|
||||||
// serviceHost: 'http://sauser.blxinchuang.com/_AMapService',
|
|
||||||
//serviceHost: 'http://120.46.52.165/_AMapService',
|
//serviceHost: 'http://120.46.52.165/_AMapService',
|
||||||
// serviceHost: 'http://192.168.2.222:8187/_AMapService',
|
// serviceHost: 'http://192.168.2.222:8187/_AMapService',
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name" : "盛安到家",
|
"name" : "盛安小象",
|
||||||
"appid" : "__UNI__0A81F4F",
|
"appid" : "__UNI__0A81F4F",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.1",
|
"versionName" : "1.0.1",
|
||||||
|
@ -174,7 +174,6 @@
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
// 可代理多个
|
// 可代理多个
|
||||||
"/TencentGet" : {
|
"/TencentGet" : {
|
||||||
// "target" : "http://sauser.blxinchuang.com/", // 腾讯地图逆地址解析
|
|
||||||
"target" : "http://admin.sjajk.com/", // 腾讯地图逆地址解析
|
"target" : "http://admin.sjajk.com/", // 腾讯地图逆地址解析
|
||||||
"changeOrigin" : true,
|
"changeOrigin" : true,
|
||||||
"secure" : false,
|
"secure" : false,
|
||||||
|
@ -189,7 +188,6 @@
|
||||||
"amap" : {
|
"amap" : {
|
||||||
"key" : "32c22db939160ba44394eb187f7897ae",
|
"key" : "32c22db939160ba44394eb187f7897ae",
|
||||||
"securityJsCode" : "260614bdf77a5961d4379530363dc5c0",
|
"securityJsCode" : "260614bdf77a5961d4379530363dc5c0",
|
||||||
// "serviceHost" : "http://sauser.blxinchuang.com/_AMapService"
|
|
||||||
"serviceHost" : "http://admin.sjajk.com/_AMapService"
|
"serviceHost" : "http://admin.sjajk.com/_AMapService"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
status:this.tabIndex,
|
status:this.tabIndex,
|
||||||
minMoney:this.priceDd
|
minMoney:this.priceDd
|
||||||
}
|
}
|
||||||
this.$Request.getT('/app/coupon/selectUserCouponList',data).then(res => {
|
this.$Request.get('/app/coupon/selectUserCouponList',data).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
if (this.page == 1) this.hongbao = []; //如果是第一页需手动制空列表
|
if (this.page == 1) this.hongbao = []; //如果是第一页需手动制空列表
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="header-view">
|
<view class="header-view">
|
||||||
~ 当你累了 想起盛安到家 ~
|
~ 当你累了 想起盛安小象 ~
|
||||||
</view>
|
</view>
|
||||||
<view class="box">
|
<view class="box">
|
||||||
<view class="feedback-title">
|
<view class="feedback-title">
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<view style="background: #FFFFFF;">
|
<view style="background: #FFFFFF;">
|
||||||
<view style="text-align: center;">
|
<view style="text-align: center;">
|
||||||
<image style="width: 160upx;height: 160upx;margin-top: 200upx;border-radius:20upx;" src="/static/logo.png"></image>
|
<image style="width: 160upx;height: 160upx;margin-top: 200upx;border-radius:20upx;" src="/static/logo.png"></image>
|
||||||
<view style="font-size: 46upx;margin-top: 20upx;color: #333333;font-weight: 500;">盛安到家APP</view>
|
<view style="font-size: 46upx;margin-top: 20upx;color: #333333;font-weight: 500;">盛安小象APP</view>
|
||||||
<view style="font-size: 28upx;margin-top: 8upx;color: #333333;font-weight: 500;">{{message}}</view>
|
<view style="font-size: 28upx;margin-top: 8upx;color: #333333;font-weight: 500;">{{message}}</view>
|
||||||
<button class="confirm-btn" @click="taobaoLogin">下载盛安到家APP</button>
|
<button class="confirm-btn" @click="taobaoLogin">下载盛安小象APP</button>
|
||||||
<!-- <view style="margin-top: 300upx;text-align: center"><text style="color: #666666;font-size: 32upx;font-weight: 400;">下载省钱兄APP邀请码填写</text></view>
|
<!-- <view style="margin-top: 300upx;text-align: center"><text style="color: #666666;font-size: 32upx;font-weight: 400;">下载省钱兄APP邀请码填写</text></view>
|
||||||
<view @click="copy" style="color: #333333;margin-top: 20upx;font-weight: 600;font-size: 38upx;">{{ invitationCode }}</view> -->
|
<view @click="copy" style="color: #333333;margin-top: 20upx;font-weight: 600;font-size: 38upx;">{{ invitationCode }}</view> -->
|
||||||
<!-- <view style="margin-top: 40upx;background: #FF0223;height: 10upx;width: 60upx;margin-left: 46%;"></view> -->
|
<!-- <view style="margin-top: 40upx;background: #FF0223;height: 10upx;width: 60upx;margin-left: 46%;"></view> -->
|
||||||
|
|
|
@ -76,6 +76,10 @@
|
||||||
uni.removeStorageSync('unionId')
|
uni.removeStorageSync('unionId')
|
||||||
uni.removeStorageSync('openId')
|
uni.removeStorageSync('openId')
|
||||||
uni.removeStorageSync('isVIP')
|
uni.removeStorageSync('isVIP')
|
||||||
|
uni.removeStorageSync('blQdsCode')
|
||||||
|
uni.removeStorageSync('blXdQdsCode')
|
||||||
|
uni.removeStorageSync('blYwyCode')
|
||||||
|
uni.removeStorageSync('qdmsmjl')
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '退出成功!',
|
title: '退出成功!',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
|
|
|
@ -28,15 +28,15 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="title_item">
|
<view class="title_item">
|
||||||
<view class="item_yuan"></view>
|
<view class="item_yuan"></view>
|
||||||
<view class="item_title">您在盛安到家购买的物品将无法进行售后</view>
|
<view class="item_title">您在盛安小象购买的物品将无法进行售后</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="title_item">
|
<view class="title_item">
|
||||||
<view class="item_yuan"></view>
|
<view class="item_yuan"></view>
|
||||||
<view class="item_title">您在盛安到家的账号信息及会员权益将会永久清除且无法恢复</view>
|
<view class="item_title">您在盛安小象的账号信息及会员权益将会永久清除且无法恢复</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="title_item">
|
<view class="title_item">
|
||||||
<view class="item_yuan"></view>
|
<view class="item_yuan"></view>
|
||||||
<view class="item_title" style="color: #f00;">您所绑定的手机号码3个月内将无法再次注册盛安到家</view>
|
<view class="item_title" style="color: #f00;">您所绑定的手机号码3个月内将无法再次注册盛安小象</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<view style="margin-right:60upx ;margin-left: 20upx;">店铺</view>
|
<view style="margin-right:60upx ;margin-left: 20upx;">店铺</view>
|
||||||
<image style="height: 40upx;width:40upx;margin-top: 6px;margin-right: 4upx;"
|
<image style="height: 40upx;width:40upx;margin-top: 6px;margin-right: 4upx;"
|
||||||
src="https://renwu.xiansqx.com/img/20210813/f51eb872013a4681826d15cd9e641b5c.png"></image>
|
src="https://renwu.xiansqx.com/img/20210813/f51eb872013a4681826d15cd9e641b5c.png"></image>
|
||||||
<view style="font-weight: bold;">盛安到家自营店铺</view>
|
<view style="font-weight: bold;">盛安小象自营店铺</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
<view style="margin-right:60upx ;margin-left: 20upx;">店铺</view>
|
<view style="margin-right:60upx ;margin-left: 20upx;">店铺</view>
|
||||||
<image style="height: 40upx;width:40upx;margin-top: 6px;margin-right: 4upx;"
|
<image style="height: 40upx;width:40upx;margin-top: 6px;margin-right: 4upx;"
|
||||||
src="https://renwu.xiansqx.com/img/20210813/f51eb872013a4681826d15cd9e641b5c.png"></image>
|
src="https://renwu.xiansqx.com/img/20210813/f51eb872013a4681826d15cd9e641b5c.png"></image>
|
||||||
<view style="font-weight: bold;">盛安到家自营店铺</view>
|
<view style="font-weight: bold;">盛安小象自营店铺</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@
|
||||||
<image style="height: 30upx;width:30upx;margin-right: 4upx;"
|
<image style="height: 30upx;width:30upx;margin-right: 4upx;"
|
||||||
src="https://renwu.xiansqx.com/img/20210813/78058c9a635e4822853306964fa02d09.png">
|
src="https://renwu.xiansqx.com/img/20210813/78058c9a635e4822853306964fa02d09.png">
|
||||||
</image>
|
</image>
|
||||||
<view>盛安到家自营店铺</view>
|
<view>盛安小象自营店铺</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getmrsc() {
|
getmrsc() {
|
||||||
this.$Request.getT('/app/goods/recommend?page=0&size=3&sort=createAt').then(res => {
|
this.$Request.get('/app/goods/recommend?page=0&size=3&sort=createAt').then(res => {
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
this.mrscList = res.data.content;
|
this.mrscList = res.data.content;
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
money: 0,
|
money: 0,
|
||||||
lingqian: 0.00,
|
lingqian: 0.00,
|
||||||
title: '',
|
title: '',
|
||||||
|
goodsType:0,
|
||||||
image: '',
|
image: '',
|
||||||
id: '',
|
id: '',
|
||||||
providerList: [],
|
providerList: [],
|
||||||
|
@ -218,6 +219,7 @@
|
||||||
this.image = res.data.img;
|
this.image = res.data.img;
|
||||||
this.money = res.data.payMoney;
|
this.money = res.data.payMoney;
|
||||||
this.title = res.data.title;
|
this.title = res.data.title;
|
||||||
|
this.goodsType = res.data.type
|
||||||
}
|
}
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
});
|
});
|
||||||
|
@ -284,8 +286,12 @@
|
||||||
// #endif
|
// #endif
|
||||||
} else if (this.openWay === 2) { //2:零钱支付
|
} else if (this.openWay === 2) { //2:零钱支付
|
||||||
let orderIds = this.id;
|
let orderIds = this.id;
|
||||||
this.$Request.getT('/app/orders/changePay?ordersId=' + this.id).then(res => {
|
this.$Request.get('/app/orders/changePay?ordersId=' + this.id).then(async res => {
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
|
if(this.goodsType == 57){
|
||||||
|
//代金券直接执行发货逻辑(pc端商城订单确认收货的逻辑)
|
||||||
|
await this.$Request.get('/app/orders/confirm?id=' + orderIds)
|
||||||
|
}
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
this.$queue.showToast('支付成功');
|
this.$queue.showToast('支付成功');
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<image class="goods-img" :src='item.goodsImg'></image>
|
<image class="goods-img" :src='item.goodsImg'></image>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<text class="title clamp">{{item.goodsTitle}}</text>
|
<text class="title clamp">{{item.goodsTitle}}</text>
|
||||||
<text class="attr-box">店铺名称:盛安到家自营店铺</text>
|
<text class="attr-box">店铺名称:盛安小象自营店铺</text>
|
||||||
<text class="price" style="margin-top: 10upx;">实付款 ¥{{item.payMoney}}</text>
|
<text class="price" style="margin-top: 10upx;">实付款 ¥{{item.payMoney}}</text>
|
||||||
<!-- <text class="attr-box">团长提成 ¥{{item.commissionMoney}}</text> -->
|
<!-- <text class="attr-box">团长提成 ¥{{item.commissionMoney}}</text> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<image class="goods-img" :src='item.goodsImg'></image>
|
<image class="goods-img" :src='item.goodsImg'></image>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<text class="title clamp">{{item.goodsTitle}}</text>
|
<text class="title clamp">{{item.goodsTitle}}</text>
|
||||||
<text class="attr-box">店铺名称:盛安到家自营店铺</text>
|
<text class="attr-box">店铺名称:盛安小象自营店铺</text>
|
||||||
<text class="price">实付款 ¥{{item.payMoney}}</text>
|
<text class="price">实付款 ¥{{item.payMoney}}</text>
|
||||||
<view v-if="moneyFrom === 1" style="display: flex;flex-direction: column;">
|
<view v-if="moneyFrom === 1" style="display: flex;flex-direction: column;">
|
||||||
<text class="attr-box">直属名称 {{item.lowerUserName}}</text>
|
<text class="attr-box">直属名称 {{item.lowerUserName}}</text>
|
||||||
|
|
17
pages.json
17
pages.json
|
@ -8,7 +8,7 @@
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "盛安到家",
|
"navigationBarTitleText": "盛安小象",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "盛安到家",
|
"navigationBarTitleText": "盛安小象",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
"titleNView": false
|
"titleNView": false
|
||||||
|
@ -433,7 +433,7 @@
|
||||||
{
|
{
|
||||||
"path": "pages/index/index2",
|
"path": "pages/index/index2",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "盛安到家",
|
"navigationBarTitleText": "盛安小象",
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
|
@ -1099,6 +1099,13 @@
|
||||||
"navigationBarTitleText" : "选择",
|
"navigationBarTitleText" : "选择",
|
||||||
"enablePullDownRefresh" : false
|
"enablePullDownRefresh" : false
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/spread/spread",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": [
|
"subPackages": [
|
||||||
|
@ -2037,7 +2044,7 @@
|
||||||
}],
|
}],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "盛安到家",
|
"navigationBarTitleText": "盛安小象",
|
||||||
"navigationBarBackgroundColor": "#FFFFFF",
|
"navigationBarBackgroundColor": "#FFFFFF",
|
||||||
"backgroundColor": "#ffffff"
|
"backgroundColor": "#ffffff"
|
||||||
},
|
},
|
||||||
|
@ -2054,7 +2061,7 @@
|
||||||
"pagePath": "pages/index/index",
|
"pagePath": "pages/index/index",
|
||||||
"iconPath": "static/tabbar/bottom5_1.png",
|
"iconPath": "static/tabbar/bottom5_1.png",
|
||||||
"selectedIconPath": "static/tabbar/bottom5_2.png",
|
"selectedIconPath": "static/tabbar/bottom5_2.png",
|
||||||
"text": "盛安到家"
|
"text": "盛安小象"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/videoCircle/index",
|
"pagePath": "pages/videoCircle/index",
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="index-top-left font-size-34">盛安到家</view> -->
|
<!-- <view class="index-top-left font-size-34">盛安小象</view> -->
|
||||||
<view class="index-top-mian">
|
<view class="index-top-mian">
|
||||||
|
|
||||||
<!-- <view class="index-top-mian-text">
|
<!-- <view class="index-top-mian-text">
|
||||||
|
@ -476,7 +476,7 @@
|
||||||
ccRef: null,
|
ccRef: null,
|
||||||
userInfo: {
|
userInfo: {
|
||||||
id: 120,
|
id: 120,
|
||||||
user_name: "🍁",
|
user_name: "??",
|
||||||
user_avatar: "https://pic1.zhimg.com/80/v2-a79071a705f55c5d88f6c74e6111fe84_720w.webp",
|
user_avatar: "https://pic1.zhimg.com/80/v2-a79071a705f55c5d88f6c74e6111fe84_720w.webp",
|
||||||
},
|
},
|
||||||
tableTotal: 4,
|
tableTotal: 4,
|
||||||
|
@ -486,7 +486,7 @@
|
||||||
windowHeight: 0,
|
windowHeight: 0,
|
||||||
heightNum: 1.18,
|
heightNum: 1.18,
|
||||||
deleteHeight: 0,
|
deleteHeight: 0,
|
||||||
boxStyle: { //视频,图片封面样式🌟💗
|
boxStyle: { //视频,图片封面样式????
|
||||||
'height': 0,
|
'height': 0,
|
||||||
'width': 0,
|
'width': 0,
|
||||||
},
|
},
|
||||||
|
@ -592,6 +592,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
that.getVideo()
|
that.getVideo()
|
||||||
|
//渠道码扫码记录
|
||||||
|
this.addScanQdsCodeRecord()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
let that = this
|
let that = this
|
||||||
|
@ -641,6 +643,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//增加渠道商扫码记录
|
||||||
|
addScanQdsCodeRecord(){
|
||||||
|
if(this.$queue.getData('qdmsmjl') == 1){
|
||||||
|
//避免重复存储
|
||||||
|
this.$queue.remove('qdmsmjl')
|
||||||
|
let code = this.$queue.getData('blXdQdsCode')
|
||||||
|
if(code){
|
||||||
|
//增加渠道商扫码记录
|
||||||
|
let data = {
|
||||||
|
userId:uni.getStorageSync('userId'),
|
||||||
|
code
|
||||||
|
}
|
||||||
|
this.$Request.post("/app/commission/qds/addCodeRecord",data)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
selectMsg(isRefresh) {
|
selectMsg(isRefresh) {
|
||||||
let that = this
|
let that = this
|
||||||
let data = {
|
let data = {
|
||||||
|
@ -1250,7 +1268,7 @@
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
@ -1495,7 +1513,7 @@
|
||||||
/*
|
/*
|
||||||
(1)先加载缓冲
|
(1)先加载缓冲
|
||||||
(2)获取当前视频 ID 信息
|
(2)获取当前视频 ID 信息
|
||||||
(3)🌟🌟🌟🌟重要🌟🌟🌟🌟
|
(3)????????重要????????
|
||||||
- 一定要记得看 index.vue 里面
|
- 一定要记得看 index.vue 里面
|
||||||
uni.setStorageSync("user",this.peopleList[i]);
|
uni.setStorageSync("user",this.peopleList[i]);
|
||||||
这个东西,用于存储当前用户信息。在 插件里面会使用到这个东西,
|
这个东西,用于存储当前用户信息。在 插件里面会使用到这个东西,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<!-- <view class="sticky-tabs">
|
<!-- <view class="sticky-tabs">
|
||||||
<view class="headtitle">
|
<view class="headtitle">
|
||||||
盛安到家
|
盛安小象
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view> -->
|
||||||
<swiper class="screen-swiper" style="height: 450rpx;width: 750rpx;" :circular="true" :autoplay="true"
|
<swiper class="screen-swiper" style="height: 450rpx;width: 750rpx;" :circular="true" :autoplay="true"
|
||||||
|
@ -408,7 +408,7 @@
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
<span>{{listData.name}}</span>
|
<span>{{listData.name}}</span>
|
||||||
<!-- <span>平台</span> -->
|
<!-- <span>平台</span> -->
|
||||||
<span style="color: #fff;">当前身份:{{listData.level}}级分销员</span>
|
<span style="color: #fff;">当前身份:{{listData.level}}级分销员</span>
|
||||||
|
<span v-if="isExpired"
|
||||||
|
style="color: #ffd502;font-weight: bold;">到期时间:{{calcDqsj(listData)}}(已到期)</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -80,9 +82,10 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="foot-img-list">
|
<view class="foot-img-list" v-show="!isExpired">
|
||||||
<image class="foot-img" @click="showModal" src="../../../static/suggest-banner2.png" mode=""></image>
|
<image class="foot-img" @click="showModal" src="../../../static/suggest-banner2.png" mode=""></image>
|
||||||
<image class="foot-img" @click="showModalNmae" src="../../../static/suggest-banner3.png" mode=""></image>
|
<image class="foot-img" @click="showModalNmae" src="../../../static/suggest-banner3.png" mode="">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
<!-- 分销员 -->
|
<!-- 分销员 -->
|
||||||
<tki-qrcode ref="qrcode" :val="url" :size="200" background="#fff" foreground="#000" pdground="#000"
|
<tki-qrcode ref="qrcode" :val="url" :size="200" background="#fff" foreground="#000" pdground="#000"
|
||||||
|
@ -90,8 +93,9 @@
|
||||||
<view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
|
<view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
|
||||||
<view class="cu-dialog" v-if="backgroundImage && erweimapath && haibaoShow" @tap="hideModal">
|
<view class="cu-dialog" v-if="backgroundImage && erweimapath && haibaoShow" @tap="hideModal">
|
||||||
<view class="bg-img">
|
<view class="bg-img">
|
||||||
<wm-poster @success="posterSuccess" :imgSrc="backgroundImage" :Referrer="'我的邀请码:'+invitationCode"
|
<wm-poster @success="posterSuccess" :imgSrc="backgroundImage"
|
||||||
:QrSrc="erweimapath" :Title="tuiguang" :LineType="false"></wm-poster>
|
:Referrer="'我的邀请码:'+invitationCode" :QrSrc="erweimapath" :Title="tuiguang"
|
||||||
|
:LineType="false"></wm-poster>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -101,8 +105,9 @@
|
||||||
<view class="cu-modal" :class="modalName2 == 'Image' ? 'show' : ''" @tap="hideModal2">
|
<view class="cu-modal" :class="modalName2 == 'Image' ? 'show' : ''" @tap="hideModal2">
|
||||||
<view class="cu-dialog" v-if="backgroundImage2 && erweimapath2 && haibaoShow2" @tap="hideModal2">
|
<view class="cu-dialog" v-if="backgroundImage2 && erweimapath2 && haibaoShow2" @tap="hideModal2">
|
||||||
<view class="bg-img">
|
<view class="bg-img">
|
||||||
<wm-poster @success="posterSuccess2" :imgSrc="backgroundImage2" :Referrer="'我的邀请码:'+invitationCode"
|
<wm-poster @success="posterSuccess2" :imgSrc="backgroundImage2"
|
||||||
:QrSrc="erweimapath2" :Title="tuiguang" :LineType="false"></wm-poster>
|
:Referrer="'我的邀请码:'+invitationCode" :QrSrc="erweimapath2" :Title="tuiguang"
|
||||||
|
:LineType="false"></wm-poster>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -138,10 +143,13 @@
|
||||||
modalName2: '',
|
modalName2: '',
|
||||||
backgroundImage2: '',
|
backgroundImage2: '',
|
||||||
erweimapath2: '',
|
erweimapath2: '',
|
||||||
|
configInfo: {},
|
||||||
|
isExpired:false,//是否过期
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
async onLoad() {
|
||||||
this.avatar = uni.getStorageSync('avatar')
|
this.avatar = uni.getStorageSync('avatar')
|
||||||
|
this.configInfo = await this.getConfigInfo()
|
||||||
this.getData();
|
this.getData();
|
||||||
this.getBackImageList();
|
this.getBackImageList();
|
||||||
this.getBackImageList2();
|
this.getBackImageList2();
|
||||||
|
@ -180,6 +188,42 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
expired(row) {
|
||||||
|
if (this.configInfo.fxmLimit == 1) return false;
|
||||||
|
else {
|
||||||
|
console.log(111, row.createTime)
|
||||||
|
const createTime = new Date(row.createTime.replace(' ',
|
||||||
|
'T')); // Assuming ISO format with space separator
|
||||||
|
|
||||||
|
const expireDate = new Date(createTime);
|
||||||
|
expireDate.setDate(createTime.getDate() + this.configInfo.fxmLimitDays);
|
||||||
|
|
||||||
|
const now = new Date(); // Get current date and time
|
||||||
|
|
||||||
|
return expireDate < now;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
addDaysToDate(createTimeStr, daysToAdd) {
|
||||||
|
// 将字符串解析为Date对象
|
||||||
|
let date = new Date(createTimeStr.replace(' ', 'T'));
|
||||||
|
|
||||||
|
// 添加天数
|
||||||
|
date.setDate(date.getDate() + daysToAdd);
|
||||||
|
|
||||||
|
// 格式化输出
|
||||||
|
let year = date.getFullYear();
|
||||||
|
let month = String(date.getMonth() + 1).padStart(2, '0');
|
||||||
|
let day = String(date.getDate()).padStart(2, '0');
|
||||||
|
let hours = String(date.getHours()).padStart(2, '0');
|
||||||
|
let minutes = String(date.getMinutes()).padStart(2, '0');
|
||||||
|
let seconds = String(date.getSeconds()).padStart(2, '0');
|
||||||
|
|
||||||
|
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
||||||
|
},
|
||||||
|
calcDqsj(row) {
|
||||||
|
if (this.configInfo.fxmLimit == 1) return '永久'
|
||||||
|
else return this.addDaysToDate(row.createTime, this.configInfo.fxmLimitDays)
|
||||||
|
},
|
||||||
getUserInfo() {
|
getUserInfo() {
|
||||||
this.$Request.get("/app/user/selectUserById").then(res => {
|
this.$Request.get("/app/user/selectUserById").then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
@ -202,8 +246,10 @@
|
||||||
// .invitationCode+"&flag=2";
|
// .invitationCode+"&flag=2";
|
||||||
// this.url2 = this.$queue.publicYuMingApp() + '/?invitation=' + this
|
// this.url2 = this.$queue.publicYuMingApp() + '/?invitation=' + this
|
||||||
// .invitationCode+"&flag=1";
|
// .invitationCode+"&flag=1";
|
||||||
this.url = this.$queue.publicYuMingApp() + '/pages/public/login?blFxyCode=' + this.invitationCode;
|
this.url = this.$queue.publicYuMingApp() +
|
||||||
this.url2 = this.$queue.publicYuMingApp() + '/pages/public/login?blFxyCode=' + this.invitationCode;
|
'/pages/public/login?blFxyCode=' + this.invitationCode;
|
||||||
|
this.url2 = this.$queue.publicYuMingApp() +
|
||||||
|
'/pages/public/login?blFxyCode=' + this.invitationCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -278,8 +324,21 @@
|
||||||
console.log("res.data--->", res.data);
|
console.log("res.data--->", res.data);
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.listData = res.data
|
this.listData = res.data
|
||||||
|
this.isExpired = this.expired(res.data)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
getConfigInfo() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
this.$Request.get("/app/commission/fxy/fxyConfig")
|
||||||
|
.then(({
|
||||||
|
data
|
||||||
|
}) => {
|
||||||
|
return resolve(data)
|
||||||
|
}).catch(error => {
|
||||||
|
resolve({});
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -289,10 +348,12 @@
|
||||||
.mian-foot-top-list span:nth-child(1) {
|
.mian-foot-top-list span:nth-child(1) {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-foot-top-list {
|
.mian-foot-top-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-foot-top {
|
.mian-foot-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -300,6 +361,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-foot {
|
.mian-foot {
|
||||||
width: 93%;
|
width: 93%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -311,6 +373,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bangzhu {
|
.bangzhu {
|
||||||
width: 15px;
|
width: 15px;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
|
@ -320,37 +383,44 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-title-top {
|
.mian-title-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot-img-list {
|
.foot-img-list {
|
||||||
width: 92%;
|
width: 92%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot-img image {
|
.foot-img image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot-img {
|
.foot-img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 180rpx;
|
height: 180rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom-list span {
|
.mian-bottom-list span {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom-list {
|
.mian-bottom-list {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom-img {
|
.mian-bottom-img {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
|
@ -358,6 +428,7 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-radius: 500px;
|
border-radius: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom {
|
.mian-bottom {
|
||||||
width: 93%;
|
width: 93%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -370,28 +441,33 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 185px;
|
margin-top: 185px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-top-title {
|
.mian-top-title {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.money {
|
.money {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-title {
|
.list-title {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #B8B8B8;
|
color: #B8B8B8;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-view {
|
.list-view {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-list {
|
.mian-list {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -399,6 +475,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-title {
|
.mian-title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -409,6 +486,7 @@
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian {
|
.mian {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -419,6 +497,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-btn {
|
.detail-btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 92%;
|
width: 92%;
|
||||||
|
@ -432,10 +511,12 @@
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-top {
|
.content-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
@ -445,31 +526,37 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
page {
|
page {
|
||||||
background-color: #F7F7F7;
|
background-color: #F7F7F7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-money span:nth-child(1) {
|
.bgimg-top-money span:nth-child(1) {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 43rpx;
|
font-size: 43rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-money span:nth-child(2) {
|
.bgimg-top-money span:nth-child(2) {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-money {
|
.bgimg-top-money {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-view {
|
.bgimg-top-view {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top {
|
.bgimg-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -478,6 +565,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 15rpx;
|
margin-top: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg {
|
.bgimg {
|
||||||
background: url(../../../static/wallet/reduce.png);
|
background: url(../../../static/wallet/reduce.png);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -490,6 +578,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mingxi {
|
.mingxi {
|
||||||
width: 140rpx;
|
width: 140rpx;
|
||||||
height: 42rpx;
|
height: 42rpx;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<view class="bgimg-top-view">
|
<view class="bgimg-top-view">
|
||||||
<view class="bgimg-top-money">
|
<view class="bgimg-top-money">
|
||||||
<span>{{listData.name}}</span>
|
<span>{{listData.name}}</span>
|
||||||
<!-- <span>提成比例:12%</span> -->
|
<span>提成比例:{{ywyfy}}</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -58,8 +58,9 @@
|
||||||
<view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
|
<view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
|
||||||
<view class="cu-dialog" v-if="backgroundImage && erweimapath && haibaoShow" @tap="hideModal">
|
<view class="cu-dialog" v-if="backgroundImage && erweimapath && haibaoShow" @tap="hideModal">
|
||||||
<view class="bg-img">
|
<view class="bg-img">
|
||||||
<wm-poster @success="posterSuccess" :imgSrc="backgroundImage" :Referrer="'我的邀请码:'+invitationCode"
|
<wm-poster @success="posterSuccess" :imgSrc="backgroundImage"
|
||||||
:QrSrc="erweimapath" :Title="tuiguang" :LineType="false"></wm-poster>
|
:Referrer="'我的邀请码:'+invitationCode" :QrSrc="erweimapath" :Title="tuiguang"
|
||||||
|
:LineType="false"></wm-poster>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -88,6 +89,7 @@
|
||||||
invitationCode: '',
|
invitationCode: '',
|
||||||
erweimapath: '',
|
erweimapath: '',
|
||||||
tuiguang: '',
|
tuiguang: '',
|
||||||
|
ywyfy:'-'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
@ -151,7 +153,8 @@
|
||||||
// .invitationCode+"&flag=3";
|
// .invitationCode+"&flag=3";
|
||||||
// this.url = this.$queue.publicYuMingApp() + '/?invitation=' + this
|
// this.url = this.$queue.publicYuMingApp() + '/?invitation=' + this
|
||||||
// .invitationCode+"&flag=3";
|
// .invitationCode+"&flag=3";
|
||||||
this.url = this.$queue.publicYuMingApp() + '/pages/public/login?blYwyCode=' + this.invitationCode;
|
this.url = this.$queue.publicYuMingApp() +
|
||||||
|
'/pages/public/login?blYwyCode=' + this.invitationCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -161,12 +164,14 @@
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getBackImageList() {
|
getBackImageList() {
|
||||||
|
let that = this
|
||||||
this.$Request.get("/app/commission/jjr/poster").then(res => {
|
this.$Request.get("/app/commission/jjr/poster").then(res => {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.backgroundImage = res.data.artificerImage;
|
that.backgroundImage = res.data.artificerImage;
|
||||||
|
that.ywyfy = res.data.rate ? res.data.rate + '%' : '-'
|
||||||
}
|
}
|
||||||
console.log("res.data--->", this.backgroundImage);
|
console.log("res.data--->", that.backgroundImage);
|
||||||
});
|
});
|
||||||
// this.make();
|
// this.make();
|
||||||
},
|
},
|
||||||
|
@ -227,34 +232,40 @@
|
||||||
width: 92%;
|
width: 92%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot-img image {
|
.foot-img image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot-img {
|
.foot-img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 180rpx;
|
height: 180rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom-list span {
|
.mian-bottom-list span {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom-list {
|
.mian-bottom-list {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom-img {
|
.mian-bottom-img {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
flex: 0 0 40px;
|
flex: 0 0 40px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-bottom {
|
.mian-bottom {
|
||||||
width: 93%;
|
width: 93%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -267,28 +278,33 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 160px;
|
margin-top: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-top-title {
|
.mian-top-title {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.money {
|
.money {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-title {
|
.list-title {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #B8B8B8;
|
color: #B8B8B8;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-view {
|
.list-view {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-list {
|
.mian-list {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -296,6 +312,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian-title {
|
.mian-title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -306,6 +323,7 @@
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mian {
|
.mian {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -316,6 +334,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-btn {
|
.detail-btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 92%;
|
width: 92%;
|
||||||
|
@ -329,10 +348,12 @@
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-top {
|
.content-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
@ -342,31 +363,37 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
page {
|
page {
|
||||||
background-color: #F7F7F7;
|
background-color: #F7F7F7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-money span:nth-child(1) {
|
.bgimg-top-money span:nth-child(1) {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 43rpx;
|
font-size: 43rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-money span:nth-child(2) {
|
.bgimg-top-money span:nth-child(2) {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-money {
|
.bgimg-top-money {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top-view {
|
.bgimg-top-view {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg-top {
|
.bgimg-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -375,6 +402,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 15rpx;
|
margin-top: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgimg {
|
.bgimg {
|
||||||
background: url(../../../static/wallet/reduce.png);
|
background: url(../../../static/wallet/reduce.png);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -387,6 +415,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mingxi {
|
.mingxi {
|
||||||
width: 140rpx;
|
width: 140rpx;
|
||||||
height: 42rpx;
|
height: 42rpx;
|
||||||
|
|
|
@ -287,18 +287,18 @@
|
||||||
this.$queue.showToast('请选合作项目')
|
this.$queue.showToast('请选合作项目')
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.front == '') {
|
// if (this.front == '') {
|
||||||
this.$queue.showToast('请上传身份证正面')
|
// this.$queue.showToast('请上传身份证正面')
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
if (this.back == '') {
|
// if (this.back == '') {
|
||||||
this.$queue.showToast('请上传身份证反面')
|
// this.$queue.showToast('请上传身份证反面')
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
if(!this.certification || this.certification.length == 0){
|
// if(!this.certification || this.certification.length == 0){
|
||||||
this.$queue.showToast('请上传资质证书')
|
// this.$queue.showToast('请上传资质证书')
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
this.certification = this.certification.toString();
|
this.certification = this.certification.toString();
|
||||||
let userId = this.$queue.getData('userId');
|
let userId = this.$queue.getData('userId');
|
||||||
let data = {
|
let data = {
|
||||||
|
|
|
@ -175,11 +175,11 @@
|
||||||
<image style="padding: 3rpx;" src="../../static/my-gong-4.png" mode=""></image>
|
<image style="padding: 3rpx;" src="../../static/my-gong-4.png" mode=""></image>
|
||||||
<span class="my-use-list-text">城市合伙人</span>
|
<span class="my-use-list-text">城市合伙人</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applyBroker/index')">
|
<view class="my-use-list" v-if="blIsJjr=='0' && fxyConfig.isApprove == 1" @click="useToUrl('/pages/my/applyBroker/index')">
|
||||||
<image style="padding: 3rpx;" src="../../static/my-gong-11.png" mode=""></image>
|
<image style="padding: 3rpx;" src="../../static/my-gong-11.png" mode=""></image>
|
||||||
<span class="my-use-list-text">申请经纪人</span>
|
<span class="my-use-list-text">申请经纪人</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-use-list" v-if="blIsJjr=='1'" @click="useToUrl('/pages/my/applyBroker/myBroker')">
|
<view class="my-use-list" v-if="blIsJjr=='1' && fxyConfig.isOpen == 1" @click="useToUrl('/pages/my/applyBroker/myBroker')">
|
||||||
<image style="padding: 3rpx;" src="../../static/my-gong-12.png" mode=""></image>
|
<image style="padding: 3rpx;" src="../../static/my-gong-12.png" mode=""></image>
|
||||||
<span class="my-use-list-text">我是经纪人</span>
|
<span class="my-use-list-text">我是经纪人</span>
|
||||||
</view>
|
</view>
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="prompt-text">-当你累了 想起盛安到家-</view>
|
<view class="prompt-text">-当你累了 想起盛安小象-</view>
|
||||||
<view class="kefu" @click="goMsg">
|
<view class="kefu" @click="goMsg">
|
||||||
<image :class="{'blinking': haveNewMsg}" src="../../static/kefu.png" mode=""></image>
|
<image :class="{'blinking': haveNewMsg}" src="../../static/kefu.png" mode=""></image>
|
||||||
<!--<span>联系客服</span>-->
|
<!--<span>联系客服</span>-->
|
||||||
|
@ -324,6 +324,7 @@
|
||||||
xsms: 0,
|
xsms: 0,
|
||||||
qyyy: 0
|
qyyy: 0
|
||||||
},
|
},
|
||||||
|
fxyConfig:{}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
|
@ -336,6 +337,7 @@
|
||||||
this.getDataX()
|
this.getDataX()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.getFxyConfig()
|
||||||
this.queryKytcs()
|
this.queryKytcs()
|
||||||
this.hyCheck = this.$queue.getData('hyCheck');
|
this.hyCheck = this.$queue.getData('hyCheck');
|
||||||
this.tgCheck = this.$queue.getData('tgCheck');
|
this.tgCheck = this.$queue.getData('tgCheck');
|
||||||
|
@ -366,6 +368,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//获取分销员配置信息
|
||||||
|
getFxyConfig(){
|
||||||
|
let that = this
|
||||||
|
this.$Request.getT('/app/commission/fxy/fxyConfig').then(res => {
|
||||||
|
console.log(9090,res)
|
||||||
|
if (res.code == 0) {
|
||||||
|
that.fxyConfig = res.data
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
//查询可用套餐数量
|
//查询可用套餐数量
|
||||||
queryKytcs() {
|
queryKytcs() {
|
||||||
let that = this
|
let that = this
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
<view class="flex align-center justify-center" style="margin: 30rpx 0;text-align: center;">
|
<view class="flex align-center justify-center" style="margin: 30rpx 0;text-align: center;">
|
||||||
<image src="../../static/images/my/leile.png" style="width: 29rpx;height: 12rpx;" mode=""></image>
|
<image src="../../static/images/my/leile.png" style="width: 29rpx;height: 12rpx;" mode=""></image>
|
||||||
<text class="" style="color: #a1a1a1;font-size: 28rpx;font-weight: bold;margin: 0 16rpx;">
|
<text class="" style="color: #a1a1a1;font-size: 28rpx;font-weight: bold;margin: 0 16rpx;">
|
||||||
当你累了 想起盛安到家
|
当你累了 想起盛安小象
|
||||||
</text>
|
</text>
|
||||||
<image src="../../static/images/my/leile2.png" style="width: 29rpx;height: 12rpx;" mode=""></image>
|
<image src="../../static/images/my/leile2.png" style="width: 29rpx;height: 12rpx;" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -178,7 +178,7 @@
|
||||||
if (!this.checkPer) {
|
if (!this.checkPer) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '相机服务已关闭',
|
title: '相机服务已关闭',
|
||||||
content: "您需要打开相机权限,否则我们将无法获得到您的相册信息,请到>设置>隐私>应用权限>中开启【盛安到家】读取相册权限",
|
content: "您需要打开相机权限,否则我们将无法获得到您的相册信息,请到>设置>隐私>应用权限>中开启【盛安小象】读取相册权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -652,7 +652,7 @@
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -734,7 +734,7 @@
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -104,13 +104,25 @@
|
||||||
let openidnickname = this.$queue.getData('openidnickname') ? this.$queue.getData('openidnickname') : '';
|
let openidnickname = this.$queue.getData('openidnickname') ? this.$queue.getData('openidnickname') : '';
|
||||||
let openidheadimgurl = this.$queue.getData('openidheadimgurl') ? this.$queue.getData('openidheadimgurl') : '';
|
let openidheadimgurl = this.$queue.getData('openidheadimgurl') ? this.$queue.getData('openidheadimgurl') : '';
|
||||||
let invitation = this.$queue.getData('inviterCode') ? this.$queue.getData('inviterCode') : '';
|
let invitation = this.$queue.getData('inviterCode') ? this.$queue.getData('inviterCode') : '';
|
||||||
|
let bindingConsortiaId = this.$queue.getData('bindingConsortiaId') ? this.$queue.getData('bindingConsortiaId') : '';
|
||||||
|
let blFxyCode= this.$queue.getData('blFxyCode') ? this.$queue.getData('blFxyCode') : '';
|
||||||
|
let blJjrCode= this.$queue.getData('blJjrCode') ? this.$queue.getData('blJjrCode') : '';
|
||||||
|
let blYwyCode= this.$queue.getData('blYwyCode') ? this.$queue.getData('blYwyCode') : '';
|
||||||
|
let blQdsCode= this.$queue.getData('blQdsCode') ? this.$queue.getData('blQdsCode') : '';
|
||||||
|
let blDlsCode= this.$queue.getData('blDlsCode') ? this.$queue.getData('blDlsCode') : '';
|
||||||
this.$Request.post(`/app/Login/registerCode`, {
|
this.$Request.post(`/app/Login/registerCode`, {
|
||||||
phone: mobile,
|
phone: mobile,
|
||||||
openId: openId,
|
openId: openId,
|
||||||
inviterCode: invitation,
|
inviterCode: invitation,
|
||||||
avatar: openidheadimgurl,
|
avatar: openidheadimgurl,
|
||||||
userName: openidnickname,
|
userName: openidnickname,
|
||||||
msg: code
|
msg: code,
|
||||||
|
bindingConsortiaId,
|
||||||
|
blFxyCode,
|
||||||
|
blJjrCode,
|
||||||
|
blYwyCode,
|
||||||
|
blQdsCode,
|
||||||
|
blDlsCode
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$queue.setData("token", res.token);
|
this.$queue.setData("token", res.token);
|
||||||
|
|
|
@ -39,11 +39,11 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifndef MP-WEIXIN -->
|
<!-- #ifndef MP-WEIXIN -->
|
||||||
<!-- <view style="font-size: 44upx;margin: 32upx;color: #333333;">欢迎登录盛安到家</view> -->
|
<!-- <view style="font-size: 44upx;margin: 32upx;color: #333333;">欢迎登录盛安小象</view> -->
|
||||||
<view style="text-align: center;">
|
<view style="text-align: center;">
|
||||||
<image style="width: 200upx;height: 200upx;margin-top: 200upx;"
|
<image style="width: 200upx;height: 200upx;margin-top: 200upx;"
|
||||||
src="../../static/logo.png"></image>
|
src="../../static/logo.png"></image>
|
||||||
<view style="font-size: 34upx;margin: 30upx;color: #333333;font-weight: 500;">盛安到家专业 O2O服务平台</view>
|
<view style="font-size: 34upx;margin: 30upx;color: #333333;font-weight: 500;">盛安小象专业 O2O服务平台</view>
|
||||||
<!-- #ifdef APP-PLUS -->
|
<!-- #ifdef APP-PLUS -->
|
||||||
<button v-if="weixinLogin" class="confirm-btn" @click="weixinLo">微信登录</button>
|
<button v-if="weixinLogin" class="confirm-btn" @click="weixinLo">微信登录</button>
|
||||||
<button v-if="weixinLogin" class='confirm-btn-weixin' @click="register">手机号登录</button>
|
<button v-if="weixinLogin" class='confirm-btn-weixin' @click="register">手机号登录</button>
|
||||||
|
@ -95,6 +95,12 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
|
//清除可能残留的本地存储
|
||||||
|
{
|
||||||
|
this.$queue.remove('blXdQdsCode')
|
||||||
|
this.$queue.remove('qdmsmjl')
|
||||||
|
}
|
||||||
|
|
||||||
if (e.inviterCode) {
|
if (e.inviterCode) {
|
||||||
this.$queue.setData('inviterCode', e.inviterCode);
|
this.$queue.setData('inviterCode', e.inviterCode);
|
||||||
}
|
}
|
||||||
|
@ -112,6 +118,8 @@
|
||||||
}
|
}
|
||||||
if (e.blQdsCode) {
|
if (e.blQdsCode) {
|
||||||
this.$queue.setData('blQdsCode', e.blQdsCode);
|
this.$queue.setData('blQdsCode', e.blQdsCode);
|
||||||
|
this.$queue.setData('qdmsmjl', 1);//渠道码扫码记录
|
||||||
|
this.$queue.setData('blXdQdsCode', e.blQdsCode);//存储下单渠道码,下单时如果这个有值则视为
|
||||||
}
|
}
|
||||||
if (e.blDlsCode) {
|
if (e.blDlsCode) {
|
||||||
this.$queue.setData('blDlsCode', e.blDlsCode);
|
this.$queue.setData('blDlsCode', e.blDlsCode);
|
||||||
|
|
|
@ -39,11 +39,11 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifndef MP-WEIXIN -->
|
<!-- #ifndef MP-WEIXIN -->
|
||||||
<!-- <view style="font-size: 44upx;margin: 32upx;color: #333333;">欢迎登录盛安到家</view> -->
|
<!-- <view style="font-size: 44upx;margin: 32upx;color: #333333;">欢迎登录盛安小象</view> -->
|
||||||
<view style="text-align: center;">
|
<view style="text-align: center;">
|
||||||
<image style="width: 200upx;height: 200upx;margin-top: 200upx;"
|
<image style="width: 200upx;height: 200upx;margin-top: 200upx;"
|
||||||
src="../../static/logo.png"></image>
|
src="../../static/logo.png"></image>
|
||||||
<view style="font-size: 34upx;margin: 30upx;color: #333333;font-weight: 500;">盛安到家专业 O2O服务平台</view>
|
<view style="font-size: 34upx;margin: 30upx;color: #333333;font-weight: 500;">盛安小象专业 O2O服务平台</view>
|
||||||
<!-- #ifdef APP-PLUS -->
|
<!-- #ifdef APP-PLUS -->
|
||||||
<button v-if="weixinLogin" class="confirm-btn" @click="weixinLo">微信登录</button>
|
<button v-if="weixinLogin" class="confirm-btn" @click="weixinLo">微信登录</button>
|
||||||
<button v-if="weixinLogin" class='confirm-btn-weixin' @click="register">手机号登录</button>
|
<button v-if="weixinLogin" class='confirm-btn-weixin' @click="register">手机号登录</button>
|
||||||
|
|
|
@ -39,11 +39,11 @@
|
||||||
</view>
|
</view>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifndef MP-WEIXIN -->
|
<!-- #ifndef MP-WEIXIN -->
|
||||||
<!-- <view style="font-size: 44upx;margin: 32upx;color: #333333;">欢迎登录盛安到家</view> -->
|
<!-- <view style="font-size: 44upx;margin: 32upx;color: #333333;">欢迎登录盛安小象</view> -->
|
||||||
<view style="text-align: center;">
|
<view style="text-align: center;">
|
||||||
<image style="width: 200upx;height: 200upx;margin-top: 200upx;"
|
<image style="width: 200upx;height: 200upx;margin-top: 200upx;"
|
||||||
src="../../static/logo.png"></image>
|
src="../../static/logo.png"></image>
|
||||||
<view style="font-size: 34upx;margin: 30upx;color: #333333;font-weight: 500;">盛安到家专业 O2O服务平台</view>
|
<view style="font-size: 34upx;margin: 30upx;color: #333333;font-weight: 500;">盛安小象专业 O2O服务平台</view>
|
||||||
<!-- #ifdef APP-PLUS -->
|
<!-- #ifdef APP-PLUS -->
|
||||||
<button v-if="weixinLogin" class="confirm-btn" @click="weixinLo">微信登录</button>
|
<button v-if="weixinLogin" class="confirm-btn" @click="weixinLo">微信登录</button>
|
||||||
<button v-if="weixinLogin" class='confirm-btn-weixin' @click="register">手机号登录</button>
|
<button v-if="weixinLogin" class='confirm-btn-weixin' @click="register">手机号登录</button>
|
||||||
|
|
|
@ -0,0 +1,707 @@
|
||||||
|
<!-- 自定义下拉刷新与上拉加载演示(vue) -->
|
||||||
|
<template>
|
||||||
|
<view class="content-view">
|
||||||
|
<z-paging ref="paging" v-model="dataList" @query="queryList">
|
||||||
|
<template #top>
|
||||||
|
<view class="service-head-top">
|
||||||
|
<view class="service-head-top-left">
|
||||||
|
<image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
|
||||||
|
<span>全部项目</span>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue"
|
||||||
|
@input="input" @clear="clear">
|
||||||
|
</uni-search-bar>
|
||||||
|
<view class="search-btn" @click="searchBtn">
|
||||||
|
<image style="width:30rpx; height:30rpx; margin-right: 10rpx;"
|
||||||
|
src="../../static/search.png"></image>
|
||||||
|
搜索
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="fenlei">
|
||||||
|
<z-tabs class="z-tabs-fenlei" :list="tabListS" @changeClick="changeClick"/>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<template #loadingMoreNoMore>
|
||||||
|
<custom-nomore />
|
||||||
|
</template>
|
||||||
|
<!-- 右侧商品 -->
|
||||||
|
<!-- 主体部分 -->
|
||||||
|
<view class="body">
|
||||||
|
<!-- 左侧分类 -->
|
||||||
|
<view class="leftTab">
|
||||||
|
<scroll-view scroll-y="true" class="tabBox">
|
||||||
|
<block v-for="(item,index) in tabList" :key="index">
|
||||||
|
<view class="tabItem" :class="tabCurrent == index?'tabActive':''"
|
||||||
|
@click="changeTab(index,item)">
|
||||||
|
{{item.value}}
|
||||||
|
</view>
|
||||||
|
</block>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
<!-- 右侧商品 -->
|
||||||
|
<view class="rightGoods">
|
||||||
|
<!-- <view class="title">{{productTitle}}</view> -->
|
||||||
|
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
|
||||||
|
<image :src="item.packageImg" mode="" class="item-img"></image>
|
||||||
|
<view class="item-view">
|
||||||
|
<view class="view-cata">
|
||||||
|
<view class="item-view-title">{{item.title}}</view>
|
||||||
|
<span v-if="item.levelName" class="xiaoer item-view-biao">{{item.levelName}}</span>
|
||||||
|
</view>
|
||||||
|
<view class="item-view-bottom-qian">
|
||||||
|
<span></span>
|
||||||
|
<span>¥{{item.price}}</span>
|
||||||
|
<span v-if="item.type!='104' && item.type!='105' && item.type!='106'"></span>
|
||||||
|
<span v-else-if="item.type=='104'">/套</span>
|
||||||
|
<span v-else>/{{item.serviceCount?item.serviceCount:''}}次</span>
|
||||||
|
<span>¥{{item.oldPrice}}</span>
|
||||||
|
<span v-if="item.type!='104' && item.type!='105' && item.type!='106'"></span>
|
||||||
|
<span v-else-if="item.type=='104'">/套</span>
|
||||||
|
<span v-else>/{{item.serviceCount?item.serviceCount:''}}次</span>
|
||||||
|
</view>
|
||||||
|
<view class="flex" style="margin-top: 10rpx;">
|
||||||
|
<view class="shop_label" v-if="item.tagsData!=''">
|
||||||
|
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
|
||||||
|
</view>
|
||||||
|
<view class="shop_label" v-else>
|
||||||
|
<span>助眠解压</span>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item-view-bottom">
|
||||||
|
<view class="item-view-xiangmu">
|
||||||
|
<span>已售</span><span>{{item.sales}}</span>
|
||||||
|
</view>
|
||||||
|
<view class="item-view-bottom-btn">
|
||||||
|
查看
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</z-paging>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tabListS:[
|
||||||
|
{
|
||||||
|
code: "单项",
|
||||||
|
id: 1,
|
||||||
|
name: "",
|
||||||
|
orderNum: 6,
|
||||||
|
parentId: 22,
|
||||||
|
remark: "单项",
|
||||||
|
status: 1,
|
||||||
|
type: "",
|
||||||
|
value: "单项",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "套餐",
|
||||||
|
id: 104,
|
||||||
|
name: "",
|
||||||
|
orderNum: 6,
|
||||||
|
parentId: 22,
|
||||||
|
remark: "套餐",
|
||||||
|
status: 1,
|
||||||
|
type: "",
|
||||||
|
value: "套餐",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "疗程",
|
||||||
|
id: 106,
|
||||||
|
name: "",
|
||||||
|
orderNum: 6,
|
||||||
|
parentId: 22,
|
||||||
|
remark: "疗程",
|
||||||
|
status: 1,
|
||||||
|
type: "",
|
||||||
|
value: "疗程",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "次卡",
|
||||||
|
id: 105,
|
||||||
|
name: "",
|
||||||
|
orderNum: 6,
|
||||||
|
parentId: 22,
|
||||||
|
remark: "次卡",
|
||||||
|
status: 1,
|
||||||
|
type: "",
|
||||||
|
value: "次卡",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "企业",
|
||||||
|
id: 114,
|
||||||
|
name: "",
|
||||||
|
orderNum: 6,
|
||||||
|
parentId: 22,
|
||||||
|
remark: "企业",
|
||||||
|
status: 1,
|
||||||
|
type: "",
|
||||||
|
value: "企业",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
loadingType: 0,
|
||||||
|
myId: '',
|
||||||
|
// v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
|
||||||
|
dataList: [],
|
||||||
|
tabList: [],
|
||||||
|
typeData: '105',
|
||||||
|
tabIndex: 0,
|
||||||
|
searchValue: '',
|
||||||
|
serviceTrue: true,
|
||||||
|
page: 1,
|
||||||
|
limit: 10,
|
||||||
|
titleNmae: '',
|
||||||
|
classifyId: '',
|
||||||
|
tagsData: [],
|
||||||
|
// 分类列表
|
||||||
|
tabCurrent: 0,
|
||||||
|
productTitle: '氧气罐',
|
||||||
|
type:'1',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(e) {
|
||||||
|
this.myId = uni.getStorageSync('userId')
|
||||||
|
if (e) {
|
||||||
|
this.searchValue = e.searchValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.tabNav()
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
// onPullDownRefresh: function() {
|
||||||
|
// this.page = 1;
|
||||||
|
// this.getData()
|
||||||
|
// },
|
||||||
|
methods: {
|
||||||
|
changeClick(index,item){
|
||||||
|
this.type=item.id
|
||||||
|
this.searchValue=''
|
||||||
|
this.page = 1;
|
||||||
|
this.dataList = []
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
tabNav() {
|
||||||
|
let data = {
|
||||||
|
type: "服务类型",
|
||||||
|
}
|
||||||
|
this.$Request.get('/app/dict/list', data).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.tabList = res.data;
|
||||||
|
this.classifyId=res.data[0].id,
|
||||||
|
this.productTitle = this.tabList[0].value
|
||||||
|
this.page = 1;
|
||||||
|
this.dataList = []
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
input(res) { //搜索 输入框
|
||||||
|
this.searchValue = res;
|
||||||
|
},
|
||||||
|
searchBtn() { //搜索按钮
|
||||||
|
if (this.searchValue != "") {
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
this.$refs.paging.reload(true);
|
||||||
|
},
|
||||||
|
queryList(pageNo, pageSize) {
|
||||||
|
const params = {
|
||||||
|
page: pageNo,
|
||||||
|
limit: pageSize,
|
||||||
|
title: this.searchValue,
|
||||||
|
classifyId: this.classifyId,
|
||||||
|
city:'',
|
||||||
|
type:this.type,
|
||||||
|
isTg:1
|
||||||
|
}
|
||||||
|
this.$Request.get("/app/massage/package/findPackageAndMassagePage", params).then(res => {
|
||||||
|
for (var i = 0; i < res.data.list.length; i++) {
|
||||||
|
res.data.list[i].tagsData = res.data.list[i].labels.split(',');
|
||||||
|
if(res.data.list[i].level == 3){
|
||||||
|
res.data.list[i].levelName = "资深"
|
||||||
|
}
|
||||||
|
if(res.data.list[i].level == 4){
|
||||||
|
res.data.list[i].levelName = "金牌"
|
||||||
|
}
|
||||||
|
if(res.data.list[i].level == 5){
|
||||||
|
res.data.list[i].levelName = "专家"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$refs.paging.complete(res.data.list);
|
||||||
|
console.log(res.data.list);
|
||||||
|
}).catch(res => {
|
||||||
|
this.$refs.paging.complete(false);
|
||||||
|
})
|
||||||
|
},
|
||||||
|
changeTab(index,item) {
|
||||||
|
this.tabCurrent = index
|
||||||
|
this.productTitle = this.tabList[index].value
|
||||||
|
this.classifyId = item.id
|
||||||
|
this.searchValue = ''
|
||||||
|
this.page = 1;
|
||||||
|
this.dataList = []
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
backImg() { //返回上一页
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
clear(res) {
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
itemClick(item) {
|
||||||
|
if (item.type == '104') {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/my/serviceOderDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
||||||
|
.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
|
||||||
|
})
|
||||||
|
} else if (item.type == '105') {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/my/cikarDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
||||||
|
.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
|
||||||
|
})
|
||||||
|
} else if (item.type == '106') {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/my/fuwuliaochengDetail?id=' + item.id + '&limit=' + this.limit + '&page=' +
|
||||||
|
this.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
|
||||||
|
})
|
||||||
|
} else if(item.type == '114'){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/shop/qiyeDatail?id=' + item.id +'&name=' + 'index'
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/my/fuwuDateil?id=' + item.id + '&limit=' + this.limit + '&page=' + this.page +
|
||||||
|
'&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
/deep/.zp-empty-view-center{
|
||||||
|
position: absolute;
|
||||||
|
margin-top: 106px;
|
||||||
|
margin-left: 42%;
|
||||||
|
}
|
||||||
|
/deep/.z-tabs-item-title /deep/span{
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.fenlei{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.body {
|
||||||
|
// height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
justify-content: end;
|
||||||
|
// overflow: hidden;
|
||||||
|
.leftTab {
|
||||||
|
width:19%;
|
||||||
|
height: 100%;
|
||||||
|
background: #ffffff;
|
||||||
|
// border-radius: 0px 15rpx 0px 0px;
|
||||||
|
// padding: 24rpx 11rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border-top: 1px solid #f7f7f7;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
.tabBox {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.tabItem {
|
||||||
|
text-align: center;
|
||||||
|
padding: 14rpx 0;
|
||||||
|
// border-radius: 60rpx;
|
||||||
|
color: #464646;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabActive {
|
||||||
|
background: #f2fffb;
|
||||||
|
color: #019c88;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.rightGoods {
|
||||||
|
width:76%;
|
||||||
|
height: 100%;
|
||||||
|
// padding: 0 16rpx 27rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: absolute;
|
||||||
|
right:20rpx;
|
||||||
|
.whiteBox {
|
||||||
|
height: 100%;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 15rpx;
|
||||||
|
padding: 0 25rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.title {
|
||||||
|
height: 77rpx;
|
||||||
|
line-height: 77rpx;
|
||||||
|
color: #2D2D2D;
|
||||||
|
font-size: 26rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.shop_label {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-top: 4rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shop_label span {
|
||||||
|
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
||||||
|
height: 34rpx;
|
||||||
|
line-height: 34rpx;
|
||||||
|
border-radius: 8rpx;
|
||||||
|
padding: 0 10rpx;
|
||||||
|
font-size: 22rpx;
|
||||||
|
margin-right: 8rpx;
|
||||||
|
margin-bottom: 8rpx;
|
||||||
|
color: #f68607;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.refresh-body {
|
||||||
|
height: 845px !important;
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content-view {
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-btn {
|
||||||
|
text-align: center;
|
||||||
|
width: 131rpx;
|
||||||
|
height: 55rpx;
|
||||||
|
line-height: 55rpx;
|
||||||
|
background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-qian span:nth-child(5) {
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #848484;
|
||||||
|
text-decoration-line: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-qian span:nth-child(4) {
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #848484;
|
||||||
|
text-decoration-line: line-through;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-qian span:nth-child(3) {
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #FF6000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-qian span:nth-child(2) {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 36.81rpx;
|
||||||
|
color: #FF6000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-qian span:nth-child(1) {
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #FF6000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom-qian {
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-bottom {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-jianjie {
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #848484;
|
||||||
|
margin: 5px 0px;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
/* 显示的行数,可以根据需要修改 */
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-biao{
|
||||||
|
padding: 1px 5px;
|
||||||
|
border-radius: 15rpx 3rpx 15rpx 3rpx;
|
||||||
|
width: 50px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tuina {
|
||||||
|
background-color: #d1f2df;
|
||||||
|
color: #17984d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.xiaoer {
|
||||||
|
background-color: #f1f8d7;
|
||||||
|
color: #58b314;
|
||||||
|
}
|
||||||
|
|
||||||
|
.taishi {
|
||||||
|
background-color: #e5d5c6;
|
||||||
|
color: #805d39;
|
||||||
|
}
|
||||||
|
|
||||||
|
.kangfu {
|
||||||
|
background-color: #fcf3da;
|
||||||
|
color: #ff8600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-xiangmu span:nth-child(2) {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #333333;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-xiangmu span:nth-child(1) {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #666666;
|
||||||
|
margin-right: 5rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-xiangmu {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 25rpx;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view-title {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 33rpx;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-view {
|
||||||
|
width:69%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 5rpx 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-img {
|
||||||
|
width:70px;
|
||||||
|
height:70px;
|
||||||
|
border-radius: 14rpx;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img-span {
|
||||||
|
padding: 2px 5px;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 8px;
|
||||||
|
color: #FFFFFF;
|
||||||
|
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
|
||||||
|
border-radius: 7px 0px 7px 0px;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
|
right: 0;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-img image {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
/*height: 140px;*/
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 21rpx;
|
||||||
|
margin-top: 10px;
|
||||||
|
// align-items: center;
|
||||||
|
padding: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-detail {
|
||||||
|
padding: 5rpx 15rpx;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: white;
|
||||||
|
background-color: #007AFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-line {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0rpx;
|
||||||
|
left: 0rpx;
|
||||||
|
height: 1px;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.zp-paging-container {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.zp-paging-container-content {
|
||||||
|
width: 95%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fenlei {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.index-fenl-title {
|
||||||
|
width: 81rpx;
|
||||||
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 34rpx;
|
||||||
|
color: #019C88;
|
||||||
|
}
|
||||||
|
|
||||||
|
.index-fenl-title-bottom {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
width: 81rpx;
|
||||||
|
height: 14rpx;
|
||||||
|
border-radius: 7rpx;
|
||||||
|
background: linear-gradient(-48deg, rgba(1, 156, 136, 0.35), rgba(45, 196, 142, 0.35));
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.uni-searchbar__cancel {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-btn {
|
||||||
|
text-align: center;
|
||||||
|
color: #019c88;
|
||||||
|
font-weight: bold;
|
||||||
|
position: absolute;
|
||||||
|
right: 40rpx;
|
||||||
|
top: 20rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.uni-searchbar__box-icon-search,
|
||||||
|
.search-btn {
|
||||||
|
width: 110rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.uni-searchbar__box {
|
||||||
|
height: 34px;
|
||||||
|
border-radius: 30px !important;
|
||||||
|
background-color: #fff !important;
|
||||||
|
border: 1px solid #09a28a;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-flow: row-reverse;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/.uni-searchbar {
|
||||||
|
width: 250px;
|
||||||
|
border-radius: 31rpx;
|
||||||
|
padding-right: 24rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-head-top-left image {
|
||||||
|
width: 20px;
|
||||||
|
height: 20rpx;
|
||||||
|
margin-right: 5px;
|
||||||
|
margin-left: 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-head-top-left span {
|
||||||
|
height: 100rpx;
|
||||||
|
background: url('../../static/images/headline.png') 0rpx 50rpx;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 34rpx;
|
||||||
|
color: #171717;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-head-top-left {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-head-top {
|
||||||
|
height: 90rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-cata{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -632,7 +632,7 @@
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -637,7 +637,7 @@ import permision from "@/components/permission.js";
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -373,10 +373,10 @@
|
||||||
}
|
}
|
||||||
.touxiang-frame{
|
.touxiang-frame{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 190rpx;
|
width: 160rpx;
|
||||||
height: 190rpx;
|
height: 55rpx;
|
||||||
top:-6rpx;
|
top:110rpx;
|
||||||
left:6rpx;
|
left:15rpx;
|
||||||
}
|
}
|
||||||
.dituList{
|
.dituList{
|
||||||
width: 85%;
|
width: 85%;
|
||||||
|
@ -619,7 +619,7 @@
|
||||||
.touxiang-left-content-img{
|
.touxiang-left-content-img{
|
||||||
width: 150rpx;
|
width: 150rpx;
|
||||||
height: 150rpx;
|
height: 150rpx;
|
||||||
border-radius:120rpx;
|
border-radius:100rpx;
|
||||||
margin: 14rpx 22rpx;
|
margin: 14rpx 22rpx;
|
||||||
}
|
}
|
||||||
.touxiang-left-view{
|
.touxiang-left-view{
|
||||||
|
|
|
@ -576,7 +576,7 @@ import permision from "@/components/permission.js";
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
|
@ -531,7 +531,7 @@ import permision from "@/components/permission.js";
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '定位服务已关闭',
|
title: '定位服务已关闭',
|
||||||
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
||||||
confirmText: "设置",
|
confirmText: "设置",
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
Loading…
Reference in New Issue