@@ -50,10 +50,14 @@ | |||||
</script> | </script> | ||||
<style lang='scss'> | <style lang='scss'> | ||||
uni-app{ | |||||
} | |||||
body { | body { | ||||
max-width: 1024px; | max-width: 1024px; | ||||
min-height: 100%; | |||||
margin: 0 auto; | margin: 0 auto; | ||||
background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%)!important | |||||
background-color: #eee; | |||||
/* background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%)!important */ | |||||
} | } | ||||
uni-modal { | uni-modal { | ||||
@@ -0,0 +1,21 @@ | |||||
{ | |||||
"name": "uni-shop", | |||||
"lockfileVersion": 2, | |||||
"requires": true, | |||||
"packages": { | |||||
"node_modules/jweixin-module": { | |||||
"version": "1.6.0", | |||||
"resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", | |||||
"integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" | |||||
}, | |||||
"node_modules/mpvue-citypicker": { | |||||
"version": "1.0.6", | |||||
"resolved": "https://registry.npmjs.org/mpvue-citypicker/-/mpvue-citypicker-1.0.6.tgz", | |||||
"integrity": "sha512-V8TuUILYw7pFV0ii02tXKUtLmoa+mTxxJS85dEIc4sp85dVTLNi2GmXqBoz9MkT+QwKeOf3fPvFZzoucERz5rA==", | |||||
"engines": { | |||||
"node": ">= 4.0.0", | |||||
"npm": ">= 3.0.0" | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -1,54 +1,26 @@ | |||||
{ | { | ||||
"_from": "jweixin-module", | |||||
"_id": "jweixin-module@1.6.0", | |||||
"_inBundle": false, | |||||
"_integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==", | |||||
"_location": "/jweixin-module", | |||||
"_phantomChildren": {}, | |||||
"_requested": { | |||||
"type": "tag", | |||||
"registry": true, | |||||
"raw": "jweixin-module", | |||||
"name": "jweixin-module", | "name": "jweixin-module", | ||||
"escapedName": "jweixin-module", | |||||
"rawSpec": "", | |||||
"saveSpec": null, | |||||
"fetchSpec": "latest" | |||||
}, | |||||
"_requiredBy": [ | |||||
"#USER", | |||||
"/" | |||||
], | |||||
"_resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", | |||||
"_shasum": "4a7ea614083e3c9c3f49e2fdc2bb882cfa58dfcd", | |||||
"_spec": "jweixin-module", | |||||
"_where": "/Users/zhengmingwei/Desktop/Project/uni-app/uni-shop", | |||||
"author": { | |||||
"name": "Shengqiang Guo" | |||||
}, | |||||
"bugs": { | |||||
"url": "https://github.com/zhetengbiji/jweixin-module/issues" | |||||
}, | |||||
"bundleDependencies": false, | |||||
"deprecated": false, | |||||
"description": "微信JS-SDK", | |||||
"devDependencies": {}, | |||||
"homepage": "https://github.com/zhetengbiji/jweixin-module#readme", | |||||
"keywords": [ | |||||
"wxjssdk", | |||||
"weixin", | |||||
"jweixin", | |||||
"wechat", | |||||
"jssdk", | |||||
"wx" | |||||
], | |||||
"license": "ISC", | |||||
"main": "lib/index.js", | |||||
"name": "jweixin-module", | |||||
"repository": { | |||||
"type": "git", | |||||
"url": "git+https://github.com/zhetengbiji/jweixin-module.git" | |||||
}, | |||||
"scripts": {}, | |||||
"version": "1.6.0" | |||||
"version": "1.6.0", | |||||
"description": "微信JS-SDK", | |||||
"main": "lib/index.js", | |||||
"scripts": {}, | |||||
"repository": { | |||||
"type": "git", | |||||
"url": "git+https://github.com/zhetengbiji/jweixin-module.git" | |||||
}, | |||||
"keywords": [ | |||||
"wxjssdk", | |||||
"weixin", | |||||
"jweixin", | |||||
"wechat", | |||||
"jssdk", | |||||
"wx" | |||||
], | |||||
"author": "Shengqiang Guo", | |||||
"license": "ISC", | |||||
"bugs": { | |||||
"url": "https://github.com/zhetengbiji/jweixin-module/issues" | |||||
}, | |||||
"homepage": "https://github.com/zhetengbiji/jweixin-module#readme", | |||||
"devDependencies": {} | |||||
} | } |
@@ -1,44 +1,25 @@ | |||||
{ | { | ||||
"_from": "mpvue-citypicker", | |||||
"_id": "mpvue-citypicker@1.0.6", | |||||
"_inBundle": false, | |||||
"_integrity": "sha512-V8TuUILYw7pFV0ii02tXKUtLmoa+mTxxJS85dEIc4sp85dVTLNi2GmXqBoz9MkT+QwKeOf3fPvFZzoucERz5rA==", | |||||
"_location": "/mpvue-citypicker", | |||||
"_phantomChildren": {}, | |||||
"_requested": { | |||||
"type": "tag", | |||||
"registry": true, | |||||
"raw": "mpvue-citypicker", | |||||
"name": "mpvue-citypicker", | |||||
"escapedName": "mpvue-citypicker", | |||||
"rawSpec": "", | |||||
"saveSpec": null, | |||||
"fetchSpec": "latest" | |||||
}, | |||||
"_requiredBy": [ | |||||
"#USER", | |||||
"/" | |||||
], | |||||
"_resolved": "https://registry.npmjs.org/mpvue-citypicker/-/mpvue-citypicker-1.0.6.tgz", | |||||
"_shasum": "861b9d4b1ed2245ad860d7e29dd2872d8fa7c74a", | |||||
"_spec": "mpvue-citypicker", | |||||
"_where": "/Users/zhengmingwei/Desktop/Project/uni-app/uni-shop", | |||||
"author": { | |||||
"name": "KuangPF", | |||||
"email": "1633397286@qq.com" | |||||
"name": "mpvue-citypicker", | |||||
"version": "1.0.6", | |||||
"description": "基于 mpvue 框架的城市选择器,含 code ", | |||||
"main": "src/mpvueCityPicker.vue", | |||||
"author": "KuangPF <1633397286@qq.com>", | |||||
"private": false, | |||||
"repository": { | |||||
"type": "git", | |||||
"url": "https://github.com/MPComponent/mpvue-citypicker" | |||||
}, | }, | ||||
"browserslist": [ | |||||
"> 1%", | |||||
"last 2 versions", | |||||
"not ie <= 8" | |||||
"files": [ | |||||
"src" | |||||
], | ], | ||||
"bugs": { | |||||
"url": "https://github.com/MPComponent/mpvue-citypicker/issues" | |||||
"license": "MIT", | |||||
"scripts": { | |||||
"dev": "node build/dev-server.js", | |||||
"start": "node build/dev-server.js", | |||||
"build": "node build/build.js", | |||||
"lint": "eslint --ext .js,.vue src" | |||||
}, | }, | ||||
"bundleDependencies": false, | |||||
"dependencies": {}, | "dependencies": {}, | ||||
"deprecated": false, | |||||
"description": "基于 mpvue 框架的城市选择器,含 code ", | |||||
"devDependencies": { | "devDependencies": { | ||||
"babel-core": "^6.22.1", | "babel-core": "^6.22.1", | ||||
"babel-eslint": "^8.2.3", | "babel-eslint": "^8.2.3", | ||||
@@ -97,23 +78,9 @@ | |||||
"node": ">= 4.0.0", | "node": ">= 4.0.0", | ||||
"npm": ">= 3.0.0" | "npm": ">= 3.0.0" | ||||
}, | }, | ||||
"files": [ | |||||
"src" | |||||
], | |||||
"homepage": "https://github.com/MPComponent/mpvue-citypicker#readme", | |||||
"license": "MIT", | |||||
"main": "src/mpvueCityPicker.vue", | |||||
"name": "mpvue-citypicker", | |||||
"private": false, | |||||
"repository": { | |||||
"type": "git", | |||||
"url": "git+https://github.com/MPComponent/mpvue-citypicker.git" | |||||
}, | |||||
"scripts": { | |||||
"build": "node build/build.js", | |||||
"dev": "node build/dev-server.js", | |||||
"lint": "eslint --ext .js,.vue src", | |||||
"start": "node build/dev-server.js" | |||||
}, | |||||
"version": "1.0.6" | |||||
"browserslist": [ | |||||
"> 1%", | |||||
"last 2 versions", | |||||
"not ie <= 8" | |||||
] | |||||
} | } |
@@ -0,0 +1,139 @@ | |||||
/* eslint-disable */ | |||||
var provinceData = [{ | |||||
"label": "北京市", | |||||
"value": "11" | |||||
}, | |||||
{ | |||||
"label": "天津市", | |||||
"value": "12" | |||||
}, | |||||
{ | |||||
"label": "河北省", | |||||
"value": "13" | |||||
}, | |||||
{ | |||||
"label": "山西省", | |||||
"value": "14" | |||||
}, | |||||
{ | |||||
"label": "内蒙古自治区", | |||||
"value": "15" | |||||
}, | |||||
{ | |||||
"label": "辽宁省", | |||||
"value": "21" | |||||
}, | |||||
{ | |||||
"label": "吉林省", | |||||
"value": "22" | |||||
}, | |||||
{ | |||||
"label": "黑龙江省", | |||||
"value": "23" | |||||
}, | |||||
{ | |||||
"label": "上海市", | |||||
"value": "31" | |||||
}, | |||||
{ | |||||
"label": "江苏省", | |||||
"value": "32" | |||||
}, | |||||
{ | |||||
"label": "浙江省", | |||||
"value": "33" | |||||
}, | |||||
{ | |||||
"label": "安徽省", | |||||
"value": "34" | |||||
}, | |||||
{ | |||||
"label": "福建省", | |||||
"value": "35" | |||||
}, | |||||
{ | |||||
"label": "江西省", | |||||
"value": "36" | |||||
}, | |||||
{ | |||||
"label": "山东省", | |||||
"value": "37" | |||||
}, | |||||
{ | |||||
"label": "河南省", | |||||
"value": "41" | |||||
}, | |||||
{ | |||||
"label": "湖北省", | |||||
"value": "42" | |||||
}, | |||||
{ | |||||
"label": "湖南省", | |||||
"value": "43" | |||||
}, | |||||
{ | |||||
"label": "广东省", | |||||
"value": "44" | |||||
}, | |||||
{ | |||||
"label": "广西壮族自治区", | |||||
"value": "45" | |||||
}, | |||||
{ | |||||
"label": "海南省", | |||||
"value": "46" | |||||
}, | |||||
{ | |||||
"label": "重庆市", | |||||
"value": "50" | |||||
}, | |||||
{ | |||||
"label": "四川省", | |||||
"value": "51" | |||||
}, | |||||
{ | |||||
"label": "贵州省", | |||||
"value": "52" | |||||
}, | |||||
{ | |||||
"label": "云南省", | |||||
"value": "53" | |||||
}, | |||||
{ | |||||
"label": "西藏自治区", | |||||
"value": "54" | |||||
}, | |||||
{ | |||||
"label": "陕西省", | |||||
"value": "61" | |||||
}, | |||||
{ | |||||
"label": "甘肃省", | |||||
"value": "62" | |||||
}, | |||||
{ | |||||
"label": "青海省", | |||||
"value": "63" | |||||
}, | |||||
{ | |||||
"label": "宁夏回族自治区", | |||||
"value": "64" | |||||
}, | |||||
{ | |||||
"label": "新疆维吾尔自治区", | |||||
"value": "65" | |||||
}, | |||||
{ | |||||
"label": "台湾", | |||||
"value": "66" | |||||
}, | |||||
{ | |||||
"label": "香港", | |||||
"value": "67" | |||||
}, | |||||
{ | |||||
"label": "澳门", | |||||
"value": "68" | |||||
} | |||||
] | |||||
export default provinceData; |
@@ -1,249 +1,205 @@ | |||||
<template> | <template> | ||||
<div class="mpvue-picker"> | |||||
<div :class="{'pickerMask':showPicker}" @click="maskClick" catchtouchmove="true"></div> | |||||
<div class="mpvue-picker-content " :class="{'mpvue-picker-view-show':showPicker}"> | |||||
<div class="mpvue-picker__hd" catchtouchmove="true"> | |||||
<div class="mpvue-picker__action" @click="pickerCancel">取消</div> | |||||
<div class="mpvue-picker__action" :style="{color:themeColor}" @click="pickerConfirm">确定</div> | |||||
</div> | |||||
<picker-view indicator-style="height: 40px;" class="mpvue-picker-view" :value="pickerValue" @change="pickerChange"> | |||||
<block> | |||||
<picker-view-column> | |||||
<div class="picker-item" v-for="(item,index) in provinceDataList" :key="index">{{item.label}}</div> | |||||
</picker-view-column> | |||||
<picker-view-column> | |||||
<div class="picker-item" v-for="(item,index) in cityDataList" :key="index">{{item.label}}</div> | |||||
</picker-view-column> | |||||
<picker-view-column> | |||||
<div class="picker-item" v-for="(item,index) in areaDataList" :key="index">{{item.label}}</div> | |||||
</picker-view-column> | |||||
</block> | |||||
</picker-view> | |||||
</div> | |||||
</div> | |||||
<div class="mpvue-picker"> | |||||
<div :class="{'pickerMask':showPicker}" @click="maskClick" catchtouchmove="true"></div> | |||||
<div class="mpvue-picker-content " :class="{'mpvue-picker-view-show':showPicker}"> | |||||
<div class="mpvue-picker__hd" catchtouchmove="true"> | |||||
<div class="mpvue-picker__action" @click="pickerCancel">取消</div> | |||||
<div class="mpvue-picker__action" :style="{color:themeColor}" @click="pickerConfirm">确定</div> | |||||
</div> | |||||
<picker-view indicator-style="height: 40px;" class="mpvue-picker-view" :value="pickerValue" @change="pickerChange"> | |||||
<block> | |||||
<picker-view-column> | |||||
<div class="picker-item" v-for="(item,index) in provinceDataList" :key="index">{{item.label}}</div> | |||||
</picker-view-column> | |||||
<picker-view-column> | |||||
<div class="picker-item" v-for="(item,index) in cityDataList" :key="index">{{item.label}}</div> | |||||
</picker-view-column> | |||||
<picker-view-column> | |||||
<div class="picker-item" v-for="(item,index) in areaDataList" :key="index">{{item.label}}</div> | |||||
</picker-view-column> | |||||
</block> | |||||
</picker-view> | |||||
</div> | |||||
</div> | |||||
</template> | </template> | ||||
<script> | <script> | ||||
export default { | |||||
data() { | |||||
return { | |||||
pickerValue: [0, 0, 0], | |||||
provinceDataList: [], | |||||
cityDataList: [], | |||||
areaDataList: [], | |||||
showPicker: false, | |||||
pickerValueDefault:[0,0,0] | |||||
}; | |||||
}, | |||||
async created() { | |||||
// 微信小程序不需要这行 ,H5需要 | |||||
// #ifndef MP | |||||
this.pickerValue = await this.handPickValueDefault(); | |||||
this._$emit('onConfirm'); | |||||
// #endif | |||||
}, | |||||
props: { | |||||
/* 默认值 */ | |||||
// pickerValueDefault: { | |||||
// type: Array, | |||||
// default: [0, 0, 0] | |||||
// }, | |||||
/* 主题色 */ | |||||
themeColor: { | |||||
type: String, | |||||
default: '#1aad19' | |||||
} | |||||
}, | |||||
methods: { | |||||
async creat(pickerValueDefault) { | |||||
this.pickerValueDefault = pickerValueDefault; | |||||
this.pickerValue = await this.handPickValueDefault(); | |||||
this._$emit('onConfirm'); | |||||
}, | |||||
show() { | |||||
setTimeout(() => { | |||||
this.showPicker = true; | |||||
}, 0); | |||||
}, | |||||
maskClick() { | |||||
this.pickerCancel(); | |||||
}, | |||||
pickerCancel() { | |||||
this.showPicker = false; | |||||
this._$emit('onCancel'); | |||||
}, | |||||
pickerConfirm(e) { | |||||
this.showPicker = false; | |||||
this._$emit('onConfirm'); | |||||
}, | |||||
showPickerView() { | |||||
this.showPicker = true; | |||||
}, | |||||
async handPickValueDefault() { | |||||
let tempPickerValue = this.pickerValueDefault; | |||||
console.log(tempPickerValue); | |||||
this.provinceDataList = await this.$api.request('/address/area?pid=0'); | |||||
this.cityDataList = await this.$api.request('/address/area?pid=' + (tempPickerValue[0] != 0 ? tempPickerValue[0] : this.provinceDataList[0].id)); | |||||
this.areaDataList = await this.$api.request('/address/area?pid=' + (tempPickerValue[1] != 0 ? tempPickerValue[1] : this.cityDataList[0].id)); | |||||
for (let i in this.provinceDataList) { | |||||
if (this.provinceDataList[i].id == tempPickerValue[0]) { | |||||
tempPickerValue[0] = i; | |||||
break; | |||||
} | |||||
} | |||||
for (let i in this.cityDataList) { | |||||
if (this.cityDataList[i].id == tempPickerValue[1]) { | |||||
tempPickerValue[1] = i; | |||||
break; | |||||
} | |||||
} | |||||
for (let i in this.areaDataList) { | |||||
if (this.areaDataList[i].id == tempPickerValue[2]) { | |||||
tempPickerValue[2] = i; | |||||
break; | |||||
} | |||||
} | |||||
return tempPickerValue; | |||||
}, | |||||
async pickerChange(e) { | |||||
let changePickerValue = e.mp.detail.value; | |||||
if (this.pickerValue[0] !== changePickerValue[0]) { | |||||
// 第一级发生滚动 | |||||
// this.cityDataList = cityData[changePickerValue[0]]; | |||||
// this.areaDataList = areaData[changePickerValue[0]][0]; | |||||
let provinceId = this.provinceDataList[changePickerValue[0]].id; | |||||
this.cityDataList = await this.$api.request('/address/area?pid=' + provinceId); | |||||
this.areaDataList = await this.$api.request('/address/area?pid=' + this.cityDataList[0].id); | |||||
changePickerValue[1] = 0; | |||||
changePickerValue[2] = 0; | |||||
} else if (this.pickerValue[1] !== changePickerValue[1]) { | |||||
// 第二级滚动 | |||||
// this.areaDataList = | |||||
// areaData[changePickerValue[0]][changePickerValue[1]]; | |||||
let cityId = this.cityDataList[changePickerValue[1]].id; | |||||
this.areaDataList = await this.$api.request('/address/area?pid=' + cityId); | |||||
changePickerValue[2] = 0; | |||||
} | |||||
this.pickerValue = changePickerValue; | |||||
this._$emit('onChange'); | |||||
}, | |||||
_$emit(emitName) { | |||||
let pickObj = { | |||||
label: this._getLabel(), | |||||
value: this._getAreaId(), | |||||
cityCode: this._getCityCode() | |||||
}; | |||||
this.$emit(emitName, pickObj); | |||||
}, | |||||
_getLabel() { | |||||
let pcikerLabel = | |||||
this.provinceDataList[this.pickerValue[0]].label + | |||||
'-' + | |||||
this.cityDataList[this.pickerValue[1]].label + | |||||
'-' + | |||||
this.areaDataList[this.pickerValue[2]].label; | |||||
return pcikerLabel; | |||||
}, | |||||
_getCityCode() { | |||||
return this.areaDataList[this.pickerValue[2]].value; | |||||
}, | |||||
_getAreaId() { | |||||
let areaId = [ | |||||
this.provinceDataList[this.pickerValue[0]].id, | |||||
this.cityDataList[this.pickerValue[1]].id, | |||||
this.areaDataList[this.pickerValue[2]].id | |||||
]; | |||||
return areaId; | |||||
} | |||||
} | |||||
}; | |||||
import provinceData from './city-data/province.js'; | |||||
import cityData from './city-data/city.js'; | |||||
import areaData from './city-data/area.js'; | |||||
export default { | |||||
data() { | |||||
return { | |||||
pickerValue: [0, 0, 0], | |||||
provinceDataList: [], | |||||
cityDataList: [], | |||||
areaDataList: [], | |||||
showPicker: false | |||||
}; | |||||
}, | |||||
created() { | |||||
let tempPickerValue = this.handPickValueDefault(); | |||||
this.provinceDataList = provinceData; | |||||
this.cityDataList = cityData[this.pickerValueDefault[0]]; | |||||
this.areaDataList = areaData[this.pickerValueDefault[0]][this.pickerValueDefault[1]]; | |||||
setTimeout(() => { | |||||
this.pickerValue = tempPickerValue; | |||||
}); | |||||
}, | |||||
props: { | |||||
/* 默认值 */ | |||||
pickerValueDefault: { | |||||
type: Array, | |||||
default: [0, 0, 0] | |||||
}, | |||||
/* 主题色 */ | |||||
themeColor: { | |||||
type: String, | |||||
default: '#1aad19' | |||||
} | |||||
}, | |||||
methods: { | |||||
show() { | |||||
setTimeout(() => { | |||||
this.showPicker = true; | |||||
}, 0); | |||||
}, | |||||
maskClick() { | |||||
this.pickerCancel(); | |||||
}, | |||||
pickerCancel() { | |||||
this.showPicker = false; | |||||
this._$emit('onCancel'); | |||||
}, | |||||
pickerConfirm(e) { | |||||
this.showPicker = false; | |||||
this._$emit('onConfirm'); | |||||
}, | |||||
showPickerView() { | |||||
this.showPicker = true; | |||||
}, | |||||
handPickValueDefault() { | |||||
let tempPickerValue = this.pickerValueDefault; | |||||
if (this.pickerValueDefault !== [0, 0, 0]) { | |||||
if (this.pickerValueDefault[0] > provinceData.length - 1) { | |||||
tempPickerValue[0] = provinceData.length - 1; | |||||
} | |||||
if (this.pickerValueDefault[1] > cityData[tempPickerValue[0]].length - 1) { | |||||
tempPickerValue[1] = cityData[tempPickerValue[0]].length - 1; | |||||
} | |||||
if (this.pickerValueDefault[2] > areaData[tempPickerValue[0]][tempPickerValue[1]].length - 1) { | |||||
tempPickerValue[2] = areaData[tempPickerValue[0]][tempPickerValue[1]].length - 1; | |||||
} | |||||
} | |||||
return tempPickerValue; | |||||
}, | |||||
pickerChange(e) { | |||||
let changePickerValue = e.mp.detail.value; | |||||
if (this.pickerValue[0] !== changePickerValue[0]) { | |||||
// 第一级发生滚动 | |||||
this.cityDataList = cityData[changePickerValue[0]]; | |||||
this.areaDataList = areaData[changePickerValue[0]][0]; | |||||
changePickerValue[1] = 0; | |||||
changePickerValue[2] = 0; | |||||
} else if (this.pickerValue[1] !== changePickerValue[1]) { | |||||
// 第二级滚动 | |||||
this.areaDataList = | |||||
areaData[changePickerValue[0]][changePickerValue[1]]; | |||||
changePickerValue[2] = 0; | |||||
} | |||||
this.pickerValue = changePickerValue; | |||||
this._$emit('onChange'); | |||||
}, | |||||
_$emit(emitName) { | |||||
let pickObj = { | |||||
label: this._getLabel(), | |||||
value: this.pickerValue, | |||||
cityCode: this._getCityCode() | |||||
}; | |||||
this.$emit(emitName, pickObj); | |||||
}, | |||||
_getLabel() { | |||||
let pcikerLabel = | |||||
this.provinceDataList[this.pickerValue[0]].label + | |||||
'-' + | |||||
this.cityDataList[this.pickerValue[1]].label + | |||||
'-' + | |||||
this.areaDataList[this.pickerValue[2]].label; | |||||
return pcikerLabel; | |||||
}, | |||||
_getCityCode() { | |||||
return this.areaDataList[this.pickerValue[2]].value; | |||||
} | |||||
} | |||||
}; | |||||
</script> | </script> | ||||
<style> | <style> | ||||
.pickerMask { | |||||
position: fixed; | |||||
z-index: 1000; | |||||
top: 0; | |||||
right: 0; | |||||
left: 0; | |||||
bottom: 0; | |||||
background: rgba(0, 0, 0, 0.6); | |||||
} | |||||
.mpvue-picker-content { | |||||
position: fixed; | |||||
bottom: 0; | |||||
left: 0; | |||||
width: 100%; | |||||
transition: all 0.3s ease; | |||||
transform: translateY(100%); | |||||
z-index: 3000; | |||||
} | |||||
.mpvue-picker-view-show { | |||||
transform: translateY(0); | |||||
} | |||||
.mpvue-picker__hd { | |||||
display: flex; | |||||
padding: 9px 15px; | |||||
background-color: #fff; | |||||
position: relative; | |||||
text-align: center; | |||||
font-size: 17px; | |||||
} | |||||
.mpvue-picker__hd:after { | |||||
content: " "; | |||||
position: absolute; | |||||
left: 0; | |||||
bottom: 0; | |||||
right: 0; | |||||
height: 1px; | |||||
border-bottom: 1px solid #e5e5e5; | |||||
color: #e5e5e5; | |||||
transform-origin: 0 100%; | |||||
transform: scaleY(0.5); | |||||
} | |||||
.mpvue-picker__action { | |||||
display: block; | |||||
flex: 1; | |||||
color: #1aad19; | |||||
} | |||||
.mpvue-picker__action:first-child { | |||||
text-align: left; | |||||
color: #888; | |||||
} | |||||
.mpvue-picker__action:last-child { | |||||
text-align: right; | |||||
} | |||||
.picker-item { | |||||
text-align: center; | |||||
line-height: 40px; | |||||
text-overflow: ellipsis; | |||||
white-space: nowrap; | |||||
} | |||||
.mpvue-picker-view { | |||||
position: relative; | |||||
bottom: 0; | |||||
left: 0; | |||||
width: 100%; | |||||
height: 238px; | |||||
background-color: rgba(255, 255, 255, 1); | |||||
} | |||||
.pickerMask { | |||||
position: fixed; | |||||
z-index: 1000; | |||||
top: 0; | |||||
right: 0; | |||||
left: 0; | |||||
bottom: 0; | |||||
background: rgba(0, 0, 0, 0.6); | |||||
} | |||||
.mpvue-picker-content { | |||||
position: fixed; | |||||
bottom: 0; | |||||
left: 0; | |||||
width: 100%; | |||||
transition: all 0.3s ease; | |||||
transform: translateY(100%); | |||||
z-index: 3000; | |||||
} | |||||
.mpvue-picker-view-show { | |||||
transform: translateY(0); | |||||
} | |||||
.mpvue-picker__hd { | |||||
display: flex; | |||||
padding: 9px 15px; | |||||
background-color: #fff; | |||||
position: relative; | |||||
text-align: center; | |||||
font-size: 17px; | |||||
} | |||||
.mpvue-picker__hd:after { | |||||
content: " "; | |||||
position: absolute; | |||||
left: 0; | |||||
bottom: 0; | |||||
right: 0; | |||||
height: 1px; | |||||
border-bottom: 1px solid #e5e5e5; | |||||
color: #e5e5e5; | |||||
transform-origin: 0 100%; | |||||
transform: scaleY(0.5); | |||||
} | |||||
.mpvue-picker__action { | |||||
display: block; | |||||
flex: 1; | |||||
color: #1aad19; | |||||
} | |||||
.mpvue-picker__action:first-child { | |||||
text-align: left; | |||||
color: #888; | |||||
} | |||||
.mpvue-picker__action:last-child { | |||||
text-align: right; | |||||
} | |||||
.picker-item { | |||||
text-align: center; | |||||
line-height: 40px; | |||||
text-overflow: ellipsis; | |||||
white-space: nowrap; | |||||
} | |||||
.mpvue-picker-view { | |||||
position: relative; | |||||
bottom: 0; | |||||
left: 0; | |||||
width: 100%; | |||||
height: 238px; | |||||
background-color: rgba(255, 255, 255, 1); | |||||
} | |||||
</style> | </style> |
@@ -1,15 +1,30 @@ | |||||
{ | { | ||||
"name": "uni-shop", | |||||
"lockfileVersion": 2, | |||||
"requires": true, | "requires": true, | ||||
"lockfileVersion": 1, | |||||
"dependencies": { | |||||
"jweixin-module": { | |||||
"packages": { | |||||
"node_modules/jweixin-module": { | |||||
"version": "1.6.0", | "version": "1.6.0", | ||||
"resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", | "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", | ||||
"integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" | "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" | ||||
}, | }, | ||||
"mpvue-citypicker": { | |||||
"node_modules/mpvue-citypicker": { | |||||
"version": "1.0.6", | "version": "1.0.6", | ||||
"resolved": "https://registry.npmjs.org/mpvue-citypicker/-/mpvue-citypicker-1.0.6.tgz", | "resolved": "https://registry.npmjs.org/mpvue-citypicker/-/mpvue-citypicker-1.0.6.tgz", | ||||
"integrity": "sha512-V8TuUILYw7pFV0ii02tXKUtLmoa+mTxxJS85dEIc4sp85dVTLNi2GmXqBoz9MkT+QwKeOf3fPvFZzoucERz5rA==", | |||||
"engines": { | |||||
"node": ">= 4.0.0", | |||||
"npm": ">= 3.0.0" | |||||
} | |||||
} | |||||
}, | |||||
"dependencies": { | |||||
"jweixin-module": { | |||||
"version": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", | |||||
"integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" | |||||
}, | |||||
"mpvue-citypicker": { | |||||
"version": "https://registry.npmjs.org/mpvue-citypicker/-/mpvue-citypicker-1.0.6.tgz", | |||||
"integrity": "sha512-V8TuUILYw7pFV0ii02tXKUtLmoa+mTxxJS85dEIc4sp85dVTLNi2GmXqBoz9MkT+QwKeOf3fPvFZzoucERz5rA==" | "integrity": "sha512-V8TuUILYw7pFV0ii02tXKUtLmoa+mTxxJS85dEIc4sp85dVTLNi2GmXqBoz9MkT+QwKeOf3fPvFZzoucERz5rA==" | ||||
} | } | ||||
} | } | ||||
@@ -0,0 +1 @@ | |||||
{} |
@@ -264,12 +264,12 @@ | |||||
"selectedIconPath": "static/tab-home-current.png", | "selectedIconPath": "static/tab-home-current.png", | ||||
"text": "Home" | "text": "Home" | ||||
}, | }, | ||||
{ | |||||
"pagePath": "pages/product/list", | |||||
"iconPath": "static/tab-cate.png", | |||||
"selectedIconPath": "static/tab-cate-current.png", | |||||
"text": "Catagory" | |||||
}, | |||||
// { | |||||
// "pagePath": "pages/product/list", | |||||
// "iconPath": "static/tab-cate.png", | |||||
// "selectedIconPath": "static/tab-cate-current.png", | |||||
// "text": "Catagory" | |||||
// }, | |||||
{ | { | ||||
"pagePath": "pages/cart/cart", | "pagePath": "pages/cart/cart", | ||||
"iconPath": "static/tab-cart.png", | "iconPath": "static/tab-cart.png", | ||||
@@ -293,7 +293,7 @@ | |||||
<style lang='scss'> | <style lang='scss'> | ||||
.container { | .container { | ||||
padding-bottom: 134upx; | |||||
margin-bottom: 134upx; | |||||
/* 空白页 */ | /* 空白页 */ | ||||
.empty { | .empty { | ||||
@@ -413,10 +413,12 @@ | |||||
/* #ifdef H5 */ | /* #ifdef H5 */ | ||||
margin-bottom: 100upx; | margin-bottom: 100upx; | ||||
/* #endif */ | /* #endif */ | ||||
position: absolute; | |||||
position: fixed; | |||||
max-width: 1024px; | |||||
margin: auto; | |||||
left: 30upx; | left: 30upx; | ||||
right: 30upx; | right: 30upx; | ||||
bottom: -80upx; | |||||
bottom: 60px; | |||||
z-index: 95; | z-index: 95; | ||||
display: flex; | display: flex; | ||||
align-items: center; | align-items: center; | ||||
@@ -38,7 +38,11 @@ | |||||
<image :src="item.image" mode="aspectFit"></image> | <image :src="item.image" mode="aspectFit"></image> | ||||
</view> | </view> | ||||
<text class="title clamp">{{item.title }}</text> | <text class="title clamp">{{item.title }}</text> | ||||
<text class="price">¥{{item.sales_price }}</text> | |||||
<view style="display: flex;align-items:center;justify-content: space-evenly;"> | |||||
<text class="price">¥{{item.sales_price }}</text> | |||||
<button type="primary" class="no-border confirm-btn" @click.stop.native="addCart(item)">add cart</button> | |||||
</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -376,6 +380,17 @@ | |||||
} | } | ||||
//console.log(this.$refs) | //console.log(this.$refs) | ||||
}, | }, | ||||
async addCart(item) { | |||||
let is_login = await this.$api.checkLogin(); | |||||
if (is_login) { | |||||
let data = await this.$api.request('/cart/add?id=' + item.product_id); | |||||
if (data) { | |||||
uni.navigateTo({ | |||||
url: `/pages/cart/cart` | |||||
}) | |||||
} | |||||
} | |||||
}, | |||||
//轮播图切换修改背景色 | //轮播图切换修改背景色 | ||||
swiperChange(e) { | swiperChange(e) { | ||||
const index = e.detail.current; | const index = e.detail.current; | ||||
@@ -493,7 +508,16 @@ | |||||
} | } | ||||
} | } | ||||
} | } | ||||
.confirm-btn { | |||||
padding: 0 10upx; | |||||
margin: 0 2px; | |||||
border-radius: 10px; | |||||
height: 36upx; | |||||
line-height: 36upx; | |||||
font-size: $font-base; | |||||
background: $uni-color-primary; | |||||
box-shadow: 1px 2px 5px rgba(217, 60, 93, 0.72) | |||||
} | |||||
page { | page { | ||||
background: #f5f5f5; | background: #f5f5f5; | ||||
@@ -128,8 +128,8 @@ | |||||
<text class="cart-count" v-if="product.cart_num">{{product.cart_num}}</text> | <text class="cart-count" v-if="product.cart_num">{{product.cart_num}}</text> | ||||
</navigator> | </navigator> | ||||
<view class="p-b-btn" :class="{active: favorite}" @click="toFavorite" v-if="!flash"> | <view class="p-b-btn" :class="{active: favorite}" @click="toFavorite" v-if="!flash"> | ||||
<text class="yticon icon-shoucang"></text> | |||||
<text>collection</text> | |||||
<!-- <text class="yticon icon-shoucang"></text> --> | |||||
<!-- <text>collection</text> --> | |||||
</view> | </view> | ||||
<view class="p-b-btn" v-else> | <view class="p-b-btn" v-else> | ||||
<!-- 站位 --> | <!-- 站位 --> | ||||
@@ -975,7 +975,9 @@ | |||||
/* 底部操作菜单 */ | /* 底部操作菜单 */ | ||||
.page-bottom { | .page-bottom { | ||||
position: absolute; | |||||
position: fixed; | |||||
max-width: 1024px; | |||||
margin: auto; | |||||
left: 30upx; | left: 30upx; | ||||
right: 30upx; | right: 30upx; | ||||
bottom: 30upx; | bottom: 30upx; | ||||
@@ -89,7 +89,7 @@ | |||||
<!-- <list-cell icon="icon-dizhi" iconColor="#5fcda2" title="地址管理" @eventClick="$api.navTo('/pages/address/address')"></list-cell> --> | <!-- <list-cell icon="icon-dizhi" iconColor="#5fcda2" title="地址管理" @eventClick="$api.navTo('/pages/address/address')"></list-cell> --> | ||||
<!-- <list-cell icon="icon-share" iconColor="#9789f7" title="分享" tips="邀请好友赢10万大礼"></list-cell> --> | <!-- <list-cell icon="icon-share" iconColor="#9789f7" title="分享" tips="邀请好友赢10万大礼"></list-cell> --> | ||||
<!-- <list-cell icon="icon-pinglun-copy" iconColor="#ee883b" title="晒单" tips="晒单抢红包"></list-cell> --> | <!-- <list-cell icon="icon-pinglun-copy" iconColor="#ee883b" title="晒单" tips="晒单抢红包"></list-cell> --> | ||||
<list-cell icon="icon-shoucang-setting" iconColor="#54b4ef" title="My Collection" @eventClick="$api.navTo('/pages/favorite/favorite')"></list-cell> | |||||
<!-- <list-cell icon="icon-shoucang-setting" iconColor="#54b4ef" title="My Collection" @eventClick="$api.navTo('/pages/favorite/favorite')"></list-cell> --> | |||||
<list-cell icon="icon-setting" iconColor="#e07472" title="Setting" border="" @eventClick="$api.navTo('/pages/set/set')"></list-cell> | <list-cell icon="icon-setting" iconColor="#e07472" title="Setting" border="" @eventClick="$api.navTo('/pages/set/set')"></list-cell> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -1,3 +1,3 @@ | |||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>宜家自购商城</title><script>document.addEventListener('DOMContentLoaded', function() { | <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>宜家自购商城</title><script>document.addEventListener('DOMContentLoaded', function() { | ||||
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' | document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' | ||||
})</script><link rel=stylesheet href=/h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>/*BAIDU_STAT*/</script><script src=/h5/static/js/chunk-vendors.52b1d904.js></script><script src=/h5/static/js/index.2ac6fc09.js></script></body></html> | |||||
})</script><link rel=stylesheet href=/h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>/*BAIDU_STAT*/</script><script src=/h5/static/js/chunk-vendors.150a6da4.js></script><script src=/h5/static/js/index.4daf6cc0.js></script></body></html> |
@@ -0,0 +1 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-money-money"],{3246:function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return u}));var r=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view")},a=[]},"3a72":function(n,t,e){"use strict";e.r(t);var u=e("6ee7"),r=e.n(u);for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=r.a},"6ee7":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={data:function(){return{}},methods:{}};t.default=u},"96df":function(n,t,e){"use strict";e.r(t);var u=e("3246"),r=e("3a72");for(var a in r)"default"!==a&&function(n){e.d(t,n,(function(){return r[n]}))}(a);var c,f=e("f0c5"),i=Object(f["a"])(r["default"],u["b"],u["c"],!1,null,"029bd7d7",null,!1,u["a"],c);t["default"]=i.exports}}]); |
@@ -1 +0,0 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-money-money"],{1320:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={data:function(){return{}},methods:{}};t.default=u},"141a":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return u}));var r=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view")},a=[]},"88b0":function(n,t,e){"use strict";e.r(t);var u=e("141a"),r=e("aa93");for(var a in r)"default"!==a&&function(n){e.d(t,n,(function(){return r[n]}))}(a);var c,i=e("f0c5"),o=Object(i["a"])(r["default"],u["b"],u["c"],!1,null,"81d3c81e",null,!1,u["a"],c);t["default"]=o.exports},aa93:function(n,t,e){"use strict";e.r(t);var u=e("1320"),r=e.n(u);for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=r.a}}]); |
@@ -0,0 +1 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-money-paySuccess"],{2909:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},methods:{}};e.default=i},"29ce":function(t,e,n){"use strict";var i=n("cabb"),a=n.n(i);a.a},3456:function(t,e,n){"use strict";n.r(e);var i=n("2909"),a=n.n(i);for(var c in i)"default"!==c&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a},"97bd":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.content[data-v-e4ab3c38]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.success-icon[data-v-e4ab3c38]{font-size:%?160?%;color:#fa436a;margin-top:%?100?%}.tit[data-v-e4ab3c38]{font-size:%?38?%;color:#303133}.btn-group[data-v-e4ab3c38]{padding-top:%?100?%}.mix-btn[data-v-e4ab3c38]{margin-top:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:%?600?%;height:%?80?%;font-size:%?32?%;color:#fff;background-color:#fa436a;border-radius:%?10?%}.mix-btn.hollow[data-v-e4ab3c38]{background:#fff;color:#303133;border:1px solid #ccc}',""]),t.exports=e},"9ba1":function(t,e,n){"use strict";n.r(e);var i=n("a33f"),a=n("3456");for(var c in a)"default"!==c&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("29ce");var o,r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"e4ab3c38",null,!1,i["a"],o);e["default"]=s.exports},a33f:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-text",{staticClass:"success-icon yticon icon-xuanzhong"}),n("v-uni-text",{staticClass:"tit"},[t._v("支付成功")]),n("v-uni-view",{staticClass:"btn-group"},[n("v-uni-navigator",{staticClass:"mix-btn",attrs:{url:"/pages/order/order?state=0","open-type":"redirect"}},[t._v("查看订单")]),n("v-uni-navigator",{staticClass:"mix-btn hollow",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[t._v("返回首页")])],1)],1)},c=[]},cabb:function(t,e,n){var i=n("97bd");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("6726c588",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |
@@ -1 +0,0 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-money-paySuccess"],{"0325":function(t,e,n){var i=n("21d3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("bc923186",i,!0,{sourceMap:!1,shadowMode:!1})},"1bae":function(t,e,n){"use strict";var i=n("0325"),a=n.n(i);a.a},"21d3":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.content[data-v-7d8e42c9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.success-icon[data-v-7d8e42c9]{font-size:%?160?%;color:#fa436a;margin-top:%?100?%}.tit[data-v-7d8e42c9]{font-size:%?38?%;color:#303133}.btn-group[data-v-7d8e42c9]{padding-top:%?100?%}.mix-btn[data-v-7d8e42c9]{margin-top:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:%?600?%;height:%?80?%;font-size:%?32?%;color:#fff;background-color:#fa436a;border-radius:%?10?%}.mix-btn.hollow[data-v-7d8e42c9]{background:#fff;color:#303133;border:1px solid #ccc}',""]),t.exports=e},"4c94":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},methods:{}};e.default=i},"7f51":function(t,e,n){"use strict";n.r(e);var i=n("4c94"),a=n.n(i);for(var c in i)"default"!==c&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a},8209:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-text",{staticClass:"success-icon yticon icon-xuanzhong"}),n("v-uni-text",{staticClass:"tit"},[t._v("支付成功")]),n("v-uni-view",{staticClass:"btn-group"},[n("v-uni-navigator",{staticClass:"mix-btn",attrs:{url:"/pages/order/order?state=0","open-type":"redirect"}},[t._v("查看订单")]),n("v-uni-navigator",{staticClass:"mix-btn hollow",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[t._v("返回首页")])],1)],1)},c=[]},af82:function(t,e,n){"use strict";n.r(e);var i=n("8209"),a=n("7f51");for(var c in a)"default"!==c&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("1bae");var o,r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"7d8e42c9",null,!1,i["a"],o);e["default"]=s.exports}}]); |
@@ -0,0 +1 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-evaluate"],{"025f":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-c470fe74]{background:#f5f5f5}.bg[data-v-c470fe74]{margin:%?20?%;border-radius:%?20?%;background-color:#fff;padding-bottom:%?10?%}.header[data-v-c470fe74]{padding:%?20?%}.header .image[data-v-c470fe74]{width:%?120?%;height:%?120?%}.header .right[data-v-c470fe74]{display:inline-block;line-height:%?45?%;vertical-align:text-bottom;padding-bottom:%?10?%;width:%?550?%;padding-left:%?20?%}.header .right .title[data-v-c470fe74]{color:#707277;font-size:%?33?%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header .right .spec[data-v-c470fe74]{color:#91949a;font-size:%?30?%}.rate[data-v-c470fe74]{padding:0 %?20?% %?20?%}.rate .dec[data-v-c470fe74]{display:inline-block;color:#707277}.rate .start[data-v-c470fe74]{width:%?400?%;display:inline-block}.comment[data-v-c470fe74]{padding:%?20?%}.comment uni-textarea[data-v-c470fe74]{padding:%?30?%;background-color:#f5f5f5;width:100%}.bottom[data-v-c470fe74]{padding:%?20?% %?20?% %?40?%}.bottom .radio[data-v-c470fe74]{vertical-align:bottom;float:left}.bottom .dec[data-v-c470fe74]{color:#91949a;float:right}.button[data-v-c470fe74]{margin:%?20?%}body.?%PAGE?%[data-v-c470fe74]{background:#f5f5f5}',""]),t.exports=e},"26ef":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniRate:a("03e7").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"bg"},[a("v-uni-view",{staticClass:"header"},[a("v-uni-image",{staticClass:"image",attrs:{src:t.image}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.title))]),a("v-uni-view",{staticClass:"spec"},[t._v(t._s(t.spec))])],1)],1),a("v-uni-view",{staticClass:"rate"},[a("v-uni-view",{staticClass:"dec"},[t._v("描述相符")]),a("uni-rate",{staticClass:"start",attrs:{"active-color":"#e64340",margin:"10",size:"30",value:t.rate},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.start.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"comment"},[a("v-uni-textarea",{attrs:{maxlength:"300",placeholder:"写满20字,有机会被选为优质评价被更多人看到哦~","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.input.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"bottom"},[a("v-uni-radio",{staticClass:"radio",attrs:{color:"#e64340",checked:t.radio},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickRadio.apply(void 0,arguments)}}}),t._v("公开"),a("v-uni-view",{staticClass:"dec"},[t._v("公开头像昵称,大家可以看到我")])],1),a("v-uni-button",{staticClass:"button",attrs:{type:"warn"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("Submit")])],1)},r=[]},"37f2":function(t,e,a){var i=a("025f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("965189ca",i,!0,{sourceMap:!1,shadowMode:!1})},"97fa":function(t,e,a){"use strict";var i=a("37f2"),n=a.n(i);n.a},d0d7:function(t,e,a){"use strict";a.r(e);var i=a("26ef"),n=a("ebeb");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("97fa");var o,c=a("f0c5"),d=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"c470fe74",null,!1,i["a"],o);e["default"]=d.exports},ebeb:function(t,e,a){"use strict";a.r(e);var i=a("fe05"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},fe05:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var n=i(a("1da1")),r=i(a("03e7")),o={computed:{},components:{uniRate:r.default},data:function(){return{order_id:0,product_id:0,title:"",image:"",spec:"",rate:5,radio:!0,textarea:""}},onLoad:function(t){this.title=t.title,this.image=t.image,this.spec=t.spec,this.order_id=t.order_id,this.product_id=t.product_id},methods:{start:function(t){switch(this.rate=t.value,this.rate){case 3:this.radio=!1;break;case 5:this.radio=!0;break}},clickRadio:function(t){this.radio=!this.radio},input:function(t){this.textarea=t.detail.value},submit:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=t.$api.request("/order/comment","POST",{order_id:t.order_id,product_id:t.product_id,rate:t.rate,anonymous:t.radio?0:1,comment:t.textarea}),a&&(i=t.$api.prePage(),i.tabCurrentIndex&&(i.tabCurrentIndex=0),t,setTimeout((function(){i.pullDownRefresh(),uni.navigateBack()}),2e3));case 2:case"end":return e.stop()}}),e)})))()}}};e.default=o}}]); |
@@ -1 +0,0 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-evaluate"],{"4cda":function(t,a,e){"use strict";var i=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("96cf");var n=i(e("1da1")),r=i(e("42d0")),o={computed:{},components:{uniRate:r.default},data:function(){return{order_id:0,product_id:0,title:"",image:"",spec:"",rate:5,radio:!0,textarea:""}},onLoad:function(t){this.title=t.title,this.image=t.image,this.spec=t.spec,this.order_id=t.order_id,this.product_id=t.product_id},methods:{start:function(t){switch(this.rate=t.value,this.rate){case 3:this.radio=!1;break;case 5:this.radio=!0;break}},clickRadio:function(t){this.radio=!this.radio},input:function(t){this.textarea=t.detail.value},submit:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function a(){var e,i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:e=t.$api.request("/order/comment","POST",{order_id:t.order_id,product_id:t.product_id,rate:t.rate,anonymous:t.radio?0:1,comment:t.textarea}),e&&(i=t.$api.prePage(),i.tabCurrentIndex&&(i.tabCurrentIndex=0),t,setTimeout((function(){i.pullDownRefresh(),uni.navigateBack()}),2e3));case 2:case"end":return a.stop()}}),a)})))()}}};a.default=o},"92d3":function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-30a8e1e2]{background:#f5f5f5}.bg[data-v-30a8e1e2]{margin:%?20?%;border-radius:%?20?%;background-color:#fff;padding-bottom:%?10?%}.header[data-v-30a8e1e2]{padding:%?20?%}.header .image[data-v-30a8e1e2]{width:%?120?%;height:%?120?%}.header .right[data-v-30a8e1e2]{display:inline-block;line-height:%?45?%;vertical-align:text-bottom;padding-bottom:%?10?%;width:%?550?%;padding-left:%?20?%}.header .right .title[data-v-30a8e1e2]{color:#707277;font-size:%?33?%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header .right .spec[data-v-30a8e1e2]{color:#91949a;font-size:%?30?%}.rate[data-v-30a8e1e2]{padding:0 %?20?% %?20?%}.rate .dec[data-v-30a8e1e2]{display:inline-block;color:#707277}.rate .start[data-v-30a8e1e2]{width:%?400?%;display:inline-block}.comment[data-v-30a8e1e2]{padding:%?20?%}.comment uni-textarea[data-v-30a8e1e2]{padding:%?30?%;background-color:#f5f5f5;width:100%}.bottom[data-v-30a8e1e2]{padding:%?20?% %?20?% %?40?%}.bottom .radio[data-v-30a8e1e2]{vertical-align:bottom;float:left}.bottom .dec[data-v-30a8e1e2]{color:#91949a;float:right}.button[data-v-30a8e1e2]{margin:%?20?%}body.?%PAGE?%[data-v-30a8e1e2]{background:#f5f5f5}',""]),t.exports=a},a3b2:function(t,a,e){"use strict";e.r(a);var i=e("4cda"),n=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(a,t,(function(){return i[t]}))}(r);a["default"]=n.a},a6aa:function(t,a,e){var i=e("92d3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("74849024",i,!0,{sourceMap:!1,shadowMode:!1})},afbc:function(t,a,e){"use strict";e.r(a);var i=e("ce43"),n=e("a3b2");for(var r in n)"default"!==r&&function(t){e.d(a,t,(function(){return n[t]}))}(r);e("ce7c");var o,d=e("f0c5"),c=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"30a8e1e2",null,!1,i["a"],o);a["default"]=c.exports},ce43:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return r})),e.d(a,"a",(function(){return i}));var i={uniRate:e("42d0").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"bg"},[e("v-uni-view",{staticClass:"header"},[e("v-uni-image",{staticClass:"image",attrs:{src:t.image}}),e("v-uni-view",{staticClass:"right"},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(t.title))]),e("v-uni-view",{staticClass:"spec"},[t._v(t._s(t.spec))])],1)],1),e("v-uni-view",{staticClass:"rate"},[e("v-uni-view",{staticClass:"dec"},[t._v("描述相符")]),e("uni-rate",{staticClass:"start",attrs:{"active-color":"#e64340",margin:"10",size:"30",value:t.rate},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.start.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"comment"},[e("v-uni-textarea",{attrs:{maxlength:"300",placeholder:"写满20字,有机会被选为优质评价被更多人看到哦~","placeholder-class":"placeholder"},on:{input:function(a){arguments[0]=a=t.$handleEvent(a),t.input.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"bottom"},[e("v-uni-radio",{staticClass:"radio",attrs:{color:"#e64340",checked:t.radio},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.clickRadio.apply(void 0,arguments)}}}),t._v("公开"),e("v-uni-view",{staticClass:"dec"},[t._v("公开头像昵称,大家可以看到我")])],1),e("v-uni-button",{staticClass:"button",attrs:{type:"warn"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.submit.apply(void 0,arguments)}}},[t._v("Submit")])],1)},r=[]},ce7c:function(t,a,e){"use strict";var i=e("a6aa"),n=e.n(i);n.a}}]); |
@@ -0,0 +1 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-public-webview"],{"033e":function(t,e,n){"use strict";n.r(e);var u=n("ef4a"),r=n("5d10");for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var a,c=n("f0c5"),f=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,"42459890",null,!1,u["a"],a);e["default"]=f.exports},"5d10":function(t,e,n){"use strict";n.r(e);var u=n("6627"),r=n.n(u);for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);e["default"]=r.a},6627:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={data:function(){return{url:""}},created:function(){},onLoad:function(t){switch(t.type){case"kd":this.url="https://m.kuaidi100.com/result.jsp?nu="+t.number;break;case"MWEB":uni.setNavigationBarTitle({title:"微信支付"});break}}};e.default=u},ef4a:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return u}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-web-view",{attrs:{src:t.url}})],1)},i=[]}}]); |
@@ -1 +0,0 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-public-webview"],{"3835e":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={data:function(){return{url:""}},created:function(){},onLoad:function(t){switch(t.type){case"kd":this.url="https://m.kuaidi100.com/result.jsp?nu="+t.number;break;case"MWEB":uni.setNavigationBarTitle({title:"微信支付"});break}}};n.default=u},"489a":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return u}));var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[e("v-uni-web-view",{attrs:{src:t.url}})],1)},i=[]},"7c17":function(t,n,e){"use strict";e.r(n);var u=e("489a"),r=e("7dc1");for(var i in r)"default"!==i&&function(t){e.d(n,t,(function(){return r[t]}))}(i);var a,c=e("f0c5"),o=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,"fc7509c6",null,!1,u["a"],a);n["default"]=o.exports},"7dc1":function(t,n,e){"use strict";e.r(n);var u=e("3835e"),r=e.n(u);for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=r.a}}]); |
@@ -1 +0,0 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-set"],{"15b8":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-3e7a92cb]{background:#f8f8f8}.list-cell[data-v-3e7a92cb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline;padding:%?20?% %?30?%;line-height:%?60?%;position:relative;background:#fff;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.list-cell.log-out-btn[data-v-3e7a92cb]{margin-top:%?40?%}.list-cell.log-out-btn .cell-tit[data-v-3e7a92cb]{color:#fa436a;text-align:center;margin-right:0}.list-cell.cell-hover[data-v-3e7a92cb]{background:#fafafa}.list-cell.b-b[data-v-3e7a92cb]:after{left:%?30?%}.list-cell.m-t[data-v-3e7a92cb]{margin-top:%?16?%}.list-cell .cell-more[data-v-3e7a92cb]{-webkit-align-self:baseline;align-self:baseline;font-size:%?32?%;color:#909399;margin-left:%?10?%}.list-cell .cell-tit[data-v-3e7a92cb]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?30?%;color:#303133;margin-right:%?10?%}.list-cell .cell-tip[data-v-3e7a92cb]{font-size:%?28?%;color:#909399}.list-cell uni-switch[data-v-3e7a92cb]{-webkit-transform:translateX(%?16?%) scale(.84);transform:translateX(%?16?%) scale(.84)}body.?%PAGE?%[data-v-3e7a92cb]{background:#f8f8f8}',""]),t.exports=e},"587f":function(t,e,a){var n=a("15b8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("22f29ac7",n,!0,{sourceMap:!1,shadowMode:!1})},"5e69":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return l})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"list-cell b-b m-t",attrs:{"hover-class":"cell-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo("/pages/userinfo/userinfo")}}},[a("v-uni-text",{staticClass:"cell-tit"},[t._v("Change Password")]),a("v-uni-text",{staticClass:"cell-more yticon icon-you"})],1),a("v-uni-view",{staticClass:"list-cell log-out-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toLogout.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"cell-tit"},[t._v("Sign Out")])],1)],1)},l=[]},"804a":function(t,e,a){"use strict";a.r(e);var n=a("9980"),i=a.n(n);for(var l in n)"default"!==l&&function(t){a.d(e,t,(function(){return n[t]}))}(l);e["default"]=i.a},9980:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("5530")),l=a("2f62"),c={data:function(){return{}},methods:(0,i.default)((0,i.default)({},(0,l.mapMutations)(["logout"])),{},{navTo:function(t){uni.navigateTo({url:t})},toLogout:function(){var t=this;uni.showModal({cancelText:"Cancel",confirmText:"OK",content:"Are you sure you want to log out",success:function(e){e.confirm&&(t.logout(),setTimeout((function(){uni.navigateBack()}),200))}})},switchChange:function(t){var e=t.detail.value?"打开":"关闭";this.$api.msg("".concat(e,"消息推送"))}})};e.default=c},a88a:function(t,e,a){"use strict";a.r(e);var n=a("5e69"),i=a("804a");for(var l in i)"default"!==l&&function(t){a.d(e,t,(function(){return i[t]}))}(l);a("d475");var c,o=a("f0c5"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"3e7a92cb",null,!1,n["a"],c);e["default"]=s.exports},d475:function(t,e,a){"use strict";var n=a("587f"),i=a.n(n);i.a}}]); |
@@ -0,0 +1 @@ | |||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-set"],{"05eb":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-3671670b]{background:#f8f8f8}.list-cell[data-v-3671670b]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline;padding:%?20?% %?30?%;line-height:%?60?%;position:relative;background:#fff;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.list-cell.log-out-btn[data-v-3671670b]{margin-top:%?40?%}.list-cell.log-out-btn .cell-tit[data-v-3671670b]{color:#fa436a;text-align:center;margin-right:0}.list-cell.cell-hover[data-v-3671670b]{background:#fafafa}.list-cell.b-b[data-v-3671670b]:after{left:%?30?%}.list-cell.m-t[data-v-3671670b]{margin-top:%?16?%}.list-cell .cell-more[data-v-3671670b]{-webkit-align-self:baseline;align-self:baseline;font-size:%?32?%;color:#909399;margin-left:%?10?%}.list-cell .cell-tit[data-v-3671670b]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?30?%;color:#303133;margin-right:%?10?%}.list-cell .cell-tip[data-v-3671670b]{font-size:%?28?%;color:#909399}.list-cell uni-switch[data-v-3671670b]{-webkit-transform:translateX(%?16?%) scale(.84);transform:translateX(%?16?%) scale(.84)}body.?%PAGE?%[data-v-3671670b]{background:#f8f8f8}',""]),t.exports=e},"22fe":function(t,e,a){"use strict";var n=a("2e59"),i=a.n(n);i.a},"2e59":function(t,e,a){var n=a("05eb");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("8a16248e",n,!0,{sourceMap:!1,shadowMode:!1})},4049:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("5530")),l=a("2f62"),o={data:function(){return{}},methods:(0,i.default)((0,i.default)({},(0,l.mapMutations)(["logout"])),{},{navTo:function(t){uni.navigateTo({url:t})},toLogout:function(){var t=this;uni.showModal({cancelText:"Cancel",confirmText:"OK",content:"Are you sure you want to log out",success:function(e){e.confirm&&(t.logout(),setTimeout((function(){uni.navigateBack()}),200))}})},switchChange:function(t){var e=t.detail.value?"打开":"关闭";this.$api.msg("".concat(e,"消息推送"))}})};e.default=o},aba1:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return l})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"list-cell b-b m-t",attrs:{"hover-class":"cell-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo("/pages/userinfo/userinfo")}}},[a("v-uni-text",{staticClass:"cell-tit"},[t._v("Change Password")]),a("v-uni-text",{staticClass:"cell-more yticon icon-you"})],1),a("v-uni-view",{staticClass:"list-cell log-out-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toLogout.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"cell-tit"},[t._v("Sign Out")])],1)],1)},l=[]},bd48:function(t,e,a){"use strict";a.r(e);var n=a("aba1"),i=a("c540");for(var l in i)"default"!==l&&function(t){a.d(e,t,(function(){return i[t]}))}(l);a("22fe");var o,c=a("f0c5"),s=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"3671670b",null,!1,n["a"],o);e["default"]=s.exports},c540:function(t,e,a){"use strict";a.r(e);var n=a("4049"),i=a.n(n);for(var l in n)"default"!==l&&function(t){a.d(e,t,(function(){return n[t]}))}(l);e["default"]=i.a}}]); |