Commit 930b84d1 authored by JingChao's avatar JingChao

隐私政策

parent d13e924c
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"scripts": { "scripts": {
"dev": "cross-env CONFIG_ENV=dev webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "dev": "cross-env CONFIG_ENV=dev webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev", "start": "npm run dev",
"build:dev": "cross-env CONFIG_ENV=dev node build/build.js",
"build:uat": "cross-env CONFIG_ENV=uat node build/build.js", "build:uat": "cross-env CONFIG_ENV=uat node build/build.js",
"build": "cross-env CONFIG_ENV=prod node build/build.js", "build": "cross-env CONFIG_ENV=prod node build/build.js",
"clean": "rimraf www/*" "clean": "rimraf www/*"
...@@ -15,12 +16,9 @@ ...@@ -15,12 +16,9 @@
"autosize": "^3.0.20", "autosize": "^3.0.20",
"better-scroll": "^1.10.3", "better-scroll": "^1.10.3",
"cordova-android": "^6.2.0", "cordova-android": "^6.2.0",
"cordova-ios": "^5.1.1",
"cordova-plugin-camera": "^2.4.1", "cordova-plugin-camera": "^2.4.1",
"cordova-plugin-crosswalk-webview": "^2.2.0", "cordova-plugin-crosswalk-webview": "^2.2.0",
"cordova-plugin-device": "^2.0.2", "cordova-plugin-device": "^2.0.2",
"cordova-plugin-hls-cloudroom": "file:../../../Desktop/徐工/cordova-plugin-hls-cloudroom",
"cordova-plugin-themeablebrowser": "^0.2.18",
"cordova-plugin-whitelist": "^1.3.3", "cordova-plugin-whitelist": "^1.3.3",
"crypto-js": "^3.1.9-1", "crypto-js": "^3.1.9-1",
"fastclick": "https://hel.hand-china.com/easyUI/fastclick.git", "fastclick": "https://hel.hand-china.com/easyUI/fastclick.git",
...@@ -131,4 +129,4 @@ ...@@ -131,4 +129,4 @@
"cordova-plugin-hls-cloudroom": {} "cordova-plugin-hls-cloudroom": {}
} }
} }
} }
\ No newline at end of file
{
"prepare_queue": {
"installed": [],
"uninstalled": []
},
"config_munge": {
"files": {}
},
"installed_plugins": {
"com.handmobile.cordovaplugin.hotpatch": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-baidumaplocation": {
"ANDROID_KEY": "YCDrAzwghWe3Ghps2QkIPBWANkDsgkOP",
"IOS_KEY": "q0niXfvEg9ToZSD1DvTvGTfeN2b6AbKT",
"IOS_LOCATION_DESC": "请点击'好'以允许访问。",
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-camera": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-compat": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-crosswalk-webview": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-datepicker": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-device": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-dialogs": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-file": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-file-transfer": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-hls-cloudroom": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-hrms-faceidentify": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-image-picker": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-inappbrowser": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-jcore": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-network-information": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-splashscreen": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-statusbar": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-themeablebrowser": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-touch-id": {
"FACEID_USAGE_DESCRIPTION": " ",
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-whitelist": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"ionic-plugin-keyboard": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"jmessage-phonegap-plugin": {
"APP_KEY": "7675edf5efa043a1ce9449a2",
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"jpush-phonegap-plugin": {
"APP_KEY": "7675edf5efa043a1ce9449a2",
"PACKAGE_NAME": "com.xcmg.app.dev"
}
},
"dependent_plugins": {
"cordova-plugin-3dtouch": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-contacts": {
"CONTACTS_USAGE_DESCRIPTION": "我们将在通讯功能读取您的联系人,为你提供便捷服务",
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-fingerprint": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"cordova-plugin-x-toast": {
"PACKAGE_NAME": "com.xcmg.app.dev"
},
"es6-promise-plugin": {
"PACKAGE_NAME": "com.xcmg.app.dev"
}
}
}
\ No newline at end of file
<template>
<h-view class="public-style about" title="关于津易租">
<h-header>
<div slot="left" class="h-header-btn" @click="$routeGo()">
<i class="ion-ios-arrow-back"/>
</div>
<div slot="center">关于津易租</div>
</h-header>
<h-content>
<div class="about-content">
<img class="icon" src="@/assets/image/icon.png">
<div class="version">津易租 v{{ currentVersion }}</div>
</div>
<list-item>
<item :show-arrow="true" @click.native="userAgree">
<div slot="name">用户协议</div>
</item>
<item :show-arrow="true" @click.native="privacyPolicy">
<div slot="name">隐私政策</div>
</item>
</list-item>
</h-content>
</h-view>
</template>
<script>
export default {
data () {
return {
currentVersion: process.env.currentVersion,
}
},
methods: {
userAgree () {
this.$router.push({
name: 'UserAgree',
})
},
privacyPolicy () {
this.$router.push({
name: 'PrivacyPolicy',
})
},
},
}
</script>
<style lang="less">
.about {
background-color: #f3f3f3;
.content {
.about-content {
height: 170px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: #fff;
.icon{
width: 60px;
height: 60px;
border-radius: 12px;
box-shadow: 0 0.03rem 0.01rem -0.02rem rgba(0,0,0,.2), 0 0.02rem 0.02rem 0 rgba(0,0,0,.14), 0 0.01rem 0.05rem 0 rgba(0,0,0,.12);
}
.version{
margin-top: 20px;
font-size: 17px;
color: #666;
font-weight: 400;
}
}
.hls-list-item{
margin-top: 20px;
.hls-item{
.contents{
.add-name{
color: #666;
}
}
}
}
}
}
</style>
This diff is collapsed.
This diff is collapsed.
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<img slot="left-icon" src="@/assets/myInfo/help.png" class="left-icon" > <img slot="left-icon" src="@/assets/myInfo/help.png" class="left-icon" >
<div slot="name">帮助与反馈</div> <div slot="name">帮助与反馈</div>
</item> </item>
<item> <item @click.native="goAbout">
<img slot="left-icon" src="@/assets/myInfo/about.png" class="left-icon" > <img slot="left-icon" src="@/assets/myInfo/about.png" class="left-icon" >
<div slot="name">关于徐工</div> <div slot="name">关于徐工</div>
</item> </item>
...@@ -968,6 +968,11 @@ export default { ...@@ -968,6 +968,11 @@ export default {
return '' return ''
} }
}, },
goAbout () {
this.$router.push({
name: 'About',
})
},
}, },
} }
</script> </script>
......
...@@ -440,7 +440,7 @@ export default { ...@@ -440,7 +440,7 @@ export default {
} }
} }
.scroll { .scroll {
background-color: #efefef; background-color: #f5f5f5;
margin-top: 20px; margin-top: 20px;
} }
.item { .item {
......
...@@ -126,6 +126,10 @@ import CreateBaseInfo from '@/pages/contractCreate/create-base-info' ...@@ -126,6 +126,10 @@ import CreateBaseInfo from '@/pages/contractCreate/create-base-info'
import CreateRentInfo from '@/pages/contractCreate/creat-rent-info' import CreateRentInfo from '@/pages/contractCreate/creat-rent-info'
import CreateEnclosureInfo from '@/pages/contractCreate/create-enclosure-info' import CreateEnclosureInfo from '@/pages/contractCreate/create-enclosure-info'
import About from '@/pages/myInfo/About'
import UserAgree from '@/pages/myInfo/UserAgreement'
import PrivacyPolicy from '@/pages/myInfo/PrivacyPolicy'
// 我的发票 // 我的发票
import MyInvoice from '@/pages/invoice/invoice' import MyInvoice from '@/pages/invoice/invoice'
Vue.use(Router) Vue.use(Router)
...@@ -298,6 +302,24 @@ export default new Router({ ...@@ -298,6 +302,24 @@ export default new Router({
{path: '/create-enclosure-info', component: CreateEnclosureInfo, name: 'CreateEnclosureInfo', meta: {keepAlive: true}}, {path: '/create-enclosure-info', component: CreateEnclosureInfo, name: 'CreateEnclosureInfo', meta: {keepAlive: true}},
// 我的发票 // 我的发票
{path: '/invoice', component: MyInvoice, name: 'MyInvoice', meta: {keepAlive: false}}, {path: '/invoice', component: MyInvoice, name: 'MyInvoice', meta: {keepAlive: false}},
{
path: '/About',
component: About,
name: 'About',
meta: { keepAlive: true },
},
{
path: '/UserAgree',
component: UserAgree,
name: 'UserAgree',
meta: { keepAlive: true },
},
{
path: '/PrivacyPolicy',
component: PrivacyPolicy,
name: 'PrivacyPolicy',
meta: { keepAlive: true },
},
], ],
scrollBehavior (to, from, savedPosition) { scrollBehavior (to, from, savedPosition) {
if (to.hash) { if (to.hash) {
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.e0d640f6189b81a17905a7a81e655fb4.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.b8d844a40484f981e78e.js></script><script type=text/javascript src=./static/js/app.3a3ec1f3086f3a2db5b4.js></script></body></html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment