update
@ -1,20 +1,23 @@
|
||||
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
|
||||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
|
||||
"version": "0.0",
|
||||
"configurations": [{
|
||||
"app-plus" :
|
||||
{
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"default" :
|
||||
{
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"mp-weixin" :
|
||||
{
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"type" : "uniCloud"
|
||||
}
|
||||
{
|
||||
// launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
|
||||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
|
||||
"version" : "0.0",
|
||||
"configurations" : [
|
||||
{
|
||||
"app-plus" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"default" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"mp-weixin" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"type" : "uniCloud"
|
||||
},
|
||||
{
|
||||
"playground" : "custom",
|
||||
"type" : "uni-app:app-android"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -253,7 +253,7 @@ export default {
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 16rpx;
|
||||
margin-top: 8rpx;
|
||||
.pointIcon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
@ -296,7 +296,7 @@ export default {
|
||||
|
||||
.rightMessage {
|
||||
border-radius: 16px;
|
||||
// border: 1px solid #ae8d3e;
|
||||
border: 1px solid #ae8d3e;
|
||||
padding: 14rpx 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
|
||||
2
main.js
@ -1,6 +1,7 @@
|
||||
import App from './App'
|
||||
import store from './store/index'
|
||||
import api from './utils/api'
|
||||
import testApi from './utils/testApi'
|
||||
import utils from './utils/index'
|
||||
import MyMoment from './utils/moment'
|
||||
// #ifndef VUE3
|
||||
@ -16,6 +17,7 @@ const app = new Vue({
|
||||
...App
|
||||
})
|
||||
Vue.prototype.$api = api;
|
||||
Vue.prototype.$testApi = testApi;
|
||||
Vue.prototype.$utils = utils;
|
||||
Vue.prototype.$store = store;
|
||||
Vue.prototype.$moment = MyMoment;
|
||||
|
||||
@ -43,7 +43,11 @@
|
||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
|
||||
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
||||
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>"
|
||||
]
|
||||
],
|
||||
"plugin" : {
|
||||
"pluginName" : "myTest",
|
||||
"activeity" : "com.amap.api.navi.AmapRouteActivity"
|
||||
}
|
||||
},
|
||||
/* ios打包配置 */
|
||||
"ios" : {
|
||||
@ -102,6 +106,22 @@
|
||||
"useragent" : {
|
||||
"value" : "app",
|
||||
"concatenate" : true
|
||||
},
|
||||
"nativePlugins" : {
|
||||
"AMapModule" : {
|
||||
"__plugin_info__" : {
|
||||
"name" : "AMapModule测试插件",
|
||||
"description" : "AMapModule测试插件1.5",
|
||||
"platforms" : "Android",
|
||||
"url" : "",
|
||||
"android_package_name" : "",
|
||||
"ios_bundle_id" : "",
|
||||
"isCloud" : false,
|
||||
"bought" : -1,
|
||||
"pid" : "",
|
||||
"parameters" : {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
/* 快应用特有相关 */
|
||||
|
||||
BIN
nativeplugins/AMapModule/android/AMapModule.aar
Normal file
21
nativeplugins/AMapModule/package.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "AMapModule测试插件",
|
||||
"id": "AMapModule",
|
||||
"version": "1.7",
|
||||
"description": "AMapModule测试插件1.7",
|
||||
"_dp_type": "nativeplugin",
|
||||
"_dp_nativeplugin": {
|
||||
"android": {
|
||||
"plugins": [{
|
||||
"type": "module",
|
||||
"name": "AMapModule",
|
||||
"class": "com.es.amap.AMapModule"
|
||||
}],
|
||||
"integrateType": "aar",
|
||||
"minSdkVersion": 24,
|
||||
"abis": [
|
||||
"armeabi-v7a"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
35
pages.json
@ -12,13 +12,14 @@
|
||||
"path": "pages/travelNavigation/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "出行导航",
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
"navigationBarBackgroundColor": "#F0F5FF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/discovery/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "精选活动"
|
||||
"navigationBarTitleText": "精选活动",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -74,6 +75,11 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}, {
|
||||
"path": "gaodeLoad",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
@ -85,12 +91,22 @@
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/noDataPage",
|
||||
"pages": [{
|
||||
"path": "index",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/highwayHeadlines",
|
||||
"pages": [{
|
||||
"path": "index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "高速头条"
|
||||
"navigationBarTitleText": "高速头条",
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -106,7 +122,8 @@
|
||||
"pages": [{
|
||||
"path": "index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "预约点餐"
|
||||
"navigationBarTitleText": "预约点餐",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}]
|
||||
},
|
||||
@ -128,6 +145,11 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "服务区详情"
|
||||
}
|
||||
}, {
|
||||
"path": "test",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
@ -252,7 +274,8 @@
|
||||
"pages": [{
|
||||
"path": "integral/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "积分"
|
||||
"navigationBarTitleText": "积分",
|
||||
"navigationBarBackgroundColor": "#f5f5f5"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -439,7 +462,7 @@
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
|
||||
],
|
||||
"functionalPages": true,
|
||||
"globalStyle": {
|
||||
|
||||
@ -36,21 +36,34 @@
|
||||
</view> -->
|
||||
|
||||
<view class="formItem">
|
||||
<view class="itemTitle">失物描述</view>
|
||||
<view class="itemTitle">
|
||||
{{
|
||||
addType === 1000 ? "失物描述" : addType === 2000 ? "招领描述" : ""
|
||||
}}</view
|
||||
>
|
||||
<view class="itemValue">
|
||||
<input placeholder="请描述一下丢失物品" v-model="shopName" />
|
||||
<input
|
||||
:placeholder="
|
||||
addType === 1000
|
||||
? '请描述一下丢失物品'
|
||||
: addType === 2000
|
||||
? '请描述一下招领物品'
|
||||
: ''
|
||||
"
|
||||
v-model="shopName"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="formItem">
|
||||
<view class="itemTitle">丢失时间</view>
|
||||
<view class="itemTitle">{{addType === 1000 ?'丢失时间':addType === 2000?'拾得时间':''}}</view>
|
||||
<view class="itemValue">
|
||||
<time-picker @update="onTimeUpdate" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="formItem">
|
||||
<view class="itemTitle">失主电话</view>
|
||||
<view class="itemTitle">联系电话</view>
|
||||
<view class="itemValue">
|
||||
<input
|
||||
placeholder="请输入手机号码"
|
||||
@ -63,7 +76,9 @@
|
||||
</view>
|
||||
<view class="btnBox">
|
||||
<button class="submitBox" type="primary" @click="formSubmit">
|
||||
新增失物
|
||||
{{
|
||||
addType === 1000 ? "新增失物" : addType === 2000 ? "新增招领" : ""
|
||||
}}
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
@ -83,6 +98,7 @@ export default {
|
||||
shopName: "", // 商品名称
|
||||
phone: "", // 联系电话
|
||||
thisTime: "", // 当前时间
|
||||
addType: "", // 1000 失物 2000 招领
|
||||
};
|
||||
},
|
||||
components: {
|
||||
@ -93,8 +109,12 @@ export default {
|
||||
user: "user",
|
||||
}),
|
||||
},
|
||||
onLoad() {
|
||||
onLoad(query) {
|
||||
console.log("user", this.user);
|
||||
if (query.addType) {
|
||||
this.addType = Number(query.addType);
|
||||
}
|
||||
|
||||
this.handleGetDefaultTime();
|
||||
// 先去拿枚举值
|
||||
this.handleGetTypeList();
|
||||
@ -190,6 +210,7 @@ export default {
|
||||
SUGGESTION_STATE: 1,
|
||||
SUGGESTION_TYPE: 4000,
|
||||
SERVERPART_NAME: this.nowServerpart.SERVERPART_NAME,
|
||||
WECHAT_OPENID: this.addType,
|
||||
};
|
||||
|
||||
const data = await this.$api.$post(
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div
|
||||
class="top"
|
||||
:style="{
|
||||
height: `${menu.bottom}px`,
|
||||
height: `${menu.bottom + 8}px`,
|
||||
paddingTop: `${menu.top}px`,
|
||||
}"
|
||||
>
|
||||
@ -28,6 +28,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tabBox">
|
||||
<div
|
||||
:class="fintType === 1000 ? 'tabItem active' : 'tabItem'"
|
||||
@click="handleChangeType(1000)"
|
||||
>
|
||||
失物信息
|
||||
</div>
|
||||
<div
|
||||
:class="fintType === 2000 ? 'tabItem active' : 'tabItem'"
|
||||
@click="handleChangeType(2000)"
|
||||
>
|
||||
招领信息
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="headerBox">
|
||||
<div
|
||||
class="searchBox"
|
||||
@ -41,8 +57,10 @@
|
||||
placeholder="请输入物品信息"
|
||||
style="font-size: 28rpx"
|
||||
v-model="searchText"
|
||||
confirm-type="send"
|
||||
@focus="clickSearch"
|
||||
@blur="noClickSearch"
|
||||
@confirm="handleEntrySearch"
|
||||
/>
|
||||
<!-- <image class="searchIcon" src="/static/images/home/searchIcon.png" />
|
||||
<span class="searchText">请输入服务区</span> -->
|
||||
@ -60,7 +78,9 @@
|
||||
|
||||
<div
|
||||
class="pageList"
|
||||
:style="{ height: `calc(100vh - 200rpx - ${menu.bottom}px - 30px)` }"
|
||||
:style="{
|
||||
height: `calc(100vh - 200rpx - ${menu.bottom}px - 30px - 80rpx)`,
|
||||
}"
|
||||
>
|
||||
<div
|
||||
v-if="dataList && dataList.length > 0"
|
||||
@ -126,7 +146,9 @@
|
||||
<view class="addNewPost" @click="handleGoAdd">
|
||||
<view class="newPostBox">
|
||||
<image class="addIcon" src="/static/images/home/addPost.svg" />
|
||||
<text class="addText">新增失物</text>
|
||||
<text class="addText">{{
|
||||
fintType === 1000 ? "新增失物" : fintType === 2000 ? "新增招领" : ""
|
||||
}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -233,8 +255,8 @@ export default {
|
||||
pageIndex: 1,
|
||||
isOver: false,
|
||||
},
|
||||
|
||||
triggered: false, // 下拉状态
|
||||
fintType: 1000, // 1000 失物 2000 招领
|
||||
};
|
||||
},
|
||||
components: {
|
||||
@ -270,6 +292,29 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 回车查询调用的方法
|
||||
handleEntrySearch() {
|
||||
console.log("handleEntrySearch");
|
||||
this.dataList = [];
|
||||
this.pageObj = {
|
||||
pageIndex: 1,
|
||||
pageSize: 10,
|
||||
isOver: false,
|
||||
};
|
||||
this.handleGetListData();
|
||||
},
|
||||
// 改变查询的类型
|
||||
handleChangeType(value) {
|
||||
this.fintType = value;
|
||||
this.$forceUpdate();
|
||||
this.dataList = [];
|
||||
this.pageObj = {
|
||||
pageSize: 10,
|
||||
pageIndex: 1,
|
||||
isOver: false,
|
||||
};
|
||||
this.handleGetListData();
|
||||
},
|
||||
// 下拉刷新
|
||||
async handleRefresh(e) {
|
||||
this.triggered = true;
|
||||
@ -309,7 +354,9 @@ export default {
|
||||
// 跳转去添加失物的页面
|
||||
handleGoAdd() {
|
||||
this.goAdd = true;
|
||||
uni.navigateTo({ url: "/pages/contact/addContact" });
|
||||
uni.navigateTo({
|
||||
url: `/pages/contact/addContact?addType=${this.fintType}`,
|
||||
});
|
||||
},
|
||||
// 跳转到地图选择服务区
|
||||
goSelectServer() {
|
||||
@ -373,10 +420,15 @@ export default {
|
||||
: this.nowServiceObj.SERVERPART_ID || "",
|
||||
SUGGESTION_STATES: 1,
|
||||
ENUM_LABEL: this.rightSelectValue || "",
|
||||
WECHAT_OPENID: this.fintType,
|
||||
},
|
||||
SortStr: "SUGGESTION_CREATEDATE desc",
|
||||
PageSize: this.pageObj.pageSize,
|
||||
PageIndex: this.pageObj.pageIndex,
|
||||
keyWord: {
|
||||
Key: "SUGGESTION_TITLE",
|
||||
value: this.searchText,
|
||||
},
|
||||
// PageIndex: 1,
|
||||
// PageSize: 999999,
|
||||
};
|
||||
@ -523,6 +575,46 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.tabBox {
|
||||
width: 100%;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 16rpx;
|
||||
border-bottom: 1px solid #f6f6f6;
|
||||
.tabItem {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #716f69;
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
font-style: normal;
|
||||
}
|
||||
.active {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: center;
|
||||
font-style: normal;
|
||||
position: relative;
|
||||
}
|
||||
.active:after {
|
||||
content: "";
|
||||
width: 2rem;
|
||||
height: 6rpx;
|
||||
background: #ba922f;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 6rpx;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.headerBox {
|
||||
height: 104rpx;
|
||||
box-sizing: border-box;
|
||||
@ -617,9 +709,14 @@ export default {
|
||||
position: relative;
|
||||
.title {
|
||||
width: calc(100% - 72rpx);
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
// text-overflow: ellipsis;
|
||||
// overflow: hidden;
|
||||
// white-space: nowrap;
|
||||
display: -webkit-box; /* 使用弹性盒模型 */
|
||||
-webkit-box-orient: vertical; /* 垂直排列 */
|
||||
overflow: hidden; /* 超出部分隐藏 */
|
||||
-webkit-line-clamp: 6; /* 限制最多显示多少行文本 */
|
||||
text-overflow: ellipsis; /* 超出部分用省略号显示 */
|
||||
.normal {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="content">
|
||||
<div class="contentTop">
|
||||
<div class="top">
|
||||
<image class="couponIcon" src="/static/images/home/couponLogo.png" />
|
||||
<image class="couponIcon" src="/static/images/home/couponLogo.svg" />
|
||||
<span class="couponText">满减券</span>
|
||||
</div>
|
||||
<div class="topContent">
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
<div class="noticeBox">
|
||||
<div class="noticeTitle">
|
||||
<image class="noticeIcon" src="/static/images/home/noticeIcon.png" />
|
||||
<image class="noticeIcon" src="/static/images/home/noticeIcon.svg" />
|
||||
<span class="noticeText">领取说明</span>
|
||||
</div>
|
||||
<div class="noticeItem">
|
||||
|
||||
@ -1,7 +1,37 @@
|
||||
<template>
|
||||
<view class="main">
|
||||
<view class="header">
|
||||
<div style="display: inline-block; margin-top: 16rpx; margin-left: 16rpx">
|
||||
<view
|
||||
class="top"
|
||||
:style="{
|
||||
height: `${menu.bottom + 8}px`,
|
||||
paddingTop: `${menu.top}px`,
|
||||
}"
|
||||
>
|
||||
<div class="topContent">
|
||||
<image
|
||||
class="backIcon"
|
||||
src="/static/images/home/backArrow.svg"
|
||||
@click="handleBack"
|
||||
/>
|
||||
|
||||
<div style="display: inline-block">
|
||||
<view class="currentServiceBox" @click="goSelectServer">
|
||||
<image class="pointIcon" src="/static/images/home/blackFixed.png" />
|
||||
<span class="serviceName">{{
|
||||
currentServiceMessage.SERVERPART_NAME || ""
|
||||
}}</span>
|
||||
<image
|
||||
class="rightArrowIcon"
|
||||
src="/static/images/home/rightArrowIcon.png"
|
||||
/>
|
||||
</view>
|
||||
</div>
|
||||
</div>
|
||||
</view>
|
||||
|
||||
<view class="header" v-if="false">
|
||||
<!-- ; margin-left: 16rpx -->
|
||||
<div style="display: inline-block; margin-top: 16rpx">
|
||||
<view class="currentServiceBox" @click="goSelectServer">
|
||||
<image class="pointIcon" src="/static/images/home/blackFixed.png" />
|
||||
<span class="serviceName">{{
|
||||
@ -39,8 +69,8 @@
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="serviceBox" :style="{ paddingTop: menu.height + 10 + 'px' }">
|
||||
<!-- :style="{ paddingTop: menu.height + 10 + 'px' }" -->
|
||||
<view class="serviceBox">
|
||||
<!-- :style="{ paddingTop: menu.height + menu.top + 10 + 'px' }" -->
|
||||
|
||||
<!-- v-if="pageMsg.ImagePath" -->
|
||||
@ -278,6 +308,7 @@
|
||||
v-for="(item, i) in onShowTypeList"
|
||||
:key="i"
|
||||
@click="goShop(item)"
|
||||
:style="{ borderWidth: i + 1 === onShowTypeList.length ? '0' : '' }"
|
||||
>
|
||||
<div v-if="selectTypeTab !== 0">
|
||||
<div class="shopItemTop">
|
||||
@ -320,11 +351,14 @@
|
||||
<span class="monthSales"
|
||||
>月售{{ item.MONTHLYSALES || "-" }}</span
|
||||
>
|
||||
</div>
|
||||
<div class="rightDetail">
|
||||
<span class="perCapita"
|
||||
>人均 ¥{{ item.PERCAPITA || "-" }}</span
|
||||
>
|
||||
</div>
|
||||
<div class="rightDetail">
|
||||
<!-- <span class="perCapita"
|
||||
>人均 ¥{{ item.PERCAPITA || "-" }}</span
|
||||
> -->
|
||||
<!-- <span
|
||||
v-show="item.CouponList && item.CouponList.length > 0"
|
||||
class="icon-coupon"
|
||||
@ -1241,6 +1275,48 @@ export default {
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx;
|
||||
|
||||
.top {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
.topContent {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
.backIcon {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.currentServiceBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12rpx 20rpx;
|
||||
border-radius: 32rpx;
|
||||
border: 1rpx solid #e7e7e6;
|
||||
.pointIcon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.serviceName {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #090c1a;
|
||||
line-height: 40rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
}
|
||||
.rightArrowIcon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
@ -1652,7 +1728,7 @@ hr {
|
||||
background: #fff;
|
||||
height: 100%;
|
||||
margin-top: 48rpx;
|
||||
border-bottom: 2rpx solid #f0f0f0;
|
||||
// border-bottom: 2rpx solid #f0f0f0;
|
||||
|
||||
.listTitle {
|
||||
width: 100%;
|
||||
@ -2138,6 +2214,7 @@ span.ico-t-count {
|
||||
.newShopUnit {
|
||||
padding: 26rpx 0 26rpx 0;
|
||||
background-color: #ffffff;
|
||||
border-bottom: 2rpx solid #f0f0f0;
|
||||
.shopItemTop {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@ -2197,7 +2274,12 @@ span.ico-t-count {
|
||||
font-weight: bold;
|
||||
}
|
||||
.monthSales {
|
||||
margin-left: 12px;
|
||||
margin-left: 8px;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
}
|
||||
.perCapita {
|
||||
margin-left: 8px;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
}
|
||||
@ -2387,7 +2469,7 @@ span.ico-t-count {
|
||||
.timeIcon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.couponTimeText {
|
||||
width: calc(100% - 32rpx);
|
||||
|
||||
@ -71,7 +71,7 @@ export default {
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-top: 8rpx;
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.navList {
|
||||
@ -79,7 +79,7 @@ export default {
|
||||
height: 436rpx;
|
||||
border-radius: 6rpx;
|
||||
overflow: hidden;
|
||||
margin: 40rpx 0;
|
||||
margin: 32rpx 0;
|
||||
.img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@ -95,7 +95,6 @@ export default {
|
||||
line-height: 52rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
padding-bottom: 48rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -19,9 +19,9 @@
|
||||
@click="handleGoDetail(item)"
|
||||
>
|
||||
<div class="left">
|
||||
<div class="content">{{ item.NOTICEINFO_CONTENT || "" }}</div>
|
||||
<div class="content">{{ item.NOTICEINFO_TITLE || "" }}</div>
|
||||
<div class="descBox">
|
||||
<span class="name">{{ item.STAFF_NAME || "-" }}</span>
|
||||
<!-- <span class="name">{{ item.STAFF_NAME || "-" }}</span> -->
|
||||
<span class="time">{{ item.START_DATE || "-" }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -207,13 +207,14 @@ export default {
|
||||
display: -webkit-box; /* 使用弹性盒模型 */
|
||||
-webkit-box-orient: vertical; /* 垂直排列 */
|
||||
overflow: hidden; /* 超出部分隐藏 */
|
||||
-webkit-line-clamp: 3; /* 限制最多显示3行文本 */
|
||||
-webkit-line-clamp: 2; /* 限制最多显示3行文本 */
|
||||
text-overflow: ellipsis; /* 超出部分用省略号显示 */
|
||||
}
|
||||
.descBox {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
// justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 12rpx;
|
||||
.name {
|
||||
@ -240,6 +241,8 @@ export default {
|
||||
width: 220rpx;
|
||||
height: 140rpx;
|
||||
margin-left: 40rpx;
|
||||
border-radius: 6rpx;
|
||||
overflow: hidden;
|
||||
.leftIcon {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div
|
||||
v-if="loginType === 'min'"
|
||||
class="topBox"
|
||||
:style="{ height: menu.bottom + 14 + 'px' }"
|
||||
:style="{ height: menu.bottom + 8 + 'px' }"
|
||||
>
|
||||
<div
|
||||
class="topContent"
|
||||
@ -43,7 +43,7 @@
|
||||
class="carousel"
|
||||
:style="{
|
||||
marginTop:
|
||||
loginType === 'min' ? `${menu.bottom + 14}px` : `${menu.top + 50}px`,
|
||||
loginType === 'min' ? `${menu.bottom + 8}px` : `${menu.top + 50}px`,
|
||||
}"
|
||||
v-if="showBanner"
|
||||
>
|
||||
@ -68,7 +68,7 @@
|
||||
<!-- 头像 -->
|
||||
<div class="profile">
|
||||
<!-- <open-data type="userAvatarUrl"></open-data> -->
|
||||
<div
|
||||
<!-- <div
|
||||
style="
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@ -81,7 +81,17 @@
|
||||
style="width: 40%; height: 40%"
|
||||
src="/static/images/home/defaultUser.png"
|
||||
/>
|
||||
</div>
|
||||
</div> -->
|
||||
<button
|
||||
class="avatarBtn"
|
||||
open-type="chooseAvatar"
|
||||
@chooseavatar="onChooseAvatar"
|
||||
>
|
||||
<image
|
||||
class="headerImg"
|
||||
:src="WXProfile || user.MEMBERSHIP_HEADIMAGEURL"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
<!-- 用户详细 -->
|
||||
<div class="detailBox" @click="handleGoToUser">
|
||||
@ -176,7 +186,7 @@
|
||||
>
|
||||
<div class="icon"></div>
|
||||
<div class="contentMessage">
|
||||
{{ item.NOTICEINFO_CONTENT || "-" }}
|
||||
{{ item.NOTICEINFO_TITLE || "-" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -191,15 +201,15 @@
|
||||
</div>
|
||||
|
||||
<!-- @click="handleGoReservation" -->
|
||||
<div class="rightMerchants">
|
||||
<span class="serviceName" @click="goSelectServer">{{
|
||||
<div class="rightMerchants" @click="goSelectServer">
|
||||
<span class="serviceName">{{
|
||||
currentServicePart.SERVERPART_NAME || ""
|
||||
}}</span>
|
||||
<image class="moreIcon" src="/static/images/home/rightArrow.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="merchantsList">
|
||||
<div class="merchantsList" v-if="storeList && storeList.length > 0">
|
||||
<div
|
||||
class="merchantsItem"
|
||||
v-for="(item, index) in storeList"
|
||||
@ -214,7 +224,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 精选商品 -->
|
||||
<div class="selectShop" v-if="false">
|
||||
<div class="selectShop" v-if="false">
|
||||
<div class="shopTop">
|
||||
<div class="leftShop">
|
||||
<span class="pageTitle">精选商品</span>
|
||||
@ -341,6 +351,7 @@ export default {
|
||||
mallList: [], // 商品列表
|
||||
headlinesList: [], // 高速头条
|
||||
showBanner: false, // 是否显示轮播框
|
||||
WXProfile: "",
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -518,6 +529,7 @@ export default {
|
||||
);
|
||||
}
|
||||
}
|
||||
this.handleGetUserInfo();
|
||||
},
|
||||
onHide() {
|
||||
this.showBanner = false;
|
||||
@ -529,6 +541,9 @@ export default {
|
||||
if (howTimes === 2) {
|
||||
await this.handleGetPoint();
|
||||
}
|
||||
if (this.loginType === "min") {
|
||||
this.handleGetUserInfo();
|
||||
}
|
||||
await this.handleGetHighwayHeadlines();
|
||||
this.showBanner = true;
|
||||
let _this = this;
|
||||
@ -672,6 +687,83 @@ export default {
|
||||
handleHavePointInMin();
|
||||
}
|
||||
},
|
||||
// 拿用户最新的user信息
|
||||
handleGetUserInfo() {
|
||||
let _this = this;
|
||||
_this.$api
|
||||
.getCoop({
|
||||
action_type: "GetMembershipInfo",
|
||||
WechatUserId: _this.user.WechatUserId,
|
||||
})
|
||||
.then(function (data) {
|
||||
if (data.ResultCode === "100") {
|
||||
let _data = data;
|
||||
console.log("_data", _data);
|
||||
_this.user.MEMBERSHIP_ID = _data.Data.MEMBERSHIP_ID || "";
|
||||
_this.user.MEMBERSHIP_NAME = _data.Data.MEMBERSHIP_NAME || "";
|
||||
_this.user.MEMBERSHIP_LEVEL_TEXT =
|
||||
_data.Data.MEMBERSHIP_LEVEL_TEXT || "";
|
||||
_this.user.COUPON_COUNT = _data.Data.COUPON_COUNT || "";
|
||||
_this.user.PENDORDER_COUNT = _data.Data.PENDORDER_COUNT || "";
|
||||
_this.user.RESERVATION_COUNT = _data.Data.RESERVATION_COUNT || "";
|
||||
_this.user.ACCOUNT_BALANCE = _data.Data.ACCOUNT_BALANCE || "";
|
||||
_this.user.ISPLUS = _data.Data.ISPLUS || "";
|
||||
_this.user.INDUSTRY_MEMBERSHIP_ID =
|
||||
_data.Data.INDUSTRY_MEMBERSHIP_ID || "";
|
||||
_this.user.MEMBERSHIP_TYPE = _data.Data.MEMBERSHIP_TYPE || "";
|
||||
_this.user.MEMBERSHIP_LEVEL = _data.Data.MEMBERSHIP_LEVEL || "";
|
||||
_this.user.InviteCode = _data.Data.InviteCode || "";
|
||||
_this.user.MEMBERSHIP_POINT = _data.Data.MEMBERSHIP_POINT || "";
|
||||
_this.user.MEMBERSHIP_MOBILEPHONE =
|
||||
_data.Data.MEMBERSHIP_MOBILEPHONE || "";
|
||||
_this.WXProfile = _data.Data.MEMBERSHIP_HEADIMAGEURL;
|
||||
// _this.setUser(user);
|
||||
_this.$store.commit("setUser", _this.user);
|
||||
} else {
|
||||
// _this.setUser({});
|
||||
_this.$store.commit("setUser", _this.user);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 微信用户头像
|
||||
async onChooseAvatar(e) {
|
||||
console.log("e", e);
|
||||
// this.WXProfile = e.detail.avatarUrl;
|
||||
// console.log("this.WXProfile", this.WXProfile);
|
||||
// if (!this.WXProfile) {
|
||||
// return;
|
||||
// }
|
||||
let _this = this;
|
||||
console.log("this.user", this.user);
|
||||
uni.saveFile({
|
||||
tempFilePath: e.detail.avatarUrl,
|
||||
success: async (res) => {
|
||||
console.log("res.savedFilePath", res.savedFilePath);
|
||||
|
||||
let req = {
|
||||
membershipId: this.user.MEMBERSHIP_ID,
|
||||
headImgUrl: res.savedFilePath,
|
||||
};
|
||||
_this.WXProfile = res.savedFilePath;
|
||||
const userInfoData = await _this.$api.$get(
|
||||
"/WeChat/UpdateMemberInfo",
|
||||
req
|
||||
);
|
||||
console.log("userInfoData", userInfoData);
|
||||
if (userInfoData.Result_Code === 100) {
|
||||
_this.handleGetUserInfo();
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
console.log("err", err);
|
||||
|
||||
uni.showToast({
|
||||
title: err,
|
||||
icon: "none",
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
// 跳转去高速头条
|
||||
handleGoHighWayHeaderLine() {
|
||||
uni.navigateTo({
|
||||
@ -891,7 +983,12 @@ export default {
|
||||
}
|
||||
} else if (value === 5) {
|
||||
if (_this.currentServicePart.SERVERPART_ID) {
|
||||
uni.navigateTo({ url: "/pages/serviceDetail/shopDetail/index" });
|
||||
uni.navigateTo({
|
||||
url:
|
||||
"/pages/serviceDetail/index?id=" +
|
||||
this.currentServicePart.SERVERPART_ID,
|
||||
});
|
||||
// uni.navigateTo({ url: "/pages/serviceDetail/shopDetail/index" });
|
||||
// uni.navigateTo({
|
||||
// url:
|
||||
// "/pages/serviceDetail/index?id=" +
|
||||
@ -960,7 +1057,16 @@ export default {
|
||||
},
|
||||
// 跳转到地图选择服务区
|
||||
goSelectServer() {
|
||||
uni.navigateTo({ url: "/pages/newMap/index/index?comeForm=home" });
|
||||
if (this.currentServicePart.SERVERPART_ID) {
|
||||
// uni.navigateTo({ url: "/pages/serviceDetail/shopDetail/index" });
|
||||
uni.navigateTo({
|
||||
url:
|
||||
"/pages/serviceDetail/index?id=" +
|
||||
this.currentServicePart.SERVERPART_ID,
|
||||
});
|
||||
} else {
|
||||
uni.navigateTo({ url: "/pages/newMap/index/index?comeForm=home" });
|
||||
}
|
||||
},
|
||||
// 轮播框的图片切换
|
||||
swiperChange(e, name) {
|
||||
@ -1343,11 +1449,21 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.profile {
|
||||
width: 112rpx;
|
||||
height: 112rpx;
|
||||
width: 104rpx;
|
||||
height: 104rpx;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
background: #eaecee;
|
||||
|
||||
.avatarBtn {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
|
||||
.headerImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.detailBox {
|
||||
width: calc(100% - 260rpx);
|
||||
|
||||
@ -6,20 +6,32 @@
|
||||
</div>
|
||||
|
||||
<div class="detailBox">
|
||||
<div class="tabBox">
|
||||
<div class="title">积分明细</div>
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
"
|
||||
>
|
||||
<div class="tabBox">
|
||||
<div class="title">积分明细</div>
|
||||
|
||||
<div class="tabs">
|
||||
<div
|
||||
:class="selectTab === item.value ? 'tabItem selectTab' : 'tabItem'"
|
||||
v-for="(item, index) in tabList"
|
||||
:key="index"
|
||||
@click="handleChangeSelectTab(item.value)"
|
||||
>
|
||||
{{ item.label || "" }}
|
||||
<div class="tabs">
|
||||
<div
|
||||
:class="
|
||||
selectTab === item.value ? 'tabItem selectTab' : 'tabItem'
|
||||
"
|
||||
v-for="(item, index) in tabList"
|
||||
:key="index"
|
||||
@click="handleChangeSelectTab(item.value)"
|
||||
>
|
||||
{{ item.label || "" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="signIn" @click="signIn">签到</div>
|
||||
</div>
|
||||
|
||||
<div class="markList">
|
||||
<div
|
||||
style="width: 100%; height: 100%"
|
||||
@ -27,7 +39,7 @@
|
||||
>
|
||||
<div class="markItem" v-for="(item, index) in showList" :key="index">
|
||||
<div class="itemTitle">
|
||||
<image class="titleIcon" src="/static/images/home/markIcon.png" />
|
||||
<image class="titleIcon" src="/static/images/home/markIcon.svg" />
|
||||
<span class="label">{{ item.label || "-" }}获取</span>
|
||||
<span class="value">{{ item.obtain || "-" }}</span>
|
||||
<span class="label">已使用</span>
|
||||
@ -340,6 +352,51 @@ export default {
|
||||
_this.memberPoint = rs.Data.MEMBERSHIP_POINT || 0;
|
||||
});
|
||||
},
|
||||
signIn() {
|
||||
// 签到
|
||||
let _this = this;
|
||||
if (this.user.MEMBERSHIP_MOBILEPHONE) {
|
||||
_this.$api
|
||||
.getCoop({
|
||||
action_type: "signIn",
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.ResultCode === "100") {
|
||||
_this.BonusPoint = res.Data.Bonus_Point;
|
||||
_this.$api
|
||||
.getCoop({
|
||||
action_type: "getConsecutiveSignIn",
|
||||
})
|
||||
.then((rs) => {
|
||||
uni.showToast({
|
||||
title: "签到成功!",
|
||||
icon: "none",
|
||||
});
|
||||
this.getMonth();
|
||||
this.getMemberPoint();
|
||||
});
|
||||
} else if (res.ResultCode === "101") {
|
||||
// _this.isShowSign = 2;
|
||||
|
||||
uni.showToast({
|
||||
title: "今日已签到!",
|
||||
icon: "none",
|
||||
});
|
||||
} else {
|
||||
uni.showModal({
|
||||
content: res.ResultDesc,
|
||||
showCancel: false,
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.isShow = true;
|
||||
}
|
||||
},
|
||||
},
|
||||
onLoad() {
|
||||
this.loadingType = 1; // 正在在加载
|
||||
@ -434,6 +491,19 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.signIn {
|
||||
background: #ba922f;
|
||||
border-radius: 4rpx;
|
||||
padding: 8rpx 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.markList {
|
||||
width: 100%;
|
||||
height: calc(100% - 184rpx);
|
||||
|
||||
@ -367,7 +367,7 @@ export default {
|
||||
border-radius: 5rpx;
|
||||
line-height: 72rpx;
|
||||
position: relative;
|
||||
border: 1rpx solid #ededed;
|
||||
border: 1rpx solid #e7e7e6;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@ -254,6 +254,7 @@ export default {
|
||||
methods: {
|
||||
// 快捷支付
|
||||
handleRealGoPay(payType) {
|
||||
return
|
||||
if (this.loginType === "android") {
|
||||
if (payType === 1) {
|
||||
uni.navigateTo({
|
||||
|
||||
@ -1,15 +1,64 @@
|
||||
<template>
|
||||
<view class="main">
|
||||
<view class="title"> 1.会员权益设计:</view>
|
||||
<view class="pageTitle">· 会员规则 ·</view>
|
||||
|
||||
<view class="content">
|
||||
<view>普通会员:享受基础服务折扣,如餐饮、购物等。</view>
|
||||
<view>银卡会员:在普通会员基础上提高相应折扣。</view>
|
||||
<view
|
||||
>提供更高商品折扣及个性化服务,如休息室使用、定点服务区咖啡品尝等。</view
|
||||
>
|
||||
<view class="contentLeft">1</view>
|
||||
<view class="contentRight">
|
||||
<view class="title">会员权益设计</view>
|
||||
<view class="smallcontent">
|
||||
<view>普通会员:享受基础服务折扣,如餐饮、购物等。</view>
|
||||
<view>银卡会员:在普通会员基础上提高相应折扣。</view>
|
||||
<view
|
||||
>提供更高商品折扣及个性化服务,如休息室使用、定点服务区咖啡品尝等。</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="title"> 2.会员积分获取:</view>
|
||||
<view class="content" style="margin-top: 8rpx">
|
||||
<view class="contentLeft">2</view>
|
||||
<view class="contentRight">
|
||||
<view class="title">会员积分获取</view>
|
||||
<view class="smallcontent">
|
||||
<view>新用户注册:奖励初始积分10个。</view>
|
||||
<view>餐饮消费:每消费1元获得1个积分。</view>
|
||||
<view>购物消费:每消费1元获得1个积分。</view>
|
||||
<view>住宿消费:每消费100元获得10个积分。</view>
|
||||
<view>导航使用:通过APP中内嵌导航,每100公里获得1个积分。</view>
|
||||
<view>充电消费:通过APP扫码充电每消费10元获得1个积分。</view>
|
||||
<view>社区互动及评价:合理发帖或评价,每10条获得1个积分。</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="content" style="margin-top: 8rpx">
|
||||
<view class="contentLeft">3</view>
|
||||
|
||||
<view class="contentRight">
|
||||
<view class="title">活动积分</view>
|
||||
<view class="smallcontent">
|
||||
<view>会员推荐:成功推荐一名新会员加入,奖励推荐人50个积分。</view>
|
||||
<view
|
||||
>参与活动:参加服务区内的各类活动(如节庆活动、主题活动等),每次奖励20-50个积分不等。</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content" style="margin-top: 8rpx">
|
||||
<view class="contentLeft">4</view>
|
||||
<view class="contentRight">
|
||||
<view class="title">特殊积分</view>
|
||||
<view class="smallcontent">
|
||||
<view
|
||||
>生日礼遇:在会员生日月份,到服务区消费单笔满10元额外赠送50个积分作为生日礼物。</view
|
||||
>
|
||||
<view>节假日优惠:在特定节假日期间,消费可额外获得双倍积分。</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="title"> 2.会员积分获取:</view>
|
||||
<view class="content">
|
||||
<view>新用户注册:奖励初始积分10个。</view>
|
||||
<view>餐饮消费:每消费1元获得1个积分。</view>
|
||||
@ -18,23 +67,23 @@
|
||||
<view>导航使用:通过APP中内嵌导航,每100公里获得1个积分。</view>
|
||||
<view>充电消费:通过APP扫码充电每消费10元获得1个积分。</view>
|
||||
<view>社区互动及评价:合理发帖或评价,每10条获得1个积分。</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="title"> 3.活动积分:</view>
|
||||
<!-- <view class="title"> 3.活动积分:</view>
|
||||
<view class="content">
|
||||
<view>会员推荐:成功推荐一名新会员加入,奖励推荐人50个积分。</view>
|
||||
<view
|
||||
>参与活动:参加服务区内的各类活动(如节庆活动、主题活动等),每次奖励20-50个积分不等。</view
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="title"> 4.特殊积分:</view>
|
||||
<!-- <view class="title"> 4.特殊积分:</view>
|
||||
<view class="content">
|
||||
<view
|
||||
>生日礼遇:在会员生日月份,到服务区消费单笔满10元额外赠送50个积分作为生日礼物。</view
|
||||
>
|
||||
<view>节假日优惠:在特定节假日期间,消费可额外获得双倍积分。</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -51,26 +100,55 @@ export default {
|
||||
.main {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #fff;
|
||||
// background: #fff;
|
||||
background: #f5f5f5;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx 32rpx;
|
||||
.title {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: 38rpx;
|
||||
color: #130f05;
|
||||
line-height: 56rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
.pageTitle {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 30rpx;
|
||||
color: #130f05;
|
||||
line-height: 56rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
.contentLeft {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
line-height: 32rpx;
|
||||
text-align: center;
|
||||
font-style: normal;
|
||||
width: 34rpx;
|
||||
height: 34rpx;
|
||||
background: #ba922f;
|
||||
border-radius: 50%;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.contentRight {
|
||||
flex: 1;
|
||||
.title,
|
||||
.smallcontent {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 30rpx;
|
||||
color: #130f05;
|
||||
line-height: 38rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 30rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 56rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -3,14 +3,21 @@
|
||||
<div class="content">
|
||||
<div class="contentTop">
|
||||
<span class="title">您对商家/菜品满意吗?</span>
|
||||
<checkbox
|
||||
<radio
|
||||
class="anonymous"
|
||||
color="#CAA97F"
|
||||
@click="isAnonymous($event, saveMsg)"
|
||||
:checked="saveMsg.isAnonymous"
|
||||
>匿名评价</radio
|
||||
>
|
||||
<!-- <checkbox
|
||||
class="anonymous"
|
||||
:checked="saveMsg.isAnonymous"
|
||||
color="#CAA97F"
|
||||
@change="isAnonymous($event, saveMsg)"
|
||||
>
|
||||
<text>匿名评价</text>
|
||||
</checkbox>
|
||||
</checkbox> -->
|
||||
</div>
|
||||
<div class="starRate">
|
||||
<image
|
||||
@ -69,8 +76,18 @@
|
||||
</div>
|
||||
|
||||
<!-- 提交按钮 -->
|
||||
<div class="submitBox">
|
||||
<div class="submit" @click="postRate">提交</div>
|
||||
<div
|
||||
class="submitBox"
|
||||
:class="{ active: saveMsg.commentContent.length > 2 && noPost }"
|
||||
>
|
||||
<div
|
||||
:class="
|
||||
saveMsg.commentContent.length > 2 && noPost ? 'submit' : 'post-btn'
|
||||
"
|
||||
@click="postRate"
|
||||
>
|
||||
提交
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<view class="card" v-if="false">
|
||||
@ -206,7 +223,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
isAnonymous(event, item) {
|
||||
item.isAnonymous = event.mp.detail;
|
||||
// item.isAnonymous = event.mp.detail;
|
||||
item.isAnonymous = !item.isAnonymous;
|
||||
},
|
||||
changeRate(event, item) {
|
||||
this.saveMsg.commentScore = event.value;
|
||||
@ -478,6 +496,7 @@ export default {
|
||||
align-items: center;
|
||||
padding-bottom: 32rpx;
|
||||
border-bottom: 2rpx solid #f0f0f0;
|
||||
margin-top: 40rpx;
|
||||
.shopImg {
|
||||
width: 104rpx;
|
||||
height: 104rpx;
|
||||
@ -494,12 +513,13 @@ export default {
|
||||
line-height: 44rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.textBox {
|
||||
margin-top: 24px;
|
||||
margin-top: 32px;
|
||||
.photo-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -579,6 +599,7 @@ export default {
|
||||
line-height: 36rpx;
|
||||
text-align: right;
|
||||
font-style: normal;
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -754,16 +775,17 @@ export default {
|
||||
}
|
||||
|
||||
.post-btn {
|
||||
background: #e5e5e5;
|
||||
width: 690rpx;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
border-radius: 6rpx;
|
||||
font-size: 30rpx;
|
||||
width: 100%;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 32rpx;
|
||||
color: #ffffff;
|
||||
line-height: 44rpx;
|
||||
text-align: center;
|
||||
color: #898989;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 100rpx;
|
||||
font-style: normal;
|
||||
border-radius: 6rpx;
|
||||
padding: 22rpx 0;
|
||||
background: #dcc897;
|
||||
}
|
||||
|
||||
&.active {
|
||||
|
||||
42
pages/noDataPage/index.vue
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
<template>
|
||||
<view class="main">
|
||||
<view class="noDataBox">
|
||||
<image class="waitIcon" src="/static/images/home/funWaitIcon.svg" />
|
||||
<text class="waitText">模块开发中...</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.main {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #f8f8f8;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.noDataBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
.waitIcon {
|
||||
width: 176rpx;
|
||||
height: 176rpx;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
.waitText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #6c737a;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -64,6 +64,13 @@
|
||||
>
|
||||
评价得积分
|
||||
</div>
|
||||
<div
|
||||
class="commentItem"
|
||||
@click="goOrderDetail(item)"
|
||||
v-if="item.SALEBILL_STATE === 1005"
|
||||
>
|
||||
去支付
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,28 @@
|
||||
<template>
|
||||
<div class="main">
|
||||
<div class="pageTop">
|
||||
<div
|
||||
class="top"
|
||||
:style="{
|
||||
height: `${menu.bottom + 8}px`,
|
||||
paddingTop: `${menu.top}px`,
|
||||
}"
|
||||
>
|
||||
<div class="topContent">
|
||||
<image
|
||||
class="backIcon"
|
||||
src="/static/images/home/backArrow.svg"
|
||||
@click="handleBack"
|
||||
/>
|
||||
|
||||
<div class="first" @click="goSelectServer">
|
||||
<image class="addressIcon" src="/static/images/home/blackFixed.png" />
|
||||
<div class="text">{{ serverPart.SERVERPART_NAME || "" }}</div>
|
||||
<image class="moreIcon" src="/static/images/home/rightArrow.png" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pageTop" v-if="false">
|
||||
<div class="first" @click="goSelectServer">
|
||||
<image class="addressIcon" src="/static/images/home/blackFixed.png" />
|
||||
<div class="text">{{ serverPart.SERVERPART_NAME || "" }}</div>
|
||||
@ -61,11 +83,14 @@
|
||||
<span class="monthSales"
|
||||
>月售{{ item.MONTHLYSALES || "-" }}</span
|
||||
>
|
||||
</div>
|
||||
<div class="rightDetail">
|
||||
<span class="perCapita"
|
||||
>人均 ¥{{ item.PERCAPITA || "-" }}</span
|
||||
>
|
||||
</div>
|
||||
<div class="rightDetail">
|
||||
<!-- <span class="perCapita"
|
||||
>人均 ¥{{ item.PERCAPITA || "-" }}</span
|
||||
> -->
|
||||
<!-- <span
|
||||
v-show="item.CouponList && item.CouponList.length > 0"
|
||||
class="icon-coupon"
|
||||
@ -75,7 +100,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 去点餐 -->
|
||||
<div
|
||||
<!-- <div
|
||||
class="goOrder"
|
||||
v-if="item.SCANCODE_ORDER === 1"
|
||||
@click.stop="goBuy(item)"
|
||||
@ -85,7 +110,7 @@
|
||||
src="/static/images/home/goOrderIcon.png"
|
||||
/>
|
||||
<span class="goOrderText">去点餐</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- 优惠券 -->
|
||||
<div
|
||||
class="couponBox"
|
||||
@ -155,9 +180,21 @@ export default {
|
||||
onShowTypeList: [], // 显示的列表
|
||||
selectTypeList: [], // 选择业态的列表
|
||||
selectTypeTab: 0, // 选中的业态类型
|
||||
menu: {},
|
||||
loginType: "",
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
let systemInfo = uni.getSystemInfoSync();
|
||||
let type = uni.getStorageSync("loginType");
|
||||
console.log("type", type);
|
||||
this.loginType = type;
|
||||
if (type === "min") {
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
} else {
|
||||
this.menu = systemInfo.safeArea;
|
||||
}
|
||||
|
||||
let currentService = uni.getStorageSync("currentService");
|
||||
console.log("currentService", currentService);
|
||||
// 获取这个服务区的门店列表 且自己筛选 只留下 可以点餐的门店
|
||||
@ -317,6 +354,51 @@ export default {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: #fff;
|
||||
.top {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
.topContent {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding: 0 16px;
|
||||
.backIcon {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.first {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
border: 1rpx solid #e7e7e6;
|
||||
border-radius: 48rpx;
|
||||
padding: 12rpx 24rpx;
|
||||
.addressIcon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.text {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #090c1a;
|
||||
line-height: 40rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
}
|
||||
.moreIcon {
|
||||
margin-left: 8rpx;
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pageTop {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
@ -408,16 +490,16 @@ export default {
|
||||
padding: 0 24rpx;
|
||||
.shopItemBox {
|
||||
width: 100%;
|
||||
margin-bottom: 16rpx;
|
||||
margin-bottom: 32rpx;
|
||||
border-bottom: 1px solid #ededed;
|
||||
padding-bottom: 12rpx;
|
||||
padding-bottom: 32rpx;
|
||||
.shopItemTop {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
.shopImg {
|
||||
width: 96rpx;
|
||||
height: 96rpx;
|
||||
width: 112rpx;
|
||||
height: 112rpx;
|
||||
overflow: hidden;
|
||||
border-radius: 8rpx;
|
||||
margin-right: 16rpx;
|
||||
@ -427,11 +509,11 @@ export default {
|
||||
}
|
||||
}
|
||||
.shopDetail {
|
||||
width: calc(100% - 112rpx);
|
||||
height: 96rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: calc(100% - 136rpx);
|
||||
// height: 96rpx;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// justify-content: space-between;
|
||||
position: relative;
|
||||
.shopName {
|
||||
width: 100%;
|
||||
@ -470,7 +552,12 @@ export default {
|
||||
font-weight: bold;
|
||||
}
|
||||
.monthSales {
|
||||
margin-left: 12px;
|
||||
margin-left: 8px;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
}
|
||||
.perCapita {
|
||||
margin-left: 8px;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
}
|
||||
@ -556,7 +643,7 @@ export default {
|
||||
margin-left: 120rpx;
|
||||
overflow-x: auto;
|
||||
display: flex;
|
||||
margin-top: 12rpx;
|
||||
// margin-top: 12rpx;
|
||||
.shopItem {
|
||||
width: 168rpx;
|
||||
margin-right: 16rpx;
|
||||
@ -673,7 +760,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.noDataBox{
|
||||
.noDataBox {
|
||||
width: 100%;
|
||||
padding-top: 160px;
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<view class="currentServiceBox" @click="goSelectServer">
|
||||
<image
|
||||
class="servicePosition"
|
||||
src="/static/images/home/servicePosition.svg"
|
||||
src="/static/images/home/blackFixed.png"
|
||||
/>
|
||||
<text class="currentService">{{ detailInfo.SERVERPART_NAME }}</text>
|
||||
<image class="rightArrow" src="/static/images/home/rightArrow.svg" />
|
||||
@ -55,6 +55,8 @@
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
|
||||
<view class="noDataBg" v-else></view>
|
||||
</view>
|
||||
<view class="detailBottom">
|
||||
<view class="detailFirst">
|
||||
@ -83,10 +85,7 @@
|
||||
</text>
|
||||
</view>
|
||||
<view class="navigationBox" @click="handleGomap">
|
||||
<image
|
||||
class="navigationIcon"
|
||||
src="/static/images/home/navigationIcon.svg"
|
||||
/>
|
||||
<image class="navigationIcon" src="/static/images/home/map.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -108,30 +107,24 @@
|
||||
<view class="firstContent">
|
||||
<!-- 加油 -->
|
||||
<view class="gasContent" v-if="firstTab === 1">
|
||||
<view class="gasItem first">
|
||||
<image
|
||||
class="gasItemIcon"
|
||||
src="https://eshangtech.com/ShopICO/discovery/92Icon.png"
|
||||
/>
|
||||
<view class="gasItem">
|
||||
<image class="gasItemIcon" src="/static/images/home/92Icon.svg" />
|
||||
<span class="label">#加油枪</span>
|
||||
<span class="value">{{
|
||||
detailInfo.sumDetail.REFUELINGGUN92 || "-"
|
||||
}}</span>
|
||||
</view>
|
||||
<view class="gasItem second">
|
||||
<image
|
||||
class="gasItemIcon"
|
||||
src="https://eshangtech.com/ShopICO/discovery/95Icon.png"
|
||||
/>
|
||||
<view class="gasItem">
|
||||
<image class="gasItemIcon" src="/static/images/home/95Icon.svg" />
|
||||
<span class="label">#加油枪</span>
|
||||
<span class="value">{{
|
||||
detailInfo.sumDetail.REFUELINGGUN95 || "-"
|
||||
}}</span>
|
||||
</view>
|
||||
<view class="gasItem third">
|
||||
<view class="gasItem">
|
||||
<image
|
||||
class="gasItemIcon"
|
||||
src="https://eshangtech.com/ShopICO/discovery/zeroIcon.png"
|
||||
src="/static/images/home/zeroIcon.svg"
|
||||
/>
|
||||
<span class="label">#加油枪</span>
|
||||
<span class="value">{{
|
||||
@ -141,7 +134,55 @@
|
||||
</view>
|
||||
<!-- 充电信息 -->
|
||||
<view class="chargeContent" v-if="firstTab === 2">
|
||||
<view class="stateGrid">
|
||||
<view class="chargeItem">
|
||||
<view class="itemLeft">
|
||||
<img
|
||||
class="imgIcon"
|
||||
src="/static/images/home/lixiangIcon.png"
|
||||
/>
|
||||
<span class="chargeTypeName">理想</span>
|
||||
</view>
|
||||
<view class="itemRight">
|
||||
<span class="emptyText">空</span>
|
||||
<span class="use">{{ item.chargeObj.LXHave || "0" }}</span>
|
||||
<span class="sum"
|
||||
>/{{ detailInfo.sumDetail.LIAUTOCHARGE || "0" }}</span
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="chargeItem">
|
||||
<view class="itemLeft">
|
||||
<img class="imgIcon" src="/static/images/home/sunIcon.png" />
|
||||
<span class="chargeTypeName">阳光</span>
|
||||
</view>
|
||||
<view class="itemRight">
|
||||
<span class="emptyText">空</span>
|
||||
<span class="use">{{ item.chargeObj.LXHave || "0" }}</span>
|
||||
<span class="sum"
|
||||
>/{{ detailInfo.sumDetail.STATEGRIDCHARGE || "0" }}</span
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="chargeItem" style="margin-bottom: 0">
|
||||
<view class="itemLeft">
|
||||
<img
|
||||
class="imgIcon"
|
||||
src="/static/images/home/chargeAndReplace.png"
|
||||
/>
|
||||
<span class="chargeTypeName">充换电</span>
|
||||
</view>
|
||||
<view class="itemRight">
|
||||
<span class="emptyText">空</span>
|
||||
<span class="use">{{ item.chargeObj.LXHave || "0" }}</span>
|
||||
<span class="sum"
|
||||
>/{{ detailInfo.sumDetail.GACENERGYCHARGE || "0" }}</span
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="stateGrid" v-if="false">
|
||||
<view class="leftGrid">
|
||||
<!-- <image class="gridImg" src="/static/images/home/stateGrid.png" /> -->
|
||||
<text class="gridText">充电桩</text>
|
||||
@ -157,7 +198,7 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="stateGrid">
|
||||
<view class="stateGrid" v-if="false">
|
||||
<view class="leftGrid">
|
||||
<!-- <image class="gridImg" src="/static/images/home/stateGrid.png" /> -->
|
||||
<text class="gridText">国网</text>
|
||||
@ -173,7 +214,7 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="stateGrid">
|
||||
<view class="stateGrid" v-if="false">
|
||||
<view class="leftGrid">
|
||||
<!-- <image class="gridImg" src="/static/images/home/stateGrid.png" /> -->
|
||||
<text class="gridText">理想5C</text>
|
||||
@ -189,7 +230,7 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="stateGrid">
|
||||
<view class="stateGrid" v-if="false">
|
||||
<view class="leftGrid">
|
||||
<!-- <image class="gridImg" src="/static/images/home/stateGrid.png" /> -->
|
||||
<text class="gridText">广汽能源</text>
|
||||
@ -205,7 +246,7 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="stateGrid">
|
||||
<view class="stateGrid" v-if="false">
|
||||
<view class="leftGrid">
|
||||
<!-- <image class="gridImg" src="/static/images/home/stateGrid.png" /> -->
|
||||
<text class="gridText">其他</text>
|
||||
@ -345,11 +386,21 @@
|
||||
<view class="toiletBox" v-if="secondTab === 1">
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/manWCIcon.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">男厕</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.HASPANTRY
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image class="toiletIcon" src="/static/images/home/manWC.svg" />
|
||||
<text class="toiletText">男厕</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- 绿 #009F43 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -357,10 +408,21 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.HASPANTRY }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/womanWCIcon.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">女厕</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.HASWIFI
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/woManWC.svg"
|
||||
@ -368,7 +430,6 @@
|
||||
<text class="toiletText">女厕</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -376,10 +437,23 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.HASWIFI }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image
|
||||
class="icon"
|
||||
src="/static/images/home/tideToiletSeat.svg"
|
||||
/>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">潮汐厕位</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.TOILETCOUNT
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/tideToiletSeat.svg"
|
||||
@ -387,7 +461,6 @@
|
||||
<text class="toiletText">潮汐厕位</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -396,10 +469,23 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.TOILETCOUNT }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image
|
||||
class="icon"
|
||||
src="/static/images/home/toiletPaperTowels.svg"
|
||||
/>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">厕纸巾</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.TOILET_PAPER
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/toiletPaperTowels.svg"
|
||||
@ -407,7 +493,6 @@
|
||||
<text class="toiletText">厕纸巾</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -416,17 +501,29 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.TOILET_PAPER }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="toiletBox" v-if="secondTab === 2">
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image
|
||||
class="icon"
|
||||
src="/static/images/home/waterDispenser.svg"
|
||||
/>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">饮水机</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.MABROOMWATER_DISPENSER
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image class="toiletIcon" src="/static/images/home/manWC.svg" />
|
||||
<text class="toiletText">饮水机</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- 绿 #009F43 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -437,16 +534,28 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.MABROOMWATER_DISPENSER }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image
|
||||
class="icon"
|
||||
src="/static/images/home/nursingTable.svg"
|
||||
/>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">哺乳桌</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.NURSING_TABLE
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image class="toiletIcon" src="/static/images/home/manWC.svg" />
|
||||
<text class="toiletText">哺乳桌</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- 绿 #009F43 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -455,16 +564,25 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.NURSING_TABLE }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/crib.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">婴儿床</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.BABY_COT
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image class="toiletIcon" src="/static/images/home/manWC.svg" />
|
||||
<text class="toiletText">婴儿床</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- 绿 #009F43 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -472,16 +590,28 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.BABY_COT }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image
|
||||
class="icon"
|
||||
src="/static/images/home/changingTable.svg"
|
||||
/>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">尿布台</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.CHANGING_TABLE
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image class="toiletIcon" src="/static/images/home/manWC.svg" />
|
||||
<text class="toiletText">尿布台</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- 绿 #009F43 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -490,12 +620,27 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.CHANGING_TABLE }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="toiletBox" v-if="secondTab === 3">
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/showerRoom.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">淋浴间</view>
|
||||
<view class="value">{{
|
||||
detailInfo.sumDetail.SHOWERROOM === 0
|
||||
? "无"
|
||||
: detailInfo.sumDetail.SHOWERROOM === 1
|
||||
? "有"
|
||||
: detailInfo.sumDetail.SHOWERROOM === 2
|
||||
? "热水"
|
||||
: "-"
|
||||
}}</view>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/showerRoom.svg"
|
||||
@ -503,7 +648,6 @@
|
||||
<text class="toiletText">淋浴间</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -519,10 +663,20 @@
|
||||
: "-"
|
||||
}}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/waterBoiler.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">饮水机</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.DROOMWATER_DISPENSER
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/waterBoiler.svg"
|
||||
@ -530,7 +684,6 @@
|
||||
<text class="toiletText">饮水机</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -541,12 +694,22 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.DROOMWATER_DISPENSER }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="toiletBox" v-if="secondTab === 4">
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItem" v-if="false">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/showerRoom.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">淋浴间</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.HASSHOWERROOM
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/showerRoom.svg"
|
||||
@ -554,7 +717,6 @@
|
||||
<text class="toiletText">淋浴间</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -563,10 +725,20 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.HASSHOWERROOM }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/waterBoiler.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">开水器</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.HASWATERROOM
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/waterBoiler.svg"
|
||||
@ -574,7 +746,6 @@
|
||||
<text class="toiletText">开水器</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -583,10 +754,20 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.HASWATERROOM }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image class="icon" src="/static/images/home/microwave.svg" />
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">微波炉</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.MICROWAVEOVEN
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/microwave.svg"
|
||||
@ -594,7 +775,6 @@
|
||||
<text class="toiletText">微波炉</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -603,10 +783,23 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.MICROWAVEOVEN }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem">
|
||||
<view class="toiletItemLeft">
|
||||
<image
|
||||
class="icon"
|
||||
src="/static/images/home/washingMachine.svg"
|
||||
/>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<view class="label">洗衣机</view>
|
||||
<view class="value"
|
||||
>{{ detailInfo.sumDetail.WASHERCOUNT
|
||||
}}<span class="unit">个</span></view
|
||||
>
|
||||
</view>
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/washingMachine.svg"
|
||||
@ -614,7 +807,6 @@
|
||||
<text class="toiletText">洗衣机</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -623,10 +815,10 @@
|
||||
}"
|
||||
>{{ detailInfo.sumDetail.WASHERCOUNT }}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem" v-if="false">
|
||||
<view class="toiletItemLeft">
|
||||
<!-- <view class="toiletItemLeft">
|
||||
<image
|
||||
class="toiletIcon"
|
||||
src="/static/images/home/watering.svg"
|
||||
@ -634,7 +826,6 @@
|
||||
<text class="toiletText">加水</text>
|
||||
</view>
|
||||
<view class="toiletItemRight">
|
||||
<!-- #009F43 绿 -->
|
||||
<text
|
||||
class="rightText"
|
||||
:style="{
|
||||
@ -647,7 +838,7 @@
|
||||
detailInfo.sumDetail.VEHICLEWATERFILLING > 0 ? "有" : "无"
|
||||
}}</text
|
||||
>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="toiletItem" v-if="false">
|
||||
<view class="toiletItemLeft">
|
||||
@ -670,7 +861,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 热门商家 -->
|
||||
<view class="popularMerchants" v-if="false">
|
||||
<view class="popularMerchants">
|
||||
<view class="popularTitle">热门商家</view>
|
||||
<template v-if="merchantList && merchantList.length > 0">
|
||||
<div
|
||||
@ -726,7 +917,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
<!-- <div
|
||||
class="goOrder"
|
||||
v-if="item.SCANCODE_ORDER === 1"
|
||||
@click.stop="goBuy(item)"
|
||||
@ -754,7 +945,7 @@
|
||||
src="/static/images/home/useCoupon.png"
|
||||
/>
|
||||
<span class="couponText">优惠券</span>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -875,6 +1066,7 @@ export default {
|
||||
ServerpartId: id || currentService.SERVERPART_ID,
|
||||
latitude: this.seatInfo.latitude,
|
||||
longitude: this.seatInfo.longitude,
|
||||
excludeProperty: true,
|
||||
};
|
||||
uni.showLoading({
|
||||
title: "加载中...",
|
||||
@ -973,11 +1165,29 @@ export default {
|
||||
sumObj.SHOWERROOM = item.SHOWERROOM;
|
||||
});
|
||||
}
|
||||
|
||||
// 理想的随机百分比
|
||||
let LXRate = this.handleGetRandomData(0, 60);
|
||||
// 阳光的随机百分比
|
||||
let SunRate = this.handleGetRandomData(0, 60);
|
||||
// 充换电的随机百分比
|
||||
let chargeAndReplaceRate = this.handleGetRandomData(0, 60);
|
||||
|
||||
sumObj.LIAUTOCHARGE = Math.floor(sumObj.LIAUTOCHARGE * (LXRate / 100));
|
||||
sumObj.STATEGRIDCHARGE = Math.floor(sumObj.STATEGRIDCHARGE * (SunRate / 100));
|
||||
sumObj.GACENERGYCHARGE = Math.floor(
|
||||
sumObj.GACENERGYCHARGE * (chargeAndReplaceRate / 100)
|
||||
);
|
||||
|
||||
obj.sumDetail = sumObj;
|
||||
this.detailInfo = obj;
|
||||
console.log("this.detailInfo", this.detailInfo);
|
||||
uni.hideLoading();
|
||||
},
|
||||
// 生成随机数
|
||||
handleGetRandomData(max, min) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
},
|
||||
// 跳转到选择服务区
|
||||
goSelectServer() {
|
||||
uni.navigateTo({ url: "/pages/newMap/index/index" });
|
||||
@ -1002,7 +1212,7 @@ export default {
|
||||
showCoupon: 1,
|
||||
showComment: 1,
|
||||
serverpartId: this.detailInfo.SERVERPART_ID,
|
||||
provinceCode: "530000",
|
||||
provinceCode: "340000",
|
||||
showGoods: 1,
|
||||
pageSize: 9999,
|
||||
pageIndex: 1,
|
||||
@ -1054,7 +1264,7 @@ export default {
|
||||
<style lang="less" scoped>
|
||||
.main {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
// height: 100vh;
|
||||
background: #f5f5f5;
|
||||
|
||||
.topBox {
|
||||
@ -1135,6 +1345,15 @@ export default {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.noDataBg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url(/static/images/discovery/defaultIcon.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position-x: 50%;
|
||||
background-position-y: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.detailBottom {
|
||||
@ -1223,10 +1442,14 @@ export default {
|
||||
position: absolute;
|
||||
right: 24rpx;
|
||||
top: 32rpx;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #f8f4ea;
|
||||
border-radius: 50%;
|
||||
.navigationIcon {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1269,7 +1492,7 @@ export default {
|
||||
content: "";
|
||||
width: 2rem;
|
||||
height: 6rpx;
|
||||
background: #009f43;
|
||||
background: #ba922f;
|
||||
border-radius: 3rpx;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
@ -1298,8 +1521,8 @@ export default {
|
||||
align-items: center;
|
||||
|
||||
.gasItemIcon {
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
}
|
||||
|
||||
.label {
|
||||
@ -1307,7 +1530,7 @@ export default {
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #2a2b2e;
|
||||
line-height: 40rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin: 16rpx 0;
|
||||
@ -1315,10 +1538,9 @@ export default {
|
||||
|
||||
.value {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 36rpx;
|
||||
font-size: 28rpx;
|
||||
color: #2a2b2e;
|
||||
line-height: 40rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
@ -1340,6 +1562,66 @@ export default {
|
||||
.chargeContent {
|
||||
margin-top: 24rpx;
|
||||
|
||||
.chargeItem {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 24rpx;
|
||||
.itemLeft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.imgIcon {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
.chargeTypeName {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
.itemRight {
|
||||
background: #f5f6f7;
|
||||
border-radius: 4rpx;
|
||||
padding: 4rpx 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.emptyText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #130f05;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.use {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.sum {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-size: 28rpx;
|
||||
color: #716f69;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.stateGrid {
|
||||
width: 100%;
|
||||
margin-top: 24rpx;
|
||||
@ -1588,8 +1870,7 @@ export default {
|
||||
|
||||
.carValue {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
@ -1715,7 +1996,7 @@ export default {
|
||||
content: "";
|
||||
width: 2rem;
|
||||
height: 6rpx;
|
||||
background: #009f43;
|
||||
background: #ba922f;
|
||||
border-radius: 3rpx;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
@ -1738,45 +2019,91 @@ export default {
|
||||
width: calc((100% - 16rpx) / 2);
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx;
|
||||
background: #f6f6f6;
|
||||
// background: #f6f6f6;
|
||||
border-radius: 12rpx;
|
||||
margin-bottom: 16rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
// justify-content: space-between;
|
||||
|
||||
.toiletItemLeft {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border: 1rpx solid #e7e7e6;
|
||||
border-radius: 50%;
|
||||
margin-right: 16rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.toiletIcon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
|
||||
.toiletText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
justify-content: center;
|
||||
.icon {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.toiletItemRight {
|
||||
.rightText {
|
||||
.label {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #999da3;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.value {
|
||||
margin-top: 4rpx;
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
.unit {
|
||||
margin-left: 4rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// .toiletItemLeft {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
|
||||
// .toiletIcon {
|
||||
// width: 32rpx;
|
||||
// height: 32rpx;
|
||||
// margin-right: 8rpx;
|
||||
// }
|
||||
|
||||
// .toiletText {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 28rpx;
|
||||
// color: #160002;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .toiletItemRight {
|
||||
// .rightText {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 28rpx;
|
||||
// color: #999da3;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2016,6 +2343,7 @@ export default {
|
||||
margin-left: 120rpx;
|
||||
overflow-x: auto;
|
||||
display: flex;
|
||||
margin-top: 16rpx;
|
||||
|
||||
.shopItem {
|
||||
width: 168rpx;
|
||||
|
||||
168
pages/serviceDetail/test.vue
Normal file
@ -0,0 +1,168 @@
|
||||
<template>
|
||||
<view class="uni-container">
|
||||
<button @click="func1">获取权限</button>
|
||||
<button @click="func2">注册隐私协议</button>
|
||||
<button @click="func3">注册APPkey</button>
|
||||
<button @click="func4">传入目的地地址直接导航到目的地</button>
|
||||
|
||||
<button @click="func5">传入起始地和目的地</button>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
// TODO 修复Android v3 加载过慢问题
|
||||
// #ifdef APP-PLUS
|
||||
var domModule = weex.requireModule("dom");
|
||||
domModule.addRule("fontFace", {
|
||||
fontFamily: "uniicons",
|
||||
src: "url('/static/uni.ttf')",
|
||||
});
|
||||
// #endif
|
||||
export default {
|
||||
props: {
|
||||
hasLeftWin: {
|
||||
type: Boolean,
|
||||
},
|
||||
leftWinActive: {
|
||||
type: String,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
list: [],
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
func1() {
|
||||
// 检查是否已经授权
|
||||
const context = plus.android.runtimeMainActivity();
|
||||
console.log("context:", context);
|
||||
const PackageManager = plus.android.importClass(
|
||||
"android.content.pm.PackageManager"
|
||||
);
|
||||
const hasPermission =
|
||||
context.checkCallingOrSelfPermission(
|
||||
"android.permission.ACCESS_FINE_LOCATION"
|
||||
) === PackageManager.PERMISSION_GRANTED;
|
||||
console.log("hasPermission:", hasPermission);
|
||||
// true 的时候 就是有了位置权限
|
||||
if (hasPermission) {
|
||||
let seatInfo = uni.getStorageSync("seatInfo");
|
||||
console.log("seatInfo", seatInfo);
|
||||
|
||||
if (seatInfo) {
|
||||
return JSON.parse(seatInfo);
|
||||
} else {
|
||||
plus.geolocation.getCurrentPosition(async function (position) {
|
||||
console.log("当前位置:", position);
|
||||
let res = position.coords;
|
||||
let seatInfo = {
|
||||
latitude: res.latitude,
|
||||
longitude: res.longitude,
|
||||
};
|
||||
uni.setStorageSync("seatInfo", JSON.stringify(seatInfo));
|
||||
uni.setStorageSync("actualLocation", JSON.stringify(seatInfo));
|
||||
_this.seat = seatInfo;
|
||||
let latitude = res.latitude;
|
||||
let longitude = res.longitude;
|
||||
return {
|
||||
latitude: latitude,
|
||||
longitude: longitude,
|
||||
};
|
||||
});
|
||||
}
|
||||
} else {
|
||||
uni.showModal({
|
||||
title: "注意",
|
||||
content:
|
||||
"拒绝授权位置服务会导致小程序功能无法正常使用,建议授权位置信息",
|
||||
confirmText: "去设置",
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
const main = plus.android.runtimeMainActivity();
|
||||
const Intent = plus.android.importClass("android.content.Intent");
|
||||
const Settings = plus.android.importClass(
|
||||
"android.provider.Settings"
|
||||
);
|
||||
const intent = new Intent(
|
||||
Settings.ACTION_APPLICATION_DETAILS_SETTINGS
|
||||
);
|
||||
const uri = plus.android.invoke(
|
||||
"android.net.Uri",
|
||||
"parse",
|
||||
"package:" + main.getPackageName()
|
||||
);
|
||||
intent.setData(uri);
|
||||
main.startActivity(intent);
|
||||
uni.switchTab({
|
||||
url: "/pages/home/index",
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
},
|
||||
func2() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
const context = plus.android.runtimeMainActivity();
|
||||
console.log("context", context);
|
||||
|
||||
addModule.auth(
|
||||
context,
|
||||
"d773aa156f8ca2160cfb06d5f117dacd",
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
func3() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
addModule.reg(
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
func4() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
addModule.nav(
|
||||
39.917337,
|
||||
116.397056,
|
||||
"博物院",
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
func5() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
console.log("addModule", addModule);
|
||||
addModule.navfrom(
|
||||
39.904556,
|
||||
116.427231,
|
||||
"火车站",
|
||||
39.917337,
|
||||
116.397056,
|
||||
"博物院",
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<scroll-view scrol-y class="scrllView">
|
||||
<div class="topEvaluation">
|
||||
<div class="evaluationMark">
|
||||
{{ storeMsg.MERCHANTS_SCORE || "" }}
|
||||
@ -10,6 +10,7 @@
|
||||
<UniRate
|
||||
:value="storeMsg.MERCHANTS_SCORE"
|
||||
size="12"
|
||||
activeColor="#BA922F"
|
||||
:allowHalf="true"
|
||||
color="#ececec"
|
||||
void-color="#eee"
|
||||
@ -72,11 +73,11 @@
|
||||
|
||||
<!-- 附件图片列表 -->
|
||||
<div
|
||||
class="evaluationList"
|
||||
class="evaluationLists"
|
||||
v-if="item.IMAGELIST && item.IMAGELIST.length > 0"
|
||||
>
|
||||
<div
|
||||
class="evaluationItem"
|
||||
class="evaluationItems"
|
||||
v-for="(subItem, subIndex) in item.IMAGELIST"
|
||||
:key="subIndex"
|
||||
>
|
||||
@ -199,7 +200,7 @@
|
||||
</block>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</scroll-view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -382,7 +383,7 @@ export default {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16rpx 32rpx;
|
||||
padding: 16rpx 32rpx 24rpx;
|
||||
|
||||
.evaluationMark {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
@ -408,6 +409,11 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.scrllView::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.evaluationList {
|
||||
margin-top: 8rpx;
|
||||
width: 100%;
|
||||
@ -438,7 +444,7 @@ export default {
|
||||
|
||||
.evaluationItem {
|
||||
width: 100%;
|
||||
margin-bottom: 48rpx;
|
||||
margin-bottom: 16rpx;
|
||||
|
||||
.itemTop {
|
||||
width: 100%;
|
||||
@ -470,6 +476,7 @@ export default {
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8rpx;
|
||||
|
||||
.vip-level {
|
||||
font-size: 20rpx;
|
||||
@ -538,12 +545,12 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.evaluationList {
|
||||
margin-top: 24rpx;
|
||||
.evaluationLists {
|
||||
margin-top: 16rpx;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.evaluationItem {
|
||||
.evaluationItems {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 12rpx;
|
||||
|
||||
@ -14,18 +14,23 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="store-title">{{ merchatsMsg.MERCHANTS_NAME }}</div>
|
||||
<div class="store-info">
|
||||
<!-- 评价 -->
|
||||
<span class="mark">{{ merchatsMsg.MERCHANTS_SCORE || "-" }}</span>
|
||||
<span class="markUnit">分</span>
|
||||
|
||||
<span style="margin: 0 8rpx; color: #fff; font-size: 22rpx">|</span>
|
||||
<span class="month">月售{{ merchatsMsg.MONTHLYSALES || 0 }}</span>
|
||||
<span style="margin: 0 8rpx; color: #fff; font-size: 22rpx">|</span>
|
||||
<span class="month">人均¥{{ merchatsMsg.PERCAPITA || "-" }}</span>
|
||||
</div>
|
||||
<div class="store-has-c">
|
||||
<text>公告:欢迎光临,祝您就餐愉快~</text>
|
||||
<image
|
||||
<!-- <image
|
||||
v-if="couponList.length > 0"
|
||||
@click="handleOpenPopup"
|
||||
src="https://eshangtech.com/ShopICO/icos/shop-coupon.png"
|
||||
></image>
|
||||
</div>
|
||||
<div class="store-info">
|
||||
评价{{ merchatsMsg.MERCHANTS_SCORE || "-" }}
|
||||
<span style="margin: 0 8rpx; color: #fff; font-size: 22rpx">|</span>
|
||||
月售{{ merchatsMsg.MONTHLYSALES || 0 }}
|
||||
></image> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -45,6 +50,7 @@
|
||||
</div>
|
||||
<!-- CAA97F -->
|
||||
</div>
|
||||
|
||||
<div class="nowContent" v-if="activeTabs === 1">
|
||||
<div class="goods" :style="{ height: goodsH + 'px' }">
|
||||
<!-- 左侧产品分类列表 -->
|
||||
@ -83,6 +89,7 @@
|
||||
@scroll="getIndexFromHArr"
|
||||
:scroll-into-view="toView"
|
||||
scroll-with-animation="true"
|
||||
class="scrollView"
|
||||
>
|
||||
<view
|
||||
v-for="(item, findx) in catList"
|
||||
@ -238,18 +245,15 @@
|
||||
<view class="content">
|
||||
<view class="content-left" @click="showShopCartFn">
|
||||
<view class="logo-wrapper">
|
||||
<van-icon
|
||||
name="cart-circle"
|
||||
size="100rpx"
|
||||
:color="totalNum > 0 ? '#CAA97F' : '#ddd'"
|
||||
custom-style="margin-right:8rpx"
|
||||
<img
|
||||
class="shopCarIcon"
|
||||
src="/static/images/home/shopCarIconActive.svg"
|
||||
/>
|
||||
|
||||
<i class="icon-shopping_cart"></i>
|
||||
|
||||
<view class="num" v-if="totalNum">{{ totalNum }}</view>
|
||||
</view>
|
||||
<view class="price">¥{{ totalPay }}</view>
|
||||
<view class="price"
|
||||
><span class="unit">¥</span>{{ totalPay }}</view
|
||||
>
|
||||
</view>
|
||||
<view class="content-right">
|
||||
<view @click="goPayFn" class="pay-btn">去结算</view>
|
||||
@ -496,6 +500,44 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="nowContent" v-if="activeTabs === 4">
|
||||
<div class="couponBox" v-if="couponList && couponList.length > 0">
|
||||
<div
|
||||
class="couponItem"
|
||||
v-for="(item, index) in couponList"
|
||||
:key="index"
|
||||
>
|
||||
<div class="couponItemLeft">
|
||||
<div class="useAgeBox">
|
||||
<span class="useUnit">¥</span>
|
||||
<span class="usePrice">{{ item.UseAmount || "" }}</span>
|
||||
</div>
|
||||
<div class="useRule">
|
||||
{{
|
||||
item.WithAmount
|
||||
? `满${item.WithAmount || ""}元可用`
|
||||
: "直接领取"
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="couponItemRight">
|
||||
<div class="itemRightLeft">
|
||||
<div class="couponText">{{ item.CouponName || "" }}</div>
|
||||
<div v-if="item.EndTime" class="couponEndTime">
|
||||
截止时间:{{ item.EndTime || "" }}
|
||||
</div>
|
||||
<div class="couponType">{{ item.CouponTypeText || "" }}</div>
|
||||
</div>
|
||||
<div class="itemRightRight" @click="goDetail(item)">领取</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
<no-data />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<UniPopup
|
||||
:show="isShow"
|
||||
position="bottom"
|
||||
@ -523,6 +565,7 @@
|
||||
</scroll-view>
|
||||
</div>
|
||||
</UniPopup>
|
||||
|
||||
<UniPopup :show="rulePop" @close="rulePop = false" duration="50">
|
||||
<div class="rule-pop">
|
||||
<div class="rule-pop-head">
|
||||
@ -538,7 +581,9 @@
|
||||
<div>
|
||||
<div class="">{{ popMsg.COMMODITY_NAME }}</div>
|
||||
<!-- <div class="text">已选: {{popMsg.COMMODITY_RULE}}</div> -->
|
||||
<div class="price">¥{{ popMsg.COMMODITY_CURRPRICE }}</div>
|
||||
<div class="priceBox">
|
||||
<span class="unit">¥</span>{{ popMsg.COMMODITY_CURRPRICE }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rule-pop-center">
|
||||
@ -586,6 +631,7 @@ import { mapGetters } from "vuex";
|
||||
import MerchantEvaluation from "./components/merchantEvaluation.vue";
|
||||
import card from "@/components/card.vue";
|
||||
import UniPopup from "@/uni_modules/uni-popup/components/uni-popup/uni-popup.vue";
|
||||
import NoData from "../../../components/noData.vue";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@ -638,6 +684,7 @@ export default {
|
||||
MerchantEvaluation,
|
||||
card,
|
||||
UniPopup,
|
||||
NoData,
|
||||
},
|
||||
methods: {
|
||||
// ...mapMutations(['setprovinceCode']),
|
||||
@ -1110,7 +1157,16 @@ export default {
|
||||
.$get("/WeChat/GetCouponList", { sellerId: id })
|
||||
.then(function (data) {
|
||||
_this.couponList = data.Result_Data.List || [];
|
||||
|
||||
console.log("_this.couponList", _this.couponList);
|
||||
if (_this.couponList && _this.couponList.length > 0) {
|
||||
_this.tabList = [
|
||||
{ label: "优惠", value: 4 },
|
||||
{ label: "点餐", value: 1 },
|
||||
{ label: "评价", value: 2 },
|
||||
{ label: "商家", value: 3 },
|
||||
];
|
||||
}
|
||||
});
|
||||
},
|
||||
getFoodImages(id) {
|
||||
@ -1195,9 +1251,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
$bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
|
||||
<style lang="less" scoped>
|
||||
.page-cont {
|
||||
background: #fff;
|
||||
}
|
||||
@ -1214,12 +1268,13 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
color: #6d6b6b;
|
||||
font-size: 28rpx;
|
||||
|
||||
.smallNumber {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 20rpx;
|
||||
color: #716F69;
|
||||
color: #716f69;
|
||||
line-height: 28rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
@ -1230,14 +1285,15 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
.selectTabItem {
|
||||
color: #000000;
|
||||
position: relative;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.selectTabItem:after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
width: 80px;
|
||||
content: "";
|
||||
width: 2rem;
|
||||
height: 4px;
|
||||
border-radius: 4px;
|
||||
// border-radius: 4px;
|
||||
background-color: #a18153;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
@ -1249,28 +1305,169 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
width: 100%;
|
||||
height: calc(100vh - 160px);
|
||||
overflow-y: auto;
|
||||
|
||||
.couponBox {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx 32rpx 0;
|
||||
|
||||
.couponItem {
|
||||
width: 686rpx;
|
||||
height: 168rpx;
|
||||
background-image: url("/static/images/home/validCoupons.png");
|
||||
background-size: 100% 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 24rpx;
|
||||
.couponItemLeft {
|
||||
width: 186rpx;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 18rpx 34rpx 18rpx 36rpx;
|
||||
.useAgeBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
.useUnit {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 34rpx;
|
||||
color: #ba922f;
|
||||
line-height: 48rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.usePrice {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 48rpx;
|
||||
color: #ba922f;
|
||||
line-height: 56rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
.useRule {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 22rpx;
|
||||
color: #ba922f;
|
||||
line-height: 32rpx;
|
||||
text-align: center;
|
||||
font-style: normal;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.line {
|
||||
height: 100rpx;
|
||||
border: 1px dashed #e5cd92;
|
||||
}
|
||||
|
||||
.couponItemRight {
|
||||
width: 498rpx;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.itemRightLeft {
|
||||
.couponText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.couponEndTime {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 22rpx;
|
||||
color: #716f69;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.couponType {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 22rpx;
|
||||
color: #ba922f;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
}
|
||||
.itemRightRight {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
padding: 8rpx 24rpx;
|
||||
background: #ba922f;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.store-title {
|
||||
display: flex;
|
||||
font-size: 36rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
}
|
||||
|
||||
.store-info {
|
||||
color: #716F69;
|
||||
color: #716f69;
|
||||
font-size: 22rpx;
|
||||
margin: 16rpx 0;
|
||||
.mark {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #ba922f;
|
||||
line-height: 36rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
}
|
||||
.markUnit {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #ba922f;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.month {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.store-has-c {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #716F69;
|
||||
color: #716f69;
|
||||
|
||||
text {
|
||||
font-size: 22rpx;
|
||||
color: #716F69;
|
||||
color: #716f69;
|
||||
}
|
||||
|
||||
image {
|
||||
@ -1310,15 +1507,12 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
align-items: center;
|
||||
|
||||
.imgBox {
|
||||
width: 2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 8rpx;
|
||||
.storeIcon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1326,7 +1520,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #716F69;
|
||||
color: #716f69;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -1337,7 +1531,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -1414,7 +1608,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
}
|
||||
|
||||
.store-name + .store-name:before {
|
||||
content: '|';
|
||||
content: "|";
|
||||
margin: 0 10rpx;
|
||||
}
|
||||
|
||||
@ -1434,7 +1628,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
min-height: 96rpx;
|
||||
|
||||
.rate-gray {
|
||||
background: #F0F0F0;
|
||||
background: #f0f0f0;
|
||||
font-size: 26rpx;
|
||||
width: 514rpx;
|
||||
height: 72rpx;
|
||||
@ -1449,13 +1643,13 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
color: #B88E53;
|
||||
color: #b88e53;
|
||||
}
|
||||
|
||||
i {
|
||||
width: 44rpx;
|
||||
height: 42rpx;
|
||||
background: url('/static/images/rate.png') no-repeat center;
|
||||
background: url("/static/images/rate.png") no-repeat center;
|
||||
background-size: contain;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
@ -1514,6 +1708,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
.store-img image {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
@ -1577,7 +1772,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-size: 18rpx;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
background: rgba(240, 20, 20, 0.808);
|
||||
background: #ba922f;
|
||||
box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
@ -1588,10 +1783,10 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
}
|
||||
|
||||
.menu-item.current::before {
|
||||
content: '';
|
||||
content: "";
|
||||
height: 32rpx;
|
||||
width: 10rpx;
|
||||
background-color: #CAA97F;
|
||||
background-color: #caa97f;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 24rpx;
|
||||
@ -1604,6 +1799,10 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
.foods-wrapper {
|
||||
flex: 1;
|
||||
background: #fff;
|
||||
.scrollView::-webkit-scrollbar {
|
||||
width: 0;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.goodlist-title {
|
||||
@ -1625,7 +1824,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
.leftItem {
|
||||
width: 176rpx;
|
||||
height: 176rpx;
|
||||
background: #F5F5F5;
|
||||
background: #f5f5f5;
|
||||
border-radius: 16rpx;
|
||||
overflow: hidden;
|
||||
margin-right: 20rpx;
|
||||
@ -1647,7 +1846,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -1664,7 +1863,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
line-height: 24rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -1675,7 +1874,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
@ -1696,7 +1895,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
line-height: 36rpx;
|
||||
text-align: center;
|
||||
font-style: normal;
|
||||
@ -1774,16 +1973,16 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
.cart-decrease {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
border: 4rpx solid #F9EFE2;
|
||||
border: 4rpx solid #f9efe2;
|
||||
position: relative;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.cart-decrease:before {
|
||||
content: '';
|
||||
content: "";
|
||||
height: 4rpx;
|
||||
width: 27rpx;
|
||||
background: #CAA97F;
|
||||
background: #caa97f;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 13rpx;
|
||||
@ -1794,16 +1993,16 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
.cart-add {
|
||||
width: 54rpx;
|
||||
height: 54rpx;
|
||||
background: #F9EFE2;
|
||||
background: #f9efe2;
|
||||
position: relative;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.cart-add:before {
|
||||
content: '';
|
||||
content: "";
|
||||
height: 4rpx;
|
||||
width: 27rpx;
|
||||
background: #CAA97F;
|
||||
background: #caa97f;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 14rpx;
|
||||
@ -1812,10 +2011,10 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
}
|
||||
|
||||
.cart-add:after {
|
||||
content: '';
|
||||
content: "";
|
||||
height: 27rpx;
|
||||
width: 4rpx;
|
||||
background: #CAA97F;
|
||||
background: #caa97f;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 14rpx;
|
||||
@ -1860,19 +2059,27 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
|
||||
.shopcart .content .content-left {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.shopcart .logo-wrapper {
|
||||
display: inline-block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
top: -36rpx;
|
||||
margin: 0 12rpx;
|
||||
width: 108rpx;
|
||||
height: 96rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.shopcart .logo-wrapper .shopCarIcon {
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
}
|
||||
|
||||
.shopcart .num {
|
||||
@ -1887,18 +2094,29 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
font-size: 18rpx;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
background: rgb(240, 20, 20);
|
||||
background: #ba922f;
|
||||
box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.shopcart .price {
|
||||
display: inline-block;
|
||||
line-height: 76rpx;
|
||||
padding-right: 24rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 40rpx;
|
||||
color: #130f05;
|
||||
line-height: 48rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
.unit {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #130f05;
|
||||
line-height: 24rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.shopcart .content-right {
|
||||
@ -1912,8 +2130,8 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
color: #CAA97F;
|
||||
background: #333;
|
||||
color: #ffffff;
|
||||
background: #ba922f;
|
||||
border-radius: 48rpx;
|
||||
}
|
||||
|
||||
@ -2057,9 +2275,9 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
}
|
||||
|
||||
.rule-tag.active {
|
||||
color: #CAA97F;
|
||||
color: #caa97f;
|
||||
font-weight: bolder;
|
||||
background-color: #F9EFE2;
|
||||
background-color: #f9efe2;
|
||||
}
|
||||
|
||||
.rule-pop-btn {
|
||||
@ -2068,7 +2286,7 @@ $bgGradient = linear-gradient(#C4B294, #9C835B);
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
background: #444;
|
||||
color: #CAA97F;
|
||||
color: #caa97f;
|
||||
font-size: 28rpx;
|
||||
margin-top: 94rpx;
|
||||
border-radius: 12rpx;
|
||||
|
||||
33
pages/thirdParty/gaodeLoad.vue
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
<template>
|
||||
<div class="main">
|
||||
<web-view :src="webViewSrc"></web-view>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { mapGetters } from "vuex";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
webViewSrc: "",
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
user: "user",
|
||||
}),
|
||||
},
|
||||
onLoad() {
|
||||
console.log("user", this.user);
|
||||
this.webViewSrc = `https://eshangtech.com/minLoad/search2.html`;
|
||||
console.log("this.webViewSrc", this.webViewSrc);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
.main {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -82,6 +82,14 @@
|
||||
class="serviceItem"
|
||||
v-for="(item, index) in detailObj.servicePart"
|
||||
:key="index"
|
||||
:style="{
|
||||
border:
|
||||
index + 1 === detailObj.servicePart.length ? 'none' : '',
|
||||
marginBottom:
|
||||
index + 1 === detailObj.servicePart.length ? '0' : '',
|
||||
paddingBottom:
|
||||
index + 1 === detailObj.servicePart.length ? '0' : '',
|
||||
}"
|
||||
@click="handleGoServiceDetail(item.SERVERPART_ID)"
|
||||
>
|
||||
<view class="leftItem">
|
||||
@ -151,18 +159,55 @@
|
||||
|
||||
<view class="chargeBox">
|
||||
<view class="chargeItem">
|
||||
<view class="chargeItemLabel">理想</view>
|
||||
<view class="itemLeft">
|
||||
<img
|
||||
class="imgIcon"
|
||||
src="/static/images/home/lixiangIcon.png"
|
||||
/>
|
||||
<span class="chargeTypeName">理想</span>
|
||||
</view>
|
||||
<view class="itemRight">
|
||||
<span class="emptyText">空</span>
|
||||
<span class="use">{{ item.LXHave || "0" }}</span>
|
||||
<span class="sum">/{{ item.LiXiang || "0" }}</span>
|
||||
</view>
|
||||
<!-- <view class="chargeItemLabel">理想</view>
|
||||
<view class="chargeItemValue">
|
||||
空<span class="empty">0</span
|
||||
><span class="sum">/12</span>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="chargeItem">
|
||||
<view class="itemLeft">
|
||||
<img
|
||||
class="imgIcon"
|
||||
src="/static/images/home/sunIcon.png"
|
||||
/>
|
||||
<span class="chargeTypeName">阳光</span>
|
||||
</view>
|
||||
<view class="itemRight">
|
||||
<span class="emptyText">空</span>
|
||||
<span class="use">{{ item.SunHave || "0" }}</span>
|
||||
<span class="sum">/{{ item.Sun || "0" }}</span>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="chargeItem">
|
||||
<view class="chargeItemLabel">阳光电源</view>
|
||||
<view class="chargeItemValue">
|
||||
空<span class="empty">0</span
|
||||
><span class="sum">/12</span>
|
||||
<view class="itemLeft">
|
||||
<img
|
||||
class="imgIcon"
|
||||
src="/static/images/home/chargeAndReplace.png"
|
||||
/>
|
||||
<span class="chargeTypeName">充换电</span>
|
||||
</view>
|
||||
<view class="itemRight">
|
||||
<span class="emptyText">空</span>
|
||||
<span class="use">{{
|
||||
item.chargeAndReplace || "0"
|
||||
}}</span>
|
||||
<span class="sum"
|
||||
>/{{ item.chargeAndReplaceSum || "0" }}</span
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -211,6 +256,7 @@
|
||||
|
||||
<script>
|
||||
import serverInfo from "./serverInfo.js";
|
||||
// uni.requireNativePlugin("myTest");
|
||||
// const CryptoJS = require("crypto-js");
|
||||
// import md5 from "js-md5";
|
||||
import {
|
||||
@ -247,11 +293,48 @@ export default {
|
||||
loginType: "",
|
||||
SERVERPART_TARGETOBJ: {},
|
||||
userInfo: {}, //用户信息
|
||||
context: "",
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
let type = uni.getStorageSync("loginType");
|
||||
this.loginType = type;
|
||||
console.log("type", type);
|
||||
|
||||
if (this.loginType !== "min") {
|
||||
this.myTest = uni.requireNativePlugin("AMapModule");
|
||||
// this.myTest.openTest("回调回来了", (res) => {
|
||||
// console.log("单次回调:", res);
|
||||
// });
|
||||
|
||||
console.log("this.myTest", this.myTest);
|
||||
const Context = plus.android.importClass("android.content.Context");
|
||||
const appContext = plus.android
|
||||
.runtimeMainActivity()
|
||||
.getApplicationContext();
|
||||
this.context = appContext;
|
||||
|
||||
console.log("1");
|
||||
this.handleGetPermission();
|
||||
console.log("2");
|
||||
|
||||
let privacyRes = this.handleGetGoDePrivacy();
|
||||
console.log("privacyRes", privacyRes);
|
||||
|
||||
if (privacyRes) {
|
||||
console.log("4", addModule);
|
||||
this.myTest.reg(
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
console.log("5");
|
||||
}
|
||||
}
|
||||
|
||||
let _this = this;
|
||||
if (type === "min") {
|
||||
handleHavePointInMin().then((res) => {
|
||||
@ -326,175 +409,110 @@ export default {
|
||||
this.userInfo = userInfo;
|
||||
},
|
||||
methods: {
|
||||
// 随机给充电桩数据
|
||||
handleHaveRandomData() {
|
||||
// 理想当前充电的
|
||||
let LXHave = 0;
|
||||
// 理想的全部充电的
|
||||
let LXSum = 0;
|
||||
// 阳光当前充电的
|
||||
let SunHave = 0;
|
||||
// 阳光全部充电的
|
||||
let SunSum = 0;
|
||||
// 充换电当前充电的
|
||||
let chargeAndReplace = 0;
|
||||
// 充换电全部充电的
|
||||
let chargeAndReplaceSum = 0;
|
||||
|
||||
// 给理想随机 总数
|
||||
LXSum = this.handleGetRandomData(15, 20);
|
||||
// 给阳光随机 总数
|
||||
SunSum = this.handleGetRandomData(10, 17);
|
||||
// 给充换电随机 总数
|
||||
chargeAndReplaceSum = this.handleGetRandomData(5, 10);
|
||||
|
||||
// 理想的随机百分比
|
||||
let LXRate = this.handleGetRandomData(0, 60);
|
||||
// 阳光的随机百分比
|
||||
let SunRate = this.handleGetRandomData(0, 60);
|
||||
// 充换电的随机百分比
|
||||
let chargeAndReplaceRate = this.handleGetRandomData(0, 60);
|
||||
|
||||
LXHave = Math.floor(LXSum * (LXRate / 100));
|
||||
SunHave = Math.floor(SunSum * (SunRate / 100));
|
||||
chargeAndReplace = Math.floor(
|
||||
chargeAndReplaceSum * (chargeAndReplaceRate / 100)
|
||||
);
|
||||
|
||||
return {
|
||||
LXHave: LXHave,
|
||||
LXSum: LXSum,
|
||||
SunHave: SunHave,
|
||||
SunSum: SunSum,
|
||||
chargeAndReplace: chargeAndReplace,
|
||||
chargeAndReplaceSum: chargeAndReplaceSum,
|
||||
};
|
||||
},
|
||||
// 生成随机数
|
||||
handleGetRandomData(max, min) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
},
|
||||
//理想的数据对接的方法
|
||||
async handleGetLXData() {
|
||||
console.log("inLX");
|
||||
// 请求token的参数
|
||||
let TimeStamp = this.generateTimeStamp();
|
||||
let SeqData = this.generateSeq();
|
||||
let req = {
|
||||
OperatorID: "78109626X",
|
||||
OperatorSecret: "Xh2vLq1Pz9zF7wK3",
|
||||
};
|
||||
// 自己的
|
||||
// WzafxE5FAlx1W/tLxTUnk4HsTPzwl3G2MT6ZrKZ3uM4PmVJXT6SXZ+usDs4o+hjeTuxYShduMRpLdmX1//deMg==
|
||||
const LiOperatorSecret = "bGMyYwJFl17BqwD3";
|
||||
const LiOperCode = "MA7EBGWBX";
|
||||
const LiSigSecret = "V7I6yvHvEk8STt0P";
|
||||
const LiDataSecret = "P2S3WjoLv3rqL0hn";
|
||||
const LiIV = "ZRlwcrx7k63ihzXF";
|
||||
|
||||
// 示例结果
|
||||
// "mVzuGBqEHBcQDeTVlf3vojqbl0+8pLu8tyS/1NZnqoqfe+crGYs JKmeuvsR+MUPrbF8DIWHP9zb/dhIkSEf2VA=="
|
||||
// 先给对象进行加密
|
||||
let encryptionReq = this.aesEncrypt(req);
|
||||
console.log("encryptionReq", encryptionReq);
|
||||
// let sigObj = {
|
||||
// OperatorID: "78109626X",
|
||||
// Data: encryptionReq,
|
||||
// TimeStamp: TimeStamp,
|
||||
// Seq: SeqData,
|
||||
// };
|
||||
// let sigObj = `78109626X${encryptionReq}${TimeStamp}${SeqData}`;
|
||||
let sigObj = `123456789il7BOBSEjFdzpyKzfOFpvg/SelCP802RItKYFPfSLRxJ3jfObVI9hvYOEktPAYW2nd7S8MBcyHYyacHKbISq5iTmDzG+ivnR+SZJv3USNTYVMz9rCQVSxdOcLlqsJauko79NnwQJbzDTyLooYolwz75qBOH2/xOMirpeEqRJrF/EQjWekJmGk9RtboXePu2rka+Xm51syBPhiXJAqOGfbfaFu9tNqs/e2Vjja/ltE1MOlqvxfXQ6da6HrThsm5id4ClZFli0acRfrsPLRixS/IQYtksxghvJwbqOsbIsITail9Ayy4tKcogeEZiOO+4Ed264NSKmk713wKwJLAFjCFogBx8GE3OBz4pqcAn/ydA=201607291424000001`;
|
||||
const Md5Sig = this.hmacMd5Signature(sigObj);
|
||||
console.log("Md5Sig", Md5Sig);
|
||||
const OperatorID = "78109626X"; // 组织机构代码(OperatorID)
|
||||
const OperatorSecret = "Xh2vLq1Pz9zF7wK3"; // Xh2vLq1Pz9zF7wK3 运营商秘钥(OperatorSecret)
|
||||
const SigSecret = "bT8sWn2Aq0Jv6GvD"; // bT8sWn2Aq0Jv6GvD 签名秘钥(SigSecret)
|
||||
const DataSecret = "fK7YzAq1R8Vp9hL0"; // fK7YzAq1R8Vp9hL0 数据加密秘钥(DataSecret)
|
||||
const DataSecretIV = "z3XnWl8FQ2pTm5Ba"; // z3XnWl8FQ2pTm5Ba 初始化向量(DataSecretIV
|
||||
|
||||
// 2DB0EA3945FC9EE5CDBFE32FAC04727E
|
||||
// 745166E8C43C84D37FFECOF529C4136F 示例结果
|
||||
|
||||
// 78109626X 组织机构代码(OperatorID)
|
||||
// Xh2vLq1Pz9zF7wK3 运营商秘钥(OperatorSecret)
|
||||
// bT8sWn2Aq0Jv6GvD 签名秘钥(SigSecret)
|
||||
// fK7YzAq1R8Vp9hL0 数据加密秘钥(DataSecret)
|
||||
// z3XnWl8FQ2pTm5Ba 初始化向量(DataSecretIV)
|
||||
|
||||
let lastReq = {
|
||||
OperatorID: "78109626X",
|
||||
Data: encryptionReq,
|
||||
TimeStamp: TimeStamp,
|
||||
Seq: "0001",
|
||||
Sig: Md5Sig,
|
||||
};
|
||||
console.log("lastReq", lastReq);
|
||||
|
||||
// 获取token
|
||||
const token = await new Promise((resolve, reject) => {
|
||||
uni.request({
|
||||
url: `https://iot-openapi-ontest-b.chehejia.com/lcp-inter-evio-service/evcs/v1/evio/query_token`,
|
||||
data: lastReq,
|
||||
method: "POST",
|
||||
header: {
|
||||
"Content-Type": "application/json;charset=utf-8", //自定义请求头信息
|
||||
},
|
||||
success(res) {
|
||||
console.log("res", res);
|
||||
// resolve(res.data.route.paths[0]);
|
||||
resolve(res);
|
||||
},
|
||||
});
|
||||
// 调用token接口拿到数据
|
||||
let tokenData = await this.$testApi.$post("/send", {
|
||||
url: "https://iot-openapi-ontest-b.chehejia.com/lcp-inter-evio-service/evcs/v1/evio/query_token",
|
||||
data: JSON.stringify({
|
||||
OperatorID: OperatorID,
|
||||
OperatorSecret: LiOperatorSecret,
|
||||
}),
|
||||
seq: "001",
|
||||
token: "",
|
||||
});
|
||||
console.log("token", token);
|
||||
},
|
||||
console.log("tokenData", tokenData);
|
||||
// token的实际值
|
||||
let token = tokenData.Data.AccessToken;
|
||||
|
||||
generateTimeStamp() {
|
||||
const date = new Date();
|
||||
// 格式化为 yyyyMMdd HHmmss 格式
|
||||
const year = date.getFullYear();
|
||||
const month = (date.getMonth() + 1).toString().padStart(2, "0");
|
||||
const day = date.getDate().toString().padStart(2, "0");
|
||||
const hours = date.getHours().toString().padStart(2, "0");
|
||||
const minutes = date.getMinutes().toString().padStart(2, "0");
|
||||
const seconds = date.getSeconds().toString().padStart(2, "0");
|
||||
return `${year}${month}${day} ${hours}${minutes}${seconds}`;
|
||||
},
|
||||
|
||||
generateSeq() {
|
||||
const currentSecond = Math.floor(Date.now() / 1000); // 获取当前秒的时间戳
|
||||
let seq = 0;
|
||||
// 你可以将自增序列保存到本地存储或全局变量中,以下是示例
|
||||
const lastSecond = wx.getStorageSync("lastSecond"); // 获取上次记录的秒数
|
||||
const lastSeq = wx.getStorageSync("lastSeq"); // 获取上次记录的 Seq
|
||||
if (lastSecond === currentSecond) {
|
||||
// 如果当前秒与上次记录的秒相同,增加序列
|
||||
seq = (lastSeq + 1) % 10000; // 保证序列不超过 9999
|
||||
} else {
|
||||
// 如果不在同一秒内,重置序列为 0001
|
||||
seq = 1;
|
||||
}
|
||||
// 存储当前秒和自增序列
|
||||
wx.setStorageSync("lastSecond", currentSecond);
|
||||
wx.setStorageSync("lastSeq", seq);
|
||||
return seq.toString().padStart(4, "0"); // 返回 4 位自增序列,补齐为 0001 格式
|
||||
},
|
||||
// 数据加密的方法
|
||||
aesEncrypt(data) {
|
||||
// fK7YzAq1R8Vp9hL0 数据加密秘钥(DataSecret)
|
||||
// z3XnWl8FQ2pTm5Ba 初始化向量(DataSecretIV)
|
||||
|
||||
// 将密钥和初始向量转为 WordArray 格式
|
||||
const keyWords = CryptoJS.enc.Utf8.parse("fK7YzAq1R8Vp9hL0");
|
||||
const ivWords = CryptoJS.enc.Utf8.parse("z3XnWl8FQ2pTm5Ba");
|
||||
console.log("keyWords", keyWords);
|
||||
console.log("ivWords", ivWords);
|
||||
|
||||
const jsonData = JSON.stringify(data);
|
||||
|
||||
// 使用 AES 加密,设置 CBC 模式和 PKCS5Padding 填充方式
|
||||
const encrypted = CryptoJS.AES.encrypt(jsonData, keyWords, {
|
||||
iv: ivWords,
|
||||
mode: CryptoJS.mode.CBC,
|
||||
padding: CryptoJS.pad.Pkcs7,
|
||||
// 拿到所有站点的数据
|
||||
const allStationList = await this.$testApi.$post("/send", {
|
||||
url: "https://iot-openapi-ontest-b.chehejia.com/lcp-inter-evio-service/evcs/v1/evio/query_stations_info",
|
||||
data: JSON.stringify({
|
||||
PageNo: 1,
|
||||
OperatorSecret: 999,
|
||||
}),
|
||||
seq: "002",
|
||||
token: token,
|
||||
});
|
||||
// 返回加密后的数据(Base64 编码)
|
||||
return encrypted.toString();
|
||||
},
|
||||
// 签名方法
|
||||
hmacMd5Signature(data) {
|
||||
// 78109626X 组织机构代码(OperatorID)
|
||||
// Xh2vLq1Pz9zF7wK3 运营商秘钥(OperatorSecret)
|
||||
// bT8sWn2Aq0Jv6GvD 签名秘钥(SigSecret)
|
||||
// fK7YzAq1R8Vp9hL0 数据加密秘钥(DataSecret)
|
||||
// z3XnWl8FQ2pTm5Ba 初始化向量(DataSecretIV)
|
||||
console.log("allStationList", allStationList);
|
||||
let stationList = allStationList.Data.StationInfos;
|
||||
|
||||
// 步骤a 在签名密钥 (SigSecret) 后面添加0来创建一个长为64字节的字符串 (str)
|
||||
// let str = CryptoJS.enc.Utf8.parse("bT8sWn2Aq0Jv6GvD"); // 使用 CryptoJS 处理密钥
|
||||
let str = "1234567890abcdef";
|
||||
let targetLength = 64;
|
||||
// 找到匹配 站点id
|
||||
let stationId = [];
|
||||
|
||||
// 计算当前 SigSecret 的字节长度
|
||||
let currentLength = new TextEncoder().encode(str).length;
|
||||
|
||||
// 如果当前长度小于64字节,则在后面补充 0
|
||||
if (currentLength < targetLength) {
|
||||
let padding = "0".repeat(targetLength - currentLength);
|
||||
str += padding;
|
||||
}
|
||||
console.log("str", str);
|
||||
|
||||
// 步骤b 将上一步生成的字符串 (str) 与 ipad(0x36) 做异或运算,形成结果字符串 (istr);
|
||||
const ipad = "0x36";
|
||||
let byteArray = new TextEncoder().encode(str);
|
||||
let istrArray = byteArray.map((byte) => byte ^ ipad);
|
||||
let istr = String.fromCharCode(...istrArray);
|
||||
console.log("istr", istr);
|
||||
|
||||
istr += data;
|
||||
|
||||
// 步骤c 将消息内容data 附加到第二步的结果字符串 (istr)的末尾
|
||||
const innerMessage = istr;
|
||||
|
||||
// 步骤d 做MD5 运算于第三步生成的数据流 (istr)
|
||||
const innerMd5 = md5(innerMessage);
|
||||
|
||||
// 步骤e 将第一步生成的字符串 (str) 与 opad(0x5c) 做异或运算,形成结果字符串 (ostr);
|
||||
const opad = "\0x5c"; // opad 填充
|
||||
let opadbyteArray = new TextEncoder().encode(str);
|
||||
let opadistrArray = opadbyteArray.map((byte) => byte ^ opad);
|
||||
let ostr = String.fromCharCode(...opadistrArray);
|
||||
|
||||
// 步骤f 再将第四步的结果 (istr) 附加到第五步的结果字符串 (ostr) 的末尾;
|
||||
// const outerMessage = CryptoJS.enc.Utf8.parse(ostr + innerMd5);
|
||||
const outerMessage = `${ostr}${innerMd5}`;
|
||||
|
||||
// 步骤g 对 outerMessage 进行 MD5 运算,输出最终签名
|
||||
const finalMd5 = md5(outerMessage);
|
||||
return finalMd5;
|
||||
const stationInfo = await this.$testApi.$post("/send", {
|
||||
url: "https://iot-openapi-ontest-b.chehejia.com/lcp-inter-evio-service/evcs/v1/evio/notification_stationStatus",
|
||||
data: JSON.stringify({
|
||||
ConnectorStatusInfo: {
|
||||
ConnectorID: 81000251,
|
||||
Status: 2,
|
||||
},
|
||||
}),
|
||||
seq: "003",
|
||||
token: token,
|
||||
});
|
||||
console.log("stationInfo", stationInfo);
|
||||
},
|
||||
// 跳转测试页面
|
||||
handleGoTest() {
|
||||
@ -568,8 +586,125 @@ export default {
|
||||
this.endObj = JSON.parse(JSON.stringify(this.startObj));
|
||||
this.startObj = middleObj;
|
||||
},
|
||||
|
||||
// 获取权限
|
||||
handleGetPermission() {
|
||||
const context = plus.android.runtimeMainActivity();
|
||||
const PackageManager = plus.android.importClass(
|
||||
"android.content.pm.PackageManager"
|
||||
);
|
||||
const hasPermission =
|
||||
context.checkCallingOrSelfPermission(
|
||||
"android.permission.ACCESS_FINE_LOCATION"
|
||||
) === PackageManager.PERMISSION_GRANTED;
|
||||
|
||||
// true 的时候 就是有了位置权限
|
||||
if (hasPermission) {
|
||||
let seatInfo = uni.getStorageSync("seatInfo");
|
||||
if (seatInfo) {
|
||||
return JSON.parse(seatInfo);
|
||||
} else {
|
||||
plus.geolocation.getCurrentPosition(async function (position) {
|
||||
console.log("当前位置:", position);
|
||||
let res = position.coords;
|
||||
let seatInfo = {
|
||||
latitude: res.latitude,
|
||||
longitude: res.longitude,
|
||||
};
|
||||
uni.setStorageSync("seatInfo", JSON.stringify(seatInfo));
|
||||
uni.setStorageSync("actualLocation", JSON.stringify(seatInfo));
|
||||
_this.seat = seatInfo;
|
||||
let latitude = res.latitude;
|
||||
let longitude = res.longitude;
|
||||
return {
|
||||
latitude: latitude,
|
||||
longitude: longitude,
|
||||
};
|
||||
});
|
||||
}
|
||||
} else {
|
||||
uni.showModal({
|
||||
title: "注意",
|
||||
content:
|
||||
"拒绝授权位置服务会导致小程序功能无法正常使用,建议授权位置信息",
|
||||
confirmText: "去设置",
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
const main = plus.android.runtimeMainActivity();
|
||||
const Intent = plus.android.importClass("android.content.Intent");
|
||||
const Settings = plus.android.importClass(
|
||||
"android.provider.Settings"
|
||||
);
|
||||
const intent = new Intent(
|
||||
Settings.ACTION_APPLICATION_DETAILS_SETTINGS
|
||||
);
|
||||
const uri = plus.android.invoke(
|
||||
"android.net.Uri",
|
||||
"parse",
|
||||
"package:" + main.getPackageName()
|
||||
);
|
||||
intent.setData(uri);
|
||||
main.startActivity(intent);
|
||||
uni.switchTab({
|
||||
url: "/pages/home/index",
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
},
|
||||
// 获得高德隐私协议
|
||||
handleGetGoDePrivacy() {
|
||||
this.myTest.auth(
|
||||
this.context,
|
||||
"d773aa156f8ca2160cfb06d5f117dacd",
|
||||
(suc) => {
|
||||
console.log("suc", suc);
|
||||
true;
|
||||
},
|
||||
(err) => {
|
||||
console.log("err", err);
|
||||
false;
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
// 路况查询
|
||||
async handleTrafficSearch() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/serviceDetail/test",
|
||||
});
|
||||
// let privacyRes = this.handleGetGoDePrivacy();
|
||||
|
||||
// this.myTest.navfrom(
|
||||
// 39.904556,
|
||||
// 116.427231,
|
||||
// "火车站",
|
||||
// 39.917337,
|
||||
// 116.397056,
|
||||
// "博物院",
|
||||
// (suc) => {
|
||||
// console.log("suc", suc);
|
||||
// },
|
||||
// (err) => {
|
||||
// console.log("err", err);
|
||||
// }
|
||||
// );
|
||||
|
||||
// this.myTest.reg(
|
||||
// this.context,
|
||||
// "d773aa156f8ca2160cfb06d5f117dacd",
|
||||
// (res) => {
|
||||
// console.log("单次回调:", res);
|
||||
// }
|
||||
// );
|
||||
|
||||
// this.myTest.open(this.context, (res) => {
|
||||
// console.log("单次回调:", res);
|
||||
// });
|
||||
// console.log("1111");
|
||||
|
||||
return;
|
||||
let _this = this;
|
||||
|
||||
if (!(this.seatInfo.longitude && this.seatInfo.latitude)) {
|
||||
@ -603,6 +738,7 @@ export default {
|
||||
Province_Code: "340000",
|
||||
longitude: this.seatInfo.longitude || "",
|
||||
latitude: this.seatInfo.latitude || "",
|
||||
ShowService: true,
|
||||
};
|
||||
let serviceArea = await this.$api.$get(
|
||||
"/CommercialApi/BaseInfo/GetServerpartList",
|
||||
@ -610,6 +746,7 @@ export default {
|
||||
);
|
||||
let serviceList = serviceArea.Result_Data.List;
|
||||
|
||||
console.log("serviceList", serviceList);
|
||||
console.log("start", start);
|
||||
console.log("this.endObj", this.endObj);
|
||||
|
||||
@ -696,6 +833,36 @@ export default {
|
||||
if (item === subItem.SERVERPART_NAME) {
|
||||
list.push(subItem);
|
||||
}
|
||||
|
||||
// 理想总数
|
||||
let LIAUTOCHARGESum = 0;
|
||||
// 国网总数
|
||||
let STATEGRIDCHARGESum = 0;
|
||||
// 充换电总数
|
||||
let GACENERGYCHARGESum = 0;
|
||||
if (subItem.RegionInfo && subItem.RegionInfo.length > 0) {
|
||||
subItem.RegionInfo.forEach((thirdItem) => {
|
||||
LIAUTOCHARGESum += Number(thirdItem.LIAUTOCHARGE || 0);
|
||||
STATEGRIDCHARGESum += Number(thirdItem.STATEGRIDCHARGE || 0);
|
||||
GACENERGYCHARGESum += Number(thirdItem.GACENERGYCHARGE || 0);
|
||||
});
|
||||
}
|
||||
subItem.LiXiang = LIAUTOCHARGESum;
|
||||
subItem.Sun = STATEGRIDCHARGESum;
|
||||
subItem.chargeAndReplaceSum = GACENERGYCHARGESum;
|
||||
|
||||
// 理想的随机百分比
|
||||
let LXRate = this.handleGetRandomData(0, 60);
|
||||
// 阳光的随机百分比
|
||||
let SunRate = this.handleGetRandomData(0, 60);
|
||||
// 充换电的随机百分比
|
||||
let chargeAndReplaceRate = this.handleGetRandomData(0, 60);
|
||||
|
||||
subItem.LXHave = Math.floor(subItem.LiXiang * (LXRate / 100));
|
||||
subItem.SunHave = Math.floor(subItem.Sun * (SunRate / 100));
|
||||
subItem.chargeAndReplace = Math.floor(
|
||||
subItem.chargeAndReplaceSum * (chargeAndReplaceRate / 100)
|
||||
);
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -704,6 +871,12 @@ export default {
|
||||
if (list && list.length > 0) {
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
let itemEnd = `${list[i].SERVERPART_X},${list[i].SERVERPART_Y}`;
|
||||
await new Promise((resolve) => {
|
||||
setTimeout(() => {
|
||||
resolve();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
const res = await new Promise((resolve, reject) => {
|
||||
uni.request({
|
||||
url: `https://restapi.amap.com/v3/direction/driving?key=${key}&origin=${start}&destination=${itemEnd}&strategy=0`,
|
||||
@ -715,6 +888,8 @@ export default {
|
||||
res.data.route.paths &&
|
||||
res.data.route.paths.length > 0
|
||||
) {
|
||||
console.log("res1", res);
|
||||
|
||||
resolve(res.data.route.paths[0] || {});
|
||||
} else {
|
||||
resolve(undefined);
|
||||
@ -722,14 +897,22 @@ export default {
|
||||
},
|
||||
});
|
||||
});
|
||||
console.log("itemEnd", itemEnd);
|
||||
console.log("res", res);
|
||||
|
||||
if (res) {
|
||||
list[i].SERVERPART_DISTANCEGD = (
|
||||
Number(res.distance) / 1000
|
||||
).toFixed(2);
|
||||
}
|
||||
|
||||
let chargeObj = this.handleHaveRandomData();
|
||||
list[i].chargeObj = chargeObj;
|
||||
}
|
||||
}
|
||||
|
||||
console.log("listasdsadasdas", list);
|
||||
|
||||
_this.detailObj = {
|
||||
distanceNumber: distance,
|
||||
hour: timeObj.hourStr,
|
||||
@ -739,6 +922,8 @@ export default {
|
||||
servicePart: list,
|
||||
};
|
||||
|
||||
console.log("_this.detailObj", _this.detailObj);
|
||||
|
||||
uni.hideLoading();
|
||||
},
|
||||
// 转成几时几分
|
||||
@ -787,6 +972,14 @@ export default {
|
||||
},
|
||||
// 跳转去地图
|
||||
handleToMap(obj) {
|
||||
// console.log("this.loginType", this.loginType);
|
||||
|
||||
// if (this.loginType === "min") {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/thirdParty/gaodeLoad",
|
||||
// });
|
||||
// }
|
||||
|
||||
uni.openLocation({
|
||||
latitude: obj.latitude ? obj.latitude * 1 : obj.SERVERPART_Y * 1,
|
||||
longitude: obj.longitude ? obj.longitude * 1 : obj.SERVERPART_X * 1,
|
||||
@ -826,7 +1019,8 @@ export default {
|
||||
.main {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
background: #f6f7f8;
|
||||
// background: #f6f7f8;
|
||||
background: #f0f5ff;
|
||||
box-sizing: border-box;
|
||||
padding: 12px 16px 24rpx;
|
||||
.content {
|
||||
@ -837,7 +1031,7 @@ export default {
|
||||
border-radius: 8rpx;
|
||||
border: 2rpx solid #f3f3f3;
|
||||
box-sizing: border-box;
|
||||
padding: 16px;
|
||||
padding: 24px;
|
||||
.positionBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -920,13 +1114,13 @@ export default {
|
||||
display: inline-block;
|
||||
width: 2rpx;
|
||||
height: 22rpx;
|
||||
background: #716f69;
|
||||
background: #b8b7b4;
|
||||
margin: 0 12px;
|
||||
}
|
||||
}
|
||||
.rightTop {
|
||||
border-radius: 16px;
|
||||
// border: 1px solid #ae8d3e;
|
||||
border: 1px solid #ae8d3e;
|
||||
padding: 14rpx 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
@ -947,7 +1141,7 @@ export default {
|
||||
|
||||
.roadConditions {
|
||||
width: 100%;
|
||||
margin-top: 8px;
|
||||
margin-top: 8rpx;
|
||||
.roadTop {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
@ -955,7 +1149,7 @@ export default {
|
||||
.stateIcon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 8px;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.stateText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
@ -993,7 +1187,7 @@ export default {
|
||||
}
|
||||
|
||||
.serviceBox {
|
||||
margin-top: 40rpx;
|
||||
margin-top: 32rpx;
|
||||
.serviceTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
@ -1010,6 +1204,8 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 24rpx;
|
||||
border-bottom: 1px solid #f5f6f7;
|
||||
padding-bottom: 20rpx;
|
||||
.leftItem {
|
||||
width: 100%;
|
||||
// height: 144rpx;
|
||||
@ -1111,7 +1307,7 @@ export default {
|
||||
.distanceIcon {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.distanceNumber {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
@ -1129,7 +1325,7 @@ export default {
|
||||
width: 2rpx;
|
||||
height: 22rpx;
|
||||
background: #e7e7e6;
|
||||
margin: 0 12px;
|
||||
margin: 0 12rpx;
|
||||
}
|
||||
.address {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
@ -1200,52 +1396,111 @@ export default {
|
||||
margin-top: 8rpx;
|
||||
.chargeItem {
|
||||
width: 100%;
|
||||
padding: 8rpx;
|
||||
background: #f6f6f6;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-radius: 8rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 0 16rpx;
|
||||
margin-bottom: 14rpx;
|
||||
.chargeItemLabel {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.chargeItemValue {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #130f05;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
.empty {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
margin-bottom: 12rpx;
|
||||
.itemLeft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.imgIcon {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
.chargeTypeName {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 36rpx;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin: 0 4rpx;
|
||||
}
|
||||
}
|
||||
.itemRight {
|
||||
background: #f5f6f7;
|
||||
border-radius: 4rpx;
|
||||
padding: 4rpx 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.emptyText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #130f05;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.use {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.sum {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
font-size: 28rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
line-height: 32rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
// width: 100%;
|
||||
// padding: 8rpx;
|
||||
// background: #f6f6f6;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: space-between;
|
||||
// border-radius: 8rpx;
|
||||
// box-sizing: border-box;
|
||||
// padding: 0 16rpx;
|
||||
// margin-bottom: 14rpx;
|
||||
// .chargeItemLabel {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 24rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// .chargeItemValue {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 24rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 36rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// .empty {
|
||||
// font-family: DINAlternate, DINAlternate;
|
||||
// font-weight: bold;
|
||||
// font-size: 24rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 36rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// margin: 0 4rpx;
|
||||
// }
|
||||
// .sum {
|
||||
// font-family: DINAlternate, DINAlternate;
|
||||
// font-weight: bold;
|
||||
// font-size: 24rpx;
|
||||
// color: #716f69;
|
||||
// line-height: 36rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
160
pages/travelNavigation/test.vue
Normal file
@ -0,0 +1,160 @@
|
||||
<template>
|
||||
<view class="uni-container">
|
||||
<button @click="func1">获取权限</button>
|
||||
<button @click="func2">注册隐私协议</button>
|
||||
<button @click="func3">注册APPkey</button>
|
||||
<button @click="func4">传入目的地地址直接导航到目的地</button>
|
||||
|
||||
<button @click="func5">传入起始地和目的地</button>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
// TODO 修复Android v3 加载过慢问题
|
||||
// #ifdef APP-PLUS
|
||||
var domModule = weex.requireModule("dom");
|
||||
domModule.addRule("fontFace", {
|
||||
fontFamily: "uniicons",
|
||||
src: "url('/static/uni.ttf')",
|
||||
});
|
||||
// #endif
|
||||
export default {
|
||||
props: {
|
||||
hasLeftWin: {
|
||||
type: Boolean,
|
||||
},
|
||||
leftWinActive: {
|
||||
type: String,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
list: [],
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
func1() {
|
||||
// 检查是否已经授权
|
||||
const context = plus.android.runtimeMainActivity();
|
||||
const PackageManager = plus.android.importClass(
|
||||
"android.content.pm.PackageManager"
|
||||
);
|
||||
const hasPermission =
|
||||
context.checkCallingOrSelfPermission(
|
||||
"android.permission.ACCESS_FINE_LOCATION"
|
||||
) === PackageManager.PERMISSION_GRANTED;
|
||||
|
||||
// true 的时候 就是有了位置权限
|
||||
if (hasPermission) {
|
||||
let seatInfo = uni.getStorageSync("seatInfo");
|
||||
if (seatInfo) {
|
||||
return JSON.parse(seatInfo);
|
||||
} else {
|
||||
plus.geolocation.getCurrentPosition(async function (position) {
|
||||
console.log("当前位置:", position);
|
||||
let res = position.coords;
|
||||
let seatInfo = {
|
||||
latitude: res.latitude,
|
||||
longitude: res.longitude,
|
||||
};
|
||||
uni.setStorageSync("seatInfo", JSON.stringify(seatInfo));
|
||||
uni.setStorageSync("actualLocation", JSON.stringify(seatInfo));
|
||||
_this.seat = seatInfo;
|
||||
let latitude = res.latitude;
|
||||
let longitude = res.longitude;
|
||||
return {
|
||||
latitude: latitude,
|
||||
longitude: longitude,
|
||||
};
|
||||
});
|
||||
}
|
||||
} else {
|
||||
uni.showModal({
|
||||
title: "注意",
|
||||
content:
|
||||
"拒绝授权位置服务会导致小程序功能无法正常使用,建议授权位置信息",
|
||||
confirmText: "去设置",
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
const main = plus.android.runtimeMainActivity();
|
||||
const Intent = plus.android.importClass("android.content.Intent");
|
||||
const Settings = plus.android.importClass(
|
||||
"android.provider.Settings"
|
||||
);
|
||||
const intent = new Intent(
|
||||
Settings.ACTION_APPLICATION_DETAILS_SETTINGS
|
||||
);
|
||||
const uri = plus.android.invoke(
|
||||
"android.net.Uri",
|
||||
"parse",
|
||||
"package:" + main.getPackageName()
|
||||
);
|
||||
intent.setData(uri);
|
||||
main.startActivity(intent);
|
||||
uni.switchTab({
|
||||
url: "/pages/home/index",
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
},
|
||||
func2() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
addModule.auth(
|
||||
"692fb313cabed1578321a0f2d7ad74aa",
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
func3() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
addModule.reg(
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
func4() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
addModule.nav(
|
||||
39.917337,
|
||||
116.397056,
|
||||
"博物院",
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
func5() {
|
||||
const addModule = uni.requireNativePlugin("AMapModule");
|
||||
addModule.navfrom(
|
||||
39.904556,
|
||||
116.427231,
|
||||
"火车站",
|
||||
39.917337,
|
||||
116.397056,
|
||||
"博物院",
|
||||
(suc) => {
|
||||
console.log(suc);
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -25,7 +25,10 @@
|
||||
open-type="chooseAvatar"
|
||||
@chooseavatar="onChooseAvatar"
|
||||
>
|
||||
<image class="headerImg" :src="user.MEMBERSHIP_HEADIMAGEURL" />
|
||||
<image
|
||||
class="headerImg"
|
||||
:src="WXProfile || user.MEMBERSHIP_HEADIMAGEURL"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="userDetail" @click="goRegister()">
|
||||
@ -88,24 +91,20 @@
|
||||
<div class="funName">失物招领</div>
|
||||
</div>
|
||||
|
||||
<div class="funItem" @click="isGo('/pages/noDataPage/index')">
|
||||
<image class="funIcon" src="/static/images/home/customerService.svg" />
|
||||
<div class="funName">客户服务</div>
|
||||
</div>
|
||||
|
||||
<div class="funItem" @click="isGo('/pages/noDataPage/index')">
|
||||
<image class="funIcon" src="/static/images/home/serviceHotline.svg" />
|
||||
<div class="funName">服务热线</div>
|
||||
</div>
|
||||
<div class="funItem">
|
||||
<image class="funIcon" src="/static/images/home/noiLike.svg" />
|
||||
<image class="funIcon" src="/static/images/home/iLike.svg" />
|
||||
<div class="funName gray">我的关注</div>
|
||||
</div>
|
||||
|
||||
<div class="funItem">
|
||||
<image
|
||||
class="funIcon"
|
||||
src="/static/images/home/nocustomerService.svg"
|
||||
/>
|
||||
<div class="funName gray">客户服务</div>
|
||||
</div>
|
||||
|
||||
<div class="funItem">
|
||||
<image class="funIcon" src="/static/images/home/noserviceHotline.svg" />
|
||||
<div class="funName gray">服务热线</div>
|
||||
</div>
|
||||
|
||||
<div class="funItem" v-if="loginType && loginType !== 'min'">
|
||||
<image class="funIcon" src="/static/images/home/closeLogin.png" />
|
||||
<div class="funName gray">退出登录</div>
|
||||
@ -478,12 +477,85 @@ export default {
|
||||
}
|
||||
this.getMember();
|
||||
this.getDistributionCount();
|
||||
this.handleGetUserInfo();
|
||||
},
|
||||
methods: {
|
||||
// 微信用户头像
|
||||
onChooseAvatar(e) {
|
||||
async onChooseAvatar(e) {
|
||||
console.log("e", e);
|
||||
this.WXProfile = e.detail.avatarUrl;
|
||||
// this.WXProfile = e.detail.avatarUrl;
|
||||
// console.log("this.WXProfile", this.WXProfile);
|
||||
// if (!this.WXProfile) {
|
||||
// return;
|
||||
// }
|
||||
let _this = this;
|
||||
console.log("this.user", this.user);
|
||||
uni.saveFile({
|
||||
tempFilePath: e.detail.avatarUrl,
|
||||
success: async (res) => {
|
||||
console.log("res.savedFilePath", res.savedFilePath);
|
||||
|
||||
let req = {
|
||||
membershipId: this.user.MEMBERSHIP_ID,
|
||||
headImgUrl: res.savedFilePath,
|
||||
};
|
||||
_this.WXProfile = res.savedFilePath;
|
||||
const userInfoData = await _this.$api.$get(
|
||||
"/WeChat/UpdateMemberInfo",
|
||||
req
|
||||
);
|
||||
console.log("userInfoData", userInfoData);
|
||||
if (userInfoData.Result_Code === 100) {
|
||||
_this.handleGetUserInfo();
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
console.log("err", err);
|
||||
|
||||
uni.showToast({
|
||||
title: err,
|
||||
icon: "none",
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
// 拿用户最新的user信息
|
||||
handleGetUserInfo() {
|
||||
let _this = this;
|
||||
_this.$api
|
||||
.getCoop({
|
||||
action_type: "GetMembershipInfo",
|
||||
WechatUserId: _this.user.WechatUserId,
|
||||
})
|
||||
.then(function (data) {
|
||||
if (data.ResultCode === "100") {
|
||||
let _data = data;
|
||||
console.log("_data", _data);
|
||||
_this.user.MEMBERSHIP_ID = _data.Data.MEMBERSHIP_ID || "";
|
||||
_this.user.MEMBERSHIP_NAME = _data.Data.MEMBERSHIP_NAME || "";
|
||||
_this.user.MEMBERSHIP_LEVEL_TEXT =
|
||||
_data.Data.MEMBERSHIP_LEVEL_TEXT || "";
|
||||
_this.user.COUPON_COUNT = _data.Data.COUPON_COUNT || "";
|
||||
_this.user.PENDORDER_COUNT = _data.Data.PENDORDER_COUNT || "";
|
||||
_this.user.RESERVATION_COUNT = _data.Data.RESERVATION_COUNT || "";
|
||||
_this.user.ACCOUNT_BALANCE = _data.Data.ACCOUNT_BALANCE || "";
|
||||
_this.user.ISPLUS = _data.Data.ISPLUS || "";
|
||||
_this.user.INDUSTRY_MEMBERSHIP_ID =
|
||||
_data.Data.INDUSTRY_MEMBERSHIP_ID || "";
|
||||
_this.user.MEMBERSHIP_TYPE = _data.Data.MEMBERSHIP_TYPE || "";
|
||||
_this.user.MEMBERSHIP_LEVEL = _data.Data.MEMBERSHIP_LEVEL || "";
|
||||
_this.user.InviteCode = _data.Data.InviteCode || "";
|
||||
_this.user.MEMBERSHIP_POINT = _data.Data.MEMBERSHIP_POINT || "";
|
||||
_this.user.MEMBERSHIP_MOBILEPHONE =
|
||||
_data.Data.MEMBERSHIP_MOBILEPHONE || "";
|
||||
_this.WXProfile = _data.Data.MEMBERSHIP_HEADIMAGEURL;
|
||||
// _this.setUser(user);
|
||||
_this.$store.commit("setUser", user);
|
||||
} else {
|
||||
// _this.setUser({});
|
||||
_this.$store.commit("setUser", user);
|
||||
}
|
||||
});
|
||||
},
|
||||
goRegister() {
|
||||
if (this.user.MEMBERSHIP_NAME) {
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB |
15
static/images/home/92Icon.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组_11@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-534.000000, -272.000000)">
|
||||
<g id="编组-11" transform="translate(534.000000, 272.000000)">
|
||||
<rect id="矩形" stroke="#E7E7E6" stroke-width="0.5" x="0.25" y="0.25" width="35.5" height="35.5" rx="17.75"></rect>
|
||||
<g id="92" transform="translate(10.000000, 12.000000)" fill="#716F69" fill-rule="nonzero">
|
||||
<path d="M1.68421053,10.2608696 C2.81704261,10.2608696 3.71177945,10.0184453 4.36842105,9.53359684 C5.02506266,9.04874835 5.40350877,8.25823452 5.5037594,7.16205534 L5.54887218,7.0513834 C5.13784461,7.29380764 4.50626566,7.41501976 3.65413534,7.41501976 L2.73684211,7.41501976 C1.83458647,7.40447958 1.15288221,7.19104084 0.691729323,6.77470356 C0.230576441,6.35836627 0,5.70223979 0,4.80632411 C0,4.60606061 0.00501253133,4.44795784 0.015037594,4.33201581 L0.0902255639,3.49407115 C0.210526316,2.21870883 0.581453634,1.31752306 1.20300752,0.790513834 C1.8245614,0.263504611 2.71177945,0 3.86466165,0 L4.2556391,0 C5.41854637,0 6.26315789,0.247694335 6.78947368,0.743083004 C7.31578947,1.23847167 7.57894737,2.07641634 7.57894737,3.256917 C7.57894737,3.72068511 7.55388471,4.15283267 7.5037594,4.55335968 L7.23308271,6.8458498 C7.02255639,8.55335968 6.45112782,9.83926219 5.51879699,10.7035573 C4.58646617,11.5678524 3.24310777,12 1.4887218,12 C1.11779449,12 0.671679198,11.9789196 0.15037594,11.9367589 L0.345864662,10.1818182 C0.837092732,10.2345191 1.28320802,10.2608696 1.68421053,10.2608696 Z M1.68421053,4.15810277 C1.64411028,4.69565217 1.73684211,5.09617918 1.96240602,5.35968379 C2.18796992,5.62318841 2.58646617,5.75494071 3.15789474,5.75494071 L4.18045113,5.75494071 C4.74185464,5.74440053 5.15538847,5.60474308 5.42105263,5.33596838 C5.68671679,5.06719368 5.84461153,4.66930171 5.89473684,4.14229249 L5.93984962,3.71541502 C5.94987469,3.61001318 5.95488722,3.46772069 5.95488722,3.28853755 C5.95488722,2.87747036 5.89724311,2.56126482 5.78195489,2.33992095 C5.66666667,2.11857708 5.47368421,1.96310935 5.20300752,1.87351779 C4.93233083,1.78392622 4.54636591,1.73913043 4.04511278,1.73913043 C3.49373434,1.73913043 3.06015038,1.7944664 2.7443609,1.90513834 C2.42857143,2.01581028 2.19548872,2.19762846 2.04511278,2.45059289 C1.89473684,2.70355731 1.79448622,3.0513834 1.7443609,3.49407115 L1.68421053,4.15810277 Z" id="形状"></path>
|
||||
<path d="M14.2105263,3.49407115 C14.2606516,2.95652174 14.1328321,2.54018445 13.8270677,2.24505929 C13.5213033,1.94993412 13.0325815,1.80237154 12.3609023,1.80237154 C11.3984962,1.80237154 10.4862155,1.88142292 9.62406015,2.03952569 L9.83458647,0.252964427 C10.7969925,0.126482213 11.7042607,0.0632411067 12.556391,0.0632411067 C13.7192982,0.0632411067 14.5839599,0.347826087 15.1503759,0.916996047 C15.716792,1.48616601 16,2.20816864 16,3.08300395 C16,3.2516469 15.9949875,3.37812912 15.9849624,3.46245059 C15.9047619,4.12648221 15.7343358,4.6798419 15.4736842,5.12252964 C15.2130326,5.56521739 14.8671679,5.94202899 14.4360902,6.25296443 C14.0050125,6.56389987 13.433584,6.88801054 12.7218045,7.22529644 C12.2105263,7.46772069 11.7869674,7.70487484 11.4511278,7.93675889 C11.1152882,8.16864295 10.8320802,8.46903821 10.6015038,8.83794466 C10.3709273,9.20685112 10.2205514,9.66007905 10.1503759,10.1976285 L15.1278195,10.1976285 L14.9323308,11.9367589 L8.19548872,11.9367589 L8.42105263,10.1976285 C8.58145363,9.12252964 8.97994987,8.2345191 9.61654135,7.53359684 C10.2531328,6.83267457 11.0025063,6.28722003 11.8646617,5.8972332 C12.4461153,5.62318841 12.8746867,5.40447958 13.1503759,5.24110672 C13.4260652,5.07773386 13.6591479,4.85902503 13.8496241,4.58498024 C14.0401003,4.31093544 14.160401,3.94729908 14.2105263,3.49407115 Z" id="路径"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
15
static/images/home/95Icon.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组_12@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-586.000000, -272.000000)">
|
||||
<g id="编组-12" transform="translate(586.000000, 272.000000)">
|
||||
<rect id="矩形" stroke="#E7E7E6" stroke-width="0.5" x="0.25" y="0.25" width="35.5" height="35.5" rx="17.75"></rect>
|
||||
<g id="95" transform="translate(10.000000, 12.000000)" fill="#716F69" fill-rule="nonzero">
|
||||
<path d="M1.70018975,10.2608696 C2.84376977,10.2608696 3.74699557,10.0184453 4.40986717,9.53359684 C5.07273877,9.04874835 5.45477546,8.25823452 5.55597723,7.16205534 L5.60151803,7.0513834 C5.18659077,7.29380764 4.54901961,7.41501976 3.68880455,7.41501976 L2.76280835,7.41501976 C1.85199241,7.40447958 1.16382037,7.19104084 0.69829222,6.77470356 C0.232764073,6.35836627 0,5.70223979 0,4.80632411 C0,4.60606061 0.00506008855,4.44795784 0.0151802657,4.33201581 L0.0910815939,3.49407115 C0.212523719,2.21870883 0.586970272,1.31752306 1.21442125,0.790513834 C1.84187223,0.263504611 2.73750791,0 3.90132827,0 L4.29601518,0 C5.46995572,0 6.32258065,0.247694335 6.85388994,0.743083004 C7.38519924,1.23847167 7.65085389,2.07641634 7.65085389,3.256917 C7.65085389,3.72068511 7.62555345,4.15283267 7.57495256,4.55335968 L7.30170778,6.8458498 C7.08918406,8.55335968 6.51233397,9.83926219 5.5711575,10.7035573 C4.62998102,11.5678524 3.27387729,12 1.5028463,12 C1.12839975,12 0.678051866,11.9789196 0.151802657,11.9367589 L0.34914611,10.1818182 C0.845034788,10.2345191 1.29538267,10.2608696 1.70018975,10.2608696 Z M1.70018975,4.15810277 C1.65970904,4.69565217 1.75332068,5.09617918 1.98102467,5.35968379 C2.20872865,5.62318841 2.61100569,5.75494071 3.18785579,5.75494071 L4.22011385,5.75494071 C4.78684377,5.74440053 5.20430108,5.60474308 5.47248577,5.33596838 C5.74067046,5.06719368 5.90006325,4.66930171 5.95066414,4.14229249 L5.99620493,3.71541502 C6.00632511,3.61001318 6.0113852,3.46772069 6.0113852,3.28853755 C6.0113852,2.87747036 5.95319418,2.56126482 5.83681214,2.33992095 C5.72043011,2.11857708 5.5256167,1.96310935 5.25237192,1.87351779 C4.97912713,1.78392622 4.58950032,1.73913043 4.08349146,1.73913043 C3.52688172,1.73913043 3.08918406,1.7944664 2.77039848,1.90513834 C2.4516129,2.01581028 2.21631879,2.19762846 2.06451613,2.45059289 C1.91271347,2.70355731 1.8115117,3.0513834 1.76091082,3.49407115 L1.70018975,4.15810277 Z" id="形状"></path>
|
||||
<path d="M9.21442125,6.33992095 L9.21442125,6.32411067 L9.95825427,0.0632411067 L16,0.0632411067 L15.8026565,1.80237154 L11.5521822,1.80237154 L11.2182163,4.64822134 L12.2808349,4.64822134 C14.6388362,4.64822134 15.8178368,5.55467721 15.8178368,7.36758893 C15.8178368,7.56785244 15.8127767,7.71541502 15.8026565,7.81027668 L15.6963947,8.9486166 C15.5648324,9.98155468 15.142315,10.7378129 14.4288425,11.2173913 C13.71537,11.6969697 12.6755218,11.9367589 11.3092979,11.9367589 C10.459203,11.9367589 9.55850727,11.8735178 8.60721063,11.7470356 L8.81973435,10.0079051 C9.34598355,10.0711462 9.79633144,10.1185771 10.170778,10.1501976 C10.5452245,10.1818182 10.9905123,10.1976285 11.5066414,10.1976285 C12.3162555,10.1976285 12.9006958,10.0869565 13.259962,9.86561265 C13.6192283,9.64426877 13.829222,9.2859025 13.8899431,8.79051383 L13.9810247,7.96837945 C14.0215054,7.39920949 13.8950032,6.98814229 13.601518,6.73517787 C13.3080329,6.48221344 12.7868438,6.35046113 12.0379507,6.33992095 L9.21442125,6.33992095 Z" id="路径"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
@ -2,14 +2,10 @@
|
||||
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_18@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-564.000000, -318.000000)">
|
||||
<g id="编组" transform="translate(564.000000, 318.000000)">
|
||||
<g id="切图汇总" transform="translate(-588.000000, -318.000000)">
|
||||
<g id="服务区图标/花洒备份-3" transform="translate(588.000000, 318.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="20" height="20"></rect>
|
||||
<polygon id="矩形" stroke="#BA922F" stroke-width="1.25" points="5 6.5625 15 6.5625 15 18.125 5 18.125"></polygon>
|
||||
<path d="" id="矩形" stroke="#BA922F" stroke-width="2.5"></path>
|
||||
<path d="" id="矩形备份" stroke="#BA922F" stroke-width="2.5"></path>
|
||||
<path d="M7.375,6.5625 L6.25,6.5625 L6.25,4.0625 L8.75,4.0625 M11.25,4.0625 L13.75,4.0625 L13.75,6.5625 L12.625,6.5625" id="形状" stroke="#BA922F" stroke-width="1.25"></path>
|
||||
<path d="M8.125,4.0625 L8.125,2.8125 C8.125,2.12214406 8.68464406,1.5625 9.375,1.5625 L10.625,1.5625 C11.3153559,1.5625 11.875,2.12214406 11.875,2.8125 L11.875,4.0625" id="路径" stroke="#BA922F" stroke-width="1.25"></path>
|
||||
<path d="M10.625,0.9375 C11.6605339,0.9375 12.5,1.77696609 12.5,2.8125 L12.5,3.4375 L14.375,3.4375 L14.375,5.9375 L15.625,5.9375 L15.625,18.75 L4.375,18.75 L4.375,5.9375 L5.625,5.9375 L5.625,3.4375 L7.5,3.4375 L7.5,2.8125 C7.5,1.77696609 8.33946609,0.9375 9.375,0.9375 L10.625,0.9375 Z M14.375,7.1875 L5.625,7.1875 L5.625,17.5 L14.375,17.5 L14.375,14.6875 L8.75,14.6875 L8.75,13.4375 L14.375,13.4375 L14.375,10.9375 L8.75,10.9375 L8.75,9.6875 L14.375,9.6875 L14.375,7.1875 Z M8.75,4.6875 L6.875,4.6875 L6.875,5.9375 L13.125,5.9375 L13.125,4.6875 L11.25,4.6875 L11.25,2.8125 C11.25,2.46732203 10.970178,2.1875 10.625,2.1875 L9.375,2.1875 C9.02982203,2.1875 8.75,2.46732203 8.75,2.8125 L8.75,4.6875 Z" id="形状结合" fill="#BA922F" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
12
static/images/home/changingTable.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_33备份@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-536.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-15" transform="translate(536.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M3,9 L3,14 L2,14 L2,6 L1,6 L1,2 L15,2 L15,6 L14,6 L14,14 L13,14 L13,12 L9,12 L9,9 L3,9 Z M13,9 L10,9 L10,11 L13,11 L13,9 Z M13,6 L10,6 L10,8 L13,8 L13,6 Z M14,3 L2,3 L2,5 L14,5 L14,3 Z M3,8 L9,8 L9,6 L3,6 L3,8 Z" id="形状结合" fill="#090C1A" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 927 B |
BIN
static/images/home/chargeAndReplace.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
14
static/images/home/couponLogo.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>图标/我的_未选中备份_6</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-398.000000, -507.000000)">
|
||||
<g id="图标/我的-未选中备份" transform="translate(398.000000, 507.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M14,2.5 C14.2761424,2.5 14.5,2.72385763 14.5,3 L14.4995655,5.55009729 C13.3586618,5.78190033 12.5,6.79067455 12.5,8 C12.5,9.20932545 13.3586618,10.2180997 14.4995655,10.4499027 L14.5,13 C14.5,13.2761424 14.2761424,13.5 14,13.5 L2,13.5 C1.72385763,13.5 1.5,13.2761424 1.5,13 L1.49952419,10.4500875 C2.6408814,10.2186362 3.5,9.20964705 3.5,8 C3.5,6.79035295 2.6408814,5.78136379 1.49952419,5.54991252 L1.5,3 C1.5,2.72385763 1.72385763,2.5 2,2.5 L14,2.5 Z" id="形状结合" stroke="#716F69"></path>
|
||||
<rect id="矩形" fill="#716F69" x="5.5" y="6" width="5" height="1"></rect>
|
||||
<rect id="矩形备份" fill="#716F69" x="5.5" y="9" width="5" height="1"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
12
static/images/home/crib.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_33备份 2@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-564.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-15" transform="translate(564.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M2.5,2.5 L2.5,4.5 L13.5,4.5 L13.5,2.5 L14.5,2.5 L14.5,13.5 L13.5,13.5 L13.5,11.5 L2.5,11.5 L2.5,13.5 L1.5,13.5 L1.5,2.5 L2.5,2.5 Z M4.5,5.5 L2.5,5.5 L2.5,10.5 L4.5,10.5 L4.5,5.5 Z M7.5,5.5 L5.5,5.5 L5.5,10.5 L7.5,10.5 L7.5,5.5 Z M8.5,5.5 L8.5,10.5 L10.5,10.5 L10.5,5.5 L8.5,5.5 Z M11.5,10.5 L13.5,10.5 L13.5,5.5 L11.5,5.5 L11.5,10.5 Z" id="形状结合" fill="#090C1A"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
22
static/images/home/funWaitIcon.svg
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="60px" height="60px" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>图标/图表空状态@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="商业BI切图" transform="translate(-380.000000, -301.000000)">
|
||||
<g id="编组-3" transform="translate(100.000000, 80.000000)">
|
||||
<g id="图标/图表空状态" transform="translate(280.000000, 221.000000)">
|
||||
<g id="编组-4" transform="translate(5.000000, 2.000000)">
|
||||
<path d="M0,40 L50,40 L50,50 C50,51.0309315 48.9166396,52.0011353 47.0082432,52.8486135 L46.5867671,53.0283149 L46.5867671,53.0283149 L46.1405997,53.2041238 C46.0642122,53.2330934 45.9868195,53.2618952 45.9084333,53.2905263 L45.4262879,53.4602423 L45.4262879,53.4602423 L44.9208633,53.625727 L44.9208633,53.625727 L44.3927243,53.7868448 L44.3927243,53.7868448 L43.8424358,53.94346 C43.7489066,53.9691798 43.6544781,53.9947063 43.559162,54.0200368 L42.9767082,54.1696441 L42.9767082,54.1696441 L42.3735171,54.31441 L42.3735171,54.31441 L41.7501534,54.4541989 C41.6446097,54.4770747 41.5382491,54.4997376 41.4310833,54.5221846 L40.7785198,54.6542538 L40.7785198,54.6542538 L40.1071959,54.7810072 L40.1071959,54.7810072 L39.4176764,54.9023091 L39.4176764,54.9023091 L38.7105261,55.018024 L38.7105261,55.018024 L37.98631,55.1280163 L37.98631,55.1280163 L37.2455928,55.2321505 L37.2455928,55.2321505 L36.4889394,55.3302909 L36.4889394,55.3302909 L35.7169146,55.4223021 L35.7169146,55.4223021 L34.9300834,55.5080484 L34.9300834,55.5080484 L34.1290104,55.5873944 L34.1290104,55.5873944 L33.3142607,55.6602044 L33.3142607,55.6602044 L32.4863991,55.7263428 L32.4863991,55.7263428 L31.6459903,55.7856742 L31.6459903,55.7856742 L30.7935993,55.8380629 L30.7935993,55.8380629 L29.9297908,55.8833734 L29.9297908,55.8833734 L29.0551299,55.9214701 L29.0551299,55.9214701 L28.1701812,55.9522175 L28.1701812,55.9522175 L27.2755096,55.97548 L27.2755096,55.97548 L26.37168,55.9911219 L26.37168,55.9911219 L25.4592573,55.9990079 L25.4592573,55.9990079 L24.5407427,55.9990079 L24.5407427,55.9990079 L23.62832,55.9911219 L23.62832,55.9911219 L22.7244904,55.97548 L22.7244904,55.97548 L21.8298188,55.9522175 L21.8298188,55.9522175 L20.9448701,55.9214701 L20.9448701,55.9214701 L20.0702092,55.8833734 L20.0702092,55.8833734 L19.2064007,55.8380629 L19.2064007,55.8380629 L18.3540097,55.7856742 L18.3540097,55.7856742 L17.5136009,55.7263428 L17.5136009,55.7263428 L16.6857393,55.6602044 L16.6857393,55.6602044 L15.8709896,55.5873944 L15.8709896,55.5873944 L15.0699166,55.5080484 L15.0699166,55.5080484 L14.2830854,55.4223021 L14.2830854,55.4223021 L13.5110606,55.3302909 L13.5110606,55.3302909 L12.7544072,55.2321505 L12.7544072,55.2321505 L12.01369,55.1280163 L12.01369,55.1280163 L11.2894739,55.018024 L11.2894739,55.018024 L10.5823236,54.9023091 L10.5823236,54.9023091 L9.89280409,54.7810072 L9.89280409,54.7810072 L9.22148017,54.6542538 L9.22148017,54.6542538 L8.5689167,54.5221846 C8.46175087,54.4997376 8.35539026,54.4770747 8.24984664,54.4541989 L7.62648292,54.31441 L7.62648292,54.31441 L7.02329177,54.1696441 L7.02329177,54.1696441 L6.44083803,54.0200368 L6.44083803,54.0200368 L5.87968656,53.8657237 L5.87968656,53.8657237 L5.3404022,53.7068402 L5.3404022,53.7068402 L4.8235498,53.5435221 C4.73930845,53.5159403 4.65602529,53.4881795 4.5737121,53.4602423 L4.09156674,53.2905263 C4.0131805,53.2618952 3.93578776,53.2330934 3.85940029,53.2041238 L3.41323287,53.0283149 L3.41323287,53.0283149 L2.99175681,52.8486135 C1.15151737,52.0314024 0.0784352247,51.1000753 0.00413374389,50.1102217 L0,50 L0,40 Z" id="路径" fill="#CCCED5"></path>
|
||||
<ellipse id="椭圆形" fill="#EDEFF5" cx="25" cy="40" rx="25" ry="6"></ellipse>
|
||||
<path d="M0,24 L50,24 L50,34 C50,35.0309315 48.9166396,36.0011353 47.0082432,36.8486135 L46.5867671,37.0283149 L46.5867671,37.0283149 L46.1405997,37.2041238 C46.0642122,37.2330934 45.9868195,37.2618952 45.9084333,37.2905263 L45.4262879,37.4602423 L45.4262879,37.4602423 L44.9208633,37.625727 L44.9208633,37.625727 L44.3927243,37.7868448 L44.3927243,37.7868448 L43.8424358,37.94346 C43.7489066,37.9691798 43.6544781,37.9947063 43.559162,38.0200368 L42.9767082,38.1696441 L42.9767082,38.1696441 L42.3735171,38.31441 L42.3735171,38.31441 L41.7501534,38.4541989 C41.6446097,38.4770747 41.5382491,38.4997376 41.4310833,38.5221846 L40.7785198,38.6542538 L40.7785198,38.6542538 L40.1071959,38.7810072 L40.1071959,38.7810072 L39.4176764,38.9023091 L39.4176764,38.9023091 L38.7105261,39.018024 L38.7105261,39.018024 L37.98631,39.1280163 L37.98631,39.1280163 L37.2455928,39.2321505 L37.2455928,39.2321505 L36.4889394,39.3302909 L36.4889394,39.3302909 L35.7169146,39.4223021 L35.7169146,39.4223021 L34.9300834,39.5080484 L34.9300834,39.5080484 L34.1290104,39.5873944 L34.1290104,39.5873944 L33.3142607,39.6602044 L33.3142607,39.6602044 L32.4863991,39.7263428 L32.4863991,39.7263428 L31.6459903,39.7856742 L31.6459903,39.7856742 L30.7935993,39.8380629 L30.7935993,39.8380629 L29.9297908,39.8833734 L29.9297908,39.8833734 L29.0551299,39.9214701 L29.0551299,39.9214701 L28.1701812,39.9522175 L28.1701812,39.9522175 L27.2755096,39.97548 L27.2755096,39.97548 L26.37168,39.9911219 L26.37168,39.9911219 L25.4592573,39.9990079 L25.4592573,39.9990079 L24.5407427,39.9990079 L24.5407427,39.9990079 L23.62832,39.9911219 L23.62832,39.9911219 L22.7244904,39.97548 L22.7244904,39.97548 L21.8298188,39.9522175 L21.8298188,39.9522175 L20.9448701,39.9214701 L20.9448701,39.9214701 L20.0702092,39.8833734 L20.0702092,39.8833734 L19.2064007,39.8380629 L19.2064007,39.8380629 L18.3540097,39.7856742 L18.3540097,39.7856742 L17.5136009,39.7263428 L17.5136009,39.7263428 L16.6857393,39.6602044 L16.6857393,39.6602044 L15.8709896,39.5873944 L15.8709896,39.5873944 L15.0699166,39.5080484 L15.0699166,39.5080484 L14.2830854,39.4223021 L14.2830854,39.4223021 L13.5110606,39.3302909 L13.5110606,39.3302909 L12.7544072,39.2321505 L12.7544072,39.2321505 L12.01369,39.1280163 L12.01369,39.1280163 L11.2894739,39.018024 L11.2894739,39.018024 L10.5823236,38.9023091 L10.5823236,38.9023091 L9.89280409,38.7810072 L9.89280409,38.7810072 L9.22148017,38.6542538 L9.22148017,38.6542538 L8.5689167,38.5221846 C8.46175087,38.4997376 8.35539026,38.4770747 8.24984664,38.4541989 L7.62648292,38.31441 L7.62648292,38.31441 L7.02329177,38.1696441 L7.02329177,38.1696441 L6.44083803,38.0200368 L6.44083803,38.0200368 L5.87968656,37.8657237 L5.87968656,37.8657237 L5.3404022,37.7068402 L5.3404022,37.7068402 L4.8235498,37.5435221 C4.73930845,37.5159403 4.65602529,37.4881795 4.5737121,37.4602423 L4.09156674,37.2905263 C4.0131805,37.2618952 3.93578776,37.2330934 3.85940029,37.2041238 L3.41323287,37.0283149 L3.41323287,37.0283149 L2.99175681,36.8486135 C1.15151737,36.0314024 0.0784352247,35.1000753 0.00413374389,34.1102217 L0,34 L0,24 Z" id="路径" fill="#CCCED5"></path>
|
||||
<path d="M43,25 L43.0008916,38.1636315 C38.5523136,39.2711871 32.3457098,39.9692334 25.4592573,39.9990079 L25,40 L25,25 L43,25 Z" id="路径" fill="#8B8FA0"></path>
|
||||
<ellipse id="蒙版" fill="#EDEFF5" cx="25" cy="24" rx="25" ry="6"></ellipse>
|
||||
<path d="M25,24 L43.1512527,28.1258708 C38.7467962,29.2416007 32.5754761,29.9515224 25.7123972,29.9976108 L25,30 L25,24 Z" id="路径" fill="#B4B8CC"></path>
|
||||
<path d="M15.5,0 L35.5,0 C36.3284271,-1.52179594e-16 37,0.671572875 37,1.5 L37,14.5 C37,15.3284271 36.3284271,16 35.5,16 L28,16 L28,16 L25.5,19.5 L23,16 L15.5,16 C14.6715729,16 14,15.3284271 14,14.5 L14,1.5 C14,0.671572875 14.6715729,1.52179594e-16 15.5,0 Z" id="矩形" fill="#8B8FA0"></path>
|
||||
<path d="M21.5,7 C21.7761424,7 22,7.22385763 22,7.5 L22,12 L19,12 L19,7.5 C19,7.22385763 19.2238576,7 19.5,7 L21.5,7 Z M26.5,8 C26.7761424,8 27,8.22385763 27,8.5 L27,12 L24,12 L24,8.5 C24,8.22385763 24.2238576,8 24.5,8 L26.5,8 Z M31.5,4 C31.7761424,4 32,4.22385763 32,4.5 L32,12 L29,12 L29,4.5 C29,4.22385763 29.2238576,4 29.5,4 L31.5,4 Z" id="形状结合" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.1 KiB |
BIN
static/images/home/lixiangIcon.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
14
static/images/home/markIcon.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/积分_2</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-436.000000, -356.000000)">
|
||||
<g id="服务区图标/积分" transform="translate(436.000000, 356.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M7,1.5 C9.64558296,1.5 11.8577317,2.44643303 11.9934075,3.86160102 L12,4 L12,6 L11,6 L11.0007915,5.54137998 C10.0834196,6.14367539 8.6233021,6.5 7,6.5 C5.37730316,6.5 3.91766921,6.14394105 3.0002349,5.54205359 L3,8 C3,8.71761707 4.76036159,9.5 7,9.5 L7,10.5 C5.37730316,10.5 3.91766921,10.1439411 3.0002349,9.54205359 L3,12 C3,12.7176171 4.76036159,13.5 7,13.5 L7,14.5 C4.26907566,14.5 2,13.4915219 2,12 L2,4 C2,2.50847807 4.26907566,1.5 7,1.5 Z M8.9,13 C8.9,13.2312005 9.82199874,13.6 11,13.6 C12.1780013,13.6 13.1,13.2312005 13.1,13 L13.9,13 C13.9,13.873369 12.5834225,14.4 11,14.4 C9.41657751,14.4 8.1,13.873369 8.1,13 L8.9,13 Z M8.9,11 C8.9,11.2312005 9.82199874,11.6 11,11.6 C12.1780013,11.6 13.1,11.2312005 13.1,11 L13.9,11 C13.9,11.873369 12.5834225,12.4 11,12.4 C9.41657751,12.4 8.1,11.873369 8.1,11 L8.9,11 Z M11,7.6 C12.5834225,7.6 13.9,8.126631 13.9,9 C13.9,9.873369 12.5834225,10.4 11,10.4 C9.41657751,10.4 8.1,9.873369 8.1,9 C8.1,8.126631 9.41657751,7.6 11,7.6 Z M11,8.4 C9.82199874,8.4 8.9,8.7687995 8.9,9 C8.9,9.2312005 9.82199874,9.6 11,9.6 C12.1780013,9.6 13.1,9.2312005 13.1,9 C13.1,8.7687995 12.1780013,8.4 11,8.4 Z M7,2.5 C4.76036159,2.5 3,3.28238293 3,4 C3,4.71761707 4.76036159,5.5 7,5.5 C9.23963841,5.5 11,4.71761707 11,4 C11,3.28238293 9.23963841,2.5 7,2.5 Z" id="形状结合" fill="#130F05" fill-rule="nonzero"></path>
|
||||
<polygon id="矩形" fill="#716F69" points="13.1013686 9 13.9013686 9 13.9013686 13 13.1013686 13"></polygon>
|
||||
<polygon id="矩形备份-2" fill="#716F69" points="8.10136862 9 8.90136862 9 8.90136862 13 8.10136862 13"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@ -5,14 +5,7 @@
|
||||
<g id="切图汇总" transform="translate(-172.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-2" transform="translate(172.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="编组" transform="translate(1.000000, 2.000000)">
|
||||
<path d="M11.6,4.4 C11.9589851,4.4 12.25,4.10898509 12.25,3.75 C12.25,3.39101491 11.9589851,3.1 11.6,3.1 C11.2410149,3.1 10.95,3.39101491 10.95,3.75 C10.95,4.10898509 11.2410149,4.4 11.6,4.4 Z M11.6,6.275 C11.9589851,6.275 12.25,5.98398509 12.25,5.625 C12.25,5.26601491 11.9589851,4.975 11.6,4.975 C11.2410149,4.975 10.95,5.26601491 10.95,5.625 C10.95,5.98398509 11.2410149,6.275 11.6,6.275 Z M11.6,8.15 C11.9589851,8.15 12.25,7.85898509 12.25,7.5 C12.25,7.14101491 11.9589851,6.85 11.6,6.85 C11.2410149,6.85 10.95,7.14101491 10.95,7.5 C10.95,7.85898509 11.2410149,8.15 11.6,8.15 Z" id="形状结合" fill="#130F05"></path>
|
||||
<rect id="矩形" fill="#130F05" x="9" y="1" width="1" height="10"></rect>
|
||||
<polygon id="矩形备份-2" fill="#130F05" points="11 10 12 10 12 12.5 11 12.5"></polygon>
|
||||
<rect id="矩形备份-3" fill="#130F05" x="2" y="10" width="1" height="2.5"></rect>
|
||||
<rect id="矩形" fill="#130F05" x="0" y="7" width="10" height="1" rx="0.5"></rect>
|
||||
<rect id="矩形" stroke="#130F05" x="0.5" y="0.5" width="13" height="10"></rect>
|
||||
</g>
|
||||
<path d="M4,14.5 L3,14.5 L3,13 L1,13 L1,2 L15,2 L15,13 L13,13 L13,14.5 L12,14.5 L12,13 L4,13 L4,14.5 Z M10,10 L2,10 L2,12 L10,12 L10,10 Z M14,3 L11,3 L11,12 L14,12 L14,3 Z M12.6,8.85 C12.9589851,8.85 13.25,9.14101491 13.25,9.5 C13.25,9.85898509 12.9589851,10.15 12.6,10.15 C12.2410149,10.15 11.95,9.85898509 11.95,9.5 C11.95,9.14101491 12.2410149,8.85 12.6,8.85 Z M10,3 L2,3 L2,9 L10,9 L10,3 Z M12.6,6.975 C12.9589851,6.975 13.25,7.26601491 13.25,7.625 C13.25,7.98398509 12.9589851,8.275 12.6,8.275 C12.2410149,8.275 11.95,7.98398509 11.95,7.625 C11.95,7.26601491 12.2410149,6.975 12.6,6.975 Z M12.6,5.1 C12.9589851,5.1 13.25,5.39101491 13.25,5.75 C13.25,6.10898509 12.9589851,6.4 12.6,6.4 C12.2410149,6.4 11.95,6.10898509 11.95,5.75 C11.95,5.39101491 12.2410149,5.1 12.6,5.1 Z" id="形状结合" fill="#130F05"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.4 KiB |
14
static/images/home/noticeIcon.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>通用图标/时间_2</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-426.000000, -507.000000)">
|
||||
<g id="通用图标/时间" transform="translate(426.000000, 507.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="exclamation-circle" transform="translate(1.500000, 1.500000)" stroke="#716F69">
|
||||
<path d="M0,6.5 C0,2.91019444 2.91019444,0 6.5,0 C10.0898056,0 13,2.91019444 13,6.5 C13,10.0898056 10.0898056,13 6.5,13 C2.91019444,13 0,10.0898056 0,6.5 Z M6.5,7.94444444 L6.5,2.88888889 M6.5,8.66666667 L6.5,10.1111111" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 982 B |
12
static/images/home/nursingTable.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_33@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-508.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-15" transform="translate(508.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M13,2 L16,8 L13,8 L13,14 L12,14 L12,8 L4,8 L4,14 L3,14 L3,8 L0,8 L3,2 L13,2 Z M13.881,6 L2.118,6 L1.618,7 L14.381,7 L13.881,6 Z M12.381,3 L3.618,3 L2.618,5 L13.381,5 L12.381,3 Z" id="形状结合" fill="#090C1A"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 867 B |
16
static/images/home/shopCarIconActive.svg
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>图标/我的发帖_9@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-284.000000, -422.000000)">
|
||||
<g id="编组-13" transform="translate(284.000000, 422.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="28" height="28"></rect>
|
||||
<g id="编组-12" transform="translate(1.500000, 1.250000)" stroke="#BA922F" stroke-width="1.25">
|
||||
<path d="M22.242261,5.625 L24.2040361,24.2345739 C24.2313078,24.5209264 24.1399303,24.7912241 23.9701468,24.9967515 C23.8055302,25.1960242 23.5672071,25.334409 23.2918572,25.367504 L1.83293834,25.375 C1.54529003,25.375 1.28487337,25.2584075 1.09636878,25.0699029 C0.913597611,24.8871317 0.798430592,24.6367564 0.791593994,24.3595032 L2.55034412,5.81358144 L22.242261,5.625 Z" id="矩形"></path>
|
||||
<path d="M7,9 L7,5.5 C7,2.46243388 9.46243388,0 12.5,0 C15.5375661,0 18,2.46243388 18,5.5 L18,9" id="路径" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
<rect id="矩形" x="6.625" y="21.625" width="11.75" height="1" rx="0.5"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@ -1,11 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区详情/男厕_6</title>
|
||||
<title>服务区图标/花洒备份_21@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="云南小程序-切图" transform="translate(-147.000000, -204.000000)">
|
||||
<g id="编组" transform="translate(147.000000, 204.000000)">
|
||||
<g id="切图汇总" transform="translate(-116.000000, -390.000000)">
|
||||
<g id="编组" transform="translate(116.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M6,0 C7.86971682,0 9.43981378,1.28282515 9.87814972,3.0163343 C12.1861406,3.20736321 14,5.14185683 14,7.5 C14,7.66924732 13.9906566,7.83631236 13.9724574,8.00070744 L5.02754265,8.00070744 C5.00934344,7.83631236 5,7.66924732 5,7.5 C5,5.41229156 6.42168364,3.65663512 8.34972875,3.14835287 C8.00350268,2.18740421 7.08202726,1.5 6,1.5 C4.61928813,1.5 3.5,2.61928813 3.5,4 L3.5,16 L2,16 L2,4 C2,1.790861 3.790861,0 6,0 Z M7.25,9 C7.52614237,9 7.75,9.22385763 7.75,9.5 L7.75,11.5 C7.75,11.7761424 7.52614237,12 7.25,12 L6.75,12 C6.47385763,12 6.25,11.7761424 6.25,11.5 L6.25,9.5 C6.25,9.22385763 6.47385763,9 6.75,9 L7.25,9 Z M9.75,9 C10.0261424,9 10.25,9.22385763 10.25,9.5 L10.25,11.5 C10.25,11.7761424 10.0261424,12 9.75,12 L9.25,12 C8.97385763,12 8.75,11.7761424 8.75,11.5 L8.75,9.5 C8.75,9.22385763 8.97385763,9 9.25,9 L9.75,9 Z M12.25,9 C12.5261424,9 12.75,9.22385763 12.75,9.5 L12.75,11.5 C12.75,11.7761424 12.5261424,12 12.25,12 L11.75,12 C11.4738576,12 11.25,11.7761424 11.25,11.5 L11.25,9.5 C11.25,9.22385763 11.4738576,9 11.75,9 L12.25,9 Z M9.5,4.5 C8.19818595,4.5 7.09003888,5.32918692 6.67489588,6.48822366 L6.67,6.5 L12.329,6.5 L12.3251041,6.48822366 C11.9288313,5.38187041 10.9011229,4.57606214 9.67627279,4.50509269 L9.5,4.5 Z" id="形状结合" fill="#9FA6A3"></path>
|
||||
<g id="编组-2" transform="translate(7.000000, 9.750000)" fill="#130F05">
|
||||
<rect id="矩形" x="0" y="0" width="1" height="2"></rect>
|
||||
<rect id="矩形备份" x="2.5" y="0" width="1" height="2"></rect>
|
||||
<rect id="矩形备份-2" x="5" y="0" width="1" height="2"></rect>
|
||||
</g>
|
||||
<path d="M6.5,0.75 C8.709139,0.75 10.5,2.540861 10.5,4.75 L9.5,4.75 C9.5,3.09314575 8.15685425,1.75 6.5,1.75 C4.84314575,1.75 3.5,3.09314575 3.5,4.75 L3.5,15.25 L2.5,15.25 L2.5,4.75 C2.5,2.540861 4.290861,0.75 6.5,0.75 Z" id="路径" fill="#130F05" fill-rule="nonzero"></path>
|
||||
<path d="M9.99999988,4.25 C12.209139,4.25 13.9999999,6.040861 13.9999999,8.25 L5.99999988,8.25 C5.99999988,6.040861 7.790861,4.25 9.99999988,4.25 Z" id="形状结合" stroke="#130F05"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
static/images/home/sunIcon.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区详情/男厕_4</title>
|
||||
<title>服务区图标/花洒备份_20@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="云南小程序-切图" transform="translate(-91.000000, -204.000000)">
|
||||
<g id="编组" transform="translate(91.000000, 204.000000)">
|
||||
<g id="切图汇总" transform="translate(-88.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-5" transform="translate(88.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="wheelchair-line" transform="translate(1.195003, 0.000000)" fill="#9FA6A3">
|
||||
<path d="M3.20358773,6.67304 L3.20323536,8.42816 C2.24580764,8.98144 1.60166573,10.0156 1.60166573,11.2 C1.60166573,12.96728 3.03584528,14.4 4.8049972,14.4 C5.9906703,14.4 7.02582686,13.75656 7.57968287,12.80008 L9.33646993,12.80032 C8.67674381,14.66448 6.89697285,16 4.8049972,16 C2.15126932,16 0,13.85096 0,11.2 C0,9.10992 1.33720669,7.33192 3.20358773,6.67304 Z M6.40662289,12 C5.079803,12 4.00416433,10.92552 4.00416433,9.6 L4.00416433,6.4 C4.00416433,5.564488 4.43154481,4.828696 5.079803,4.398888 C4.43154481,3.971304 4.00416433,3.235512 4.00416433,2.4 C4.00416433,1.07452 5.079803,0 6.40662289,0 C7.73352286,0 8.80912149,1.07452 8.80912149,2.4 C8.80912149,3.235512 8.38179707,3.971304 7.73344278,4.401112 C8.38179707,4.828696 8.80912149,5.564488 8.80912149,6.4 L8.80912149,10.3992 L9.95743573,10.4 C10.4766958,10.4 10.9608793,10.65128 11.2599904,11.06896 L11.330784,11.1768 L13.5,14.7884 L12.1266517,15.6116 L9.95743573,12 L8.80912149,11.9992 L6.40662289,12 Z M6.40662289,5.6 C5.96440298,5.6 5.60579002,5.958176 5.60579002,6.4 L5.60579002,9.6 C5.60579002,10.04184 5.96440298,10.4 6.40662289,10.4 L7.20665492,10.4 L7.20745575,6.4 C7.20745575,5.958176 6.84892288,5.6 6.40662289,5.6 Z M6.40662289,1.6 C5.96440298,1.6 5.60579002,1.958176 5.60579002,2.4 C5.60579002,2.841824 5.96440298,3.2 6.40662289,3.2 C6.84892288,3.2 7.20745575,2.841824 7.20745575,2.4 C7.20745575,1.958176 6.84892288,1.6 6.40662289,1.6 Z" id="形状"></path>
|
||||
</g>
|
||||
<path d="M5.25027314,7.19909951 L5.2499257,8.27205521 C4.21720066,8.74607476 3.5,9.78928179 3.5,11 C3.5,12.6568542 4.84314575,14 6.5,14 C7.71071821,14 8.75392524,13.2827993 9.22794479,12.2500743 L10.3009005,12.2497269 C9.77608587,13.8468343 8.27271107,15 6.5,15 C4.290861,15 2.5,13.209139 2.5,11 C2.5,9.22728893 3.65316568,7.72391413 5.25027314,7.19909951 Z" id="形状结合" fill="#130F05" fill-rule="nonzero"></path>
|
||||
<path d="M8.5,1.5 C8.91421356,1.5 9.28921356,1.66789322 9.56066017,1.93933983 C9.83210678,2.21078644 10,2.58578644 10,3 C10,3.41421356 9.83210678,3.78921356 9.56066017,4.06066017 C9.28921356,4.33210678 8.91421356,4.5 8.5,4.5 C8.08578644,4.5 7.71078644,4.33210678 7.43933983,4.06066017 C7.16789322,3.78921356 7,3.41421356 7,3 C7,2.58578644 7.16789322,2.21078644 7.43933983,1.93933983 C7.71078644,1.66789322 8.08578644,1.5 8.5,1.5 Z" id="椭圆形" stroke="#130F05"></path>
|
||||
<path d="M8.5,5.5 C8.91421356,5.5 9.28921356,5.66789322 9.56066017,5.93933983 C9.83210678,6.21078644 10,6.58578644 10,7 L10,10.5 L8.5,10.5 C8.08578644,10.5 7.71078644,10.3321068 7.43933983,10.0606602 C7.16789322,9.78921356 7,9.41421356 7,9 L7,7 C7,6.58578644 7.16789322,6.21078644 7.43933983,5.93933983 C7.71078644,5.66789322 8.08578644,5.5 8.5,5.5 Z" id="矩形" stroke="#130F05"></path>
|
||||
<path d="M8.25,10.5 L11.25,10.5 L13.25,13.75" id="路径-17" stroke="#130F05"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.0 KiB |
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区详情/男厕_5</title>
|
||||
<title>服务区图标/花洒备份_33@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="云南小程序-切图" transform="translate(-119.000000, -204.000000)">
|
||||
<g id="服务区详情/男厕" transform="translate(119.000000, 204.000000)">
|
||||
<g id="切图汇总" transform="translate(-480.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-15" transform="translate(480.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M6.25,1 C6.84959794,1 7.42454518,1.05277109 7.95727746,1.14953113 L12.25,1.15 C13.6859403,1.15 14.85,2.31405965 14.85,3.75 L14.85,10 C14.85,11.4359403 13.6859403,12.6 12.25,12.6 L11.2448071,12.6 L11.243494,12.6286497 C11.1095784,13.9495743 8.92512926,15 6.25,15 C3.53941642,15 1.33260542,13.9215466 1.25226565,12.5759891 C1.24619469,12.5436206 1.24280708,12.510442 1.24280708,12.4764721 L1.24280708,3.47647206 C1.24280708,3.43738841 1.24729139,3.39935214 1.25577357,3.36284968 C1.39930125,2.04616107 3.58030662,1 6.25,1 Z M2.44253085,5.1205061 L2.44280708,12.4764721 L2.44080708,12.499 C2.45,12.9918575 4.06628501,13.8 6.25,13.8 C8.43371499,13.8 10.05,12.9918575 10.05,12.5 L10.0511855,5.12418627 C9.13413139,5.660238 7.77142136,6 6.25,6 C4.72509986,6 3.35963768,5.65868247 2.44253085,5.1205061 Z M10.6894971,2.34878248 C11.0473311,2.69306368 11.2496738,3.08422269 11.2499996,3.49899662 L11.2498071,11.399 L12.25,11.4 C13.0231986,11.4 13.65,10.7731986 13.65,10 L13.65,3.75 C13.65,2.97680135 13.0231986,2.35 12.25,2.35 L10.6894971,2.34878248 Z M6.25,2.2 C4.06628501,2.2 2.45,3.00814251 2.45,3.5 C2.45,3.99185749 4.06628501,4.8 6.25,4.8 C8.43371499,4.8 10.05,3.99185749 10.05,3.5 C10.05,3.13840739 9.17646873,2.60587658 7.8461376,2.34916546 L7.75,2.35 L7.75131807,2.33147969 C7.29624489,2.2495101 6.79050398,2.2 6.25,2.2 Z M6.25,3 C6.80228475,3 7.25,3.22385763 7.25,3.5 C7.25,3.77614237 6.80228475,4 6.25,4 C5.69771525,4 5.25,3.77614237 5.25,3.5 C5.25,3.22385763 5.69771525,3 6.25,3 Z" id="形状结合" fill="#9FA6A3"></path>
|
||||
<path d="M6.75,1 C8.23118058,1 9.56193446,1.38643197 10.4774888,2.00043219 L12.75,2 C13.569183,2 14.25,2.62408228 14.25,3.41666667 L14.25,12.5833333 C14.25,13.3759177 13.569183,14 12.75,14 L10.4755114,14.0008931 C9.56001894,14.614124 8.2301146,15 6.75,15 C3.98857625,15 1.75,13.6568542 1.75,12 L1.75,4.25 L1.76722847,4.25083058 C1.75581861,4.16812674 1.75,4.08447107 1.75,4 C1.75,2.34314575 3.98857625,1 6.75,1 Z M10.7515608,5.79904537 C9.8394281,6.52825633 8.38653208,7 6.75,7 C5.11406563,7 3.6616332,6.52860086 2.74943885,5.79984426 L2.75,12 C2.75,12.9686004 4.46899932,14 6.75,14 C9.03100068,14 10.75,12.9686004 10.75,12 L10.7515608,5.79904537 Z M12.75,3 L11.4659459,3.00077348 C11.6499082,3.3133338 11.75,3.64965359 11.75,4 C11.75,4.08447107 11.7441814,4.16812674 11.7327715,4.25083058 L11.75,4.25 L11.75,12 C11.75,12.3507156 11.6496971,12.687375 11.4653641,13.0002145 L12.75,13 C13.0353865,13 13.25,12.803271 13.25,12.5833333 L13.25,3.41666667 C13.25,3.19672901 13.0353865,3 12.75,3 Z M6.75,2 C4.46899932,2 2.75,3.03139959 2.75,4 C2.75,4.96860041 4.46899932,6 6.75,6 C9.03100068,6 10.75,4.96860041 10.75,4 C10.75,3.03139959 9.03100068,2 6.75,2 Z M6.75,3.5 C7.57842712,3.5 8.25,3.72385763 8.25,4 C8.25,4.27614237 7.57842712,4.5 6.75,4.5 C5.92157288,4.5 5.25,4.27614237 5.25,4 C5.25,3.72385763 5.92157288,3.5 6.75,3.5 Z" id="形状结合" fill="#130F05" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.0 KiB |
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区详情/男厕_9</title>
|
||||
<title>服务区图标/花洒备份_24@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="云南小程序-切图" transform="translate(-231.000000, -204.000000)">
|
||||
<g id="编组" transform="translate(231.000000, 204.000000)">
|
||||
<g id="切图汇总" transform="translate(-200.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-3" transform="translate(200.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M13,0.5 C13.5522847,0.5 14,0.94771525 14,1.5 L14,14.5 C14,15.0522847 13.5522847,15.5 13,15.5 L3,15.5 C2.44771525,15.5 2,15.0522847 2,14.5 L2,1.5 C2,0.94771525 2.44771525,0.5 3,0.5 L13,0.5 Z M12.5,5.5 L3.5,5.5 L3.5,14 L12.5,14 L12.5,5.5 Z M8,6.25 C9.93299662,6.25 11.5,7.81700338 11.5,9.75 C11.5,11.6829966 9.93299662,13.25 8,13.25 C6.06700338,13.25 4.5,11.6829966 4.5,9.75 C4.5,7.81700338 6.06700338,6.25 8,6.25 Z M8,7.75 C6.8954305,7.75 6,8.6454305 6,9.75 C6,10.8545695 6.8954305,11.75 8,11.75 C9.1045695,11.75 10,10.8545695 10,9.75 C10,8.6454305 9.1045695,7.75 8,7.75 Z M12.5,2 L3.5,2 L3.5,4 L12.5,4 L12.5,2 Z M5.75,2.5 C6.02614237,2.5 6.25,2.72385763 6.25,3 C6.25,3.27614237 6.02614237,3.5 5.75,3.5 L4.75,3.5 C4.47385763,3.5 4.25,3.27614237 4.25,3 C4.25,2.72385763 4.47385763,2.5 4.75,2.5 L5.75,2.5 Z M8.5,2.5 C8.77614237,2.5 9,2.72385763 9,3 C9,3.27614237 8.77614237,3.5 8.5,3.5 L7.5,3.5 C7.22385763,3.5 7,3.27614237 7,3 C7,2.72385763 7.22385763,2.5 7.5,2.5 L8.5,2.5 Z" id="形状结合" fill="#9FA6A3"></path>
|
||||
<path d="M14,1 L14,15 L2,15 L2,1 L14,1 Z M13,5.5 L3,5.5 L3,14 L13,14 L13,5.5 Z M8,7 C9.65685425,7 11,8.34314575 11,10 C11,11.6568542 9.65685425,13 8,13 C6.34314575,13 5,11.6568542 5,10 C5,8.34314575 6.34314575,7 8,7 Z M8,8 C6.8954305,8 6,8.8954305 6,10 C6,11.1045695 6.8954305,12 8,12 C9.1045695,12 10,11.1045695 10,10 C10,8.8954305 9.1045695,8 8,8 Z M13,2 L3,2 L3,4.5 L13,4.5 L13,2 Z M6,2.76820028 L6,3.76820028 L4,3.76820028 L4,2.76820028 L6,2.76820028 Z M9,2.76820028 L9,3.76820028 L7,3.76820028 L7,2.76820028 L9,2.76820028 Z" id="形状结合" fill="#130F05" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.2 KiB |
12
static/images/home/waterDispenser.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_22@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-144.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-6" transform="translate(144.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<path d="M10.4978439,1.24652667 C12.4308405,1.24652667 13.9978439,2.81353005 13.9978439,4.74652667 L13.9974307,9.24552667 L12.9974307,9.24552667 L12.9978439,4.46104964 C12.9978439,3.31350572 12.1192428,2.37117009 10.9980332,2.27003531 L10.9978439,4.24652667 L12.731,10.7495267 L12.75,10.75 L13.75,14.75 L2,14.75 L3.1099952,10.75 L3.13,10.7495267 L3.99784388,4.24652667 L2.70495066,2.95363346 C2.31442637,2.56310916 2.31442637,1.92994418 2.70495066,1.53941989 C2.89248704,1.35188351 3.14684095,1.24652667 3.41205744,1.24652667 L10.4978439,1.24652667 Z M11.968,11.75 L3.87,11.75 L3.315,13.75 L12.468,13.75 L11.968,11.75 Z M5.193,5.24552667 L4.87284388,5.24652667 L4.13984388,10.7465267 L11.6958439,10.7465267 L10.228,5.24652667 L5.20495066,5.24652667 L5.193,5.24552667 Z M9.99784388,2.24652667 L3.41284388,2.24652667 L5.41,4.24552667 L9.997,4.24552667 L9.99784388,2.24652667 Z" id="形状结合" fill="#130F05" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
14
static/images/home/zeroIcon.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>编组_13@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-638.000000, -272.000000)">
|
||||
<g id="编组-13" transform="translate(638.000000, 272.000000)">
|
||||
<rect id="矩形" stroke="#E7E7E6" stroke-width="0.5" x="0.25" y="0.25" width="35.5" height="35.5" rx="17.75"></rect>
|
||||
<g id="0" transform="translate(14.000000, 12.000000)" fill="#716F69" fill-rule="nonzero">
|
||||
<path d="M5.55652174,0 C6.71478261,0.0105401845 7.57826087,0.305665349 8.14695652,0.885375494 C8.71565217,1.46508564 9,2.35573123 9,3.55731225 C9,3.8629776 8.97391304,4.24242424 8.92173913,4.69565217 L8.60869565,7.30434783 C8.41043478,8.90645586 7.93826087,10.0869565 7.19217391,10.8458498 C6.44608696,11.6047431 5.41043478,11.9894598 4.08521739,12 L3.45913043,12 C2.29043478,11.9894598 1.42173913,11.6996047 0.853043478,11.1304348 C0.284347826,10.5612648 0,9.67061924 0,8.45849802 C0,8.14229249 0.0260869565,7.75757576 0.0782608696,7.30434783 L0.391304348,4.69565217 C0.787826087,1.58629776 2.32695652,0.0210803689 5.00869565,0 L5.55652174,0 Z M1.92521739,7.30434783 C1.88347826,7.61001318 1.8626087,7.92621871 1.8626087,8.25296443 C1.8626087,8.9486166 2.00086957,9.45454545 2.2773913,9.77075099 C2.55391304,10.0869565 3.01565217,10.2503294 3.6626087,10.2608696 L4.30434783,10.2608696 C5.04521739,10.2503294 5.60347826,10.0263505 5.97913043,9.58893281 C6.35478261,9.15151515 6.61043478,8.38998682 6.74608696,7.30434783 L7.07478261,4.69565217 C7.11652174,4.38998682 7.1373913,4.0685112 7.1373913,3.7312253 C7.1373913,3.03557312 6.99652174,2.53227931 6.71478261,2.22134387 C6.43304348,1.91040843 5.97391304,1.74967062 5.3373913,1.73913043 L4.69565217,1.73913043 C4.19478261,1.74967062 3.7826087,1.84716733 3.45913043,2.03162055 C3.13565217,2.21607378 2.8773913,2.52173913 2.68434783,2.9486166 C2.49130435,3.37549407 2.34782609,3.95783926 2.25391304,4.69565217 L1.92521739,7.30434783 Z" id="形状"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@ -1 +1 @@
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F870657","name":"皖美驿站","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Maps":{"coordType":"gcj02"},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"nvue":{"user-agent":"user-agent"},"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"","prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>"],"packagename":"uni.UNIF870657","custompermissions":true},"apple":{"dSYMs":false,"info":{"NSLocationAlwaysUsageDescription":"我们需要获取您的位置信息,以便提供更全面的服务。","NSLocationWhenInUseUsageDescription":"我们需要获取您的位置信息,提供更精准的服务。"},"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"maps":{"amap":{"appkey_android":"d773aa156f8ca2160cfb06d5f117dacd","appkey_ios":"78e8b8340770d439c5415a6d897b68a7","name":"amap_18158132615AICJ55IM2"},"description":"地图插件"}},"orientation":"portrait-primary"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.36","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#130F05","backgroundColor":"#fff","selectedColor":"#130F05","borderStyle":"rgba(0,0,0,0.4)","list":[{"text":"首页","pagePath":"pages/home/index","iconPath":"static/tabs/home.png","selectedIconPath":"static/tabs/home-active.png"},{"text":"出行导航","pagePath":"pages/travelNavigation/index","iconPath":"static/tabs/travel.png","selectedIconPath":"static/tabs/travel_active.png"},{"text":"精选活动","pagePath":"pages/discovery/index","iconPath":"static/tabs/discovery.png","selectedIconPath":"static/tabs/discovery-active.png"},{"text":"我的","pagePath":"pages/userCenter/index","iconPath":"static/tabs/user.png","selectedIconPath":"static/tabs/user-active.png"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html","adid":"121631040912"}}
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F870657","name":"皖美驿站","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Maps":{"coordType":"gcj02"},"Payment":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"nvue":{"user-agent":"user-agent"},"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"","prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>"],"plugin":{"activeity":"com.amap.api.navi.AmapRouteActivity","pluginName":"myTest"},"packagename":"uni.UNIF870657","custompermissions":true},"apple":{"capabilities":{"entitlements":{"com.apple.developer.associated-domains":["applinks:static-mp-5b41af94-82e9-4997-bf46-f2ae745e4038.next.bspapp.com"]}},"dSYMs":false,"info":{"NSLocationAlwaysUsageDescription":"我们需要获取您的位置信息,以便提供更全面的服务。","NSLocationWhenInUseUsageDescription":"我们需要获取您的位置信息,提供更精准的服务。"},"plistcmds":["Add :UIFileSharingEnabled bool true"],"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"maps":{"amap":{"appkey_android":"d773aa156f8ca2160cfb06d5f117dacd","appkey_ios":"78e8b8340770d439c5415a6d897b68a7","name":"amap_18158132615AICJ55IM2"},"description":"地图插件"},"payment":{"alipay":{"__platform__":["ios","android"]},"appleiap":{},"weixin":{"UniversalLinks":"https://static-mp-5b41af94-82e9-4997-bf46-f2ae745e4038.next.bspapp.com/uni-universallinks/__UNI__F870657/","__platform__":["ios"],"appid":"wx4c497eddcec4a0e7"}}},"debug":true,"syncDebug":true,"orientation":"portrait-primary"},"nativePlugins":{"AMapModule":{}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.36","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#130F05","backgroundColor":"#fff","selectedColor":"#130F05","borderStyle":"rgba(0,0,0,0.4)","list":[{"text":"首页","pagePath":"pages/home/index","iconPath":"static/tabs/home.png","selectedIconPath":"static/tabs/home-active.png"},{"text":"出行导航","pagePath":"pages/travelNavigation/index","iconPath":"static/tabs/travel.png","selectedIconPath":"static/tabs/travel_active.png"},{"text":"精选活动","pagePath":"pages/discovery/index","iconPath":"static/tabs/discovery.png","selectedIconPath":"static/tabs/discovery-active.png"},{"text":"我的","pagePath":"pages/userCenter/index","iconPath":"static/tabs/user.png","selectedIconPath":"static/tabs/user-active.png"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html","adid":"121631040912"}}
|
||||
|
Before Width: | Height: | Size: 34 KiB |
@ -2,14 +2,10 @@
|
||||
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_18@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-564.000000, -318.000000)">
|
||||
<g id="编组" transform="translate(564.000000, 318.000000)">
|
||||
<g id="切图汇总" transform="translate(-588.000000, -318.000000)">
|
||||
<g id="服务区图标/花洒备份-3" transform="translate(588.000000, 318.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="20" height="20"></rect>
|
||||
<polygon id="矩形" stroke="#BA922F" stroke-width="1.25" points="5 6.5625 15 6.5625 15 18.125 5 18.125"></polygon>
|
||||
<path d="" id="矩形" stroke="#BA922F" stroke-width="2.5"></path>
|
||||
<path d="" id="矩形备份" stroke="#BA922F" stroke-width="2.5"></path>
|
||||
<path d="M7.375,6.5625 L6.25,6.5625 L6.25,4.0625 L8.75,4.0625 M11.25,4.0625 L13.75,4.0625 L13.75,6.5625 L12.625,6.5625" id="形状" stroke="#BA922F" stroke-width="1.25"></path>
|
||||
<path d="M8.125,4.0625 L8.125,2.8125 C8.125,2.12214406 8.68464406,1.5625 9.375,1.5625 L10.625,1.5625 C11.3153559,1.5625 11.875,2.12214406 11.875,2.8125 L11.875,4.0625" id="路径" stroke="#BA922F" stroke-width="1.25"></path>
|
||||
<path d="M10.625,0.9375 C11.6605339,0.9375 12.5,1.77696609 12.5,2.8125 L12.5,3.4375 L14.375,3.4375 L14.375,5.9375 L15.625,5.9375 L15.625,18.75 L4.375,18.75 L4.375,5.9375 L5.625,5.9375 L5.625,3.4375 L7.5,3.4375 L7.5,2.8125 C7.5,1.77696609 8.33946609,0.9375 9.375,0.9375 L10.625,0.9375 Z M14.375,7.1875 L5.625,7.1875 L5.625,17.5 L14.375,17.5 L14.375,14.6875 L8.75,14.6875 L8.75,13.4375 L14.375,13.4375 L14.375,10.9375 L8.75,10.9375 L8.75,9.6875 L14.375,9.6875 L14.375,7.1875 Z M8.75,4.6875 L6.875,4.6875 L6.875,5.9375 L13.125,5.9375 L13.125,4.6875 L11.25,4.6875 L11.25,2.8125 C11.25,2.46732203 10.970178,2.1875 10.625,2.1875 L9.375,2.1875 C9.02982203,2.1875 8.75,2.46732203 8.75,2.8125 L8.75,4.6875 Z" id="形状结合" fill="#BA922F" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
@ -5,14 +5,7 @@
|
||||
<g id="切图汇总" transform="translate(-172.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-2" transform="translate(172.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="编组" transform="translate(1.000000, 2.000000)">
|
||||
<path d="M11.6,4.4 C11.9589851,4.4 12.25,4.10898509 12.25,3.75 C12.25,3.39101491 11.9589851,3.1 11.6,3.1 C11.2410149,3.1 10.95,3.39101491 10.95,3.75 C10.95,4.10898509 11.2410149,4.4 11.6,4.4 Z M11.6,6.275 C11.9589851,6.275 12.25,5.98398509 12.25,5.625 C12.25,5.26601491 11.9589851,4.975 11.6,4.975 C11.2410149,4.975 10.95,5.26601491 10.95,5.625 C10.95,5.98398509 11.2410149,6.275 11.6,6.275 Z M11.6,8.15 C11.9589851,8.15 12.25,7.85898509 12.25,7.5 C12.25,7.14101491 11.9589851,6.85 11.6,6.85 C11.2410149,6.85 10.95,7.14101491 10.95,7.5 C10.95,7.85898509 11.2410149,8.15 11.6,8.15 Z" id="形状结合" fill="#130F05"></path>
|
||||
<rect id="矩形" fill="#130F05" x="9" y="1" width="1" height="10"></rect>
|
||||
<polygon id="矩形备份-2" fill="#130F05" points="11 10 12 10 12 12.5 11 12.5"></polygon>
|
||||
<rect id="矩形备份-3" fill="#130F05" x="2" y="10" width="1" height="2.5"></rect>
|
||||
<rect id="矩形" fill="#130F05" x="0" y="7" width="10" height="1" rx="0.5"></rect>
|
||||
<rect id="矩形" stroke="#130F05" x="0.5" y="0.5" width="13" height="10"></rect>
|
||||
</g>
|
||||
<path d="M4,14.5 L3,14.5 L3,13 L1,13 L1,2 L15,2 L15,13 L13,13 L13,14.5 L12,14.5 L12,13 L4,13 L4,14.5 Z M10,10 L2,10 L2,12 L10,12 L10,10 Z M14,3 L11,3 L11,12 L14,12 L14,3 Z M12.6,8.85 C12.9589851,8.85 13.25,9.14101491 13.25,9.5 C13.25,9.85898509 12.9589851,10.15 12.6,10.15 C12.2410149,10.15 11.95,9.85898509 11.95,9.5 C11.95,9.14101491 12.2410149,8.85 12.6,8.85 Z M10,3 L2,3 L2,9 L10,9 L10,3 Z M12.6,6.975 C12.9589851,6.975 13.25,7.26601491 13.25,7.625 C13.25,7.98398509 12.9589851,8.275 12.6,8.275 C12.2410149,8.275 11.95,7.98398509 11.95,7.625 C11.95,7.26601491 12.2410149,6.975 12.6,6.975 Z M12.6,5.1 C12.9589851,5.1 13.25,5.39101491 13.25,5.75 C13.25,6.10898509 12.9589851,6.4 12.6,6.4 C12.2410149,6.4 11.95,6.10898509 11.95,5.75 C11.95,5.39101491 12.2410149,5.1 12.6,5.1 Z" id="形状结合" fill="#130F05"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 101 KiB |
6
unpackage/dist/build/app-plus/app-service.js
vendored
2
unpackage/dist/build/app-plus/app-view.js
vendored
2
unpackage/dist/build/app-plus/manifest.json
vendored
@ -1 +1 @@
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F870657","name":"皖美驿站","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Maps":{"coordType":"gcj02"},"Payment":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"nvue":{"user-agent":"user-agent"},"icons":{"android":{"hdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png","xhdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png","xxhdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png","xxxhdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png"},"ios":{"appstore":""}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>"]},"apple":{"dSYMs":false,"info":{"NSLocationWhenInUseUsageDescription":"我们需要获取您的位置信息,提供更精准的服务。","NSLocationAlwaysUsageDescription":"我们需要获取您的位置信息,以便提供更全面的服务。"},"capabilities":{"entitlements":{"com.apple.developer.associated-domains":["applinks:static-mp-5b41af94-82e9-4997-bf46-f2ae745e4038.next.bspapp.com"]}}},"plugins":{"ad":{},"oauth":{},"maps":{"amap":{"name":"amap_18158132615AICJ55IM2","appkey_ios":"78e8b8340770d439c5415a6d897b68a7","appkey_android":"d773aa156f8ca2160cfb06d5f117dacd"}},"payment":{"appleiap":{},"weixin":{"__platform__":["ios"],"appid":"wx4c497eddcec4a0e7","UniversalLinks":"https://static-mp-5b41af94-82e9-4997-bf46-f2ae745e4038.next.bspapp.com/uni-universallinks/__UNI__F870657/"},"alipay":{"__platform__":["ios","android"]}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.36","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#130F05","backgroundColor":"#fff","selectedColor":"#130F05","borderStyle":"rgba(0,0,0,0.4)","list":[{"text":"首页","pagePath":"pages/home/index","iconPath":"static/tabs/home.png","selectedIconPath":"static/tabs/home-active.png"},{"text":"出行导航","pagePath":"pages/travelNavigation/index","iconPath":"static/tabs/travel.png","selectedIconPath":"static/tabs/travel_active.png"},{"text":"精选活动","pagePath":"pages/discovery/index","iconPath":"static/tabs/discovery.png","selectedIconPath":"static/tabs/discovery-active.png"},{"text":"我的","pagePath":"pages/userCenter/index","iconPath":"static/tabs/user.png","selectedIconPath":"static/tabs/user-active.png"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F870657","name":"皖美驿站","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Maps":{"coordType":"gcj02"},"Payment":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"nvue":{"user-agent":"user-agent"},"icons":{"android":{"hdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png","xhdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png","xxhdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png","xxxhdpi":"C:/Users/yskj03/Desktop/wanmeiyizhanLogo.png"},"ios":{"appstore":""}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>"],"plugin":{"pluginName":"myTest","activeity":"com.amap.api.navi.AmapRouteActivity"}},"apple":{"dSYMs":false,"info":{"NSLocationWhenInUseUsageDescription":"我们需要获取您的位置信息,提供更精准的服务。","NSLocationAlwaysUsageDescription":"我们需要获取您的位置信息,以便提供更全面的服务。"},"capabilities":{"entitlements":{"com.apple.developer.associated-domains":["applinks:static-mp-5b41af94-82e9-4997-bf46-f2ae745e4038.next.bspapp.com"]}}},"plugins":{"ad":{},"oauth":{},"maps":{"amap":{"name":"amap_18158132615AICJ55IM2","appkey_ios":"78e8b8340770d439c5415a6d897b68a7","appkey_android":"d773aa156f8ca2160cfb06d5f117dacd"}},"payment":{"appleiap":{},"weixin":{"__platform__":["ios"],"appid":"wx4c497eddcec4a0e7","UniversalLinks":"https://static-mp-5b41af94-82e9-4997-bf46-f2ae745e4038.next.bspapp.com/uni-universallinks/__UNI__F870657/"},"alipay":{"__platform__":["ios","android"]}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{"AMapModule":{"__plugin_info__":{"name":"AMapModule测试插件","description":"AMapModule测试插件1.5","platforms":"Android","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#fff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.36","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#130F05","backgroundColor":"#fff","selectedColor":"#130F05","borderStyle":"rgba(0,0,0,0.4)","list":[{"text":"首页","pagePath":"pages/home/index","iconPath":"static/tabs/home.png","selectedIconPath":"static/tabs/home-active.png"},{"text":"出行导航","pagePath":"pages/travelNavigation/index","iconPath":"static/tabs/travel.png","selectedIconPath":"static/tabs/travel_active.png"},{"text":"精选活动","pagePath":"pages/discovery/index","iconPath":"static/tabs/discovery.png","selectedIconPath":"static/tabs/discovery-active.png"},{"text":"我的","pagePath":"pages/userCenter/index","iconPath":"static/tabs/user.png","selectedIconPath":"static/tabs/user-active.png"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
|
||||
|
Before Width: | Height: | Size: 34 KiB |
@ -2,14 +2,10 @@
|
||||
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>服务区图标/花洒备份_18@2x</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="切图汇总" transform="translate(-564.000000, -318.000000)">
|
||||
<g id="编组" transform="translate(564.000000, 318.000000)">
|
||||
<g id="切图汇总" transform="translate(-588.000000, -318.000000)">
|
||||
<g id="服务区图标/花洒备份-3" transform="translate(588.000000, 318.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="20" height="20"></rect>
|
||||
<polygon id="矩形" stroke="#BA922F" stroke-width="1.25" points="5 6.5625 15 6.5625 15 18.125 5 18.125"></polygon>
|
||||
<path d="" id="矩形" stroke="#BA922F" stroke-width="2.5"></path>
|
||||
<path d="" id="矩形备份" stroke="#BA922F" stroke-width="2.5"></path>
|
||||
<path d="M7.375,6.5625 L6.25,6.5625 L6.25,4.0625 L8.75,4.0625 M11.25,4.0625 L13.75,4.0625 L13.75,6.5625 L12.625,6.5625" id="形状" stroke="#BA922F" stroke-width="1.25"></path>
|
||||
<path d="M8.125,4.0625 L8.125,2.8125 C8.125,2.12214406 8.68464406,1.5625 9.375,1.5625 L10.625,1.5625 C11.3153559,1.5625 11.875,2.12214406 11.875,2.8125 L11.875,4.0625" id="路径" stroke="#BA922F" stroke-width="1.25"></path>
|
||||
<path d="M10.625,0.9375 C11.6605339,0.9375 12.5,1.77696609 12.5,2.8125 L12.5,3.4375 L14.375,3.4375 L14.375,5.9375 L15.625,5.9375 L15.625,18.75 L4.375,18.75 L4.375,5.9375 L5.625,5.9375 L5.625,3.4375 L7.5,3.4375 L7.5,2.8125 C7.5,1.77696609 8.33946609,0.9375 9.375,0.9375 L10.625,0.9375 Z M14.375,7.1875 L5.625,7.1875 L5.625,17.5 L14.375,17.5 L14.375,14.6875 L8.75,14.6875 L8.75,13.4375 L14.375,13.4375 L14.375,10.9375 L8.75,10.9375 L8.75,9.6875 L14.375,9.6875 L14.375,7.1875 Z M8.75,4.6875 L6.875,4.6875 L6.875,5.9375 L13.125,5.9375 L13.125,4.6875 L11.25,4.6875 L11.25,2.8125 C11.25,2.46732203 10.970178,2.1875 10.625,2.1875 L9.375,2.1875 C9.02982203,2.1875 8.75,2.46732203 8.75,2.8125 L8.75,4.6875 Z" id="形状结合" fill="#BA922F" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
@ -5,14 +5,7 @@
|
||||
<g id="切图汇总" transform="translate(-172.000000, -390.000000)">
|
||||
<g id="服务区图标/花洒备份-2" transform="translate(172.000000, 390.000000)">
|
||||
<rect id="矩形" x="0" y="0" width="16" height="16"></rect>
|
||||
<g id="编组" transform="translate(1.000000, 2.000000)">
|
||||
<path d="M11.6,4.4 C11.9589851,4.4 12.25,4.10898509 12.25,3.75 C12.25,3.39101491 11.9589851,3.1 11.6,3.1 C11.2410149,3.1 10.95,3.39101491 10.95,3.75 C10.95,4.10898509 11.2410149,4.4 11.6,4.4 Z M11.6,6.275 C11.9589851,6.275 12.25,5.98398509 12.25,5.625 C12.25,5.26601491 11.9589851,4.975 11.6,4.975 C11.2410149,4.975 10.95,5.26601491 10.95,5.625 C10.95,5.98398509 11.2410149,6.275 11.6,6.275 Z M11.6,8.15 C11.9589851,8.15 12.25,7.85898509 12.25,7.5 C12.25,7.14101491 11.9589851,6.85 11.6,6.85 C11.2410149,6.85 10.95,7.14101491 10.95,7.5 C10.95,7.85898509 11.2410149,8.15 11.6,8.15 Z" id="形状结合" fill="#130F05"></path>
|
||||
<rect id="矩形" fill="#130F05" x="9" y="1" width="1" height="10"></rect>
|
||||
<polygon id="矩形备份-2" fill="#130F05" points="11 10 12 10 12 12.5 11 12.5"></polygon>
|
||||
<rect id="矩形备份-3" fill="#130F05" x="2" y="10" width="1" height="2.5"></rect>
|
||||
<rect id="矩形" fill="#130F05" x="0" y="7" width="10" height="1" rx="0.5"></rect>
|
||||
<rect id="矩形" stroke="#130F05" x="0.5" y="0.5" width="13" height="10"></rect>
|
||||
</g>
|
||||
<path d="M4,14.5 L3,14.5 L3,13 L1,13 L1,2 L15,2 L15,13 L13,13 L13,14.5 L12,14.5 L12,13 L4,13 L4,14.5 Z M10,10 L2,10 L2,12 L10,12 L10,10 Z M14,3 L11,3 L11,12 L14,12 L14,3 Z M12.6,8.85 C12.9589851,8.85 13.25,9.14101491 13.25,9.5 C13.25,9.85898509 12.9589851,10.15 12.6,10.15 C12.2410149,10.15 11.95,9.85898509 11.95,9.5 C11.95,9.14101491 12.2410149,8.85 12.6,8.85 Z M10,3 L2,3 L2,9 L10,9 L10,3 Z M12.6,6.975 C12.9589851,6.975 13.25,7.26601491 13.25,7.625 C13.25,7.98398509 12.9589851,8.275 12.6,8.275 C12.2410149,8.275 11.95,7.98398509 11.95,7.625 C11.95,7.26601491 12.2410149,6.975 12.6,6.975 Z M12.6,5.1 C12.9589851,5.1 13.25,5.39101491 13.25,5.75 C13.25,6.10898509 12.9589851,6.4 12.6,6.4 C12.2410149,6.4 11.95,6.10898509 11.95,5.75 C11.95,5.39101491 12.2410149,5.1 12.6,5.1 Z" id="形状结合" fill="#130F05"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.4 KiB |