环境配置文件
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ // 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": [{
|
||||||
|
"default" :
|
||||||
|
{
|
||||||
|
"launchtype" : "local"
|
||||||
|
},
|
||||||
|
"mp-weixin" :
|
||||||
|
{
|
||||||
|
"launchtype" : "local"
|
||||||
|
},
|
||||||
|
"type" : "uniCloud"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
|
||||||
|
const accountInfo = wx.getAccountInfoSync();
|
||||||
|
const appid = accountInfo.miniProgram.appId
|
||||||
|
uni.setStorageSync('appid', appid)
|
||||||
|
let host = ""
|
||||||
|
if (process.env.NODE_ENV === 'development') {
|
||||||
|
console.log("开发环境")
|
||||||
|
// host = "https://ttybapi.pcxbc.com"
|
||||||
|
host = "https://ttybapi.pcxbc.com"
|
||||||
|
} else {
|
||||||
|
console.log("生产环境")
|
||||||
|
host = "https://ybapi.pcxbc.com"
|
||||||
|
}
|
||||||
|
// // 设备管理
|
||||||
|
// let baseUrl = {}
|
||||||
|
// if (appid === 'wx3e83b37ba682faf5') {
|
||||||
|
// console.log("每日一称儿童")
|
||||||
|
// baseUrl.adult = "wxd230a93791c03259"
|
||||||
|
// baseUrl.device = "wx6f48cc32c5c0a4a2"
|
||||||
|
// } else if (appid === 'wx44df5e42ddf16203') {
|
||||||
|
// console.log("小秤匠")
|
||||||
|
// baseUrl.adult = "wx39cf431caa22b5c8"
|
||||||
|
// baseUrl.device = "wx6f48cc32c5c0a4a2"
|
||||||
|
// }
|
||||||
|
console.log("appid", appid)
|
||||||
|
module.exports = {
|
||||||
|
appid,
|
||||||
|
host
|
||||||
|
};
|
||||||
8
main.js
|
|
@ -19,13 +19,17 @@ Vue.prototype.$http = http;
|
||||||
import model from '@/tools/model.js'
|
import model from '@/tools/model.js'
|
||||||
Vue.prototype.$model = model;
|
Vue.prototype.$model = model;
|
||||||
|
|
||||||
|
// 环境配置
|
||||||
|
import config from './config.js'
|
||||||
|
Vue.prototype.config = config;
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
App.mpType = 'app'
|
App.mpType = 'app'
|
||||||
//让页面onLoad在onLaunch后执行
|
//让页面onLoad在onLaunch后执行
|
||||||
Vue.prototype.$onLaunched = new Promise(resolve => {
|
Vue.prototype.$onLaunched = new Promise(resolve => {
|
||||||
Vue.prototype.$isResolve = resolve
|
Vue.prototype.$isResolve = resolve
|
||||||
})
|
})
|
||||||
const app = new Vue({
|
const app = new Vue({
|
||||||
...App
|
...App
|
||||||
})
|
})
|
||||||
app.$mount()
|
app.$mount()
|
||||||
|
|
|
||||||
|
|
@ -1,380 +1,384 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="bgheight" v-if="!isShowA">
|
<view class="bgheight" v-if="!isShowA">
|
||||||
<view v-if="listA">
|
<view v-if="listA">
|
||||||
<view class="btn" @tap="handleListx(1)">重新测评</view>
|
<view class="btn" @tap="handleListx(1)">重新测评</view>
|
||||||
<view class="box">
|
<view class="box">
|
||||||
<view class="name">
|
<view class="name">
|
||||||
<view>本次体质评估结果为</view>
|
<view>本次体质评估结果为</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="conbt">
|
<view class="conbt">
|
||||||
{{listA.bodytype}}
|
{{listA.bodytype}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view class="conbt">
|
||||||
<view class="box" v-if="listA.list.length">
|
{{listA.extinfo}}
|
||||||
<view class="h2">体质解读:</view>
|
</view>
|
||||||
<view v-for="(item,index) in listA.list" :key="index">
|
</view>
|
||||||
<view class="title">{{item.bodytype}}</view>
|
<view class="box" v-if="listA.list.length">
|
||||||
<view class="con">
|
<view class="h2">体质解读:</view>
|
||||||
<view class="text" v-show="item.feature"><text>特征:</text>{{item.feature}}</view>
|
<view v-for="(item,index) in listA.list" :key="index">
|
||||||
<view class="text" v-show="item.people"><text>重点人群:</text>{{item.people}}</view>
|
<view class="title">{{item.bodytype}}</view>
|
||||||
<view class="text" v-show="item.sick"><text>患病倾向:</text>{{item.sick}}</view>
|
<view class="con">
|
||||||
<view class="text" v-show="item.health"><text>调养方式:</text>{{item.health}}</view>
|
<view class="text" v-show="item.feature"><text>特征:</text>{{item.feature}}</view>
|
||||||
</view>
|
<view class="text" v-show="item.people"><text>重点人群:</text>{{item.people}}</view>
|
||||||
</view>
|
<view class="text" v-show="item.sick"><text>患病倾向:</text>{{item.sick}}</view>
|
||||||
<view class="tips" v-if="listA.referlist">
|
<view class="text" v-show="item.health"><text>调养方式:</text>{{item.health}}</view>
|
||||||
{{listA.referlist}}
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view class="tips" v-if="listA.referlist">
|
||||||
</view>
|
{{listA.referlist}}
|
||||||
</view>
|
</view>
|
||||||
<!-- 评估 -->
|
</view>
|
||||||
<view class="commonAll" v-else>
|
</view>
|
||||||
<view class="h2">请根据近一年的体验和感觉,回答以下问题</view>
|
</view>
|
||||||
<view class="box" v-for="(item,index) in infoListA.slice((currpage-1)*eachpage,currpage*eachpage)"
|
<!-- 评估 -->
|
||||||
:key="index">
|
<view class="commonAll" v-else>
|
||||||
<view v-for="(ite, ind) in item.qalist" :key="ind">
|
<view class="h2">请根据近一年的体验和感觉,回答以下问题</view>
|
||||||
<view class="h5">{{ite.title}}</view>
|
<view class="box" v-for="(item,index) in infoListA.slice((currpage-1)*eachpage,currpage*eachpage)"
|
||||||
<view class="item">
|
:key="index">
|
||||||
<view class="group" v-for="(it, id) in ite.data" :key="id" @click="Changeradio(it)">
|
<view v-for="(ite, ind) in item.qalist" :key="ind">
|
||||||
<icon class="iconfont radioimg"
|
<view class="h5">{{ite.title}}</view>
|
||||||
:class="[dasC.indexOf(it.val)!=-1?'icon-radio':'icon-kongradio']">
|
<view class="item">
|
||||||
</icon>
|
<view class="group" v-for="(it, id) in ite.data" :key="id" @click="Changeradio(it)">
|
||||||
<view>{{it.name}}</view>
|
<icon class="iconfont radioimg"
|
||||||
</view>
|
:class="[dasC.indexOf(it.val)!=-1?'icon-radio':'icon-kongradio']">
|
||||||
</view>
|
</icon>
|
||||||
</view>
|
<view>{{it.name}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="page" v-if='!listA'>
|
</view>
|
||||||
<view class="pre" v-if="currpage>1" @click="pre">上一页</view>
|
</view>
|
||||||
<view v-if="currpage<pagesum" @click="next">下一页</view>
|
</view>
|
||||||
<view class="btn" v-if="currpage==pagesum" @click="handlesub">
|
<view class="page" v-if='!listA'>
|
||||||
提交
|
<view class="pre" v-if="currpage>1" @click="pre">上一页</view>
|
||||||
</view>
|
<view v-if="currpage<pagesum" @click="next">下一页</view>
|
||||||
</view>
|
<view class="btn" v-if="currpage==pagesum" @click="handlesub">
|
||||||
</view>
|
提交
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
mapState
|
mapState
|
||||||
} from "vuex";
|
} from "vuex";
|
||||||
export default {
|
export default {
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(["user"]),
|
...mapState(["user"]),
|
||||||
info() {
|
info() {
|
||||||
return this.user
|
return this.user
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
let that = this
|
let that = this
|
||||||
that.handleTypeInfo()
|
that.handleTypeInfo()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//测评结果
|
//测评结果
|
||||||
handleTypeInfo() {
|
handleTypeInfo() {
|
||||||
let that = this
|
let that = this
|
||||||
that.$model.getbodyinfo({
|
that.$model.getbodyinfo({
|
||||||
familyid: that.user.familyid,
|
familyid: that.user.familyid,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code != 0) {
|
if (res.code != 0) {
|
||||||
that.handleListx(1)
|
that.handleListx(1)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
that.listA = res.data
|
that.listA = res.data
|
||||||
that.isShowA = false
|
that.isShowA = false
|
||||||
console.log("计算成功,去查看结果吧!")
|
console.log("计算成功,去查看结果吧!")
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 重新测评
|
// 重新测评
|
||||||
handleListx(ind) {
|
handleListx(ind) {
|
||||||
let that = this
|
let that = this
|
||||||
that.isShowA = true
|
that.isShowA = true
|
||||||
that.currpage = 1
|
that.currpage = 1
|
||||||
that.dasA = []
|
that.dasA = []
|
||||||
that.dasC = []
|
that.dasC = []
|
||||||
that.listA = ""
|
that.listA = ""
|
||||||
that.tmidlistA = []
|
that.tmidlistA = []
|
||||||
that.infoListA = []
|
that.infoListA = []
|
||||||
that.$model.getbodylist({
|
that.$model.getbodylist({
|
||||||
isrestart: ind,
|
isrestart: ind,
|
||||||
familyid: that.user.familyid,
|
sex: that.user.sex,
|
||||||
}).then(res => {
|
familyid: that.user.familyid,
|
||||||
console.log(123, res)
|
}).then(res => {
|
||||||
if (res.code != 0) return
|
console.log(123, res)
|
||||||
that.pagesum = Math.ceil(res.data.length / that.eachpage);
|
if (res.code != 0) return
|
||||||
that.infoListA = res.data
|
that.pagesum = Math.ceil(res.data.length / that.eachpage);
|
||||||
})
|
that.infoListA = res.data
|
||||||
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 测评选择
|
// 测评选择
|
||||||
Changeradio(tmitem) {
|
Changeradio(tmitem) {
|
||||||
let that = this
|
let that = this
|
||||||
if (that.tmidlistA.indexOf(tmitem.id) == -1) {
|
if (that.tmidlistA.indexOf(tmitem.id) == -1) {
|
||||||
console.log(0)
|
console.log(0)
|
||||||
that.tmidlistA.push(tmitem.id)
|
that.tmidlistA.push(tmitem.id)
|
||||||
that.dasC.push(tmitem.val);
|
that.dasC.push(tmitem.val);
|
||||||
that.dasA.push(tmitem)
|
that.dasA.push(tmitem)
|
||||||
} else {
|
} else {
|
||||||
for (var n = 0; n < that.tmidlistA.length; n++) {
|
for (var n = 0; n < that.tmidlistA.length; n++) {
|
||||||
if (tmitem.id == that.tmidlistA[n]) {
|
if (tmitem.id == that.tmidlistA[n]) {
|
||||||
console.log(1)
|
console.log(1)
|
||||||
if (that.dasC.indexOf(tmitem.val) == -1) {
|
if (that.dasC.indexOf(tmitem.val) == -1) {
|
||||||
that.tmidlistA.push(tmitem.id)
|
that.tmidlistA.push(tmitem.id)
|
||||||
that.dasC.push(tmitem.val);
|
that.dasC.push(tmitem.val);
|
||||||
that.dasA.push(tmitem)
|
that.dasA.push(tmitem)
|
||||||
console.log(2)
|
console.log(2)
|
||||||
}
|
}
|
||||||
that.tmidlistA.splice(n, 1)
|
that.tmidlistA.splice(n, 1)
|
||||||
that.dasC.splice(n, 1);
|
that.dasC.splice(n, 1);
|
||||||
that.dasA.splice(n, 1);
|
that.dasA.splice(n, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 提交
|
// 提交
|
||||||
handlesub() {
|
handlesub() {
|
||||||
let that = this
|
let that = this
|
||||||
var obj = {}
|
var obj = {}
|
||||||
let newArr = []
|
let newArr = []
|
||||||
that.dasA.forEach(function(item, suffix) {
|
that.dasA.forEach(function(item, suffix) {
|
||||||
if (!obj[item.valId]) {
|
if (!obj[item.valId]) {
|
||||||
var arr = {
|
var arr = {
|
||||||
id: '',
|
id: '',
|
||||||
list: []
|
list: []
|
||||||
};
|
};
|
||||||
arr.id = item.valId
|
arr.id = item.valId
|
||||||
arr.list.push({
|
arr.list.push({
|
||||||
id: item.id,
|
id: item.id,
|
||||||
score: item.value
|
score: item.value
|
||||||
})
|
})
|
||||||
newArr.push(arr);
|
newArr.push(arr);
|
||||||
obj[item.valId] = item;
|
obj[item.valId] = item;
|
||||||
} else {
|
} else {
|
||||||
for (var q = 0; q < newArr.length; q++) {
|
for (var q = 0; q < newArr.length; q++) {
|
||||||
if (newArr[q].id == item.valId) {
|
if (newArr[q].id == item.valId) {
|
||||||
newArr[q].list.push({
|
newArr[q].list.push({
|
||||||
id: item.id,
|
id: item.id,
|
||||||
score: item.value
|
score: item.value
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// for (var i = 0; i < that.infoListA.length; i++) {
|
// for (var i = 0; i < that.infoListA.length; i++) {
|
||||||
// var arr = {
|
// var arr = {
|
||||||
// id: '',
|
// id: '',
|
||||||
// list: []
|
// list: []
|
||||||
// };
|
// };
|
||||||
// arr.id = that.infoListA[i].id
|
// arr.id = that.infoListA[i].id
|
||||||
// for (var e = 0; e < that.infoListA[i].qalist.length; e++) {
|
// for (var e = 0; e < that.infoListA[i].qalist.length; e++) {
|
||||||
// arr.list.push({
|
// arr.list.push({
|
||||||
// id: that.infoListA[i].qalist[e].Id,
|
// id: that.infoListA[i].qalist[e].Id,
|
||||||
// score: 3
|
// score: 3
|
||||||
// })
|
// })
|
||||||
// }
|
// }
|
||||||
// newArr.push(arr)
|
// newArr.push(arr)
|
||||||
// }
|
// }
|
||||||
console.log("去计算", newArr)
|
console.log("去计算", newArr)
|
||||||
// if (newArr.length < 7 || newArr.length < 9) {
|
// if (newArr.length < 7 || newArr.length < 9) {
|
||||||
// that.$api.msg("请先完成问答")
|
// that.$api.msg("请先完成问答")
|
||||||
// return
|
// return
|
||||||
// }
|
// }
|
||||||
that.$model.getbodyresultinfo({
|
that.$model.getbodyresultinfo({
|
||||||
appid: uni.getStorageSync("appid"),
|
appid: uni.getStorageSync("appid"),
|
||||||
familyid: that.user.familyid,
|
familyid: that.user.familyid,
|
||||||
data: newArr
|
data: newArr
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
console.log('res', res)
|
console.log('res', res)
|
||||||
that.tmidlistA = []
|
that.tmidlistA = []
|
||||||
that.dasA = []
|
that.dasA = []
|
||||||
that.dasC = []
|
that.dasC = []
|
||||||
if (res.code != 0) {
|
if (res.code != 0) {
|
||||||
that.$tools.msg(res.message)
|
that.$tools.msg(res.message)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
that.listA = res.data
|
that.listA = res.data
|
||||||
that.isShowA = false
|
that.isShowA = false
|
||||||
that.currpage = 1
|
that.currpage = 1
|
||||||
console.log("计算成功,去查看结果吧!")
|
console.log("计算成功,去查看结果吧!")
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
pre() {
|
pre() {
|
||||||
this.currpage--
|
this.currpage--
|
||||||
},
|
},
|
||||||
next() {
|
next() {
|
||||||
let that = this
|
let that = this
|
||||||
that.currpage++
|
that.currpage++
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isShowA: true,
|
isShowA: true,
|
||||||
dasA: [],
|
dasA: [],
|
||||||
dasC: [],
|
dasC: [],
|
||||||
listA: [],
|
listA: [],
|
||||||
infoListA: [],
|
infoListA: [],
|
||||||
tmidlistA: [],
|
tmidlistA: [],
|
||||||
pagesum: null, //总页数
|
pagesum: null, //总页数
|
||||||
currpage: 1, //当前页数
|
currpage: 1, //当前页数
|
||||||
eachpage: 2, //每页行数
|
eachpage: 2, //每页行数
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.content {
|
.content {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #666;
|
color: #666;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
min-height: calc(100vh - 30px);
|
min-height: calc(100vh - 30px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.h2 {
|
.h2 {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h5 {
|
.h5 {
|
||||||
margin: 15px 0 10px;
|
margin: 15px 0 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bgheight {
|
.bgheight {
|
||||||
.name {
|
.name {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #f19601;
|
color: #f19601;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.conbt {
|
.conbt {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box .conbt:nth-last-child(1) text {
|
.box .conbt:nth-last-child(1) text {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.con {
|
.con {
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
display: block;
|
display: block;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
border: none;
|
border: none;
|
||||||
background: #f19601;
|
background: #f19601;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
float: right;
|
float: right;
|
||||||
// margin-bottom: 10px;
|
// margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.uni-list-cell {
|
.uni-list-cell {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:nth-child(even).uni-list-cell {
|
:nth-child(even).uni-list-cell {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.commonAll {
|
.commonAll {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
|
||||||
view {
|
view {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
background: #dfdfdf;
|
background: #dfdfdf;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background: #f19601;
|
background: #f19601;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: auto;
|
height: auto;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
width: 22px;
|
width: 22px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: #dfdfdf;
|
color: #dfdfdf;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-radio {
|
.icon-radio {
|
||||||
color: #f19601;
|
color: #f19601;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999;
|
color: #999;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,6 @@
|
||||||
device.macAddr = that.$tools.ab2hex(tempMac, ':').toUpperCase()
|
device.macAddr = that.$tools.ab2hex(tempMac, ':').toUpperCase()
|
||||||
that.deviceId = device.deviceId
|
that.deviceId = device.deviceId
|
||||||
that.macAddr = device.macAddr
|
that.macAddr = device.macAddr
|
||||||
console.log("device0", device.macAddr, that.deviceId, )
|
|
||||||
if (idx === -1) {
|
if (idx === -1) {
|
||||||
that.devices.push(device);
|
that.devices.push(device);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
102
tools/https.js
|
|
@ -1,66 +1,62 @@
|
||||||
import tools from '@/tools/tools.js'
|
import tools from '@/tools/tools.js'
|
||||||
import store from '../store'
|
import store from '../store'
|
||||||
// 获取appid
|
import config from '@/config.js'
|
||||||
const accountInfo = wx.getAccountInfoSync();
|
|
||||||
const appid = accountInfo.miniProgram.appId
|
|
||||||
uni.setStorageSync('appid', accountInfo.miniProgram.appId)
|
|
||||||
|
|
||||||
const baseUrl = 'https://ttybapi.pcxbc.com';
|
let baseUrl = config.host
|
||||||
// const baseUrl = 'https://ybapi.pcxbc.com';
|
|
||||||
const httpRequest = (url, method = "get", data) => {
|
const httpRequest = (url, method = "get", data) => {
|
||||||
let httpDefaultOpts = {
|
let httpDefaultOpts = {
|
||||||
url: baseUrl + url,
|
url: baseUrl + url,
|
||||||
data: data,
|
data: data,
|
||||||
method: method,
|
method: method,
|
||||||
header: {
|
header: {
|
||||||
'Authorization': "Bearer " + uni.getStorageSync('token'),
|
'Authorization': "Bearer " + uni.getStorageSync('token'),
|
||||||
'X-Authorization': "Bearer " + uni.getStorageSync('refreshtoken'),
|
'X-Authorization': "Bearer " + uni.getStorageSync('refreshtoken'),
|
||||||
'X-Requested-With': 'XMLHttpRequest',
|
'X-Requested-With': 'XMLHttpRequest',
|
||||||
'content-type': 'application/json;charset=UTF-8',
|
'content-type': 'application/json;charset=UTF-8',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
let promise = new Promise(function(resolve, reject) {
|
let promise = new Promise(function(resolve, reject) {
|
||||||
if (httpDefaultOpts.url.indexOf("/api/device/detail") == -1) {
|
if (httpDefaultOpts.url.indexOf("/api/device/detail") == -1) {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '加载中...'
|
title: '加载中...'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
uni.request(httpDefaultOpts).then(
|
uni.request(httpDefaultOpts).then(
|
||||||
(res) => {
|
(res) => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
if (res[1].data.code == 401) {
|
if (res[1].data.code == 401) {
|
||||||
uni.clearStorageSync()
|
uni.clearStorageSync()
|
||||||
uni.setStorageSync('token', "")
|
uni.setStorageSync('token', "")
|
||||||
store.commit("changeLogout", false);
|
store.commit("changeLogout", false);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (res[1].statusCode != 200) {
|
if (res[1].statusCode != 200) {
|
||||||
tools.msg(res[1].data.message)
|
tools.msg(res[1].data.message)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
resolve(res[1].data)
|
resolve(res[1].data)
|
||||||
}
|
}
|
||||||
).catch(
|
).catch(
|
||||||
(response) => {
|
(response) => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
reject(response)
|
reject(response)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
return promise
|
return promise
|
||||||
|
|
||||||
};
|
};
|
||||||
const get = (url, data) => {
|
const get = (url, data) => {
|
||||||
data.appid = appid
|
data.appid = config.appid
|
||||||
return httpRequest(url, 'get', data)
|
return httpRequest(url, 'get', data)
|
||||||
}
|
}
|
||||||
|
|
||||||
const post = (url, data) => {
|
const post = (url, data) => {
|
||||||
data.appid = appid
|
data.appid = config.appid
|
||||||
return httpRequest(url, 'post', data)
|
return httpRequest(url, 'post', data)
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
get,
|
get,
|
||||||
post
|
post
|
||||||
}
|
}
|
||||||
|
|
|
||||||
494
tools/tools.js
|
|
@ -1,296 +1,296 @@
|
||||||
import $store from '@/store'
|
import $store from '@/store'
|
||||||
export default {
|
export default {
|
||||||
msg,
|
msg,
|
||||||
str2hex,
|
str2hex,
|
||||||
hex2str,
|
hex2str,
|
||||||
ab2hex,
|
ab2hex,
|
||||||
inArray,
|
inArray,
|
||||||
getAge,
|
getAge,
|
||||||
getTime,
|
getTime,
|
||||||
getDate,
|
getDate,
|
||||||
getMonth,
|
getMonth,
|
||||||
GetDateStr,
|
GetDateStr,
|
||||||
handlePages,
|
handlePages,
|
||||||
getBluetoothAdapter
|
getBluetoothAdapter
|
||||||
}
|
}
|
||||||
|
|
||||||
function inArray(arr, key, val) {
|
function inArray(arr, key, val) {
|
||||||
if (!arr || !arr.length || typeof arr != 'object' || !Array.isArray(arr)) {
|
if (!arr || !arr.length || typeof arr != 'object' || !Array.isArray(arr)) {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
for (let i = 0; i < arr.length; i++) {
|
for (let i = 0; i < arr.length; i++) {
|
||||||
if (!key) {
|
if (!key) {
|
||||||
if (arr[i] == val) {
|
if (arr[i] == val) {
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
} else if (arr[i][key] === val) {
|
} else if (arr[i][key] === val) {
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function msg(str) {
|
function msg(str) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: str,
|
title: str,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function ab2hex(buffer, split) {
|
function ab2hex(buffer, split) {
|
||||||
var hexArr = Array.prototype.map.call(
|
var hexArr = Array.prototype.map.call(
|
||||||
new Uint8Array(buffer),
|
new Uint8Array(buffer),
|
||||||
function(bit) {
|
function(bit) {
|
||||||
return ('00' + bit.toString(16)).slice(-2)
|
return ('00' + bit.toString(16)).slice(-2)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
return hexArr.join(split);
|
return hexArr.join(split);
|
||||||
}
|
}
|
||||||
|
|
||||||
function hex2str(arr) {
|
function hex2str(arr) {
|
||||||
let decoder = new TextDecoder('utf8')
|
let decoder = new TextDecoder('utf8')
|
||||||
let uint8 = new Uint8Array(arr)
|
let uint8 = new Uint8Array(arr)
|
||||||
let res = decoder.decode(uint8)
|
let res = decoder.decode(uint8)
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
function str2hex(str) {
|
function str2hex(str) {
|
||||||
let encoder = new TextEncoder('utf8')
|
let encoder = new TextEncoder('utf8')
|
||||||
return encoder.encode(str)
|
return encoder.encode(str)
|
||||||
}
|
}
|
||||||
|
|
||||||
function getBluetoothAdapter(err) {
|
function getBluetoothAdapter(err) {
|
||||||
if (err.errMsg == "openBluetoothAdapter:fail auth denied" || err.errMsg ===
|
if (err.errMsg == "openBluetoothAdapter:fail auth denied" || err.errMsg ===
|
||||||
"openBluetoothAdapter:fail auth deny" ||
|
"openBluetoothAdapter:fail auth deny" ||
|
||||||
err.errMsg === "openBluetoothAdapter:fail authorize no response"
|
err.errMsg === "openBluetoothAdapter:fail authorize no response"
|
||||||
) {
|
) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: "提示",
|
title: "提示",
|
||||||
content: "需要您授权使用手机蓝牙",
|
content: "需要您授权使用手机蓝牙",
|
||||||
showCancel: false,
|
showCancel: false,
|
||||||
success(modalSuccess) {
|
success(modalSuccess) {
|
||||||
uni.openSetting({
|
uni.openSetting({
|
||||||
success(settingdata) {
|
success(settingdata) {
|
||||||
if (settingdata.authSetting["scope.bluetooth"]) {
|
if (settingdata.authSetting["scope.bluetooth"]) {
|
||||||
uni.openBluetoothAdapter({
|
uni.openBluetoothAdapter({
|
||||||
success: e => {
|
success: e => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "获取权限成功,请继续去测量",
|
title: "获取权限成功,请继续去测量",
|
||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
$store.commit("changeBluetooth", true);
|
$store.commit("changeBluetooth", true);
|
||||||
},
|
},
|
||||||
fail: err => {
|
fail: err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请打开手机蓝牙",
|
title: "请打开手机蓝牙",
|
||||||
icon: "none",
|
icon: "none",
|
||||||
duration: 1000,
|
duration: 1000,
|
||||||
})
|
})
|
||||||
console.log('初始化蓝牙失败:' + err.errMsg);
|
console.log('初始化蓝牙失败:' + err.errMsg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "获取权限失败,将无法使用手机蓝牙进行测量",
|
title: "获取权限失败,将无法使用手机蓝牙进行测量",
|
||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请打开手机蓝牙",
|
title: "请打开手机蓝牙",
|
||||||
icon: "none",
|
icon: "none",
|
||||||
duration: 1000,
|
duration: 1000,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDate(type) {
|
function getDate(type) {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
let year = date.getFullYear();
|
let year = date.getFullYear();
|
||||||
let month = date.getMonth() + 1;
|
let month = date.getMonth() + 1;
|
||||||
let day = date.getDate();
|
let day = date.getDate();
|
||||||
month = month > 9 ? month : '0' + month;;
|
month = month > 9 ? month : '0' + month;;
|
||||||
day = day > 9 ? day : '0' + day;
|
day = day > 9 ? day : '0' + day;
|
||||||
if (type === 'tow') {
|
if (type === 'tow') {
|
||||||
year = year - 2;
|
year = year - 2;
|
||||||
return `${year}-${month}-${day}`;
|
return `${year}-${month}-${day}`;
|
||||||
}
|
}
|
||||||
if (type === 'start') {
|
if (type === 'start') {
|
||||||
year = year;
|
year = year;
|
||||||
return `${year}-${month}-${day}`;
|
return `${year}-${month}-${day}`;
|
||||||
}
|
}
|
||||||
if (type === 'end') {
|
if (type === 'end') {
|
||||||
year = year + 60;
|
year = year + 60;
|
||||||
return `${year}-${month}-${day}`;
|
return `${year}-${month}-${day}`;
|
||||||
}
|
}
|
||||||
if (type == "m") {
|
if (type == "m") {
|
||||||
if (month == "01" || month == "03" || month == "05" || month == "07" || month == "08" || month == "10" ||
|
if (month == "01" || month == "03" || month == "05" || month == "07" || month == "08" || month == "10" ||
|
||||||
month == "12") {
|
month == "12") {
|
||||||
return year + "/" + month + "/01" + "~" + year + "/" + month + "/31";
|
return year + "/" + month + "/01" + "~" + year + "/" + month + "/31";
|
||||||
} else if (month == "02") {
|
} else if (month == "02") {
|
||||||
if ((year % 4 == 0 && year % 100 != 0) || (year % 100 == 0 && year % 400 == 0)) {
|
if ((year % 4 == 0 && year % 100 != 0) || (year % 100 == 0 && year % 400 == 0)) {
|
||||||
return year + "/" + month + "/01" + "~" + year + "/" + month + "/29";
|
return year + "/" + month + "/01" + "~" + year + "/" + month + "/29";
|
||||||
} else {
|
} else {
|
||||||
return year + "/" + month + "/01" + "~" + year + "/" + month + "/28";
|
return year + "/" + month + "/01" + "~" + year + "/" + month + "/28";
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return year + "/" + month + "/01" + "~" + year + "/" + month + "/30";
|
return year + "/" + month + "/01" + "~" + year + "/" + month + "/30";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetDateStr(AddDayCount) {
|
function GetDateStr(AddDayCount) {
|
||||||
var dd = new Date();
|
var dd = new Date();
|
||||||
dd.setDate(dd.getDate() + AddDayCount); //获取AddDayCount天后的日期
|
dd.setDate(dd.getDate() + AddDayCount); //获取AddDayCount天后的日期
|
||||||
var y = dd.getFullYear();
|
var y = dd.getFullYear();
|
||||||
var m = (dd.getMonth() + 1) < 10 ? "0" + (dd.getMonth() + 1) : (dd.getMonth() + 1); //获取当前月份的日期,不足10补0
|
var m = (dd.getMonth() + 1) < 10 ? "0" + (dd.getMonth() + 1) : (dd.getMonth() + 1); //获取当前月份的日期,不足10补0
|
||||||
var d = dd.getDate() < 10 ? "0" + dd.getDate() : dd.getDate(); //获取当前几号,不足10补0
|
var d = dd.getDate() < 10 ? "0" + dd.getDate() : dd.getDate(); //获取当前几号,不足10补0
|
||||||
return y + "-" + m + "-" + d;
|
return y + "-" + m + "-" + d;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取当前日期
|
// 获取当前日期
|
||||||
function getTime() {
|
function getTime() {
|
||||||
var date = new Date()
|
var date = new Date()
|
||||||
var todate =
|
var todate =
|
||||||
((date.getMonth() + 1) < 10 ? ('0' + (date.getMonth() + 1)) : date.getMonth() +
|
((date.getMonth() + 1) < 10 ? ('0' + (date.getMonth() + 1)) : date.getMonth() +
|
||||||
1) + '月' + (date.getDate() < 10 ? ('0' + date.getDate()) : date.getDate() + '日')
|
1) + '月' + (date.getDate() < 10 ? ('0' + date.getDate()) : date.getDate() + '日')
|
||||||
return todate
|
return todate
|
||||||
}
|
}
|
||||||
// 根据出生日期获取年龄
|
// 根据出生日期获取年龄
|
||||||
function getAge(str) {
|
function getAge(str) {
|
||||||
var r = str.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})/);
|
var r = str.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})/);
|
||||||
if (r == null) return false;
|
if (r == null) return false;
|
||||||
|
|
||||||
var d = new Date(r[1], r[3] - 1, r[4]);
|
var d = new Date(r[1], r[3] - 1, r[4]);
|
||||||
var returnStr = "输入的日期格式错误!";
|
var returnStr = "输入的日期格式错误!";
|
||||||
|
|
||||||
if (d.getFullYear() == r[1] && (d.getMonth() + 1) == r[3] && d.getDate() == r[4]) {
|
if (d.getFullYear() == r[1] && (d.getMonth() + 1) == r[3] && d.getDate() == r[4]) {
|
||||||
|
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
var yearNow = date.getFullYear();
|
var yearNow = date.getFullYear();
|
||||||
var monthNow = date.getMonth() + 1;
|
var monthNow = date.getMonth() + 1;
|
||||||
var dayNow = date.getDate();
|
var dayNow = date.getDate();
|
||||||
|
|
||||||
var largeMonths = [1, 3, 5, 7, 8, 10, 12], //大月, 用于计算天,只在年月都为零时,天数有效
|
var largeMonths = [1, 3, 5, 7, 8, 10, 12], //大月, 用于计算天,只在年月都为零时,天数有效
|
||||||
lastMonth = monthNow - 1 > 0 ? monthNow - 1 : 12, // 上一个月的月份
|
lastMonth = monthNow - 1 > 0 ? monthNow - 1 : 12, // 上一个月的月份
|
||||||
isLeapYear = false, // 是否是闰年
|
isLeapYear = false, // 是否是闰年
|
||||||
daysOFMonth = 0; // 当前日期的上一个月多少天
|
daysOFMonth = 0; // 当前日期的上一个月多少天
|
||||||
|
|
||||||
if ((yearNow % 4 === 0 && yearNow % 100 !== 0) || yearNow % 400 === 0) { // 是否闰年, 用于计算天,只在年月都为零时,天数有效
|
if ((yearNow % 4 === 0 && yearNow % 100 !== 0) || yearNow % 400 === 0) { // 是否闰年, 用于计算天,只在年月都为零时,天数有效
|
||||||
isLeapYear = true;
|
isLeapYear = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (largeMonths.indexOf(lastMonth) > -1) {
|
if (largeMonths.indexOf(lastMonth) > -1) {
|
||||||
daysOFMonth = 31;
|
daysOFMonth = 31;
|
||||||
} else if (lastMonth === 2) {
|
} else if (lastMonth === 2) {
|
||||||
if (isLeapYear) {
|
if (isLeapYear) {
|
||||||
daysOFMonth = 29;
|
daysOFMonth = 29;
|
||||||
} else {
|
} else {
|
||||||
daysOFMonth = 28;
|
daysOFMonth = 28;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
daysOFMonth = 30;
|
daysOFMonth = 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
var Y = yearNow - parseInt(r[1]);
|
var Y = yearNow - parseInt(r[1]);
|
||||||
var M = monthNow - parseInt(r[3]);
|
var M = monthNow - parseInt(r[3]);
|
||||||
var D = dayNow - parseInt(r[4]);
|
var D = dayNow - parseInt(r[4]);
|
||||||
if (D < 0) {
|
if (D < 0) {
|
||||||
D = D + daysOFMonth; //借一个月
|
D = D + daysOFMonth; //借一个月
|
||||||
M--;
|
M--;
|
||||||
}
|
}
|
||||||
if (M < 0) { // 借一年 12个月
|
if (M < 0) { // 借一年 12个月
|
||||||
Y--;
|
Y--;
|
||||||
M = M + 12; //
|
M = M + 12; //
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Y < 0) {
|
if (Y < 0) {
|
||||||
returnStr = "出生日期有误!";
|
returnStr = "出生日期有误!";
|
||||||
|
|
||||||
} else if (Y === 0) {
|
} else if (Y === 0) {
|
||||||
if (M === 0) {
|
if (M === 0) {
|
||||||
returnStr = D + "天";
|
returnStr = D + "天";
|
||||||
} else {
|
} else {
|
||||||
returnStr = M + "个月";
|
returnStr = M + "个月";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (M === 0) {
|
if (M === 0) {
|
||||||
returnStr = Y + "岁";
|
returnStr = Y + "岁";
|
||||||
} else {
|
} else {
|
||||||
returnStr = Y + "岁" + M + "个月";
|
returnStr = Y + "岁" + M + "个月";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return returnStr;
|
return returnStr;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMonth(dates, months) {
|
function getMonth(dates, months) {
|
||||||
var d = new Date(dates.substring(0, 10));
|
var d = new Date(dates.substring(0, 10));
|
||||||
let year = d.getFullYear();
|
let year = d.getFullYear();
|
||||||
var month = d.getMonth() + 1;
|
var month = d.getMonth() + 1;
|
||||||
if (Math.abs(months) > 12) {
|
if (Math.abs(months) > 12) {
|
||||||
months = months % 12;
|
months = months % 12;
|
||||||
};
|
};
|
||||||
if (months != 0) {
|
if (months != 0) {
|
||||||
if (month + months > 12) {
|
if (month + months > 12) {
|
||||||
year++;
|
year++;
|
||||||
month = (month + months) % 12;
|
month = (month + months) % 12;
|
||||||
} else if (month + months < 1) {
|
} else if (month + months < 1) {
|
||||||
year--;
|
year--;
|
||||||
month = 12 + month + months;
|
month = 12 + month + months;
|
||||||
} else {
|
} else {
|
||||||
month = month + months;
|
month = month + months;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
month = month < 10 ? "0" + month : month;
|
month = month < 10 ? "0" + month : month;
|
||||||
var date = d.getDate();
|
var date = d.getDate();
|
||||||
if (month == "01" || month == "03" || month == "05" || month == "07" || month == "08" || month == "10" ||
|
if (month == "01" || month == "03" || month == "05" || month == "07" || month == "08" || month == "10" ||
|
||||||
month == "12") {
|
month == "12") {
|
||||||
return year + "/" + month + "/01" + "~" + year + "/" + month + "/31";
|
return year + "/" + month + "/01" + "~" + year + "/" + month + "/31";
|
||||||
} else if (month == "02") {
|
} else if (month == "02") {
|
||||||
if ((year % 4 == 0 && year % 100 != 0) || (year % 100 == 0 && year % 400 == 0)) {
|
if ((year % 4 == 0 && year % 100 != 0) || (year % 100 == 0 && year % 400 == 0)) {
|
||||||
return year + '/' + month + "/01" + "~" + year + "/" + year + "/" + month + "/29";
|
return year + '/' + month + "/01" + "~" + year + "/" + year + "/" + month + "/29";
|
||||||
} else {
|
} else {
|
||||||
return year + '/' + month + "/01" + "~" + year + "/" + month + "/28";
|
return year + '/' + month + "/01" + "~" + year + "/" + month + "/28";
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return year + '/' + month + "/01" + "~" + year + "/" + month + "/30";
|
return year + '/' + month + "/01" + "~" + year + "/" + month + "/30";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
// 页面跳转
|
// 页面跳转
|
||||||
function handlePages(type, deviceId) {
|
function handlePages(type, deviceId) {
|
||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/BLEPages/adult/PCD01pro?deviceId=" + deviceId
|
url: "/BLEPages/adult/PCD01pro?deviceId=" + deviceId
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (type == 4) {
|
if (type == 4 || type == 16) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/BLEPages/adult/PCL01?deviceId=" + deviceId
|
url: "/BLEPages/adult/PCL01?deviceId=" + deviceId
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (type == 8) {
|
if (type == 8) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/BLEPages/adult/H01pro?deviceId=" + deviceId
|
url: "/BLEPages/adult/H01pro?deviceId=" + deviceId
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (type == 14) {
|
if (type == 14) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/BLEPages/adult/F01B?deviceId=" + deviceId
|
url: "/BLEPages/adult/F01B?deviceId=" + deviceId
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (type == 21) {
|
if (type == 21) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/BLEPages/adult/H09B?deviceId=" + deviceId
|
url: "/BLEPages/adult/H09B?deviceId=" + deviceId
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="data-v-a5d69904"><view class="content weightPages data-v-a5d69904"><block wx:if="{{isConnection==0}}"><view class="title data-v-a5d69904">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-a5d69904">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-a5d69904" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-a5d69904">{{text}}</view><view class="image data-v-a5d69904"><block wx:if="{{type==1}}"><image src="/BLEPages/static/F018P01.gif" class="data-v-a5d69904"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/F018P01.gif" class="data-v-a5d69904"></image></block></view><view class="tips data-v-a5d69904"><text class="data-v-a5d69904">提示:</text><text class="data-v-a5d69904">1.请确定设备是开机状态</text><text class="data-v-a5d69904">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-a5d69904">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="content weightPages data-v-56eb894e"><block wx:if="{{isConnection==0}}"><view class="title data-v-56eb894e">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-56eb894e">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-56eb894e" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-56eb894e">{{textW}}</view><view class="text data-v-56eb894e">{{textH}}</view><view class="image data-v-56eb894e"><image src="/BLEPages/static/H01pro.gif" class="data-v-56eb894e"></image></view><view class="tips data-v-56eb894e"><text class="data-v-56eb894e">请确保:</text><text class="data-v-56eb894e">1.请确定设备是开机状态</text><text class="data-v-56eb894e">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-56eb894e">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view>
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="data-v-07eec542"><view class="content weightPages data-v-07eec542"><block wx:if="{{isConnection==0}}"><view class="title data-v-07eec542">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-07eec542">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-07eec542" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-07eec542">{{text}}</view><view class="text data-v-07eec542">{{textH}}</view><view class="image data-v-07eec542"><block wx:if="{{type==1}}"><image src="/BLEPages/static/H09B.gif" class="data-v-07eec542"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/H09B2.gif" class="data-v-07eec542"></image></block></view><view class="tips data-v-07eec542"><text class="data-v-07eec542">提示:</text><text class="data-v-07eec542">1.请确定设备是开机状态</text><text class="data-v-07eec542">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-07eec542">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="data-v-ef796f16"><view class="content weightPages data-v-ef796f16"><block wx:if="{{isConnection==0}}"><view class="title data-v-ef796f16">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-ef796f16">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-ef796f16" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-ef796f16">{{text}}</view><view class="image data-v-ef796f16"><block wx:if="{{type==1}}"><image src="/BLEPages/static/Hd01bt01.gif" class="data-v-ef796f16"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/Hd01bt02.gif" class="data-v-ef796f16"></image></block></view><view class="tips data-v-ef796f16"><text class="data-v-ef796f16">提示:</text><text class="data-v-ef796f16">1.请确定设备是开机状态</text><text class="data-v-ef796f16">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-ef796f16">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="data-v-28821ab9"><view class="content weightPages data-v-28821ab9"><block wx:if="{{isConnection==0}}"><view class="title data-v-28821ab9">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-28821ab9">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-28821ab9" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-28821ab9">{{text}}</view><view class="image data-v-28821ab9"><image src="/BLEPages/static/L01.gif" class="data-v-28821ab9"></image></view><view class="tips data-v-28821ab9"><text class="data-v-28821ab9">提示:</text><text class="data-v-28821ab9">1.请确定设备是开机状态</text><text class="data-v-28821ab9">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-28821ab9">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<view class="data-v-86c31068"><view class="content weightPages data-v-86c31068"><view class="text data-v-86c31068">{{textW}}</view><view class="text data-v-86c31068">{{textH}}</view><block wx:if="{{isConnection}}"><view class="title data-v-86c31068">连接成功,请开始测量</view></block><block wx:if="{{!isConnection}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-86c31068" bindtap="__e">连接失败,点击重新连接</view></block><block wx:if="{{type==1}}"><view class="title data-v-86c31068">测量中,请稍后</view></block><view class="image data-v-86c31068"><image src="/BLEPages/static/H01pro.gif" class="data-v-86c31068"></image></view><view class="box data-v-86c31068"><text class="data-v-86c31068">请确保:</text><text class="data-v-86c31068">1.请确定手机蓝牙、位置信息已打开</text><text class="data-v-86c31068">2.ios系统需打开设置—>应用—>微信里的蓝牙权限</text><text class="data-v-86c31068">3.请确定设备是亮屏状态</text><text class="data-v-86c31068">4.上秤后请平稳站立,不要摇晃身体</text></view></view></view>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<view class="data-v-481cf710"><view class="content weightPages data-v-481cf710"><block wx:if="{{isConnection==0}}"><view class="title data-v-481cf710">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-481cf710">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-481cf710" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-481cf710">{{text}}</view><view class="image data-v-481cf710"><image src="/BLEPages/static/Hd01bt01.gif" class="data-v-481cf710"></image></view><view class="tips data-v-481cf710"><text class="data-v-481cf710">提示:</text><text class="data-v-481cf710">1.请确定设备是开机状态</text><text class="data-v-481cf710">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-481cf710">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["BLEPages/child/PCL01"],{"013d":function(t,n,e){"use strict";e.r(n);var u=e("6a9e"),r=e.n(u);for(var a in u)"default"!==a&&function(t){e.d(n,t,(function(){return u[t]}))}(a);n["default"]=r.a},2624:function(t,n,e){"use strict";e.r(n);var u=e("4543"),r=e("013d");for(var a in r)"default"!==a&&function(t){e.d(n,t,(function(){return r[t]}))}(a);var c,f=e("f0c5"),o=Object(f["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);n["default"]=o.exports},4543:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return u}));var r=function(){var t=this,n=t.$createElement;t._self._c},a=[]},"6a9e":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={data:function(){return{}},methods:{}};n.default=u},"6fb2":function(t,n,e){"use strict";(function(t){e("3609");u(e("66fd"));var n=u(e("2624"));function u(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])}},[["6fb2","common/runtime","common/vendor"]]]);
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<view></view>
|
|
||||||
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
|
@ -28,20 +28,22 @@
|
||||||
{
|
{
|
||||||
"root": "BLEPages",
|
"root": "BLEPages",
|
||||||
"pages": [
|
"pages": [
|
||||||
"child/H01pro",
|
"adult/H01pro",
|
||||||
"child/PCD01pro",
|
"adult/PCD01pro",
|
||||||
"child/PCL01"
|
"adult/PCL01",
|
||||||
|
"adult/H09B",
|
||||||
|
"adult/F01B"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"window": {
|
"window": {
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white",
|
||||||
"navigationBarBackgroundColor": "#95E0DB",
|
"navigationBarBackgroundColor": "#00c6c6",
|
||||||
"backgroundColor": "#fff"
|
"backgroundColor": "#fff"
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#333",
|
"color": "#333",
|
||||||
"selectedColor": "#75DAD0",
|
"selectedColor": "#00c6c6",
|
||||||
"backgroundColor": "#fff",
|
"backgroundColor": "#fff",
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
|
|
@ -76,5 +78,6 @@
|
||||||
"provider": "wx17e93aad47cdae1a"
|
"provider": "wx17e93aad47cdae1a"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"usingComponents": {}
|
"usingComponents": {},
|
||||||
|
"sitemapLocation": "sitemap.json"
|
||||||
}
|
}
|
||||||
|
|
@ -1 +1 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"44b3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={methods:{},onLaunch:function(){},mounted:function(){},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};t.default=n},"630b":function(e,t,o){"use strict";o.r(t);var n=o("44b3"),r=o.n(n);for(var u in n)"default"!==u&&function(e){o.d(t,e,(function(){return n[e]}))}(u);t["default"]=r.a},"8c30":function(e,t,o){"use strict";(function(e){o("3609");var t=l(o("66fd")),n=l(o("a01d"));o("5a58"),o("2ee1"),o("d48a"),o("7b3e");var r=l(o("55dc")),u=l(o("21b7")),c=l(o("beb1")),a=l(o("9c00")),f=l(o("1dd3"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}wx.__webpack_require_UNI_MP_PLUGIN__=o,t.default.prototype.$store=r.default,t.default.prototype.$tools=u.default,t.default.prototype.weightInfo=c.default,t.default.prototype.$http=a.default,t.default.prototype.$model=f.default,t.default.config.productionTip=!1,n.default.mpType="app",t.default.prototype.$onLaunched=new Promise((function(e){t.default.prototype.$isResolve=e}));var s=new t.default(p({},n.default));e(s).$mount()}).call(this,o("543d")["createApp"])},a01d:function(e,t,o){"use strict";o.r(t);var n=o("630b");for(var r in n)"default"!==r&&function(e){o.d(t,e,(function(){return n[e]}))}(r);var u,c,a,f,l=o("f0c5"),i=Object(l["a"])(n["default"],u,c,!1,null,null,null,!1,a,f);t["default"]=i.exports}},[["8c30","common/runtime","common/vendor"]]]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"2aac":function(e,t,o){"use strict";(function(e){o("0d2f");var t=i(o("66fd")),n=i(o("f6f1"));o("8076"),o("c447"),o("26a3"),o("faa6");var r=i(o("02d4")),a=i(o("d4ce")),u=i(o("2a8e")),c=i(o("a275")),f=i(o("8196")),l=i(o("38df"));function i(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}wx.__webpack_require_UNI_MP_PLUGIN__=o,t.default.prototype.$store=r.default,t.default.prototype.$tools=a.default,t.default.prototype.weightInfo=u.default,t.default.prototype.$http=c.default,t.default.prototype.$model=f.default,t.default.prototype.config=l.default,t.default.config.productionTip=!1,n.default.mpType="app",t.default.prototype.$onLaunched=new Promise((function(e){t.default.prototype.$isResolve=e}));var b=new t.default(p({},n.default));e(b).$mount()}).call(this,o("543d")["createApp"])},b97b:function(e,t,o){"use strict";o.r(t);var n=o("d14b"),r=o.n(n);for(var a in n)"default"!==a&&function(e){o.d(t,e,(function(){return n[e]}))}(a);t["default"]=r.a},d14b:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={methods:{},onLaunch:function(){var e=wx.getUpdateManager();e.onCheckForUpdate((function(e){console.log("是否有新版本",e.hasUpdate)})),e.onUpdateReady((function(){wx.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(t){t.confirm&&e.applyUpdate()}})})),e.onUpdateFailed((function(){wx.showModal({title:"新版本更新失败",content:"请退出并移除小程序,重新打开..."})}))},mounted:function(){},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};t.default=n},f6f1:function(e,t,o){"use strict";o.r(t);var n=o("b97b");for(var r in n)"default"!==r&&function(e){o.d(t,e,(function(){return n[e]}))}(r);var a,u,c,f,l=o("f0c5"),i=Object(l["a"])(n["default"],a,u,!1,null,null,null,!1,c,f);t["default"]=i.exports}},[["2aac","common/runtime","common/vendor"]]]);
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/drawer/drawer"],{"07c8":function(e,t,r){"use strict";r.r(t);var n=r("ea04"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"47b6":function(e,t,r){"use strict";var n=r("d9de"),i=r.n(n);i.a},"637d":function(e,t,r){"use strict";r.r(t);var n=r("b928"),i=r("07c8");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);r("47b6");var c,o=r("f0c5"),u=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"b0cad2dc",null,!1,n["a"],c);t["default"]=u.exports},b928:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement;e._self._c},a=[]},d9de:function(e,t,r){},ea04:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("26cb");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o={data:function(){return{}},computed:a(a({},(0,n.mapState)(["user","familayList","isDrawe"])),{},{userinfo:function(){return this.user},familayList:function(){return this.familayList}}),props:{type:{type:String,default:null}},methods:{toggle:function(t){var r=this;e.setStorageSync("familyid",t.familyid),r.$store.dispatch("getResult",{birthday:t.birthday,familyid:t.familyid,height:t.height,sex:t.sex,devtype:r.devtype}),r.$store.dispatch("getMeasure",{familyid:t.familyid,devtype:r.devtype}),r.$store.dispatch("gethistoryList",{keyword:t.familyid,page:1,pagesize:5,devtype:r.devtype}),r.$store.commit("changeDrawe",!1)},addInfo:function(t){e.navigateTo({url:"/pageTwo/me/adduser?type="+t})},clear:function(){this.$store.commit("changeDrawe",!1)}}};t.default=o}).call(this,r("543d")["default"])}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/drawer/drawer"],{"2ae8":function(t,e,r){"use strict";r.r(e);var n=r("8e7f"),i=r("f0dc");for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("2d29");var c,o=r("f0c5"),u=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"3689fbae",null,!1,n["a"],c);e["default"]=u.exports},"2d29":function(t,e,r){"use strict";var n=r("d83f"),i=r.n(n);i.a},"59ac":function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("26cb");function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o={data:function(){return{}},computed:a(a({},(0,n.mapState)(["user","familayList","isDrawe"])),{},{userinfo:function(){return this.user},List:function(){return this.familayList}}),methods:{toggle:function(e){var r=this;t.setStorageSync("familyid",e.familyid),r.$store.dispatch("getResult",{birthday:e.birthday,familyid:e.familyid,height:e.height,sex:e.sex}),r.$store.dispatch("getUserInfo",{familyid:e.familyid}),r.$store.commit("changeDrawe",!1)},addInfo:function(e){t.navigateTo({url:"/pageTwo/me/adduser?type="+e})},clear:function(){this.$store.commit("changeDrawe",!1)}}};e.default=o}).call(this,r("543d")["default"])},"8e7f":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},a=[]},d83f:function(t,e,r){},f0dc:function(t,e,r){"use strict";r.r(e);var n=r("59ac"),i=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/drawer/drawer-create-component',
|
'components/drawer/drawer-create-component',
|
||||||
{
|
{
|
||||||
'components/drawer/drawer-create-component':(function(module, exports, __webpack_require__){
|
'components/drawer/drawer-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("637d"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("2ae8"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/drawer/drawer-create-component']]
|
[['components/drawer/drawer-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<block wx:if="{{isDrawe}}"><view class="wrapper data-v-b0cad2dc"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="bg data-v-b0cad2dc" bindtap="__e"></view><view class="uniDrawer data-v-b0cad2dc"><view class="uni-title data-v-b0cad2dc"><block wx:if="{{userinfo.headimg}}"><image class="image1 data-v-b0cad2dc" src="{{userinfo.headimg}}"></image></block><view class="overflow data-v-b0cad2dc">{{userinfo.name}}</view></view><view class="list data-v-b0cad2dc"><block wx:if="{{familayList.length}}"><view class="data-v-b0cad2dc"><block wx:for="{{familayList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['$0'],[[['familayList','',index]]]]]]]}}" class="item data-v-b0cad2dc" bindtap="__e"><block wx:if="{{item.headimg}}"><image class="image1 data-v-b0cad2dc" src="{{item.headimg}}"></image></block><view class="right data-v-b0cad2dc"><view class="name data-v-b0cad2dc"><view class="overflow data-v-b0cad2dc">{{''+item.name+''}}</view><block wx:if="{{item.id==userinfo.familyid}}"><view class="dangqian data-v-b0cad2dc">当前</view></block></view><view class="info data-v-b0cad2dc"><view class="mr-10 data-v-b0cad2dc">{{item.mage?item.mage:'0岁'}}</view><view class="mr-10 data-v-b0cad2dc">{{item.sex==0?"未知":item.sex==1?"男":"女"}}</view><view class="data-v-b0cad2dc">{{item.type==1?"成人":item.type==2?"儿童":"婴儿"}}</view></view></view></view></block></view></block><view class="add data-v-b0cad2dc"><view data-event-opts="{{[['tap',[['addInfo',['add']]]]]}}" bindtap="__e" class="data-v-b0cad2dc"><icon class="iconfont icon-tianjia data-v-b0cad2dc"></icon></view></view></view></view></view></block>
|
<view class="data-v-3689fbae"><block wx:if="{{isDrawe}}"><view class="wrapper data-v-3689fbae"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="bg data-v-3689fbae" bindtap="__e"></view><view class="wrapper_box data-v-3689fbae"><view class="top data-v-3689fbae"><block wx:if="{{userinfo.headimg}}"><image class="headimage mt-10 data-v-3689fbae" src="{{userinfo.headimg}}"></image></block><view class="overflow data-v-3689fbae">{{userinfo.nickname||userinfo.name}}</view></view><view class="drawerList data-v-3689fbae"><block wx:if="{{List.length}}"><view class="data-v-3689fbae"><block wx:for="{{List}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['$0'],[[['List','',index]]]]]]]}}" class="drawerList_item data-v-3689fbae" bindtap="__e"><block wx:if="{{item.headimg}}"><image class="image1 data-v-3689fbae" src="{{item.headimg}}"></image></block><view class="right data-v-3689fbae"><view class="name data-v-3689fbae"><view class="overflow data-v-3689fbae">{{''+item.name+''}}</view><block wx:if="{{item.id==userinfo.familyid}}"><view class="dangqian data-v-3689fbae">当前</view></block></view><view class="info data-v-3689fbae"><view class="data-v-3689fbae">{{item.mage}}</view><view class="data-v-3689fbae">{{item.sex==0?'未知':item.sex==1?'男':'女'}}</view><view class="data-v-3689fbae">{{item.type}}</view></view></view></view></block></view></block><view class="add data-v-3689fbae"><view data-event-opts="{{[['tap',[['addInfo',['add']]]]]}}" bindtap="__e" class="data-v-3689fbae">+</view></view></view></view></view></block></view>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wrapper.data-v-b0cad2dc{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.bg.data-v-b0cad2dc{position:fixed;left:0;right:0;top:0;bottom:0;height:100vh;background-color:rgba(0,0,0,.4);z-index:99}.uniDrawer.data-v-b0cad2dc{width:220px;background-color:#fff;z-index:1000}@-webkit-keyframes uniDrawer-data-v-b0cad2dc{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes uniDrawer-data-v-b0cad2dc{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.list.data-v-b0cad2dc{position:relative;top:0;left:0;flex-direction:column;flex:1;justify-content:flex-end;margin-bottom:20rpx;width:220px;height:calc(100vh - 100px);overflow-y:scroll}.name.data-v-b0cad2dc{width:100%;display:flex;justify-content:space-between}.name .overflow.data-v-b0cad2dc{width:60%}
|
.wrapper.data-v-3689fbae{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.bg.data-v-3689fbae{position:fixed;left:0;right:0;top:0;bottom:0;height:100vh;background-color:rgba(0,0,0,.4);z-index:99}.uniDrawer.data-v-3689fbae{width:220px;background-color:#fff;z-index:1000}@-webkit-keyframes uniDrawer-data-v-3689fbae{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes uniDrawer-data-v-3689fbae{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.list.data-v-3689fbae{position:relative;top:0;left:0;flex-direction:column;flex:1;justify-content:flex-end;margin-bottom:20rpx;width:220px;height:calc(100vh - 100px);overflow-y:scroll}.name.data-v-3689fbae{width:100%;display:flex;justify-content:space-between}.name .overflow.data-v-3689fbae{width:60%}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/header/head"],{"1c56":function(e,t,n){"use strict";n.r(t);var r=n("9c04"),o=n("a210");for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);var u,a=n("f0c5"),i=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"61c24fe9",null,!1,r["a"],u);t["default"]=i.exports},"331c":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("26cb");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=function(){n.e("components/userLogin").then(function(){return resolve(n("b06c"))}.bind(null,n)).catch(n.oe)},i=function(){n.e("components/drawer/drawer").then(function(){return resolve(n("2ae8"))}.bind(null,n)).catch(n.oe)},l={components:{userLogin:a,leftdrawer:i},data:function(){return{devType:"",deviceId:""}},props:{token:{type:String,default:null}},computed:c({},(0,r.mapState)(["user"])),mounted:function(){},methods:{handleBluetoothClick:function(){var t=this,n=this;n.token?e.openBluetoothAdapter({success:function(t){n.$store.commit("changeBluetooth",!0),n.devType&&n.deviceId?n.$tools.handlePages(n.devType,n.deviceId):(e.navigateTo({url:"/pages/search/devType"}),console.log("初始化蓝牙成功:"+t.errMsg))},fail:function(e){return console.log("初始化蓝牙失败:"+e.errMsg),t.$tools.getBluetoothAdapter(e)}}):n.$store.commit("changeUserLogin",!0)},handleLogin:function(){this.$store.commit("changeUserLogin",!0)},handleDrawer:function(){this.$store.commit("changeDrawe",!0)}}};t.default=l}).call(this,n("543d")["default"])},"9c04":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},c=[]},a210:function(e,t,n){"use strict";n.r(t);var r=n("331c"),o=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a}}]);
|
||||||
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
|
'components/header/head-create-component',
|
||||||
|
{
|
||||||
|
'components/header/head-create-component':(function(module, exports, __webpack_require__){
|
||||||
|
__webpack_require__('543d')['createComponent'](__webpack_require__("1c56"))
|
||||||
|
})
|
||||||
|
},
|
||||||
|
[['components/header/head-create-component']]
|
||||||
|
]);
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"component": true,
|
||||||
|
"usingComponents": {
|
||||||
|
"user-login": "/components/userLogin",
|
||||||
|
"leftdrawer": "/components/drawer/drawer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="data-v-61c24fe9"><view class="header-con data-v-61c24fe9"><block wx:if="{{token}}"><view class="header data-v-61c24fe9"><view class="left data-v-61c24fe9"><image class="headimage mr-10 data-v-61c24fe9" src="{{user.headimg}}" data-event-opts="{{[['tap',[['handleDrawer',['$event']]]]]}}" bindtap="__e"></image><view class="data-v-61c24fe9"><view data-event-opts="{{[['tap',[['handleDrawer',['$event']]]]]}}" class="name data-v-61c24fe9" bindtap="__e"><text class="overflow data-v-61c24fe9">{{user.name}}</text><icon class="iconfont icon-yqfqiehuan data-v-61c24fe9"></icon></view><view class="age data-v-61c24fe9"><view class="data-v-61c24fe9">{{'性别:'+(!user.sex?"未知":user.sex==1?'男':'女')+''}}</view><view class="data-v-61c24fe9">{{'年龄:'+(user.mage?user.mage:"0岁")+''}}</view></view></view></view><view data-event-opts="{{[['tap',[['handleBluetoothClick',['$event']]]]]}}" class="celiang_r data-v-61c24fe9" bindtap="__e"><icon class="t-icon t-icon-tizhongcheng data-v-61c24fe9"></icon><text class="data-v-61c24fe9">上秤测量</text></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['handleLogin',['$event']]]]]}}" class="header2 data-v-61c24fe9" bindtap="__e"><view class="text data-v-61c24fe9"><text class="data-v-61c24fe9">登录</text>查看更多信息</view></view></block></view><user-login vue-id="53cc52af-1" class="data-v-61c24fe9" bind:__l="__l"></user-login><leftdrawer vue-id="53cc52af-2" class="data-v-61c24fe9" bind:__l="__l"></leftdrawer></view>
|
||||||
10
unpackage/dist/build/mp-weixin/components/mark-slide-list/mark-slide-list.js
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mark-slide-list/mark-slide-list"],{"302f":function(t,i,e){"use strict";e.r(i);var n=e("a0a2"),s=e("868c");for(var a in s)"default"!==a&&function(t){e.d(i,t,(function(){return s[t]}))}(a);e("752b");var r,l=e("f0c5"),o=Object(l["a"])(s["default"],n["b"],n["c"],!1,null,"328b2d5e",null,!1,n["a"],r);i["default"]=o.exports},"752b":function(t,i,e){"use strict";var n=e("d54b"),s=e.n(n);s.a},"868c":function(t,i,e){"use strict";e.r(i);var n=e("8713"),s=e.n(n);for(var a in n)"default"!==a&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=s.a},8713:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={name:"mark-slide-list",props:{list:{type:Array,default:function(){return[]}},button:{type:Array,default:function(){return[{title:"删除",background:"#ff3b32"}]}},border:{type:Boolean,default:!1},type:{type:String,default:null},id:{type:String,default:null}},computed:{windowWidth:function(){return t.getSystemInfoSync().windowWidth}},data:function(){return{listData:[],start_slide_x:0,btnWidth:0,startX:0,LastX:0,startTime:0,itemIndex:0}},mounted:function(){this.listData=this.clone(this.list)},watch:{list:{handler:function(t,i){this.listData=this.clone(this.list)},deep:!0}},methods:{clone:function(t){var i,e=typeof t;if("array"===e)i=[];else{if("object"!==e)return t;i={}}if("array"===e)for(var n=0,s=t.length;n<s;n++)i.push(this.clone(t[n]));else if("object"===e)for(var a in t)i[a]=this.clone(t[a]);return i},touchStart:function(i,e){var n=this;for(var s in this.itemIndex==e&&(this.itemIndex=e),this.startTime=i.timeStamp,this.start_slide_x=this.listData[e].slide_x,t.createSelectorQuery().in(this).selectAll(".group-btn").boundingClientRect((function(t){null!=t&&(n.btnWidth=-1*t[e].width)})).exec(),this.startX=i.touches[0].pageX,this.lastX=this.startX,this.listData)e!=s&&(this.listData[s].slide_x=0)},touchMove:function(t,i){var e=t.touches[0].pageX,n=e-this.lastX,s=this.listData[i].slide_x+n;s<=0&&s>=this.btnWidth&&(this.listData[i].slide_x=s),this.lastX=e},touchEnd:function(t,i){var e=10,n=t.timeStamp,s=this.startX-this.lastX;Math.abs(n-this.startTime)>200&&(e=this.btnWidth/-2),this.listData[i].slide_x=s>e?this.btnWidth:s<-1*e?0:this.start_slide_x},recover:function(t){this.listData[t].slide_x=0},clickMethod:function(t){1!=this.list.length?this.$emit("changeDelete",t):this.$tools.msg("只剩一条记录了,不可以删除!")},clickItemMethod:function(i){1==this.type&&t.navigateTo({url:"/pageTwo/me/info?index="+JSON.stringify(i)})}}};i.default=e}).call(this,e("543d")["default"])},a0a2:function(t,i,e){"use strict";var n;e.d(i,"b",(function(){return s})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){return n}));var s=function(){var t=this,i=t.$createElement;t._self._c},a=[]},d54b:function(t,i,e){}}]);
|
||||||
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
|
'components/mark-slide-list/mark-slide-list-create-component',
|
||||||
|
{
|
||||||
|
'components/mark-slide-list/mark-slide-list-create-component':(function(module, exports, __webpack_require__){
|
||||||
|
__webpack_require__('543d')['createComponent'](__webpack_require__("302f"))
|
||||||
|
})
|
||||||
|
},
|
||||||
|
[['components/mark-slide-list/mark-slide-list-create-component']]
|
||||||
|
]);
|
||||||
1
unpackage/dist/build/mp-weixin/components/mark-slide-list/mark-slide-list.wxml
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<view class="container data-v-328b2d5e"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="slide-box data-v-328b2d5e"><view data-event-opts="{{[['touchstart',[['touchStart',['$event',index]]]],['touchend',[['touchEnd',['$event',index]]]],['touchmove',[['touchMove',['$event',index]]]],['tap',[['recover',[index]]]]]}}" class="slide-list data-v-328b2d5e" style="{{'transform:'+('translate3d('+item.slide_x+'px, 0, 0)')+';'}}" bindtouchstart="__e" bindtouchend="__e" bindtouchmove="__e" bindtap="__e"><view class="now-message-info data-v-328b2d5e" style="{{'width:'+(windowWidth+'px')+';'}}" hover-class="uni-item--hover" data-event-opts="{{[['tap',[['clickItemMethod',['$0'],[[['listData','',index]]]]]]]}}" bindtap="__e"><view class="list data-v-328b2d5e"><view class="{{['item','data-v-328b2d5e',type!=1?'leftChild':'']}}"><view class="time data-v-328b2d5e"><icon class="t-icon t-icon-shijian-mianxing-0 data-v-328b2d5e"></icon><text class="data-v-328b2d5e">{{item.createtime}}</text></view><block wx:if="{{type!=1}}"><view class="data-v-328b2d5e">{{item.height}}<text class="data-v-328b2d5e">身高</text></view></block><view class="data-v-328b2d5e">{{item.weight}}<text class="data-v-328b2d5e">体重</text></view><view class="data-v-328b2d5e">{{item.bmi}}<text class="data-v-328b2d5e">BMI</text></view><block wx:if="{{type==1}}"><view class="data-v-328b2d5e">{{item.fat_r}}<text class="data-v-328b2d5e">脂肪率</text></view></block><block wx:if="{{type==1}}"><icon class="iconfont icon-arrow-right data-v-328b2d5e"></icon></block></view></view></view><view class="group-btn data-v-328b2d5e"><block wx:for="{{button}}" wx:for-item="value" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['clickMethod',['$0'],[[['listData','',index]]]]]]]}}" class="btn-div data-v-328b2d5e" style="{{'background:'+(value.background)+';'}}" bindtap="__e">{{''+value.title+''}}</view></block></view><view style="clear:both;" class="data-v-328b2d5e"></view></view><block wx:if="{{border}}"><view class="list-item-border data-v-328b2d5e"></view></block></view></block></view>
|
||||||
1
unpackage/dist/build/mp-weixin/components/mark-slide-list/mark-slide-list.wxss
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.container .slide-box.data-v-328b2d5e{width:100%;overflow:hidden}.container .slide-box .list-item-border.data-v-328b2d5e{width:100%}.container .slide-box .slide-list.data-v-328b2d5e{transition:all .1s;transition-timing-function:ease-out;min-width:200%}.container .slide-box .slide-list .now-message-info.data-v-328b2d5e{position:relative;box-sizing:border-box;display:flex;align-items:center;font-size:16px;clear:both;padding:0 30rpx;background:#f7f7f7;float:left}.container .slide-box .slide-list .now-message-info .icon-image.data-v-328b2d5e{border-radius:10rpx;width:100rpx;height:100rpx;float:left}.container .slide-box .slide-list .now-message-info .icon-circle.data-v-328b2d5e{background:#3396fb;border-radius:100%;width:100rpx;height:100rpx;line-height:100rpx;text-align:center;color:#fff;font-weight:700;font-size:20px;float:left}.container .slide-box .slide-list .now-message-info .list-right.data-v-328b2d5e{float:left;margin-left:25rpx;margin-right:30rpx}.container .slide-box .slide-list .now-message-info .list-right .list-title.data-v-328b2d5e{width:350rpx;line-height:1.5;overflow:hidden;margin-bottom:10rpx;color:#333;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.container .slide-box .slide-list .now-message-info .list-right .list-detail.data-v-328b2d5e{width:350rpx;font-size:14px;color:#a9a9a9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.container .slide-box .slide-list .now-message-info .list-right-1.data-v-328b2d5e{float:right;position:absolute;right:30rpx;color:#a9a9a9}.container .slide-box .slide-list .group-btn.data-v-328b2d5e{float:left;display:flex;flex-direction:row;min-width:100rpx;align-items:center;margin-top:6rpx}.container .slide-box .slide-list .group-btn .btn-div.data-v-328b2d5e{height:100rpx;color:#fff;text-align:center;padding:0 50rpx;font-size:34rpx;line-height:100rpx;border-radius:5px 0 0 5px}.container .slide-box .slide-list .group-btn .top.data-v-328b2d5e{background-color:#c4c7cd}.container .slide-box .slide-list .group-btn .removeM.data-v-328b2d5e{background-color:#ff3b32}.leftChild view.data-v-328b2d5e{width:18%}.leftChild .time.data-v-328b2d5e{width:32%!important}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ren-calendar/ren-calendar"],{"0ddc":function(t,e,n){},7700:function(t,e,n){"use strict";n.r(e);var a=n("eaf7"),o=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},"7dc8":function(t,e,n){"use strict";var a=n("0ddc"),o=n.n(a);o.a},9348:function(t,e,n){"use strict";n.r(e);var a=n("99d8"),o=n("7700");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("7dc8");var i,s=n("f0c5"),h=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"4949ac56",null,!1,a["a"],i);e["default"]=h.exports},"99d8":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.formatNum(t.m)),a=t.__map(t.dates,(function(e,n){var a=t.__get_orig(e),o=t.isToday(e.year,e.month,e.date),r=t.isWorkDay(e.year,e.month,e.date),i=Number(e.date),s=t.isMarkDay(e.year,e.month,e.date)&&e.isCurM;return{$orig:a,m1:o,m2:r,m3:i,m4:s}}));t.$mp.data=Object.assign({},{$root:{m0:n,l0:a}})},r=[]},eaf7:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"ren-calendar",props:{weekstart:{type:Number,default:0},markDays:{type:Array,default:function(){return[]}},headerBar:{type:Boolean,default:!0},open:{type:Boolean,default:!0},collapsible:{type:Boolean,default:!0},disabledAfter:{type:Boolean,default:!0}},data:function(){return{weektext:["日","一","二","三","四","五","六"],y:(new Date).getFullYear(),m:(new Date).getMonth()+1,dates:[],positionTop:0,monthOpen:!0,choose:"",month:null}},created:function(){this.dates=this.monthDay(this.y,this.m),!this.open&&this.toggle()},mounted:function(){this.y=(new Date).getFullYear(),this.m=(new Date).getMonth()+1,this.month=this.$tools.getDate("m"),this.choose=this.getToday().date},computed:{weekDay:function(){return this.weektext.slice(this.weekstart).concat(this.weektext.slice(0,this.weekstart))},height:function(){return this.dates.length/7*80+"rpx"}},methods:{formatNum:function(t){var e=Number(t);return e<10?"0"+e:e},getToday:function(){var t=new Date,e=t.getFullYear(),n=t.getMonth(),a=t.getDate(),o=(new Date).getDay(),r=["日","一","二","三","四","五","六"],i="星期"+r[o],s={date:e+"-"+this.formatNum(n+1)+"-"+this.formatNum(a),week:i};return s},monthDay:function(t,e){var n=[],a=Number(e),o=new Date(t,a-1,1).getDay(),r=new Date(t,a,0).getDate(),i=new Date(t,a-1,0).getDate(),s=7==this.weekstart?0:this.weekstart,h=function(){return o==s?0:o>s?o-s:7-s+o}(),c=7-(h+r)%7;7==c&&(c=0);for(var u=1;u<=h;u++)n.push({date:this.formatNum(i-h+u),day:s+u-1||7,month:a-1>=0?this.formatNum(a-1):12,year:a-1>=0?t:t-1});for(var m=1;m<=r;m++)n.push({date:this.formatNum(m),day:m%7+o-1||7,month:this.formatNum(a),year:t,isCurM:!0});for(var f=1;f<=c;f++)n.push({date:this.formatNum(f),day:(r+h+s+f-1)%7||7,month:a+1<=11?this.formatNum(a+1):0,year:a+1<=11?t:t+1});return n},isWorkDay:function(t,e,n){var a="".concat(t,"/").concat(e,"/").concat(n),o=new Date(a.replace(/-/g,"/")),r=o.getDay();return 0!=r&&6!=r},isFutureDay:function(t,e,n){var a="".concat(t,"/").concat(e,"/").concat(n),o=new Date(a.replace(/-/g,"/")),r=o.getTime(),i=(new Date).getTime();return r>i},isMarkDay:function(t,e,n){for(var a=!1,o=0;o<this.markDays.length;o++){var r="".concat(t,"-").concat(e,"-").concat(n);if(this.markDays[o]==r){a=!0;break}}return a},isToday:function(t,e,n){var a=t+"-"+e+"-"+n,o=this.getToday().date;return a==o},toggle:function(){var t=this;if(this.monthOpen=!this.monthOpen,this.monthOpen)this.positionTop=0;else{var e=-1;this.dates.forEach((function(n,a){t.isToday(n.year,n.month,n.date)&&(e=a)})),this.positionTop=80*-((Math.ceil((e+1)/7)||1)-1)}},selectOne:function(t,e){var n="".concat(t.year,"-").concat(t.month,"-").concat(t.date),a=new Date(n).getTime(),o=(new Date).getTime(),r=new Date(n).getDay(),i=["日","一","二","三","四","五","六"],s="星期"+i[r],h={date:n,week:s};if(!t.isCurM)return!1;if(a>o){if(this.disabledAfter)return console.log("未来日期不可选"),!1;this.choose=n,this.$emit("onDayClick",h)}else this.choose=n,this.$emit("onDayClick",h);console.log(h)},changYearMonth:function(t,e){this.dates=this.monthDay(t,e),this.y=t,this.m=e},changeMonth:function(e){var n=this;t.getStorageSync("token")?("pre"==e?(n.m+1==2?(n.m=12,n.y=n.y-1):n.m=n.m-1,n.month=this.$tools.getMonth(n.month,-1),n.$emit("onMonthClickPre",n.month)):(this.m+1==13?(this.m=1,this.y=this.y+1):this.m=this.m+1,n.month=this.$tools.getMonth(n.month,1),n.$emit("onMonthClickPre",n.month)),this.dates=this.monthDay(this.y,this.m)):this.$store.commit("changeUserLogin",!0)}}};e.default=n}).call(this,n("543d")["default"])}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ren-calendar/ren-calendar"],{"1ad8":function(t,e,n){"use strict";n.r(e);var a=n("502b"),o=n("c13a");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("c77c");var i,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"e1d267b8",null,!1,a["a"],i);e["default"]=c.exports},"502b":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.formatNum(t.m)),a=t.__map(t.dates,(function(e,n){var a=t.__get_orig(e),o=t.isToday(e.year,e.month,e.date),r=t.isWorkDay(e.year,e.month,e.date),i=Number(e.date),s=t.isMarkDay(e.year,e.month,e.date)&&e.isCurM;return{$orig:a,m1:o,m2:r,m3:i,m4:s}}));t.$mp.data=Object.assign({},{$root:{m0:n,l0:a}})},r=[]},"735f":function(t,e,n){},c13a:function(t,e,n){"use strict";n.r(e);var a=n("cdfb"),o=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},c77c:function(t,e,n){"use strict";var a=n("735f"),o=n.n(a);o.a},cdfb:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"ren-calendar",props:{weekstart:{type:Number,default:0},markDays:{type:Array,default:function(){return[]}},headerBar:{type:Boolean,default:!0},open:{type:Boolean,default:!0},collapsible:{type:Boolean,default:!0},disabledAfter:{type:Boolean,default:!0}},data:function(){return{weektext:["日","一","二","三","四","五","六"],y:(new Date).getFullYear(),m:(new Date).getMonth()+1,dates:[],positionTop:0,monthOpen:!0,choose:"",month:null}},created:function(){this.dates=this.monthDay(this.y,this.m),!this.open&&this.toggle()},mounted:function(){this.y=(new Date).getFullYear(),this.m=(new Date).getMonth()+1,this.month=this.$tools.getDate("m"),this.choose=this.getToday().date},computed:{weekDay:function(){return this.weektext.slice(this.weekstart).concat(this.weektext.slice(0,this.weekstart))},height:function(){return this.dates.length/7*80+"rpx"}},methods:{formatNum:function(t){var e=Number(t);return e<10?"0"+e:e},getToday:function(){var t=new Date,e=t.getFullYear(),n=t.getMonth(),a=t.getDate(),o=(new Date).getDay(),r=["日","一","二","三","四","五","六"],i="星期"+r[o],s={date:e+"-"+this.formatNum(n+1)+"-"+this.formatNum(a),week:i};return s},monthDay:function(t,e){var n=[],a=Number(e),o=new Date(t,a-1,1).getDay(),r=new Date(t,a,0).getDate(),i=new Date(t,a-1,0).getDate(),s=7==this.weekstart?0:this.weekstart,c=function(){return o==s?0:o>s?o-s:7-s+o}(),h=7-(c+r)%7;7==h&&(h=0);for(var u=1;u<=c;u++)n.push({date:this.formatNum(i-c+u),day:s+u-1||7,month:a-1>=0?this.formatNum(a-1):12,year:a-1>=0?t:t-1});for(var m=1;m<=r;m++)n.push({date:this.formatNum(m),day:m%7+o-1||7,month:this.formatNum(a),year:t,isCurM:!0});for(var f=1;f<=h;f++)n.push({date:this.formatNum(f),day:(r+c+s+f-1)%7||7,month:a+1<=11?this.formatNum(a+1):0,year:a+1<=11?t:t+1});return n},isWorkDay:function(t,e,n){var a="".concat(t,"/").concat(e,"/").concat(n),o=new Date(a.replace(/-/g,"/")),r=o.getDay();return 0!=r&&6!=r},isFutureDay:function(t,e,n){var a="".concat(t,"/").concat(e,"/").concat(n),o=new Date(a.replace(/-/g,"/")),r=o.getTime(),i=(new Date).getTime();return r>i},isMarkDay:function(t,e,n){for(var a=!1,o=0;o<this.markDays.length;o++){var r="".concat(t,"-").concat(e,"-").concat(n);if(this.markDays[o]==r){a=!0;break}}return a},isToday:function(t,e,n){var a=t+"-"+e+"-"+n,o=this.getToday().date;return a==o},toggle:function(){var t=this;if(this.monthOpen=!this.monthOpen,this.monthOpen)this.positionTop=0;else{var e=-1;this.dates.forEach((function(n,a){t.isToday(n.year,n.month,n.date)&&(e=a)})),this.positionTop=80*-((Math.ceil((e+1)/7)||1)-1)}},selectOne:function(t,e){var n="".concat(t.year,"-").concat(t.month,"-").concat(t.date),a=new Date(n).getTime(),o=(new Date).getTime(),r=new Date(n).getDay(),i=["日","一","二","三","四","五","六"],s="星期"+i[r],c={date:n,week:s};if(!t.isCurM)return!1;if(a>o){if(this.disabledAfter)return console.log("未来日期不可选"),!1;this.choose=n,this.$emit("onDayClick",c)}else this.choose=n,this.$emit("onDayClick",c);console.log(c)},changYearMonth:function(t,e){this.dates=this.monthDay(t,e),this.y=t,this.m=e},changeMonth:function(e){var n=this;t.getStorageSync("token")?("pre"==e?(n.m+1==2?(n.m=12,n.y=n.y-1):n.m=n.m-1,n.month=this.$tools.getMonth(n.month,-1),n.$emit("onMonthClickPre",n.month)):(this.m+1==13?(this.m=1,this.y=this.y+1):this.m=this.m+1,n.month=this.$tools.getMonth(n.month,1),n.$emit("onMonthClickPre",n.month)),this.dates=this.monthDay(this.y,this.m)):this.$store.commit("changeUserLogin",!0)}}};e.default=n}).call(this,n("543d")["default"])}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/ren-calendar/ren-calendar-create-component',
|
'components/ren-calendar/ren-calendar-create-component',
|
||||||
{
|
{
|
||||||
'components/ren-calendar/ren-calendar-create-component':(function(module, exports, __webpack_require__){
|
'components/ren-calendar/ren-calendar-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9348"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("1ad8"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/ren-calendar/ren-calendar-create-component']]
|
[['components/ren-calendar/ren-calendar-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<view class="calendar-wrapper data-v-4949ac56"><view class="header data-v-4949ac56"><view data-event-opts="{{[['tap',[['changeMonth',['pre']]]]]}}" class="pre data-v-4949ac56" bindtap="__e"><icon class="iconfont icon-arrow-left data-v-4949ac56"></icon></view><view class="data-v-4949ac56">{{y+'年'+$root.m0+'月'}}</view><view data-event-opts="{{[['tap',[['changeMonth',['next']]]]]}}" class="next data-v-4949ac56" bindtap="__e"><icon class="iconfont icon-arrow-right data-v-4949ac56"></icon></view></view><view class="week data-v-4949ac56"><block wx:for="{{weekDay}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="week-day data-v-4949ac56">{{item}}</view></block></view><view class="{{['content','data-v-4949ac56',(!monthOpen)?'hide':'']}}" style="{{'height:'+(height)+';'}}"><view class="days data-v-4949ac56" style="{{'top:'+(positionTop+'rpx')+';'}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-4949ac56"><view data-event-opts="{{[['tap',[['selectOne',['$0','$event'],[[['dates','',index]]]]]]]}}" class="{{['day','data-v-4949ac56',(choose==item.$orig.year+'-'+item.$orig.month+'-'+item.$orig.date&&item.$orig.isCurM)?'choose':'',(!item.$orig.isCurM)?'nolm':'',(item.m1)?'today':'',(item.m2)?'isWorkDay':'']}}" bindtap="__e">{{''+item.m3+''}}</view><block wx:if="{{item.m4}}"><view class="markDay data-v-4949ac56"></view></block></view></block></view></view><block wx:if="{{collapsible}}"><image class="{{['weektoggle','data-v-4949ac56',(monthOpen)?'down':'']}}" src="https://i.loli.net/2020/07/16/2MmZsucVTlRjSwK.png" mode="scaleToFill" data-event-opts="{{[['tap',[['toggle',['$event']]]]]}}" bindtap="__e"></image></block></view>
|
<view class="calendar-wrapper data-v-e1d267b8"><view class="header data-v-e1d267b8"><view data-event-opts="{{[['tap',[['changeMonth',['pre']]]]]}}" class="pre data-v-e1d267b8" bindtap="__e"><icon class="iconfont icon-arrow-left data-v-e1d267b8"></icon></view><view class="data-v-e1d267b8">{{y+'年'+$root.m0+'月'}}</view><view data-event-opts="{{[['tap',[['changeMonth',['next']]]]]}}" class="next data-v-e1d267b8" bindtap="__e"><icon class="iconfont icon-arrow-right data-v-e1d267b8"></icon></view></view><view class="week data-v-e1d267b8"><block wx:for="{{weekDay}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="week-day data-v-e1d267b8">{{item}}</view></block></view><view class="{{['content0','data-v-e1d267b8',(!monthOpen)?'hide':'']}}" style="{{'height:'+(height)+';'}}"><view class="days data-v-e1d267b8" style="{{'top:'+(positionTop+'rpx')+';'}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-e1d267b8"><view data-event-opts="{{[['tap',[['selectOne',['$0','$event'],[[['dates','',index]]]]]]]}}" class="{{['day','data-v-e1d267b8',(choose==item.$orig.year+'-'+item.$orig.month+'-'+item.$orig.date&&item.$orig.isCurM)?'choose':'',(!item.$orig.isCurM)?'nolm':'',(item.m1)?'today':'',(item.m2)?'isWorkDay':'']}}" bindtap="__e">{{''+item.m3+''}}</view><block wx:if="{{item.m4}}"><view class="markDay data-v-e1d267b8"></view></block></view></block></view></view><block wx:if="{{collapsible}}"><image class="{{['weektoggle','data-v-e1d267b8',(monthOpen)?'down':'']}}" src="https://i.loli.net/2020/07/16/2MmZsucVTlRjSwK.png" mode="scaleToFill" data-event-opts="{{[['tap',[['toggle',['$event']]]]]}}" bindtap="__e"></image></block></view>
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
.calendar-wrapper.data-v-4949ac56{color:#bbb7b7;border-radius:10px;font-size:28rpx;text-align:center;background-color:#fff;padding-bottom:10rpx}.calendar-wrapper .header.data-v-4949ac56{display:flex;align-items:center;justify-content:center;height:88rpx;color:#42464a;font-size:32rpx;font-weight:700;justify-content:space-around}.calendar-wrapper .header .pre.data-v-4949ac56,
|
.calendar-wrapper.data-v-e1d267b8{color:#bbb7b7;border-radius:10px;font-size:28rpx;text-align:center;background-color:#fff;padding-bottom:10rpx}.calendar-wrapper .header.data-v-e1d267b8{display:flex;align-items:center;justify-content:center;height:88rpx;color:#42464a;font-size:32rpx;font-weight:700;justify-content:space-around}.calendar-wrapper .header .pre.data-v-e1d267b8,
|
||||||
.calendar-wrapper .header .next.data-v-4949ac56{color:#fca82d;font-size:28rpx}.calendar-wrapper .week.data-v-4949ac56{display:flex;align-items:center;height:80rpx;line-height:80rpx;border-bottom:1rpx solid hsla(0,0%,100%,.2)}.calendar-wrapper .week view.data-v-4949ac56{flex:1}.calendar-wrapper .content.data-v-4949ac56{position:relative;overflow:hidden;transition:height .4s ease}.calendar-wrapper .content .days.data-v-4949ac56{transition:top .3s;display:flex;align-items:center;flex-wrap:wrap;position:relative}.calendar-wrapper .content .days .item.data-v-4949ac56{position:relative;display:block;height:80rpx;line-height:80rpx;width:calc(100% / 7)}.calendar-wrapper .content .days .item .day.data-v-4949ac56{font-style:normal;display:inline-block;vertical-align:middle;width:60rpx;height:60rpx;line-height:60rpx;overflow:hidden;border-radius:60rpx}.calendar-wrapper .content .days .item .day.choose.data-v-4949ac56{background-color:#fca82d;color:#fff}.calendar-wrapper .content .days .item .day.nolm.data-v-4949ac56{color:#fff;opacity:.3}.calendar-wrapper .content .days .item .isWorkDay.data-v-4949ac56{color:#42464a}.calendar-wrapper .content .days .item .notSigned.data-v-4949ac56{font-style:normal;width:8rpx;height:8rpx;background:#fa7268;border-radius:10rpx;position:absolute;left:50%;bottom:0;pointer-events:none}.calendar-wrapper .content .days .item .today.data-v-4949ac56{color:#fff;background-color:#a8c0ff}.calendar-wrapper .content .days .item .workDay.data-v-4949ac56{font-style:normal;width:8rpx;height:8rpx;background:#4d7df9;border-radius:10rpx;position:absolute;left:50%;bottom:0;pointer-events:none}.calendar-wrapper .content .days .item .markDay.data-v-4949ac56{font-style:normal;width:8rpx;height:8rpx;background:#fa7268;border-radius:10rpx;position:absolute;left:50%;bottom:0;pointer-events:none}.calendar-wrapper .hide.data-v-4949ac56{height:80rpx!important}.calendar-wrapper .weektoggle.data-v-4949ac56{width:85rpx;height:32rpx;position:relative;bottom:-42rpx}.calendar-wrapper .weektoggle.down.data-v-4949ac56{-webkit-transform:rotate(180deg);transform:rotate(180deg);bottom:0}
|
.calendar-wrapper .header .next.data-v-e1d267b8{color:#fca82d;font-size:28rpx}.calendar-wrapper .week.data-v-e1d267b8{display:flex;align-items:center;height:80rpx;line-height:80rpx;border-bottom:1rpx solid hsla(0,0%,100%,.2)}.calendar-wrapper .week view.data-v-e1d267b8{flex:1}.calendar-wrapper .content0.data-v-e1d267b8{position:relative;overflow:hidden;transition:height .4s ease}.calendar-wrapper .content0 .days.data-v-e1d267b8{transition:top .3s;display:flex;align-items:center;flex-wrap:wrap;position:relative}.calendar-wrapper .content0 .days .item.data-v-e1d267b8{position:relative;display:block;height:80rpx;line-height:80rpx;width:calc(100% / 7)}.calendar-wrapper .content0 .days .item .day.data-v-e1d267b8{font-style:normal;display:inline-block;vertical-align:middle;width:60rpx;height:60rpx;line-height:60rpx;overflow:hidden;border-radius:60rpx}.calendar-wrapper .content0 .days .item .day.choose.data-v-e1d267b8{background-color:#fca82d;color:#fff}.calendar-wrapper .content0 .days .item .day.nolm.data-v-e1d267b8{color:#fff;opacity:.3}.calendar-wrapper .content0 .days .item .isWorkDay.data-v-e1d267b8{color:#42464a}.calendar-wrapper .content0 .days .item .notSigned.data-v-e1d267b8{font-style:normal;width:8rpx;height:8rpx;background:#fa7268;border-radius:10rpx;position:absolute;left:50%;bottom:0;pointer-events:none}.calendar-wrapper .content0 .days .item .today.data-v-e1d267b8{color:#fff;background-color:#a8c0ff}.calendar-wrapper .content0 .days .item .workDay.data-v-e1d267b8{font-style:normal;width:8rpx;height:8rpx;background:#4d7df9;border-radius:10rpx;position:absolute;left:50%;bottom:0;pointer-events:none}.calendar-wrapper .content0 .days .item .markDay.data-v-e1d267b8{font-style:normal;width:8rpx;height:8rpx;background:#fa7268;border-radius:10rpx;position:absolute;left:50%;bottom:0;pointer-events:none}.calendar-wrapper .hide.data-v-e1d267b8{height:80rpx!important}.calendar-wrapper .weektoggle.data-v-e1d267b8{width:85rpx;height:32rpx;position:relative;bottom:-42rpx}.calendar-wrapper .weektoggle.down.data-v-e1d267b8{-webkit-transform:rotate(180deg);transform:rotate(180deg);bottom:0}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/signup/signup"],{"6bb1":function(e,t,r){"use strict";r.r(t);var n=r("9f79"),o=r("f378");for(var i in o)"default"!==i&&function(e){r.d(t,e,(function(){return o[e]}))}(i);var s,u=r("f0c5"),f=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"7a3fe67f",null,!1,n["a"],s);t["default"]=f.exports},"92ef":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("26cb");function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u={data:function(){return{heightArr:[],ageArr:[],checked:!0,sex:0}},computed:i(i({},(0,n.mapState)(["user","isedit"])),{},{userInfo:function(){return this.user}}),mounted:function(){for(var e=[],t=[],r=30;r<=220;r++)e.push(r);for(r=12;r<=80;r++)t.push(r);this.ageArr=t,this.heightArr=e},methods:{onTap:function(){this.$store.commit("changeEdit",!1)},onHeightArr:function(e){console.log("this.userInfo.height",this.heightArr[e.target.value]),this.userInfo.height=this.heightArr[e.target.value]},selectsex:function(e){this.userInfo.sex=e},onBirthdayArr:function(e){this.userInfo.birthday=e.target.value},handleCloseClick:function(){var e=this;console.log("this.userInfo",this.userInfo),e.userInfo.sex?e.userInfo.height?e.userInfo.birthday?(e.$store.commit("changeEdit",!1),e.getResult()):e.$tools.msg("请选择出生日期"):e.$tools.msg("请选择身高"):e.$tools.msg("请选择出生性别")},getResult:function(){var e=this;e.$model.getResult({birthday:e.userInfo.birthday,familyid:e.userInfo.familyid,height:e.userInfo.height,sex:e.userInfo.sex}).then((function(t){e.$store.dispatch("getMeasure",{familyid:e.userInfo.familyid}),e.$store.dispatch("getFamilyList")}))}}};t.default=u},"9f79":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement;e._self._c},i=[]},f378:function(e,t,r){"use strict";r.r(t);var n=r("92ef"),o=r.n(n);for(var i in n)"default"!==i&&function(e){r.d(t,e,(function(){return n[e]}))}(i);t["default"]=o.a}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/signup/signup"],{"6e1e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("26cb");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={data:function(){return{info:{height:"",birthday:"",sex:0},ageArr:[]}},computed:o(o({},(0,r.mapState)(["user","isedit"])),{},{userInfo:function(){return this.user}}),mounted:function(){for(var t=[],e=12;e<=80;e++)t.push(e);this.ageArr=t,this.info=this.user},methods:{onTap:function(){},selectsex:function(t){this.info.sex=t},onBirthdayArr:function(t){this.info.birthday=t.target.value},handleCloseClick:function(){var t=this;t.info.sex?t.info.height?t.info.birthday?(t.$store.commit("changeEdit",!1),t.getResult()):t.$tools.msg("请选择出生日期"):t.$tools.msg("请选择身高"):t.$tools.msg("请选择性别")},getResult:function(){var t=this;t.$model.getResult({birthday:t.userInfo.birthday,familyid:t.userInfo.familyid,height:t.userInfo.height,sex:t.userInfo.sex}).then((function(e){t.$store.dispatch("getUserInfo",{familyid:t.userInfo.familyid}),t.$store.dispatch("getFamilyList")}))}}};e.default=s},c3b7:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return r}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},c86f:function(t,e,n){"use strict";n.r(e);var r=n("c3b7"),i=n("d93d");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var u,s=n("f0c5"),c=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"d5f50124",null,!1,r["a"],u);e["default"]=c.exports},d93d:function(t,e,n){"use strict";n.r(e);var r=n("6e1e"),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/signup/signup-create-component',
|
'components/signup/signup-create-component',
|
||||||
{
|
{
|
||||||
'components/signup/signup-create-component':(function(module, exports, __webpack_require__){
|
'components/signup/signup-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("6bb1"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("c86f"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/signup/signup-create-component']]
|
[['components/signup/signup-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<block wx:if="{{isedit}}"><view class="wrapper data-v-7a3fe67f"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-7a3fe67f" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-7a3fe67f" catchtap="__e"><view class="title data-v-7a3fe67f">健康资料</view><view class="editem data-v-7a3fe67f"><view class="name data-v-7a3fe67f">性别</view><view data-event-opts="{{[['tap',[['selectsex',[1]]]]]}}" class="radio mr-10 data-v-7a3fe67f" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-7a3fe67f',userInfo.sex==1?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-7a3fe67f">男</view></view><view data-event-opts="{{[['tap',[['selectsex',[2]]]]]}}" class="radio data-v-7a3fe67f" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-7a3fe67f',userInfo.sex==2?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-7a3fe67f">女</view></view></view><view class="editem data-v-7a3fe67f"><view class="name data-v-7a3fe67f">身高</view><view class="right data-v-7a3fe67f"><picker class="f-r data-v-7a3fe67f" mode="selector" value="{{userInfo.height!=0?userInfo.height-30:118}}" range="{{heightArr}}" data-event-opts="{{[['change',[['onHeightArr',['$event']]]]]}}" bindchange="__e"><view class="text data-v-7a3fe67f">{{(userInfo.height!=0?userInfo.height+'cm':"请选择")+''}}<icon class="iconfont icon-arrow-right data-v-7a3fe67f"></icon></view></picker></view></view><view class="editem data-v-7a3fe67f"><view class="name data-v-7a3fe67f">出生日期</view><view class="right data-v-7a3fe67f"><picker class="f-r data-v-7a3fe67f" mode="date" end="{{startDate}}" value="{{userInfo.birthday}}" data-event-opts="{{[['change',[['onBirthdayArr',['$event']]]]]}}" bindchange="__e"><view class="text data-v-7a3fe67f">{{(userInfo.birthday?userInfo.birthday:"请选择")+''}}<icon class="iconfont icon-arrow-right data-v-7a3fe67f"></icon></view></picker></view></view><view class="tips data-v-7a3fe67f">请准确填写信息方便我们给您更精确的报告</view><view data-event-opts="{{[['tap',[['handleCloseClick',['$event']]]]]}}" class="btn mt-20 data-v-7a3fe67f" bindtap="__e">保存信息</view></view></view></view></block>
|
<block wx:if="{{isedit}}"><view class="wrapper data-v-d5f50124"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-d5f50124" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-d5f50124" catchtap="__e"><view class="title data-v-d5f50124">健康资料</view><view class="editem data-v-d5f50124"><view class="name data-v-d5f50124">性别</view><view data-event-opts="{{[['tap',[['selectsex',[1]]]]]}}" class="radio mr-10 data-v-d5f50124" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-d5f50124',info.sex==1?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-d5f50124">男</view></view><view data-event-opts="{{[['tap',[['selectsex',[2]]]]]}}" class="radio data-v-d5f50124" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-d5f50124',info.sex==2?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-d5f50124">女</view></view></view><view class="editem data-v-d5f50124"><view class="name data-v-d5f50124">身高</view><view class="right data-v-d5f50124"><input type="digit" placeholder="请输入身高" data-event-opts="{{[['input',[['__set_model',['$0','height','$event',[]],['info']]]]]}}" value="{{info.height}}" bindinput="__e" class="data-v-d5f50124"/>cm</view></view><view class="editem data-v-d5f50124"><view class="name data-v-d5f50124">出生日期</view><view class="right data-v-d5f50124"><picker class="f-r data-v-d5f50124" mode="date" end="{{startDate}}" value="{{info.birthday}}" data-event-opts="{{[['change',[['onBirthdayArr',['$event']]]]]}}" bindchange="__e"><view class="uni-input data-v-d5f50124">{{(info.birthday?info.birthday:"请选择")+''}}<icon class="iconfont icon-arrow-down data-v-d5f50124"></icon></view></picker></view></view><view class="tips data-v-d5f50124">请准确填写信息方便我们给您更精确的报告</view><view data-event-opts="{{[['tap',[['handleCloseClick',['$event']]]]]}}" class="btn mt-15 data-v-d5f50124" bindtap="__e">保存信息</view></view></view></view></block>
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/firstweight"],{"233a":function(t,e,r){},"6f3c":function(t,e,r){"use strict";r.r(e);var n=r("e305"),i=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},a695:function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},caa4:function(t,e,r){"use strict";r.r(e);var n=r("a695"),i=r("6f3c");for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("f250");var a,s=r("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"b4bb99c8",null,!1,n["a"],a);e["default"]=u.exports},e305:function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("26cb");function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s={data:function(){return{regTime:"",weight:""}},computed:o(o({},(0,n.mapState)(["user","isFirst"])),{},{endDate:function(){return this.$tools.getDate("start")},startDate:function(){return this.$tools.GetDateStr(-7)}}),methods:{handleTarget:function(){var t=this;console.log("保存记录",this.regTime,this.weight),this.user.firstresulttime?t.weight?t.$model.getFirstWeight({familyid:t.user.familyid,time:t.user.firstresulttime,weight:t.weight}).then((function(e){t.$tools.msg(e.message),0==e.code&&(t.$store.commit("changeFirst",!1),t.$store.dispatch("getMeasure",{familyid:t.user.familyid}))})):t.$tools.msg("请输入测量体重"):t.$tools.msg("请选择测量日期")},bindDateChange:function(t){t.target.value>this.endDate?this.$tools.msg("请选择正确的时间"):(this.regTime=t.target.value,this.user.firstresulttime=t.target.value)},onTap:function(){this.$store.commit("changeFirst",!1)},hideKeyboard:function(){t.hideKeyboard()}}};e.default=s}).call(this,r("543d")["default"])},f250:function(t,e,r){"use strict";var n=r("233a"),i=r.n(n);i.a}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/firstweight"],{2511:function(t,e,r){"use strict";var n=r("55f1"),i=r.n(n);i.a},"55f1":function(t,e,r){},7497:function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},8886:function(t,e,r){"use strict";r.r(e);var n=r("d23a"),i=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},c4e2:function(t,e,r){"use strict";r.r(e);var n=r("7497"),i=r("8886");for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("2511");var c,a=r("f0c5"),u=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"fca8ea4c",null,!1,n["a"],c);e["default"]=u.exports},d23a:function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("26cb");function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a={data:function(){return{regTime:"",weight:""}},computed:o(o({},(0,n.mapState)(["user","isFirst"])),{},{endDate:function(){return this.$tools.getDate("start")}}),methods:{handleTarget:function(){var t=this;t.regTime?t.weight?t.$model.getfirstweight({familyid:t.user.familyid,time:t.regTime,weight:t.weight}).then((function(e){t.$tools.msg(e.message),0==e.code&&(t.$store.commit("changeFirst",!1),t.$store.dispatch("getUserInfo",{familyid:t.user.familyid}))})):t.$tools.msg("请输入测量体重"):t.$tools.msg("请选择测量日期")},bindDateChange:function(t){this.regTime=t.target.value},onTap:function(){this.regTime="",this.weight="",this.$store.commit("changeFirst",!1)},hideKeyboard:function(){t.hideKeyboard()}}};e.default=a}).call(this,r("543d")["default"])}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/target/firstweight-create-component',
|
'components/target/firstweight-create-component',
|
||||||
{
|
{
|
||||||
'components/target/firstweight-create-component':(function(module, exports, __webpack_require__){
|
'components/target/firstweight-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("caa4"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("c4e2"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/target/firstweight-create-component']]
|
[['components/target/firstweight-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<block wx:if="{{isFirst}}"><view class="wrapper data-v-b4bb99c8"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-b4bb99c8" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-b4bb99c8" catchtap="__e"><view class="title data-v-b4bb99c8">初始体重</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-b4bb99c8" bindtap="__e"><view class="name data-v-b4bb99c8">日期</view><view class="right data-v-b4bb99c8"><picker mode="date" value="{{user.firstresulttime}}" start="startDate" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-b4bb99c8"><view class="text data-v-b4bb99c8">{{regTime?regTime:user.firstresulttime?user.firstresulttime:"请选择"}}</view></picker></view></view><view class="editem data-v-b4bb99c8"><view class="name data-v-b4bb99c8">体重</view><view class="right data-v-b4bb99c8"><input type="digit" placeholder="请输入体重" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-b4bb99c8"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-b4bb99c8" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-b4bb99c8" bindtap="__e">确定</view></view></view></view></block>
|
<block wx:if="{{isFirst}}"><view class="wrapper data-v-fca8ea4c"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-fca8ea4c" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-fca8ea4c" catchtap="__e"><view class="title data-v-fca8ea4c">初始体重</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-fca8ea4c" bindtap="__e"><view class="name data-v-fca8ea4c">日期</view><view class="right data-v-fca8ea4c"><picker mode="date" value="{{user.firstresulttime}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-fca8ea4c"><view class="text data-v-fca8ea4c">{{(regTime?regTime:user.firstresulttime?user.firstresulttime:"请选择")+''}}</view></picker></view></view><view class="editem data-v-fca8ea4c"><view class="name data-v-fca8ea4c">体重</view><view class="right data-v-fca8ea4c"><input type="digit" placeholder="请输入体重" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-fca8ea4c"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-fca8ea4c" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-fca8ea4c" bindtap="__e">确定</view></view></view></view></block>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.btn.data-v-b4bb99c8{width:40%;float:right;margin-top:15px}.edit.data-v-b4bb99c8{top:20%}.close.data-v-b4bb99c8{background:#dfdfdf!important;float:left}
|
.btn.data-v-fca8ea4c{width:40%;float:right;margin-top:15px}.edit.data-v-fca8ea4c{top:20%}.close.data-v-fca8ea4c{background:#dfdfdf!important;float:left}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/manuaRecord"],{"109a":function(e,t,r){"use strict";var n=r("6bec"),i=r.n(n);i.a},3523:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("26cb");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={data:function(){return{regTime:"",weight:""}},computed:o(o({},(0,n.mapState)(["user","isRecord"])),{},{endDate:function(){return this.$tools.getDate("start")},startDate:function(){return this.$tools.GetDateStr(-7)}}),methods:{handleTarget:function(){var t=this;t.regTime?t.weight?t.$model.GetInsertMeasure({familyid:t.user.familyid,time:t.regTime,weight:t.weight}).then((function(r){0==r.code&&(t.$tools.msg(r.message),t.$store.commit("changeRecord",!1),t.$store.dispatch("getResult",{birthday:t.user.birthday,familyid:t.user.familyid,height:t.user.height,sex:t.user.sex}),t.$store.dispatch("getMeasure",{familyid:t.user.familyid}),t.$store.dispatch("gethistoryList",{keyword:e.getStorageSync("familyid")}),t.regTime="",t.weight="")})):t.$tools.msg("请输入测量体重"):t.$tools.msg("请选择测量日期")},bindDateChange:function(e){console.log(e.target.value),e.target.value>this.endDate?this.$tools.msg("请选择正确的时间"):this.regTime=e.target.value},onTap:function(){this.regTime="",this.weight="",this.$store.commit("changeRecord",!1)},hideKeyboard:function(){e.hideKeyboard()}}};t.default=c}).call(this,r("543d")["default"])},"6bec":function(e,t,r){},"8d0b":function(e,t,r){"use strict";r.r(t);var n=r("3523"),i=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},b715:function(e,t,r){"use strict";r.r(t);var n=r("d43a"),i=r("8d0b");for(var o in i)"default"!==o&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("109a");var a,c=r("f0c5"),u=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"83e8e6e8",null,!1,n["a"],a);t["default"]=u.exports},d43a:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=[]}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/manuaRecord"],{"4ecf":function(e,t,r){},"976a":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("26cb");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={data:function(){return{regTime:"",weight:""}},computed:o(o({},(0,n.mapState)(["user","isRecord"])),{},{endDate:function(){return this.$tools.getDate("start")},startDate:function(){return this.$tools.GetDateStr(-90)}}),methods:{handleTarget:function(){var e=this,t=this;t.regTime?t.weight?t.$model.getinsertmeasure({familyid:t.user.familyid,time:t.regTime,weight:t.weight}).then((function(r){0==r.code&&(t.$tools.msg(r.message),t.$store.commit("changeRecord",!1),t.$store.dispatch("getResult",{birthday:t.user.birthday,familyid:t.user.familyid,height:t.user.height,sex:t.user.sex}),t.$store.dispatch("getUserInfo",{familyid:t.user.familyid}),t.$emit("getList",e.startDate,e.endDate),t.regTime="",t.weight="")})):t.$tools.msg("请输入测量体重"):t.$tools.msg("请选择测量日期")},bindDateChange:function(e){this.regTime=e.target.value},onTap:function(){this.regTime="",this.weight="",this.$store.commit("changeRecord",!1)},hideKeyboard:function(){e.hideKeyboard()}}};t.default=c}).call(this,r("543d")["default"])},cb96:function(e,t,r){"use strict";var n=r("4ecf"),i=r.n(n);i.a},d95c:function(e,t,r){"use strict";r.r(t);var n=r("ff07"),i=r("e3fd");for(var o in i)"default"!==o&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("cb96");var a,c=r("f0c5"),u=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"1c7a0dce",null,!1,n["a"],a);t["default"]=u.exports},e3fd:function(e,t,r){"use strict";r.r(t);var n=r("976a"),i=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},ff07:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/target/manuaRecord-create-component',
|
'components/target/manuaRecord-create-component',
|
||||||
{
|
{
|
||||||
'components/target/manuaRecord-create-component':(function(module, exports, __webpack_require__){
|
'components/target/manuaRecord-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("b715"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("d95c"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/target/manuaRecord-create-component']]
|
[['components/target/manuaRecord-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<block wx:if="{{isRecord}}"><view class="wrapper data-v-83e8e6e8"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-83e8e6e8" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-83e8e6e8" catchtap="__e"><view class="title data-v-83e8e6e8">手动记录</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-83e8e6e8" bindtap="__e"><view class="left data-v-83e8e6e8">日期</view><view class="right data-v-83e8e6e8"><picker mode="date" value="{{regTime}}" start="startDate" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-83e8e6e8"><view class="text data-v-83e8e6e8">{{regTime?regTime:"请选择"}}</view></picker></view></view><view class="editem data-v-83e8e6e8"><view class="left data-v-83e8e6e8">体重</view><view class="right data-v-83e8e6e8"><input type="digit" placeholder="请输入体重" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-83e8e6e8"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-83e8e6e8" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-83e8e6e8" bindtap="__e">确定</view></view></view></view></block>
|
<block wx:if="{{isRecord}}"><view class="wrapper data-v-1c7a0dce"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-1c7a0dce" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-1c7a0dce" catchtap="__e"><view class="title data-v-1c7a0dce">手动记录</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-1c7a0dce" bindtap="__e"><view class="left data-v-1c7a0dce">日期</view><view class="right data-v-1c7a0dce"><picker mode="date" value="{{regTime}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-1c7a0dce"><view class="text data-v-1c7a0dce">{{regTime?regTime:"请选择"}}</view></picker></view></view><view class="editem data-v-1c7a0dce"><view class="left data-v-1c7a0dce">体重</view><view class="right data-v-1c7a0dce"><input type="digit" placeholder="请输入体重" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-1c7a0dce"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-1c7a0dce" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-1c7a0dce" bindtap="__e">确定</view></view></view></view></block>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.btn.data-v-83e8e6e8{width:40%;float:right;margin-top:15px}.edit.data-v-83e8e6e8{top:20%}.close.data-v-83e8e6e8{background:#dfdfdf!important;float:left}
|
.btn.data-v-1c7a0dce{width:40%;float:right;margin-top:15px}.edit.data-v-1c7a0dce{top:20%}.close.data-v-1c7a0dce{background:#dfdfdf!important;float:left}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/targetWeight"],{"2ee8":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement;t._self._c},a=[]},"32db":function(t,e,r){},"71e2":function(t,e,r){"use strict";r.r(e);var n=r("2ee8"),o=r("a387");for(var a in o)"default"!==a&&function(t){r.d(e,t,(function(){return o[t]}))}(a);r("c354");var i,u=r("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"65cd9801",null,!1,n["a"],i);e["default"]=c.exports},a387:function(t,e,r){"use strict";r.r(e);var n=r("ee09"),o=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},c354:function(t,e,r){"use strict";var n=r("32db"),o=r.n(n);o.a},ee09:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("26cb");function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u={data:function(){return{inputvalue:""}},computed:a(a({},(0,n.mapState)(["user","isTarget"])),{},{startDate:function(){return this.$tools.getDate("start")}}),methods:{handleWeight:function(){var t=this;t.inputvalue?t.$model.setTarget({familyid:t.user.familyid,time:t.$tools.getCurrentTime(),weight:t.inputvalue}).then((function(e){0==e.code&&(t.$tools.msg(e.message),t.$store.commit("changeTarget",!1),t.$store.dispatch("getMeasure",{familyid:t.user.familyid}))})):t.$tools.msg("请输入目标体重")},onTap:function(){this.inputvalue="",this.$store.commit("changeTarget",!1)}}};e.default=u}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/targetWeight"],{"15d2":function(t,e,r){"use strict";r.r(e);var n=r("9013"),a=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},6307:function(t,e,r){"use strict";var n=r("f140"),a=r.n(n);a.a},9013:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("26cb");function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u={data:function(){return{inputvalue:""}},computed:o(o({},(0,n.mapState)(["user","isTarget"])),{},{startDate:function(){return this.$tools.getDate("start")}}),methods:{handleWeight:function(){var t=this;console.log("startDate",t.startDate),t.inputvalue?t.$model.setTarget({familyid:t.user.familyid,time:t.startDate,weight:t.inputvalue}).then((function(e){0==e.code&&(t.$tools.msg(e.message),t.$store.commit("changeTarget",!1),t.$store.dispatch("getUserInfo",{familyid:t.user.familyid}))})):t.$tools.msg("请输入目标体重")},onTap:function(){this.inputvalue="",this.$store.commit("changeTarget",!1)}}};e.default=u},a0f7:function(t,e,r){"use strict";r.r(e);var n=r("aa6f"),a=r("15d2");for(var o in a)"default"!==o&&function(t){r.d(e,t,(function(){return a[t]}))}(o);r("6307");var i,u=r("f0c5"),c=Object(u["a"])(a["default"],n["b"],n["c"],!1,null,"02c81fb1",null,!1,n["a"],i);e["default"]=c.exports},aa6f:function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]},f140:function(t,e,r){}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/target/targetWeight-create-component',
|
'components/target/targetWeight-create-component',
|
||||||
{
|
{
|
||||||
'components/target/targetWeight-create-component':(function(module, exports, __webpack_require__){
|
'components/target/targetWeight-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("71e2"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("a0f7"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/target/targetWeight-create-component']]
|
[['components/target/targetWeight-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<block wx:if="{{isTarget}}"><view class="wrapper data-v-65cd9801"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-65cd9801" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-65cd9801" catchtap="__e"><view class="title data-v-65cd9801">目标体重</view><view class="editem data-v-65cd9801"><view class="left data-v-65cd9801">目标体重</view><view class="right data-v-65cd9801"><input class="text data-v-65cd9801" type="digit" placeholder="请输入目标体重" data-event-opts="{{[['input',[['__set_model',['','inputvalue','$event',[]]]]]]}}" value="{{inputvalue}}" bindinput="__e"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-65cd9801" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleWeight',['$event']]]]]}}" class="btn data-v-65cd9801" bindtap="__e">确定</view></view></view></view></block>
|
<block wx:if="{{isTarget}}"><view class="wrapper data-v-02c81fb1"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-02c81fb1" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-02c81fb1" catchtap="__e"><view class="title data-v-02c81fb1">目标体重</view><view class="editem data-v-02c81fb1"><view class="left data-v-02c81fb1">目标体重</view><view class="right data-v-02c81fb1"><input class="text data-v-02c81fb1" type="digit" placeholder="请输入目标体重" data-event-opts="{{[['input',[['__set_model',['','inputvalue','$event',[]]]]]]}}" value="{{inputvalue}}" bindinput="__e"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-02c81fb1" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleWeight',['$event']]]]]}}" class="btn data-v-02c81fb1" bindtap="__e">确定</view></view></view></view></block>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.btn.data-v-65cd9801{width:40%;float:right;margin-top:15px}.edit.data-v-65cd9801{top:20%}.close.data-v-65cd9801{background:#dfdfdf!important;float:left}
|
.btn.data-v-02c81fb1{width:40%;float:right;margin-top:15px}.edit.data-v-02c81fb1{top:20%}.close.data-v-02c81fb1{background:#dfdfdf!important;float:left}
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseAudio"],{"3ee7":function(n,t,e){"use strict";e.r(t);var u=e("5a9f"),r=e("d039");for(var a in r)"default"!==a&&function(n){e.d(t,n,(function(){return r[n]}))}(a);var o,c=e("f0c5"),f=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],o);t["default"]=f.exports},"5a9f":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;n._self._c},a=[]},"91b2":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"wxParseAudio",props:{node:{type:Object,default:function(){return{}}}}};t.default=u},d039:function(n,t,e){"use strict";e.r(t);var u=e("91b2"),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}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseAudio"],{"07e6":function(n,t,e){"use strict";e.r(t);var u=e("c964"),r=e("8680");for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);var a,o=e("f0c5"),f=Object(o["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],a);t["default"]=f.exports},8680:function(n,t,e){"use strict";e.r(t);var u=e("c7b1"),r=e.n(u);for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);t["default"]=r.a},c7b1:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"wxParseAudio",props:{node:{type:Object,default:function(){return{}}}}};t.default=u},c964:function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return u}));var r=function(){var n=this,t=n.$createElement;n._self._c},c=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseAudio-create-component',
|
'components/u-parse/components/wxParseAudio-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseAudio-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseAudio-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3ee7"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("07e6"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseAudio-create-component']]
|
[['components/u-parse/components/wxParseAudio-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseImg"],{"1dff":function(t,e,n){"use strict";n.r(e);var r=n("3444"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"1f89":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},3444:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"wxParseImg",data:function(){return{newStyleStr:"",preview:!0}},props:{node:{type:Object,default:function(){return{}}}},methods:{wxParseImgTap:function(t){if(this.preview){var e=t.currentTarget.dataset.src;if(e){var n=this.$parent;while(!n.preview||"function"!==typeof n.preview)n=n.$parent;n.preview(e,t)}}},wxParseImgLoad:function(t){var e=t.currentTarget.dataset.src;if(e){var n=t.mp.detail,r=n.width,a=n.height,i=this.wxAutoImageCal(r,a),o=i.imageheight,c=i.imageWidth,u=this.node.attr,d=u.padding,f=u.mode,s=this.node.styleStr,p="widthFix"===f?"":"height: ".concat(o,"px;");this.newStyleStr="".concat(s,"; ").concat(p,"; width: ").concat(c,"px; padding: 0 ").concat(+d,"px;")}},wxAutoImageCal:function(t,e){this.node.attr.padding;var n=this.node.$screen.width-30,r={};if(t<60||e<60){var a=this.node.attr.src,i=this.$parent;while(!i.preview||"function"!==typeof i.preview)i=i.$parent;i.removeImageUrl(a),this.preview=!1}return t>n?(r.imageWidth=n,r.imageheight=n*(e/t)):(r.imageWidth=t,r.imageheight=e),r}}};e.default=r},da80:function(t,e,n){"use strict";n.r(e);var r=n("1f89"),a=n("1dff");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);var o,c=n("f0c5"),u=Object(c["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);e["default"]=u.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseImg"],{"07cb":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},3458:function(t,e,n){"use strict";n.r(e);var r=n("07cb"),a=n("844c");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);var c,o=n("f0c5"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],c);e["default"]=u.exports},"844c":function(t,e,n){"use strict";n.r(e);var r=n("a83f"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},a83f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"wxParseImg",data:function(){return{newStyleStr:"",preview:!0}},props:{node:{type:Object,default:function(){return{}}}},methods:{wxParseImgTap:function(t){if(this.preview){var e=t.currentTarget.dataset.src;if(e){var n=this.$parent;while(!n.preview||"function"!==typeof n.preview)n=n.$parent;n.preview(e,t)}}},wxParseImgLoad:function(t){var e=t.currentTarget.dataset.src;if(e){var n=t.mp.detail,r=n.width,a=n.height,i=this.wxAutoImageCal(r,a),c=i.imageheight,o=i.imageWidth,u=this.node.attr,d=u.padding,s=u.mode,f=this.node.styleStr,p="widthFix"===s?"":"height: ".concat(c,"px;");this.newStyleStr="".concat(f,"; ").concat(p,"; width: ").concat(o,"px; padding: 0 ").concat(+d,"px;")}},wxAutoImageCal:function(t,e){this.node.attr.padding;var n=this.node.$screen.width-30,r={};if(t<60||e<60){var a=this.node.attr.src,i=this.$parent;while(!i.preview||"function"!==typeof i.preview)i=i.$parent;i.removeImageUrl(a),this.preview=!1}return t>n?(r.imageWidth=n,r.imageheight=n*(e/t)):(r.imageWidth=t,r.imageheight=e),r}}};e.default=r}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseImg-create-component',
|
'components/u-parse/components/wxParseImg-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseImg-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseImg-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("da80"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("3458"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseImg-create-component']]
|
[['components/u-parse/components/wxParseImg-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate0"],{"13cf":function(e,n,t){"use strict";t.r(n);var o=t("dde1"),r=t("c8f1");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var c,u=t("f0c5"),s=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);n["default"]=s.exports},c8f1:function(e,n,t){"use strict";t.r(n);var o=t("d94c"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},d94c:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate1").then(function(){return resolve(t("d63b"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},c=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},u={name:"wxParseTemplate0",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:c},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=u},dde1:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate0"],{"1cd0":function(e,n,t){"use strict";t.r(n);var o=t("80d0"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"664e":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"80d0":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate1").then(function(){return resolve(t("3472"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate0",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},dcb7:function(e,n,t){"use strict";t.r(n);var o=t("664e"),r=t("1cd0");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate0-create-component',
|
'components/u-parse/components/wxParseTemplate0-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate0-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate0-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("13cf"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("dcb7"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate0-create-component']]
|
[['components/u-parse/components/wxParseTemplate0-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate1"],{1011:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate2").then(function(){return resolve(t("439a"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate1",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},"7c36":function(e,n,t){"use strict";t.r(n);var o=t("1011"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},a4d9:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},d63b:function(e,n,t){"use strict";t.r(n);var o=t("a4d9"),r=t("7c36");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate1"],{3472:function(e,n,t){"use strict";t.r(n);var o=t("f7c8"),r=t("e8d4");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},3880:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate2").then(function(){return resolve(t("7f14"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate1",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},e8d4:function(e,n,t){"use strict";t.r(n);var o=t("3880"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},f7c8:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate1-create-component',
|
'components/u-parse/components/wxParseTemplate1-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate1-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate1-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d63b"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("3472"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate1-create-component']]
|
[['components/u-parse/components/wxParseTemplate1-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate10"],{"495d":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},affa:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate11").then(function(){return resolve(t("b905"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate10",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},b0b4:function(e,n,t){"use strict";t.r(n);var o=t("affa"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},bbf8:function(e,n,t){"use strict";t.r(n);var o=t("495d"),r=t("b0b4");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate10"],{"4fb9":function(e,n,t){"use strict";t.r(n);var o=t("8111"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},8111:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate11").then(function(){return resolve(t("ec61"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate10",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},"9dc2":function(e,n,t){"use strict";t.r(n);var o=t("acf9"),r=t("4fb9");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},acf9:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate10-create-component',
|
'components/u-parse/components/wxParseTemplate10-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate10-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate10-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("bbf8"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("9dc2"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate10-create-component']]
|
[['components/u-parse/components/wxParseTemplate10-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate11"],{"6aa9":function(e,n,t){"use strict";t.r(n);var r=t("ac60"),a=t.n(r);for(var o in r)"default"!==o&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=a.a},"75b7":function(e,n,t){"use strict";var r;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return r}));var a=function(){var e=this,n=e.$createElement;e._self._c},o=[]},ac60:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},o=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},u={name:"wxParseTemplate11",props:{node:{}},components:{wxParseImg:r,wxParseVideo:a,wxParseAudio:o},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=u},b905:function(e,n,t){"use strict";t.r(n);var r=t("75b7"),a=t("6aa9");for(var o in a)"default"!==o&&function(e){t.d(n,e,(function(){return a[e]}))}(o);var u,c=t("f0c5"),s=Object(c["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],u);n["default"]=s.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate11"],{"74f8":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},o=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},u={name:"wxParseTemplate11",props:{node:{}},components:{wxParseImg:r,wxParseVideo:o,wxParseAudio:a},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=u},7923:function(e,n,t){"use strict";var r;t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return r}));var o=function(){var e=this,n=e.$createElement;e._self._c},a=[]},cc49:function(e,n,t){"use strict";t.r(n);var r=t("74f8"),o=t.n(r);for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);n["default"]=o.a},ec61:function(e,n,t){"use strict";t.r(n);var r=t("7923"),o=t("cc49");for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],u);n["default"]=s.exports}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate11-create-component',
|
'components/u-parse/components/wxParseTemplate11-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate11-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate11-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("b905"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("ec61"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate11-create-component']]
|
[['components/u-parse/components/wxParseTemplate11-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate2"],{"439a":function(e,n,t){"use strict";t.r(n);var o=t("9d47"),r=t("903b");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},"903b":function(e,n,t){"use strict";t.r(n);var o=t("ac94"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"9d47":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},ac94:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate3").then(function(){return resolve(t("4563"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate2",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate2"],{"596e":function(e,n,t){"use strict";t.r(n);var o=t("e420"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"7f14":function(e,n,t){"use strict";t.r(n);var o=t("999c"),r=t("596e");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},"999c":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},e420:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate3").then(function(){return resolve(t("68d5"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate2",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate2-create-component',
|
'components/u-parse/components/wxParseTemplate2-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate2-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate2-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("439a"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("7f14"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate2-create-component']]
|
[['components/u-parse/components/wxParseTemplate2-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate3"],{4563:function(e,n,t){"use strict";t.r(n);var o=t("51c4"),r=t("fedb");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var c,u=t("f0c5"),s=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);n["default"]=s.exports},"51c4":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"90ce":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate4").then(function(){return resolve(t("1cb8"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},c=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},u={name:"wxParseTemplate3",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:c},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=u},fedb:function(e,n,t){"use strict";t.r(n);var o=t("90ce"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate3"],{"68d5":function(e,n,t){"use strict";t.r(n);var o=t("8b45"),r=t("d5ce");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},"8b45":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},9331:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate4").then(function(){return resolve(t("62fb"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate3",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},d5ce:function(e,n,t){"use strict";t.r(n);var o=t("9331"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate3-create-component',
|
'components/u-parse/components/wxParseTemplate3-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate3-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate3-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("4563"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("68d5"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate3-create-component']]
|
[['components/u-parse/components/wxParseTemplate3-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate4"],{"1cb8":function(e,n,t){"use strict";t.r(n);var o=t("a760"),r=t("fcd3");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},a760:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},d34d:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate5").then(function(){return resolve(t("9df3"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate4",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},fcd3:function(e,n,t){"use strict";t.r(n);var o=t("d34d"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate4"],{"62d2":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"62fb":function(e,n,t){"use strict";t.r(n);var o=t("62d2"),r=t("a601");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},"8dae":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate5").then(function(){return resolve(t("0b12"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate4",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},a601:function(e,n,t){"use strict";t.r(n);var o=t("8dae"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate4-create-component',
|
'components/u-parse/components/wxParseTemplate4-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate4-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate4-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("1cb8"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("62fb"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate4-create-component']]
|
[['components/u-parse/components/wxParseTemplate4-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate5"],{"134d":function(e,n,t){"use strict";t.r(n);var o=t("cccb"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"9df3":function(e,n,t){"use strict";t.r(n);var o=t("af0e"),r=t("134d");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var c,u=t("f0c5"),s=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);n["default"]=s.exports},af0e:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},cccb:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate6").then(function(){return resolve(t("3d07"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},c=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},u={name:"wxParseTemplate5",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:c},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=u}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate5"],{"0b12":function(e,n,t){"use strict";t.r(n);var o=t("1410"),r=t("fb93");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},1410:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},1737:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate6").then(function(){return resolve(t("6ec7"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate5",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},fb93:function(e,n,t){"use strict";t.r(n);var o=t("1737"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate5-create-component',
|
'components/u-parse/components/wxParseTemplate5-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate5-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate5-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9df3"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("0b12"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate5-create-component']]
|
[['components/u-parse/components/wxParseTemplate5-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate6"],{"3d07":function(e,n,t){"use strict";t.r(n);var o=t("7056"),r=t("be5f");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},7056:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},be5f:function(e,n,t){"use strict";t.r(n);var o=t("cee8"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},cee8:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate7").then(function(){return resolve(t("d8b5"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate6",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate6"],{"42f5":function(e,n,t){"use strict";t.r(n);var o=t("7019"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"6ec7":function(e,n,t){"use strict";t.r(n);var o=t("ffdd"),r=t("42f5");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},7019:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate7").then(function(){return resolve(t("80aa"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate6",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},ffdd:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate6-create-component',
|
'components/u-parse/components/wxParseTemplate6-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate6-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate6-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3d07"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("6ec7"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate6-create-component']]
|
[['components/u-parse/components/wxParseTemplate6-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate7"],{"26c2":function(e,n,t){"use strict";t.r(n);var o=t("ac7c"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"37fb":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},ac7c:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate8").then(function(){return resolve(t("ec43"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},c=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},u={name:"wxParseTemplate7",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:c},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=u},d8b5:function(e,n,t){"use strict";t.r(n);var o=t("37fb"),r=t("26c2");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var c,u=t("f0c5"),s=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);n["default"]=s.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate7"],{"32be":function(e,n,t){"use strict";t.r(n);var o=t("f07a"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},"3cf1":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"80aa":function(e,n,t){"use strict";t.r(n);var o=t("3cf1"),r=t("32be");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},f07a:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate8").then(function(){return resolve(t("8b20"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate7",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate7-create-component',
|
'components/u-parse/components/wxParseTemplate7-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate7-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate7-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d8b5"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("80aa"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate7-create-component']]
|
[['components/u-parse/components/wxParseTemplate7-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate8"],{"01c2":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate9").then(function(){return resolve(t("d660"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate8",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},"25ee":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"5eab":function(e,n,t){"use strict";t.r(n);var o=t("01c2"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},ec43:function(e,n,t){"use strict";t.r(n);var o=t("25ee"),r=t("5eab");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate8"],{"149b":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate9").then(function(){return resolve(t("7d3e"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate8",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},"5ef0":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"8b20":function(e,n,t){"use strict";t.r(n);var o=t("5ef0"),r=t("df0d");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},df0d:function(e,n,t){"use strict";t.r(n);var o=t("149b"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate8-create-component',
|
'components/u-parse/components/wxParseTemplate8-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate8-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate8-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("ec43"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("8b20"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate8-create-component']]
|
[['components/u-parse/components/wxParseTemplate8-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate9"],{"22ea":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"42e8":function(e,n,t){"use strict";t.r(n);var o=t("c4a7"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},c4a7:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate10").then(function(){return resolve(t("bbf8"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("da80"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("068b"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("3ee7"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate9",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},d660:function(e,n,t){"use strict";t.r(n);var o=t("22ea"),r=t("42e8");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseTemplate9"],{"0622":function(e,n,t){"use strict";t.r(n);var o=t("1058"),r=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},1058:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){t.e("components/u-parse/components/wxParseTemplate10").then(function(){return resolve(t("9dc2"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/u-parse/components/wxParseImg").then(function(){return resolve(t("3458"))}.bind(null,t)).catch(t.oe)},a=function(){t.e("components/u-parse/components/wxParseVideo").then(function(){return resolve(t("50b5"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/u-parse/components/wxParseAudio").then(function(){return resolve(t("07e6"))}.bind(null,t)).catch(t.oe)},c={name:"wxParseTemplate9",props:{node:{}},components:{wxParseTemplate:o,wxParseImg:r,wxParseVideo:a,wxParseAudio:u},methods:{wxParseATap:function(e){var n=e.currentTarget.dataset.href;if(n){var t=this.$parent;while(!t.preview||"function"!==typeof t.preview)t=t.$parent;t.navigate(n,e)}}}};n.default=c},"7d3e":function(e,n,t){"use strict";t.r(n);var o=t("d0dc"),r=t("0622");for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);var u,c=t("f0c5"),s=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=s.exports},d0dc:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},a=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseTemplate9-create-component',
|
'components/u-parse/components/wxParseTemplate9-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseTemplate9-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseTemplate9-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d660"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("7d3e"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseTemplate9-create-component']]
|
[['components/u-parse/components/wxParseTemplate9-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseVideo"],{"068b":function(e,n,t){"use strict";t.r(n);var r=t("0bf4"),u=t("3eae");for(var a in u)"default"!==a&&function(e){t.d(n,e,(function(){return u[e]}))}(a);var o,f=t("f0c5"),c=Object(f["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);n["default"]=c.exports},"0bf4":function(e,n,t){"use strict";var r;t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return r}));var u=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"3eae":function(e,n,t){"use strict";t.r(n);var r=t("3f8e"),u=t.n(r);for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);n["default"]=u.a},"3f8e":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"wxParseVideo",props:{node:{}}};n.default=r}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/components/wxParseVideo"],{"2f0d":function(e,n,t){"use strict";t.r(n);var r=t("6be1"),u=t.n(r);for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);n["default"]=u.a},"50b5":function(e,n,t){"use strict";t.r(n);var r=t("5eba"),u=t("2f0d");for(var a in u)"default"!==a&&function(e){t.d(n,e,(function(){return u[e]}))}(a);var o,c=t("f0c5"),f=Object(c["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);n["default"]=f.exports},"5eba":function(e,n,t){"use strict";var r;t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return r}));var u=function(){var e=this,n=e.$createElement;e._self._c},a=[]},"6be1":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"wxParseVideo",props:{node:{}}};n.default=r}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/components/wxParseVideo-create-component',
|
'components/u-parse/components/wxParseVideo-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/components/wxParseVideo-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/components/wxParseVideo-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("068b"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("50b5"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/components/wxParseVideo-create-component']]
|
[['components/u-parse/components/wxParseVideo-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/u-parse"],{"0060":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement;t._self._c},u=[]},"0385":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("75f8"));function r(t){return t&&t.__esModule?t:{default:t}}var u=function(){n.e("components/u-parse/components/wxParseTemplate0").then(function(){return resolve(n("13cf"))}.bind(null,n)).catch(n.oe)},i={name:"wxParse",props:{loading:{type:Boolean,default:!1},className:{type:String,default:""},content:{type:String,default:""},noData:{type:String,default:""},startHandler:{type:Function,default:function(){return function(t){t.attr.class=null,t.attr.style=null}}},endHandler:{type:Function,default:null},charsHandler:{type:Function,default:null},imageProp:{type:Object,default:function(){return{mode:"aspectFit",padding:0,lazyLoad:!1,domain:""}}}},components:{wxParseTemplate:u},data:function(){return{imageUrls:[]}},computed:{nodes:function(){var t=this.content,e=this.noData,n=this.imageProp,r=this.startHandler,u=this.endHandler,i=this.charsHandler,l=t||e,o={start:r,end:u,chars:i},s=(0,a.default)(l,o,n,this);return this.imageUrls=s.imageUrls,console.log(s),s.nodes}},methods:{navigate:function(t,e){this.$emit("navigate",t,e)},preview:function(t,e){this.imageUrls.length&&(wx.previewImage({current:t,urls:this.imageUrls}),this.$emit("preview",t,e))},removeImageUrl:function(t){var e=this.imageUrls;e.splice(e.indexOf(t),1)}}};e.default=i},"5d57":function(t,e,n){"use strict";n.r(e);var a=n("0385"),r=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=r.a},"8f74":function(t,e,n){"use strict";n.r(e);var a=n("0060"),r=n("5d57");for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);var i,l=n("f0c5"),o=Object(l["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=o.exports}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/u-parse/u-parse"],{"1f2c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("8a8f"));function r(t){return t&&t.__esModule?t:{default:t}}var u=function(){n.e("components/u-parse/components/wxParseTemplate0").then(function(){return resolve(n("dcb7"))}.bind(null,n)).catch(n.oe)},i={name:"wxParse",props:{loading:{type:Boolean,default:!1},className:{type:String,default:""},content:{type:String,default:""},noData:{type:String,default:""},startHandler:{type:Function,default:function(){return function(t){t.attr.class=null,t.attr.style=null}}},endHandler:{type:Function,default:null},charsHandler:{type:Function,default:null},imageProp:{type:Object,default:function(){return{mode:"aspectFit",padding:0,lazyLoad:!1,domain:""}}}},components:{wxParseTemplate:u},data:function(){return{imageUrls:[]}},computed:{nodes:function(){var t=this.content,e=this.noData,n=this.imageProp,r=this.startHandler,u=this.endHandler,i=this.charsHandler,l=t||e,o={start:r,end:u,chars:i},s=(0,a.default)(l,o,n,this);return this.imageUrls=s.imageUrls,console.log(s),s.nodes}},methods:{navigate:function(t,e){this.$emit("navigate",t,e)},preview:function(t,e){this.imageUrls.length&&(wx.previewImage({current:t,urls:this.imageUrls}),this.$emit("preview",t,e))},removeImageUrl:function(t){var e=this.imageUrls;e.splice(e.indexOf(t),1)}}};e.default=i},"3d9d":function(t,e,n){"use strict";n.r(e);var a=n("c836"),r=n("5427");for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);var i,l=n("f0c5"),o=Object(l["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=o.exports},5427:function(t,e,n){"use strict";n.r(e);var a=n("1f2c"),r=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=r.a},c836:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement;t._self._c},u=[]}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/u-parse/u-parse-create-component',
|
'components/u-parse/u-parse-create-component',
|
||||||
{
|
{
|
||||||
'components/u-parse/u-parse-create-component':(function(module, exports, __webpack_require__){
|
'components/u-parse/u-parse-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("8f74"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("3d9d"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/u-parse/u-parse-create-component']]
|
[['components/u-parse/u-parse-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/userLogin"],{"0180":function(e,t,n){},3812:function(e,t,n){"use strict";n.r(t);var r=n("e08d"),o=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},b52e:function(e,t,n){"use strict";var r=n("0180"),o=n.n(r);o.a},bab4:function(e,t,n){"use strict";n.r(t);var r=n("d369"),o=n("3812");for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("b52e");var i,a=n("f0c5"),u=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"4928d3a8",null,!1,r["a"],i);t["default"]=u.exports},d369:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},c=[]},e08d:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("26cb");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a={data:function(){return{}},props:{url:{type:String,default:""}},mounted:function(){},computed:c({},(0,r.mapState)(["user","isLogin"])),methods:{onTap:function(){this.$store.commit("changeUserLogin",!1)},getUserInfo:function(){var t=this;e.getUserProfile({desc:"登录",success:function(n){console.log("getUserProfile授权成功",n),e.redirectTo({url:"/pageTwo/login/login?name="+n.userInfo.nickName+"&headimg="+n.userInfo.avatarUrl+"&url="+t.url}),t.$store.commit("changeUserLogin",!1)},fail:function(e){console.log("授权失败",e)}})},DecodeEncryptedData:function(t){var n=this;n.$model.getDecryptdata({encryptedData:t.encryptedData,iv:t.iv,tenantid:e.getStorageSync("tenantid"),sessionid:e.getStorageSync("sessionid")}).then((function(t){0==t.code&&(e.redirectTo({url:"/pageTwo/login/login"}),console.log("解密成功",t))})).catch((function(e){console.log("解密失败",e)}))}}};t.default=a}).call(this,n("543d")["default"])}}]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/userLogin"],{2258:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("26cb");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u={data:function(){return{}},props:{url:{type:String,default:""}},mounted:function(){},computed:c({},(0,r.mapState)(["user","isLogin"])),methods:{onTap:function(){this.$store.commit("changeUserLogin",!1)},getUserInfo:function(){var t=this;e.getUserProfile({desc:"登录",success:function(n){console.log("getUserProfile授权成功",n,t.url),e.redirectTo({url:"/pageTwo/login/login?name="+n.userInfo.nickName+"&headimg="+n.userInfo.avatarUrl+"&url="+t.url}),t.$store.commit("changeUserLogin",!1)},fail:function(e){console.log("授权失败",e)}})},DecodeEncryptedData:function(t){var n=this;n.$model.getDecryptdata({encryptedData:t.encryptedData,iv:t.iv,tenantid:e.getStorageSync("tenantid"),sessionid:e.getStorageSync("sessionid")}).then((function(t){0==t.code&&(e.redirectTo({url:"/pageTwo/login/login"}),console.log("解密成功",t))})).catch((function(e){console.log("解密失败",e)}))}}};t.default=u}).call(this,n("543d")["default"])},"6f26":function(e,t,n){"use strict";var r=n("7d35"),o=n.n(r);o.a},"7d35":function(e,t,n){},"7e91":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},c=[]},b06c:function(e,t,n){"use strict";n.r(t);var r=n("7e91"),o=n("db9a");for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("6f26");var i,u=n("f0c5"),a=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"9cd79c3e",null,!1,r["a"],i);t["default"]=a.exports},db9a:function(e,t,n){"use strict";n.r(t);var r=n("2258"),o=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a}}]);
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||||
'components/userLogin-create-component',
|
'components/userLogin-create-component',
|
||||||
{
|
{
|
||||||
'components/userLogin-create-component':(function(module, exports, __webpack_require__){
|
'components/userLogin-create-component':(function(module, exports, __webpack_require__){
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("bab4"))
|
__webpack_require__('543d')['createComponent'](__webpack_require__("b06c"))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
[['components/userLogin-create-component']]
|
[['components/userLogin-create-component']]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<block wx:if="{{isLogin}}"><view class="wrapper data-v-4928d3a8"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="popup data-v-4928d3a8" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="block data-v-4928d3a8" catchtap="__e"><view data-event-opts="{{[['tap',[['getUserInfo',['$event']]]]]}}" class="item data-v-4928d3a8" bindtap="__e"><image class="image1 data-v-4928d3a8" src="../static/2253.png"></image><view class="text data-v-4928d3a8"><view class="data-v-4928d3a8"><text class="data-v-4928d3a8"></text>支持婴儿与儿童成长记录</view><view class="data-v-4928d3a8"><text class="data-v-4928d3a8"></text>智能对比分析孩子身高、体重、BMI数据</view><view class="data-v-4928d3a8"><text class="data-v-4928d3a8"></text>基于WHO和WS/T生长发育判定标准</view></view><view class="pbtn data-v-4928d3a8">立即体验</view></view><icon data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="t-icon t-icon-quxiao image2 data-v-4928d3a8" bindtap="__e"></icon></view></view></view></block>
|
<block wx:if="{{isLogin}}"><view class="wrapper data-v-9cd79c3e"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="popup data-v-9cd79c3e" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="block data-v-9cd79c3e" catchtap="__e"><view data-event-opts="{{[['tap',[['getUserInfo',['$event']]]]]}}" class="item data-v-9cd79c3e" bindtap="__e"><image class="image1 data-v-9cd79c3e" src="../static/2253.png"></image><view class="text data-v-9cd79c3e"><view class="data-v-9cd79c3e"><text class="data-v-9cd79c3e"></text>体重体脂测量与记录</view><view class="data-v-9cd79c3e"><text class="data-v-9cd79c3e"></text>18项身体数据分析、身体评分</view><view class="data-v-9cd79c3e"><text class="data-v-9cd79c3e"></text>满足所有人群检测</view></view><view class="pbtn data-v-9cd79c3e">立即体验</view></view><icon data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="t-icon t-icon-quxiao image2 data-v-9cd79c3e" bindtap="__e"></icon></view></view></view></block>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.wrapper.data-v-4928d3a8{width:100%;height:100%}.popup.data-v-4928d3a8{position:fixed;top:0;bottom:0;right:0;left:0;z-index:99;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,.4)}.item.data-v-4928d3a8{width:291px;height:324px;position:relative;left:0;right:0;top:0;margin:auto;bottom:0;padding:0;border-radius:15px}.item text.data-v-4928d3a8{width:8px;height:8px;background:#75dad0;display:inline-block;border-radius:50%;margin-right:5px}.item .image1.data-v-4928d3a8{width:291px;height:324px}.item .text.data-v-4928d3a8{position:absolute;top:60%;font-size:12px;color:#666;line-height:28px;right:10px;left:30px;text-align:left}.pbtn.data-v-4928d3a8{background:#fca82d;text-align:center;border-radius:10px;margin:5px auto;width:50%;color:#fff;position:absolute;bottom:10px;left:0;right:0;margin:auto;padding:5px 0}.image2.data-v-4928d3a8{width:30px;height:30px;font-size:30px;color:#666;background-color:#fff;border-radius:50%;position:absolute;left:0;right:0;margin:20px auto}
|
.wrapper.data-v-9cd79c3e{width:100%;height:100%}.popup.data-v-9cd79c3e{position:fixed;top:0;bottom:0;right:0;left:0;z-index:99;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,.4)}.item.data-v-9cd79c3e{width:291px;height:324px;position:relative;left:0;right:0;top:0;margin:auto;bottom:0;padding:0;border-radius:15px}.item text.data-v-9cd79c3e{width:8px;height:8px;background:#00c6c6;display:inline-block;border-radius:50%;margin-right:5px}.item .image1.data-v-9cd79c3e{width:291px;height:324px}.item .text.data-v-9cd79c3e{position:absolute;top:60%;font-size:12px;color:#666;line-height:28px;right:10px;left:30px;text-align:left}.pbtn.data-v-9cd79c3e{background:#fca82d;text-align:center;border-radius:10px;margin:5px auto;width:50%;color:#fff;position:absolute;bottom:10px;left:0;right:0;margin:auto;padding:5px 0}.image2.data-v-9cd79c3e{width:30px;height:30px;font-size:30px;color:#666;background-color:#fff;border-radius:50%;position:absolute;left:0;right:0;margin:20px auto}
|
||||||
|
|
@ -1 +1 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/compk/pkdetail"],{"0ab7":function(e,t,n){"use strict";var r=n("c03d"),o=n.n(r);o.a},"23f8":function(e,t,n){"use strict";n.r(t);var r=n("7aa9"),o=n("af46");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("0ab7");var i,f=n("f0c5"),u=Object(f["a"])(o["default"],r["b"],r["c"],!1,null,"23d75a77",null,!1,r["a"],i);t["default"]=u.exports},"7aa9":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,Math.abs(e.memInfo.weightdiff)),r=Number(e.memInfo.weightdiff),o=Math.abs(e.memInfo.fat_wdiff),a=Number(e.memInfo.fat_wdiff);e.$mp.data=Object.assign({},{$root:{g0:n,m0:r,g1:o,m1:a}})},a=[]},"948b":function(e,t,n){"use strict";(function(e){n("3609");r(n("66fd"));var t=r(n("23f8"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},af46:function(e,t,n){"use strict";n.r(t);var r=n("c792"),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},c03d:function(e,t,n){},c792:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("26cb");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={onLoad:function(e){var t=this;console.log("options",e),e.info&&(t.infoID=JSON.parse(e.info),t.handleSharepic(t.infoID))},computed:a({},(0,r.mapState)(["user"])),methods:{handleSharepic:function(e){var t=this,n=this;n.$model.GetResultDiff({familyid:e.familyid,firstId:e.firstId,secondId:e.secondId}).then((function(e){console.log("res",e),0==e.code?n.handleInfoList(e.data):t.$tools.msg(e.message)}))},handleInfoList:function(e){var t=this;t.memInfo=e;for(var n=t.weightInfo.infoList(e.firstresult),r=t.memInfo.secondresult,o=0;o<n.length;o++){n[o].svalue=r[n[o].key];var a=n[o].svalue-n[o].fvalue;n[o].vs=a<0?"-1":a>0?"1":"0",n[o].num=Math.abs(a).toFixed(2),r[n[o].level]&&(n[o].sevaluation=r[n[o].level]),"体重"==n[o].title&&(n[o].svalue>Number(r.standardweight)?n[o].sevaluation="偏高":n[o].svalue<Number(r.standardweight)?n[o].sevaluation="偏低":n[o][o].sevaluation="标准")}t.listStr=n,console.log("listStr[i]",t.memInfo,n)}},data:function(){return{infoID:{},memInfo:{},listStr:[]}}};t.default=f}},[["948b","common/runtime","common/vendor"]]]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/compk/pkdetail"],{"06a1":function(e,t,n){},"0967":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,Math.abs(e.memInfo.weightdiff)),r=Number(e.memInfo.weightdiff),o=Math.abs(e.memInfo.fat_wdiff),i=Number(e.memInfo.fat_wdiff);e.$mp.data=Object.assign({},{$root:{g0:n,m0:r,g1:o,m1:i}})},i=[]},"4fba":function(e,t,n){"use strict";n.r(t);var r=n("0967"),o=n("7107");for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("d582");var a,f=n("f0c5"),c=Object(f["a"])(o["default"],r["b"],r["c"],!1,null,"0a5398a8",null,!1,r["a"],a);t["default"]=c.exports},"61bc":function(e,t,n){"use strict";(function(e){n("0d2f");r(n("66fd"));var t=r(n("4fba"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},7107:function(e,t,n){"use strict";n.r(t);var r=n("e6d8"),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a},d582:function(e,t,n){"use strict";var r=n("06a1"),o=n.n(r);o.a},e6d8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("26cb");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={onLoad:function(e){var t=this;console.log("options",e),e.info&&(t.infoID=JSON.parse(e.info),t.handleSharepic(t.infoID))},computed:i({},(0,r.mapState)(["user"])),methods:{handleSharepic:function(e){var t=this,n=this;n.$model.getresultdiff({familyid:e.familyid,firstId:e.firstId,secondId:e.secondId}).then((function(e){console.log("res",e),0==e.code?n.handleInfoList(e.data):t.$tools.msg(e.message)}))},handleInfoList:function(e){var t=this;t.memInfo=e;for(var n=t.weightInfo.infoList(e.firstresult),r=t.memInfo.secondresult,o=0;o<n.length;o++){n[o].svalue=r[n[o].key];var i=n[o].svalue-n[o].fvalue;n[o].vs=i<0?"-1":i>0?"1":"0",n[o].num=Math.abs(i).toFixed(2),r[n[o].level]&&(n[o].sevaluation=r[n[o].level]),console.log("listStr[i].title",n[o].title)}t.listStr=n,console.log("listStr[i]",t.memInfo,n)}},data:function(){return{infoID:{},memInfo:{},listStr:[]}}};t.default=f}},[["61bc","common/runtime","common/vendor"]]]);
|
||||||
|
|
@ -1 +1 @@
|
||||||
<view class="content pkconp data-v-23d75a77"><view class="header data-v-23d75a77"><view class="left data-v-23d75a77"><image class="image1 data-v-23d75a77" src="{{memInfo.headimg}}"></image></view><view class="right data-v-23d75a77"><view class="name data-v-23d75a77">{{memInfo.nickname}}</view><view class="top data-v-23d75a77"><view class="age data-v-23d75a77">{{"性别:"+(memInfo.sex==0?'未知':memInfo.sex==1?'男':'女')}}</view><view class="data-v-23d75a77">{{"年龄:"+user.age+"岁"}}</view></view></view></view><view class="box data-v-23d75a77"><view class="item data-v-23d75a77"><view class="data-v-23d75a77">{{memInfo.day?memInfo.day:'0'}}</view><text class="data-v-23d75a77">时间(天)</text></view><view class="item data-v-23d75a77"><view class="data-v-23d75a77">{{$root.g0}}</view><block wx:if="{{$root.m0>0}}"><text class="data-v-23d75a77">增重(kg)</text></block><block wx:else><text class="data-v-23d75a77">减重(kg)</text></block></view><view class="item data-v-23d75a77"><view class="data-v-23d75a77">{{$root.g1}}</view><block wx:if="{{$root.m1>0}}"><text class="data-v-23d75a77">增脂(kg)</text></block><block wx:else><text class="data-v-23d75a77">减脂(kg)</text></block></view><view class="time data-v-23d75a77"><view class="data-v-23d75a77"><icon class="yuanxing data-v-23d75a77"></icon>{{memInfo.time+''}}</view>数据变化</view></view><view class="control data-v-23d75a77"><view class="title data-v-23d75a77"><view class="name data-v-23d75a77"></view><view class="data-v-23d75a77">趋势</view><view class="data-v-23d75a77">之前</view><view class="data-v-23d75a77">之后</view></view><block wx:for="{{listStr}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="li data-v-23d75a77"><view class="name data-v-23d75a77"><view class="icon data-v-23d75a77"><icon class="{{['t-icon','data-v-23d75a77','t-icon-'+ite.key]}}"></icon></view><text class="data-v-23d75a77">{{ite.title}}</text></view><block wx:if="{{ite.title=='体型'||ite.title=='肥胖等级'}}"><view class="num data-v-23d75a77"><icon class="t-icon t-icon-hengxian data-v-23d75a77"></icon></view></block><block wx:else><view class="num data-v-23d75a77">{{''+ite.num+''}}<block wx:if="{{ite.vs=='1'}}"><icon class="t-icon t-icon-shang data-v-23d75a77"></icon></block><block wx:if="{{ite.vs=='-1'}}"><icon class="t-icon t-icon-xia data-v-23d75a77"></icon></block><block wx:if="{{!ite.vs||ite.vs=='0'||ite.num=='0.00'}}"><icon class="t-icon t-icon-hengxian data-v-23d75a77"></icon></block></view></block><block wx:if="{{ite.title=='体型'||ite.title=='肥胖等级'}}"><view class="f0 data-v-23d75a77"><text class="data-v-23d75a77">{{ite.fevaluation}}</text></view></block><block wx:else><view class="f data-v-23d75a77"><view class="data-v-23d75a77">{{ite.fvalue}}</view><block wx:if="{{ite.fevaluation}}"><text class="data-v-23d75a77">{{ite.fevaluation}}</text></block></view></block><block wx:if="{{ite.title=='体型'||ite.title=='肥胖等级'}}"><view class="f0 data-v-23d75a77"><text class="data-v-23d75a77">{{ite.sevaluation}}</text></view></block><block wx:else><view class="f data-v-23d75a77"><view class="data-v-23d75a77">{{ite.svalue}}</view><block wx:if="{{ite.fevaluation}}"><text class="data-v-23d75a77">{{ite.sevaluation}}</text></block></view></block></view></block></view></view>
|
<view class="content pkconp data-v-0a5398a8"><view class="header data-v-0a5398a8"><view class="left data-v-0a5398a8"><image class="image1 data-v-0a5398a8" src="{{memInfo.headimg}}"></image></view><view class="right data-v-0a5398a8"><view class="name data-v-0a5398a8">{{memInfo.name?memInfo.name:memInfo.nickname}}</view><view class="top data-v-0a5398a8"><view class="age data-v-0a5398a8">{{"性别:"+(memInfo.sex==0?'未知':memInfo.sex==1?'男':'女')}}</view><view class="data-v-0a5398a8">{{"年龄:"+user.age+"岁"}}</view></view></view></view><view class="box data-v-0a5398a8"><view class="item data-v-0a5398a8"><view class="data-v-0a5398a8">{{memInfo.day?memInfo.day:'0'}}</view><text class="data-v-0a5398a8">时间(天)</text></view><view class="item data-v-0a5398a8"><view class="data-v-0a5398a8">{{$root.g0}}</view><block wx:if="{{$root.m0>0}}"><text class="data-v-0a5398a8">增重(kg)</text></block><block wx:else><text class="data-v-0a5398a8">减重(kg)</text></block></view><view class="item data-v-0a5398a8"><view class="data-v-0a5398a8">{{$root.g1}}</view><block wx:if="{{$root.m1>0}}"><text class="data-v-0a5398a8">增脂(kg)</text></block><block wx:else><text class="data-v-0a5398a8">减脂(kg)</text></block></view><view class="time data-v-0a5398a8"><view class="data-v-0a5398a8"><icon class="yuanxing data-v-0a5398a8"></icon>{{memInfo.time+''}}</view>数据变化</view></view><view class="control data-v-0a5398a8"><view class="title data-v-0a5398a8"><view class="name data-v-0a5398a8"></view><view class="data-v-0a5398a8">趋势</view><view class="data-v-0a5398a8">之前</view><view class="data-v-0a5398a8">之后</view></view><block wx:for="{{listStr}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="li data-v-0a5398a8"><view class="name data-v-0a5398a8"><view class="icon data-v-0a5398a8"><icon class="{{['t-icon','data-v-0a5398a8','t-icon-'+ite.key]}}"></icon></view><text class="data-v-0a5398a8">{{ite.title}}</text></view><block wx:if="{{ite.title=='体型'||ite.title=='肥胖等级'}}"><view class="num data-v-0a5398a8"><icon class="t-icon t-icon-hengxian data-v-0a5398a8"></icon></view></block><block wx:else><view class="num data-v-0a5398a8">{{''+ite.num+''}}<block wx:if="{{ite.vs=='1'}}"><icon class="t-icon t-icon-shang data-v-0a5398a8"></icon></block><block wx:if="{{ite.vs=='-1'}}"><icon class="t-icon t-icon-xia data-v-0a5398a8"></icon></block><block wx:if="{{!ite.vs||ite.vs=='0'||ite.num=='0.00'}}"><icon class="t-icon t-icon-hengxian data-v-0a5398a8"></icon></block></view></block><block wx:if="{{ite.title=='体型'||ite.title=='肥胖等级'}}"><view class="f0 data-v-0a5398a8"><text class="data-v-0a5398a8">{{ite.fevaluation}}</text></view></block><block wx:else><view class="f data-v-0a5398a8"><view class="data-v-0a5398a8">{{ite.fvalue}}</view><block wx:if="{{ite.fevaluation}}"><text class="data-v-0a5398a8">{{ite.fevaluation}}</text></block></view></block><block wx:if="{{ite.title=='体型'||ite.title=='肥胖等级'}}"><view class="f0 data-v-0a5398a8"><text class="data-v-0a5398a8">{{ite.sevaluation}}</text></view></block><block wx:else><view class="f data-v-0a5398a8"><view class="data-v-0a5398a8">{{ite.svalue}}</view><block wx:if="{{ite.fevaluation}}"><text class="data-v-0a5398a8">{{ite.sevaluation}}</text></block></view></block></view></block></view></view>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.age.data-v-23d75a77{margin-right:20px}.icon.data-v-23d75a77{width:18px;height:18px;padding:3px;margin-right:7px;background-color:#aaa;border-radius:50%;display:flex;align-items:center;justify-content:center}
|
.age.data-v-0a5398a8{margin-right:20px}.icon.data-v-0a5398a8{width:18px;height:18px;padding:3px;margin-right:7px;background-color:#aaa;border-radius:50%;display:flex;align-items:center;justify-content:center}.t-icon-hengxian.data-v-0a5398a8{height:4px!important}
|
||||||
|
|
@ -1 +1 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/home/index"],{"265b":function(e,t,o){},"27f4":function(e,t,o){"use strict";o.r(t);var n=o("3233"),r=o.n(n);for(var c in n)"default"!==c&&function(e){o.d(t,e,(function(){return n[e]}))}(c);t["default"]=r.a},3233:function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o("26cb");function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){u(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function u(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var a=function(){o.e("pageTwo/home/myinfo2").then(function(){return resolve(o("c22c"))}.bind(null,o)).catch(o.oe)},i={components:{MyhistorData:a},data:function(){return{devtype:1}},computed:c(c({},(0,n.mapState)(["user","MeasureResult","BluetoothTyle","nameE"])),{},{ecode:function(){return this.nameE},infoList:function(){return this.weightInfo.infoList(this.MeasureResult)}}),onShow:function(){var t=this;e.onBluetoothAdapterStateChange((function(e){t.$store.commit("changeBluetooth",e.available),console.log("监听蓝牙状态openBluetoothAdapter",e.available)}))},onLoad:function(t){console.log("options",t),t.devtype&&(this.devtype=t.devtype,e.setStorageSync("devtype",t.devtype))},methods:{navTo:function(t){e.switchTab({url:t})},handleEditUser:function(){this.$store.commit("changeDrawe",!0)},handleBluetoothClick:function(){var t=this;e.openBluetoothAdapter({success:function(o){t.$store.commit("changeBluetooth",!0),e.navigateTo({url:"/myPackage/pages/PCD01PRO/weight"}),console.log("初始化蓝牙成功:"+o.errMsg)},fail:function(e){return console.log("初始化蓝牙失败:"+e.errMsg),tools.getBluetoothAdapter(e)}})},scroll:function(e){this.scrollTop=e.detail.scrollTop},openBluetoothAdapter:function(){var t=this;e.openBluetoothAdapter({success:function(e){t.$store.commit("changeBluetooth",!0),console.log("初始化蓝牙成功:"+e.errMsg)},fail:function(e){return console.log("初始化蓝牙失败:"+e.errMsg),tools.getBluetoothAdapter(e)}})}}};t.default=i}).call(this,o("543d")["default"])},"5a8e":function(e,t,o){"use strict";var n=o("265b"),r=o.n(n);r.a},"700b":function(e,t,o){"use strict";o.r(t);var n=o("9a81"),r=o("27f4");for(var c in r)"default"!==c&&function(e){o.d(t,e,(function(){return r[e]}))}(c);o("5a8e");var u,a=o("f0c5"),i=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"526094a7",null,!1,n["a"],u);t["default"]=i.exports},8629:function(e,t,o){"use strict";(function(e){o("3609");n(o("66fd"));var t=n(o("700b"));function n(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=o,e(t.default)}).call(this,o("543d")["createPage"])},"9a81":function(e,t,o){"use strict";var n;o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return c})),o.d(t,"a",(function(){return n}));var r=function(){var e=this,t=e.$createElement;e._self._c},c=[]}},[["8629","common/runtime","common/vendor"]]]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/home/index"],{"0160":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("26cb");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=function(){n.e("components/header/head").then(function(){return resolve(n("1c56"))}.bind(null,n)).catch(n.oe)},a={components:{headTop:i},data:function(){return{token:null,devtype:0,infoList:[],deviceId:null}},computed:c({},(0,o.mapState)(["user","MeasureResult"])),onUnload:function(){e.switchTab({url:"/pages/index/index"})},onShow:function(){var t=this;t.token=e.getStorageSync("token"),e.onBluetoothAdapterStateChange((function(e){t.$store.commit("changeBluetooth",e.available),console.log("报告页监听蓝牙状态openBluetoothAdapter",e.available)}))},onLoad:function(e){var t=this;console.log("options",e),e&&(t.devtype=e.t,t.deviceId=e.sn),this.$nextTick((function(){t.handleToggle(0)}))},watch:{MeasureResult:function(){this.handleToggle(0)}},methods:{handleToggle:function(e){var t=this;if(t.MeasureResult){for(var n=this.weightInfo.infoList(t.MeasureResult).slice(1,14),o=0;o<n.length;o++)n[o].showCon=o==e&&!n[o].showCon;t.infoList=this.weightInfo.infoList(t.MeasureResult).slice(1,14)}}}};t.default=a}).call(this,n("543d")["default"])},"580f":function(e,t,n){"use strict";(function(e){n("0d2f");o(n("66fd"));var t=o(n("7c13"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"6e79":function(e,t,n){},"7c13":function(e,t,n){"use strict";n.r(t);var o=n("c774"),r=n("f037");for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);n("d41e");var u,i=n("f0c5"),a=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"220974b7",null,!1,o["a"],u);t["default"]=a.exports},c774:function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement;e._self._c},c=[]},d41e:function(e,t,n){"use strict";var o=n("6e79"),r=n.n(o);r.a},f037:function(e,t,n){"use strict";n.r(t);var o=n("0160"),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=r.a}},[["580f","common/runtime","common/vendor"]]]);
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"navigationBarTitleText": "报告页",
|
"navigationBarTitleText": "报告页",
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"myhistor-data": "/pageTwo/home/myinfo2"
|
"head-top": "/components/header/head"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<view class="common homePage data-v-526094a7"><view class="topheader data-v-526094a7"><view class="header data-v-526094a7"><view class="right data-v-526094a7"><view data-event-opts="{{[['tap',[['handleEditUser',['$event']]]]]}}" class="top data-v-526094a7" bindtap="__e"><text class="overflow data-v-526094a7">{{user.nickname||user.name}}</text><icon class="icon-qiehuan iconfont data-v-526094a7"></icon></view><view class="top mt-5 data-v-526094a7"><view class="age data-v-526094a7">{{'年龄:'+user.age+''}}</view><view class="sex data-v-526094a7">{{'性别:'+(user.sex==0?"未知":user.sex==1?'男':'女')+''}}</view><view class="sex data-v-526094a7">{{'身高:'+user.height+''}}</view></view></view><view data-event-opts="{{[['tap',[['handleEditUser',['$event']]]]]}}" class="left data-v-526094a7" bindtap="__e"><image class="image1 data-v-526094a7" src="{{user.headimg}}"></image></view><view class="celiang data-v-526094a7"><view class="celiang_l data-v-526094a7"><view data-event-opts="{{[['tap',[['navTo',['/pages/target/target']]]]]}}" bindtap="__e" class="data-v-526094a7"><icon class="t-icon t-icon-top-chengchangquxian data-v-526094a7"></icon>目标趋势</view><view data-event-opts="{{[['tap',[['navTo',['/pages/compk/compk']]]]]}}" bindtap="__e" class="data-v-526094a7"><icon class="t-icon t-icon-tubiao--copy data-v-526094a7"></icon>减脂对比</view></view><view data-event-opts="{{[['tap',[['handleBluetoothClick',['$event']]]]]}}" class="celiang_r data-v-526094a7" bindtap="__e"><icon class="t-icon t-icon-yazi data-v-526094a7"></icon>上秤测量</view></view></view></view><view class="myinfo data-v-526094a7"><scroll-view class="scroll data-v-526094a7" scroll-y="true" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" bindscroll="__e"><view hidden="{{!(MeasureResult&&MeasureResult.muscle==0)}}" class="data-v-526094a7"><view class="unusual data-v-526094a7">体脂测量异常,请重新上秤测量</view></view><view hidden="{{!(MeasureResult)}}" class="data-v-526094a7"><myhistor-data vue-id="3498c184-1" measureResult="{{infoList}}" class="data-v-526094a7" bind:__l="__l"></myhistor-data><view class="introction data-v-526094a7"><icon class="t-icon t-icon-tishi icons data-v-526094a7"></icon><label class="_span data-v-526094a7">此测量数据仅供参考,不可代替医学专业测试!</label></view></view><block wx:if="{{!MeasureResult}}"><view class="nolist data-v-526094a7"><icon class="iconfont icon-zanwu data-v-526094a7"></icon></view></block></scroll-view></view><leftdrawer vue-id="3498c184-2" class="data-v-526094a7" bind:__l="__l"></leftdrawer></view>
|
<view class="common homePage data-v-220974b7"><head-top vue-id="3498c184-1" token="{{token}}" class="data-v-220974b7" bind:__l="__l"></head-top><view class="myinfo myinfoPage data-v-220974b7"><view hidden="{{!(MeasureResult&&MeasureResult.muscle==0)}}" class="mt-15 data-v-220974b7"><view class="unusual data-v-220974b7">体脂测量异常,请重新测量</view></view><block wx:if="{{infoList.length}}"><view class="data-v-220974b7"><view class="box data-v-220974b7"><view class="left data-v-220974b7"><text class="text data-v-220974b7">本次健康评分</text><view class="circleprogress data-v-220974b7"><view class="wrapper data-v-220974b7"><view class="leftprogress data-v-220974b7" style="{{'width:'+(MeasureResult.cmi+'%')+';'}}"></view></view><view class="fen data-v-220974b7"><view class="data-v-220974b7">{{MeasureResult.cmi}}</view>分</view></view></view><view class="right data-v-220974b7"><view class="item data-v-220974b7"><view class="data-v-220974b7"><text class="data-v-220974b7">{{MeasureResult.height}}</text>cm</view><view class="tivon data-v-220974b7">身高</view></view><view class="item data-v-220974b7"><view class="data-v-220974b7"><text class="data-v-220974b7">{{MeasureResult.weight}}</text>kg</view><view class="data-v-220974b7">体重</view></view><view class="item data-v-220974b7"><view class="data-v-220974b7"><text class="data-v-220974b7">{{MeasureResult.bodyage}}</text>岁</view><view class="data-v-220974b7">体龄</view></view><view class="item data-v-220974b7"><view class="data-v-220974b7"><text class="f-14 data-v-220974b7">{{MeasureResult.body}}</text></view><view class="data-v-220974b7">体型</view></view></view></view><view class="box1 data-v-220974b7"><view class="h2 data-v-220974b7"><icon class="yuanxing data-v-220974b7"></icon>其他人体成分分析</view><block wx:for="{{infoList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleToggle',[index]]]]]}}" class="list data-v-220974b7" bindtap="__e"><view class="block data-v-220974b7"><view class="name data-v-220974b7"><icon class="{{['t-icon','iconfont','data-v-220974b7','t-icon-'+item.key]}}"></icon>{{''+item.title+''}}</view><block wx:if="{{item.title!='肥胖等级'}}"><view class="val data-v-220974b7">{{''+(item.fvalue?item.fvalue:'0')+item.dw+''}}</view></block><block wx:else><view class="val0 data-v-220974b7">{{item.fevaluation}}</view></block><block wx:if="{{item.title!='肥胖等级'}}"><view class="level data-v-220974b7"><view class="btnf data-v-220974b7" style="{{'background-color:'+(item.color)+';'}}">{{item.fevaluation}}</view></view></block><view class="icon data-v-220974b7"><block wx:if="{{item.desc}}"><icon class="iconfont icon-arrow-down data-v-220974b7"></icon></block></view></view><block wx:if="{{item.showCon}}"><view class="desc data-v-220974b7"><block wx:if="{{item.desc}}"><view class="data-v-220974b7">{{item.desc}}</view></block><block wx:if="{{item.slist}}"><view class="statuevue data-v-220974b7"><block wx:if="{{item.title!='基础代谢'}}"><view class="bi data-v-220974b7"><block wx:for="{{item.slist}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view class="item data-v-220974b7" style="{{'background-color:'+(ite.color)+';'}}"><view class="span1 data-v-220974b7">{{ite.text}}</view><block wx:if="{{ite.text==item.fevaluation&&item.fvalue>ite.maxvalue}}"><view class="peobox data-v-220974b7" style="right:10px;"><view class="xx data-v-220974b7"></view></view></block><block wx:if="{{ite.text==item.fevaluation&&item.fvalue<=ite.maxvalue}}"><view class="peobox data-v-220974b7" style="{{('left:'+item.leftval+'rem')}}"><view class="xx data-v-220974b7"></view></view></block><block wx:if="{{ind<item.slist.length-1}}"><view class="span data-v-220974b7">{{ite.maxvalue}}</view></block></view></block></view></block><block wx:else><view class="data-v-220974b7"><view class="kcalClass data-v-220974b7">{{'标准值:'+item.slist[0].maxvalue+'kcal'}}</view></view></block></view></block></view></block></view></block></view><view class="introction data-v-220974b7"><icon class="t-icon t-icon-tishi data-v-220974b7"></icon><label class="_span data-v-220974b7">此测量数据仅供参考,不可代替医学专业测试!</label></view></view></block><block wx:else><view class="nolist data-v-220974b7"><icon class="iconfont icon-zanwu data-v-220974b7"></icon></view></block></view></view>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.myinfo.data-v-526094a7{margin-top:115px}
|
.myinfo.data-v-220974b7{margin-top:105px}.val0.data-v-220974b7{position:absolute;left:40%;margin-left:3px}.wrapper.data-v-220974b7{z-index:9!important}.unusual.data-v-220974b7{font-size:14px;border-radius:8px;text-align:center;color:#e83a1e;margin:15px;background:#f7e4c8;padding:5px 0}.introction.data-v-220974b7{display:flex;margin-left:15px;margin-bottom:20px;font-size:12px;color:#666}.introction .t-icon.data-v-220974b7{width:15px;height:15px;margin-right:5px}
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/home/myinfo2"],{"0719":function(t,e,r){"use strict";r.r(e);var n=r("dea1"),o=r.n(n);for(var i in n)"default"!==i&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},c22c:function(t,e,r){"use strict";r.r(e);var n=r("d39f"),o=r("0719");for(var i in o)"default"!==i&&function(t){r.d(e,t,(function(){return o[t]}))}(i);var c,u=r("f0c5"),a=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"088580a6",null,!1,n["a"],c);e["default"]=a.exports},d39f:function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement;t._self._c},i=[]},dea1:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("26cb");function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u={props:{measureResult:{type:null,default:[]},scrollTop:{type:Number,default:0}},computed:i({},(0,n.mapState)(["MeasureResult","user"])),mounted:function(){var t=this;this.$nextTick((function(){t.active1=0,t.active2=4,t.active3=9,t.showbox(0),t.showbox(4),t.showbox(9)}))},watch:{measureResult:function(){for(var t=0;t<this.measureResult.length;t++)this.active1=0,this.active2=4,this.active3=9,this.showbox(0),this.showbox(4),this.showbox(9)}},methods:{showbox:function(t){var e=this;if(e.measureResult)for(var r=e.measureResult,n=0;n<r.length;n++)t<4&&n==t&&(e.active1=t,e.list1=r[t]),t<9&&t>3&&n==t&&(e.active2=t,e.list2=r[t]),t<15&&t>8&&n==t&&(e.active3=t,e.list3=r[t])}},data:function(){return{list1:[],list2:[],list3:[],active1:0,active2:4,active3:9}}};e.default=u}}]);
|
|
||||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
||||||
'pageTwo/home/myinfo2-create-component',
|
|
||||||
{
|
|
||||||
'pageTwo/home/myinfo2-create-component':(function(module, exports, __webpack_require__){
|
|
||||||
__webpack_require__('543d')['createComponent'](__webpack_require__("c22c"))
|
|
||||||
})
|
|
||||||
},
|
|
||||||
[['pageTwo/home/myinfo2-create-component']]
|
|
||||||
]);
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/detail"],{"2fe6":function(n,e,t){"use strict";var o=t("846f"),u=t.n(o);u.a},3503:function(n,e,t){"use strict";t.r(e);var o=t("71d6"),u=t("c38d");for(var r in u)"default"!==r&&function(n){t.d(e,n,(function(){return u[n]}))}(r);t("2fe6");var c,i=t("f0c5"),a=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"387be1b2",null,!1,o["a"],c);e["default"]=a.exports},"71d6":function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return o}));var o={uParse:function(){return Promise.all([t.e("common/vendor"),t.e("components/u-parse/u-parse")]).then(t.bind(null,"8f74"))}},u=function(){var n=this,e=n.$createElement;n._self._c},r=[]},"846f":function(n,e,t){},c38d:function(n,e,t){"use strict";t.r(e);var o=t("e32f"),u=t.n(o);for(var r in o)"default"!==r&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=u.a},d44b:function(n,e,t){"use strict";(function(n){t("3609");o(t("66fd"));var e=o(t("3503"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},e32f:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/u-parse/u-parse")]).then(function(){return resolve(t("8f74"))}.bind(null,t)).catch(t.oe)},u={data:function(){return{content:"",url:null}},components:{uParse:o},onLoad:function(n){console.log(n),n.id&&this.getOrderDetail(n.id),n.url?this.url=n.url:this.url=null},methods:{getOrderDetail:function(n){var e=this;this.$model.GetAdListDetail({id:n}).then((function(n){0==n.code&&(e.content=n.data,console.log("资讯详情",n))}))},preview:function(n,e){},navigate:function(n,e){}}};e.default=u}},[["d44b","common/runtime","common/vendor"]]]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/detail"],{"1d2d":function(n,e,t){"use strict";t.r(e);var o=t("a86b"),u=t("6f79");for(var r in u)"default"!==r&&function(n){t.d(e,n,(function(){return u[n]}))}(r);t("a884");var a,i=t("f0c5"),c=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"d70053c0",null,!1,o["a"],a);e["default"]=c.exports},"6f79":function(n,e,t){"use strict";t.r(e);var o=t("f143"),u=t.n(o);for(var r in o)"default"!==r&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=u.a},a86b:function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return o}));var o={uParse:function(){return Promise.all([t.e("common/vendor"),t.e("components/u-parse/u-parse")]).then(t.bind(null,"3d9d"))}},u=function(){var n=this,e=n.$createElement;n._self._c},r=[]},a884:function(n,e,t){"use strict";var o=t("ef88"),u=t.n(o);u.a},b12a:function(n,e,t){"use strict";(function(n){t("0d2f");o(t("66fd"));var e=o(t("1d2d"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},ef88:function(n,e,t){},f143:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/u-parse/u-parse")]).then(function(){return resolve(t("3d9d"))}.bind(null,t)).catch(t.oe)},u={data:function(){return{content:"",url:null}},components:{uParse:o},onLoad:function(n){console.log(n),n.id&&this.getOrderDetail(n.id),n.url?this.url=n.url:this.url=null},methods:{getOrderDetail:function(n){var e=this;this.$model.GetAdListDetail({id:n}).then((function(n){0==n.code&&(e.content=n.data,console.log("资讯详情",n))}))},preview:function(n,e){},navigate:function(n,e){}}};e.default=u}},[["b12a","common/runtime","common/vendor"]]]);
|
||||||
|
|
@ -1 +1 @@
|
||||||
<view class="content data-v-387be1b2"><view class="data-v-387be1b2"><view class="title data-v-387be1b2">{{content.title}}</view><view class="time data-v-387be1b2">{{"发布时间:"+content.createtime}}</view><u-parse vue-id="a67412e2-1" content="{{content.content}}" data-event-opts="{{[['^preview',[['preview']]],['^navigate',[['navigate']]]]}}" bind:preview="__e" bind:navigate="__e" class="data-v-387be1b2" bind:__l="__l"></u-parse></view></view>
|
<view class="content data-v-d70053c0"><view class="data-v-d70053c0"><view class="title data-v-d70053c0">{{content.title}}</view><view class="time data-v-d70053c0">{{"发布时间:"+content.createtime}}</view><u-parse vue-id="a67412e2-1" content="{{content.content}}" data-event-opts="{{[['^preview',[['preview']]],['^navigate',[['navigate']]]]}}" bind:preview="__e" bind:navigate="__e" class="data-v-d70053c0" bind:__l="__l"></u-parse></view></view>
|
||||||
|
|
@ -1,22 +1,22 @@
|
||||||
.wxParse.data-v-387be1b2{width:100%;font-family:Helvetica,sans-serif;font-size:30rpx;color:#666;line-height:1.8}.wxParse view.data-v-387be1b2{word-break:hyphenate}.wxParse .inline.data-v-387be1b2{display:inline;margin:0;padding:0}.wxParse .div.data-v-387be1b2{margin:0;padding:0}.wxParse .h1 .text.data-v-387be1b2{font-size:2em;margin:.67em 0}.wxParse .h2 .text.data-v-387be1b2{font-size:1.5em;margin:.83em 0}.wxParse .h3 .text.data-v-387be1b2{font-size:1.17em;margin:1em 0}.wxParse .h4 .text.data-v-387be1b2{margin:1.33em 0}.wxParse .h5 .text.data-v-387be1b2{font-size:.83em;margin:1.67em 0}.wxParse .h6 .text.data-v-387be1b2{font-size:.67em;margin:2.33em 0}.wxParse .h1 .text.data-v-387be1b2,
|
.wxParse.data-v-d70053c0{width:100%;font-family:Helvetica,sans-serif;font-size:30rpx;color:#666;line-height:1.8}.wxParse view.data-v-d70053c0{word-break:hyphenate}.wxParse .inline.data-v-d70053c0{display:inline;margin:0;padding:0}.wxParse .div.data-v-d70053c0{margin:0;padding:0}.wxParse .h1 .text.data-v-d70053c0{font-size:2em;margin:.67em 0}.wxParse .h2 .text.data-v-d70053c0{font-size:1.5em;margin:.83em 0}.wxParse .h3 .text.data-v-d70053c0{font-size:1.17em;margin:1em 0}.wxParse .h4 .text.data-v-d70053c0{margin:1.33em 0}.wxParse .h5 .text.data-v-d70053c0{font-size:.83em;margin:1.67em 0}.wxParse .h6 .text.data-v-d70053c0{font-size:.67em;margin:2.33em 0}.wxParse .h1 .text.data-v-d70053c0,
|
||||||
.wxParse .h2 .text.data-v-387be1b2,
|
.wxParse .h2 .text.data-v-d70053c0,
|
||||||
.wxParse .h3 .text.data-v-387be1b2,
|
.wxParse .h3 .text.data-v-d70053c0,
|
||||||
.wxParse .h4 .text.data-v-387be1b2,
|
.wxParse .h4 .text.data-v-d70053c0,
|
||||||
.wxParse .h5 .text.data-v-387be1b2,
|
.wxParse .h5 .text.data-v-d70053c0,
|
||||||
.wxParse .h6 .text.data-v-387be1b2,
|
.wxParse .h6 .text.data-v-d70053c0,
|
||||||
.wxParse .b.data-v-387be1b2,
|
.wxParse .b.data-v-d70053c0,
|
||||||
.wxParse .strong.data-v-387be1b2{font-weight:bolder}.wxParse .p.data-v-387be1b2{margin:1em 0}.wxParse .i.data-v-387be1b2,
|
.wxParse .strong.data-v-d70053c0{font-weight:bolder}.wxParse .p.data-v-d70053c0{margin:1em 0}.wxParse .i.data-v-d70053c0,
|
||||||
.wxParse .cite.data-v-387be1b2,
|
.wxParse .cite.data-v-d70053c0,
|
||||||
.wxParse .em.data-v-387be1b2,
|
.wxParse .em.data-v-d70053c0,
|
||||||
.wxParse .var.data-v-387be1b2,
|
.wxParse .var.data-v-d70053c0,
|
||||||
.wxParse .address.data-v-387be1b2{font-style:italic}.wxParse .pre.data-v-387be1b2,
|
.wxParse .address.data-v-d70053c0{font-style:italic}.wxParse .pre.data-v-d70053c0,
|
||||||
.wxParse .tt.data-v-387be1b2,
|
.wxParse .tt.data-v-d70053c0,
|
||||||
.wxParse .code.data-v-387be1b2,
|
.wxParse .code.data-v-d70053c0,
|
||||||
.wxParse .kbd.data-v-387be1b2,
|
.wxParse .kbd.data-v-d70053c0,
|
||||||
.wxParse .samp.data-v-387be1b2{font-family:monospace}.wxParse .pre.data-v-387be1b2{overflow:auto;background:#f5f5f5;padding:16rpx;white-space:pre;margin:1em 0rpx}.wxParse .code.data-v-387be1b2{display:inline;background:#f5f5f5}.wxParse .big.data-v-387be1b2{font-size:1.17em}.wxParse .small.data-v-387be1b2,
|
.wxParse .samp.data-v-d70053c0{font-family:monospace}.wxParse .pre.data-v-d70053c0{overflow:auto;background:#f5f5f5;padding:16rpx;white-space:pre;margin:1em 0rpx}.wxParse .code.data-v-d70053c0{display:inline;background:#f5f5f5}.wxParse .big.data-v-d70053c0{font-size:1.17em}.wxParse .small.data-v-d70053c0,
|
||||||
.wxParse .sub.data-v-387be1b2,
|
.wxParse .sub.data-v-d70053c0,
|
||||||
.wxParse .sup.data-v-387be1b2{font-size:.83em}.wxParse .sub.data-v-387be1b2{vertical-align:sub}.wxParse .sup.data-v-387be1b2{vertical-align:super}.wxParse .s.data-v-387be1b2,
|
.wxParse .sup.data-v-d70053c0{font-size:.83em}.wxParse .sub.data-v-d70053c0{vertical-align:sub}.wxParse .sup.data-v-d70053c0{vertical-align:super}.wxParse .s.data-v-d70053c0,
|
||||||
.wxParse .strike.data-v-387be1b2,
|
.wxParse .strike.data-v-d70053c0,
|
||||||
.wxParse .del.data-v-387be1b2{text-decoration:line-through}.wxParse .strong.data-v-387be1b2,
|
.wxParse .del.data-v-d70053c0{text-decoration:line-through}.wxParse .strong.data-v-d70053c0,
|
||||||
.wxParse .s.data-v-387be1b2{display:inline}.wxParse .a.data-v-387be1b2{color:#00bfff}.wxParse .video.data-v-387be1b2{text-align:center;margin:22rpx 0}.wxParse .video-video.data-v-387be1b2{width:100%}.wxParse .img.data-v-387be1b2{display:inline-block;width:0;height:0;max-width:100%;overflow:hidden}.wxParse .blockquote.data-v-387be1b2{margin:10rpx 0;padding:22rpx 0 22rpx 22rpx;font-family:Courier,Calibri,宋体;background:#f5f5f5;border-left:6rpx solid #dbdbdb}.wxParse .blockquote .p.data-v-387be1b2{margin:0}.wxParse .ul.data-v-387be1b2, .wxParse .ol.data-v-387be1b2{display:block;margin:1em 0;padding-left:33rpx}.wxParse .ol.data-v-387be1b2{list-style-type:disc}.wxParse .ol.data-v-387be1b2{list-style-type:decimal}.wxParse .ol>weixin-parse-template.data-v-387be1b2,.wxParse .ul>weixin-parse-template.data-v-387be1b2{display:list-item;align-items:baseline;text-align:match-parent}.wxParse .ol>.li.data-v-387be1b2,.wxParse .ul>.li.data-v-387be1b2{display:list-item;align-items:baseline;text-align:match-parent}.wxParse .ul .ul.data-v-387be1b2, .wxParse .ol .ul.data-v-387be1b2{list-style-type:circle}.wxParse .ol .ol .ul.data-v-387be1b2, .wxParse .ol .ul .ul.data-v-387be1b2, .wxParse .ul .ol .ul.data-v-387be1b2, .wxParse .ul .ul .ul.data-v-387be1b2{list-style-type:square}.wxParse .u.data-v-387be1b2{text-decoration:underline}.wxParse .hide.data-v-387be1b2{display:none}.wxParse .del.data-v-387be1b2{display:inline}.wxParse .figure.data-v-387be1b2{overflow:hidden}.wxParse .table.data-v-387be1b2{width:100%}.wxParse .thead.data-v-387be1b2, .wxParse .tfoot.data-v-387be1b2, .wxParse .tr.data-v-387be1b2{display:flex;flex-direction:row}.wxParse .tr.data-v-387be1b2{width:100%;display:flex;border-right:2rpx solid #e0e0e0;border-bottom:2rpx solid #e0e0e0}.wxParse .th.data-v-387be1b2,
|
.wxParse .s.data-v-d70053c0{display:inline}.wxParse .a.data-v-d70053c0{color:#00bfff}.wxParse .video.data-v-d70053c0{text-align:center;margin:22rpx 0}.wxParse .video-video.data-v-d70053c0{width:100%}.wxParse .img.data-v-d70053c0{display:inline-block;width:0;height:0;max-width:100%;overflow:hidden}.wxParse .blockquote.data-v-d70053c0{margin:10rpx 0;padding:22rpx 0 22rpx 22rpx;font-family:Courier,Calibri,宋体;background:#f5f5f5;border-left:6rpx solid #dbdbdb}.wxParse .blockquote .p.data-v-d70053c0{margin:0}.wxParse .ul.data-v-d70053c0, .wxParse .ol.data-v-d70053c0{display:block;margin:1em 0;padding-left:33rpx}.wxParse .ol.data-v-d70053c0{list-style-type:disc}.wxParse .ol.data-v-d70053c0{list-style-type:decimal}.wxParse .ol>weixin-parse-template.data-v-d70053c0,.wxParse .ul>weixin-parse-template.data-v-d70053c0{display:list-item;align-items:baseline;text-align:match-parent}.wxParse .ol>.li.data-v-d70053c0,.wxParse .ul>.li.data-v-d70053c0{display:list-item;align-items:baseline;text-align:match-parent}.wxParse .ul .ul.data-v-d70053c0, .wxParse .ol .ul.data-v-d70053c0{list-style-type:circle}.wxParse .ol .ol .ul.data-v-d70053c0, .wxParse .ol .ul .ul.data-v-d70053c0, .wxParse .ul .ol .ul.data-v-d70053c0, .wxParse .ul .ul .ul.data-v-d70053c0{list-style-type:square}.wxParse .u.data-v-d70053c0{text-decoration:underline}.wxParse .hide.data-v-d70053c0{display:none}.wxParse .del.data-v-d70053c0{display:inline}.wxParse .figure.data-v-d70053c0{overflow:hidden}.wxParse .table.data-v-d70053c0{width:100%}.wxParse .thead.data-v-d70053c0, .wxParse .tfoot.data-v-d70053c0, .wxParse .tr.data-v-d70053c0{display:flex;flex-direction:row}.wxParse .tr.data-v-d70053c0{width:100%;display:flex;border-right:2rpx solid #e0e0e0;border-bottom:2rpx solid #e0e0e0}.wxParse .th.data-v-d70053c0,
|
||||||
.wxParse .td.data-v-387be1b2{display:flex;width:1276rpx;overflow:auto;flex:1;padding:11rpx;border-left:2rpx solid #e0e0e0}.wxParse .td.data-v-387be1b2:last{border-top:2rpx solid #e0e0e0}.wxParse .th.data-v-387be1b2{background:#f0f0f0;border-top:2rpx solid #e0e0e0}.content.data-v-387be1b2{padding:30rpx}.title.data-v-387be1b2{width:100%;margin-bottom:15px;text-align:left;font-size:18px;font-weight:700}.time.data-v-387be1b2{width:100%;text-align:left;margin-bottom:15px;color:#666}
|
.wxParse .td.data-v-d70053c0{display:flex;width:1276rpx;overflow:auto;flex:1;padding:11rpx;border-left:2rpx solid #e0e0e0}.wxParse .td.data-v-d70053c0:last{border-top:2rpx solid #e0e0e0}.wxParse .th.data-v-d70053c0{background:#f0f0f0;border-top:2rpx solid #e0e0e0}.content.data-v-d70053c0{padding:30rpx}.title.data-v-d70053c0{width:100%;margin-bottom:15px;text-align:left;font-size:18px;font-weight:700}.time.data-v-d70053c0{width:100%;text-align:left;margin-bottom:15px;color:#666}
|
||||||
|
|
@ -1 +1 @@
|
||||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/login"],{"6ecf":function(e,n,t){},7503:function(e,n,t){"use strict";t.r(n);var o=t("e8ec"),a=t.n(o);for(var s in o)"default"!==s&&function(e){t.d(n,e,(function(){return o[e]}))}(s);n["default"]=a.a},9716:function(e,n,t){"use strict";var o=t("6ecf"),a=t.n(o);a.a},bd53:function(e,n,t){"use strict";t.r(n);var o=t("d7e2"),a=t("7503");for(var s in a)"default"!==s&&function(e){t.d(n,e,(function(){return a[e]}))}(s);t("9716");var i,d=t("f0c5"),c=Object(d["a"])(a["default"],o["b"],o["c"],!1,null,"da35f4b6",null,!1,o["a"],i);n["default"]=c.exports},d790:function(e,n,t){"use strict";(function(e){t("3609");o(t("66fd"));var n=o(t("bd53"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},d7e2:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return s})),t.d(n,"a",(function(){return o}));var a=function(){var e=this,n=e.$createElement;e._self._c},s=[]},e8ec:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{phone:"",code:"",disabled:!1,second:60,value:1,iswxphone:!0,infoRes:{}}},onLoad:function(n){var t=this;n&&(t.infoRes=n,console.log("登录信息",n,t.infoRes)),this.iswxphone=e.getStorageSync("iswxphone")},methods:{checkboxChange:function(e){this.value=e.detail.value.length?e.detail.value[0]:"0"},handleTelLogin:function(){var n=this;0!=this.value?this.phone?/^1[3456789]\d{9}$/.test(n.phone)?n.code?this.$model.getRegister({phone:n.phone,tenantId:e.getStorageSync("tenantid"),sessionId:e.getStorageSync("sessionid"),name:n.infoRes.name,headImg:n.infoRes.headimg,code:n.code,isvrcode:!0,fansid:e.getStorageSync("fansid")}).then((function(t){0==t.code?(e.setStorageSync("token",t.data.token),e.setStorageSync("iswxphone",t.data.iswxphone),e.setStorageSync("refreshtoken",t.data.refreshtoken),e.setStorageSync("sessionid",t.data.sessionid),"active"==n.infoRes.url?e.reLaunch({url:"/pages/index/active"}):e.reLaunch({url:"/pages/index/index"})):n.$tools.msg(t.message)})).catch((function(e){})):n.$tools.msg("请输入验证码"):n.$tools.msg("请输入正确的手机号码"):n.$tools.msg("请输入手机号"):n.$tools.msg("请先勾选同意每日一称《个人信息保护政策》")},handleCode:function(){var e=this;e.phone?/^1[3456789]\d{9}$/.test(e.phone)?e.$model.getSendCode({phone:e.phone}).then((function(n){if(console.log(n),0==n.code){e.disabled=!0;var t=setInterval((function(){e.second}),1e3);setTimeout((function(){clearInterval(t),e.disabled=!1,e.second=60}),6e4)}else e.$tools.msg(n.message)})).catch((function(e){})):e.$tools.msg("请输入正确的手机号码"):e.$tools.msg("请输入手机号")},getPhoneNumber:function(n){var t=this;0!=this.value?"getPhoneNumber:ok"==n.detail.errMsg&&(console.log("res",n),this.$model.getregister({tenantId:e.getStorageSync("tenantid"),sessionId:e.getStorageSync("sessionid"),encryptedData:n.detail.encryptedData,iv:n.detail.iv,name:t.infoRes.name,headImg:t.infoRes.headimg,fansid:e.getStorageSync("fansid")}).then((function(n){0==n.code&&(t.value=1,e.setStorageSync("token",n.data.token),e.setStorageSync("iswxphone",n.data.iswxphone),e.setStorageSync("refreshtoken",n.data.refreshtoken),e.setStorageSync("sessionid",n.data.sessionid),"active"==t.infoRes.url?e.reLaunch({url:"/pages/index/active"}):e.reLaunch({url:"/pages/index/index"}))}))):t.$tools.msg("请先勾选同意每日一称《个人信息保护政策")},handlexieyi:function(){e.navigateTo({url:"/pageTwo/login/detail?id=08D9B573-E515-47B5-8A18-0944CF40A41F"})}}};n.default=t}).call(this,t("543d")["default"])}},[["d790","common/runtime","common/vendor"]]]);
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/login/login"],{"0efb":function(e,n,t){"use strict";t.r(n);var o=t("4e5e"),a=t.n(o);for(var s in o)"default"!==s&&function(e){t.d(n,e,(function(){return o[e]}))}(s);n["default"]=a.a},"36c0":function(e,n,t){"use strict";(function(e){t("0d2f");o(t("66fd"));var n=o(t("4c9e"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},"4c9e":function(e,n,t){"use strict";t.r(n);var o=t("dca2"),a=t("0efb");for(var s in a)"default"!==s&&function(e){t.d(n,e,(function(){return a[e]}))}(s);t("c28d");var i,c=t("f0c5"),d=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,"94373a76",null,!1,o["a"],i);n["default"]=d.exports},"4e5e":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{phone:"",code:"",disabled:!1,second:60,value:1,iswxphone:!0,infoRes:{}}},onLoad:function(n){var t=this;n&&(t.infoRes=n,console.log("登录信息",n,t.infoRes)),this.iswxphone=e.getStorageSync("iswxphone")},methods:{checkboxChange:function(e){this.value=e.detail.value.length?e.detail.value[0]:"0"},handleTelLogin:function(){var n=this;0!=this.value?this.phone?/^1[3456789]\d{9}$/.test(n.phone)?n.code?this.$model.getRegister({phone:n.phone,tenantId:e.getStorageSync("tenantid"),sessionId:e.getStorageSync("sessionid"),name:n.infoRes.name,headImg:n.infoRes.headimg,code:n.code,isvrcode:!0}).then((function(t){0==t.code?(e.setStorageSync("token",t.data.token),e.setStorageSync("iswxphone",t.data.iswxphone),e.setStorageSync("refreshtoken",t.data.refreshtoken),e.setStorageSync("sessionid",t.data.sessionid),"active"==n.infoRes.url?e.reLaunch({url:"/pages/index/active"}):e.reLaunch({url:"/pages/index/index"})):n.$tools.msg(t.message)})).catch((function(e){})):n.$tools.msg("请输入验证码"):n.$tools.msg("请输入正确的手机号码"):n.$tools.msg("请输入手机号"):n.$tools.msg("请先勾选同意每日一称《个人信息保护政策》")},handleCode:function(){var e=this;e.phone?/^1[3456789]\d{9}$/.test(e.phone)?e.$model.getSendCode({phone:e.phone}).then((function(n){if(console.log(n),0==n.code){e.disabled=!0;var t=setInterval((function(){--e.second}),1e3);setTimeout((function(){clearInterval(t),e.disabled=!1,e.second=60}),6e4)}else e.$tools.msg(n.message)})).catch((function(e){})):e.$tools.msg("请输入正确的手机号码"):e.$tools.msg("请输入手机号")},getPhoneNumber:function(n){var t=this;0!=this.value?"getPhoneNumber:ok"==n.detail.errMsg&&(console.log("res",n),this.$model.getregister({tenantId:e.getStorageSync("tenantid"),sessionId:e.getStorageSync("sessionid"),encryptedData:n.detail.encryptedData,iv:n.detail.iv,name:t.infoRes.name,headImg:t.infoRes.headimg,fansid:e.getStorageSync("fansid")}).then((function(n){0==n.code&&(t.value=1,e.setStorageSync("token",n.data.token),e.setStorageSync("iswxphone",n.data.iswxphone),e.setStorageSync("refreshtoken",n.data.refreshtoken),e.setStorageSync("sessionid",n.data.sessionid),"active"==t.infoRes.url?e.reLaunch({url:"/pages/index/active"}):e.reLaunch({url:"/pages/index/index"}))}))):t.$tools.msg("请先勾选同意每日一称《个人信息保护政策")},handlexieyi:function(){e.navigateTo({url:"/pageTwo/login/detail?id=08DA1796-2FEE-4813-8B0C-8A45E7A57E70"})}}};n.default=t}).call(this,t("543d")["default"])},c28d:function(e,n,t){"use strict";var o=t("e43a"),a=t.n(o);a.a},dca2:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return s})),t.d(n,"a",(function(){return o}));var a=function(){var e=this,n=e.$createElement;e._self._c},s=[]},e43a:function(e,n,t){}},[["36c0","common/runtime","common/vendor"]]]);
|
||||||
|
|
@ -1 +1 @@
|
||||||
<view class="content data-v-da35f4b6"><view class="top data-v-da35f4b6"><image src="/static/logo.png" class="data-v-da35f4b6"></image><text class="data-v-da35f4b6">每日一称-儿童</text></view><view class="edit data-v-da35f4b6"><view class="ts data-v-da35f4b6"><view class="data-v-da35f4b6">短信验证码登录</view></view><view class="editem data-v-da35f4b6"><view class="input data-v-da35f4b6"><input class="uni-input data-v-da35f4b6" placeholder="请输入手机号" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/></view><view class="input yanzheng data-v-da35f4b6"><view class="yanzhengma data-v-da35f4b6"><input class="uni-input data-v-da35f4b6" placeholder="请输入验证码" data-event-opts="{{[['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindinput="__e"/></view><button class="code data-v-da35f4b6" type="none" disabled="{{disabled}}" value="{{codeInfo}}" data-event-opts="{{[['tap',[['handleCode',['$event']]]],['input',[['__set_model',['','codeInfo','$event',[]]]]]]}}" bindtap="__e" bindinput="__e">{{(second<60?second+'S后重发':'获取验证码')+''}}</button></view></view><view data-event-opts="{{[['tap',[['handleTelLogin',['$event']]]]]}}" class="btnlogin data-v-da35f4b6" bindtap="__e">登录</view></view><view class="btnGroup data-v-da35f4b6"><block wx:if="{{iswxphone}}"><view class="wxbtn data-v-da35f4b6"><button open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e" class="data-v-da35f4b6"><icon class="iconfont icon-weixin data-v-da35f4b6"></icon><text class="data-v-da35f4b6">微信授权登录</text></button></view></block><view class="xieyi data-v-da35f4b6"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" class="group data-v-da35f4b6" bindchange="__e"><checkbox style="transform:scale(0.7);" value="{{1}}" checked="true" class="data-v-da35f4b6"></checkbox>同意每日一称<text data-event-opts="{{[['tap',[['handlexieyi',['$event']]]]]}}" bindtap="__e" class="data-v-da35f4b6">《个人信息保护政策》</text></checkbox-group></view></view></view>
|
<view class="content data-v-94373a76"><view class="top data-v-94373a76"><image src="/static/logo.png" class="data-v-94373a76"></image><text class="data-v-94373a76">每日一称-成人</text></view><view class="edit data-v-94373a76"><view class="ts data-v-94373a76"><view class="data-v-94373a76">短信验证码登录</view></view><view class="editem data-v-94373a76"><view class="input data-v-94373a76"><input class="uni-input data-v-94373a76" placeholder="请输入手机号" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/></view><view class="input yanzheng data-v-94373a76"><view class="yanzhengma data-v-94373a76"><input class="uni-input data-v-94373a76" placeholder="请输入验证码" data-event-opts="{{[['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindinput="__e"/></view><button class="code data-v-94373a76" type="none" disabled="{{disabled}}" value="{{codeInfo}}" data-event-opts="{{[['tap',[['handleCode',['$event']]]],['input',[['__set_model',['','codeInfo','$event',[]]]]]]}}" bindtap="__e" bindinput="__e">{{(second<60?second+'S后重发':'获取验证码')+''}}</button></view></view><view data-event-opts="{{[['tap',[['handleTelLogin',['$event']]]]]}}" class="btnlogin data-v-94373a76" bindtap="__e">登录</view></view><view class="btnGroup data-v-94373a76"><block wx:if="{{iswxphone}}"><view class="wxbtn data-v-94373a76"><button open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e" class="data-v-94373a76"><icon class="iconfont icon-weixin data-v-94373a76"></icon><text class="data-v-94373a76">微信登录</text></button></view></block><view class="xieyi data-v-94373a76"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" class="group data-v-94373a76" bindchange="__e"><checkbox style="transform:scale(0.7);" value="{{1}}" checked="true" class="data-v-94373a76"></checkbox>同意每日一称<text data-event-opts="{{[['tap',[['handlexieyi',['$event']]]]]}}" bindtap="__e" class="data-v-94373a76">《个人信息保护政策》</text></checkbox-group></view></view></view>
|
||||||
|
|
@ -1 +1 @@
|
||||||
.content.data-v-da35f4b6{padding:0;height:100vh;background-color:#fff}.top.data-v-da35f4b6{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:80px 0 0}.top image.data-v-da35f4b6{width:70px;height:70px;margin:auto}.top text.data-v-da35f4b6{display:block;width:100%;text-align:center}.edit.data-v-da35f4b6{width:75%;height:auto;background:#fff;border-radius:10px;padding:15px;margin:40px auto 15px}.edit .ts.data-v-da35f4b6{text-align:left;margin-bottom:10px;color:#999}.edit .editem.data-v-da35f4b6{position:relative;display:flex;align-items:center;font-size:28rpx;justify-content:space-between;flex-wrap:wrap}.edit .input.data-v-da35f4b6{width:100%;border:#dfdfdf 1px solid;padding:0 10px;height:35px;line-height:35px;margin-bottom:15px;display:flex;border-radius:10px;position:relative}.edit .input input.data-v-da35f4b6{height:35px;line-height:35px;width:100%}.edit .btnlogin.data-v-da35f4b6{width:100%;margin:20px 0;height:38px;line-height:38px;background:#fca82d;font-weight:700;border-radius:10px;text-align:center;color:#fff!important}.edit .code.data-v-da35f4b6{width:110px;background:#dfdfdf;font-size:12px;margin:0;border-radius:10px;text-align:center;position:absolute;right:2.5px;top:2.5px}.btnGroup.data-v-da35f4b6{width:100%;display:flex;justify-content:center;flex-wrap:wrap;background-color:inherit;line-height:inherit;position:absolute;bottom:80rpx}.btnGroup .wxbtn.data-v-da35f4b6{width:100%}.btnGroup .wxbtn icon.data-v-da35f4b6{font-size:25px;color:#28c445}.btnGroup .wxbtn text.data-v-da35f4b6{display:block;width:100%;margin-top:5px;font-size:12px;color:#666;text-align:center}.btnGroup .wxbtn button.data-v-da35f4b6{line-height:normal;background:#fff;display:flex;flex-wrap:wrap;padding:0;justify-content:center}.btnGroup .wxbtn button.data-v-da35f4b6::after{display:none}.btnGroup .xieyi.data-v-da35f4b6{font-size:14px;margin-top:20px;color:#333}.btnGroup .xieyi text.data-v-da35f4b6{border-bottom:1px solid #333}
|
.content.data-v-94373a76{padding:0;height:100vh;background-color:#fff}.top.data-v-94373a76{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:80px 0 0}.top image.data-v-94373a76{width:70px;height:70px;margin:auto;margin-bottom:15px;border-radius:50%}.top text.data-v-94373a76{display:block;width:100%;text-align:center}.edit.data-v-94373a76{width:75%;height:auto;background:#fff;border-radius:10px;padding:15px;margin:40px auto 15px}.edit .ts.data-v-94373a76{text-align:left;margin-bottom:10px;color:#999}.edit .editem.data-v-94373a76{position:relative;display:flex;align-items:center;font-size:28rpx;justify-content:space-between;flex-wrap:wrap}.edit .input.data-v-94373a76{width:100%;border:#dfdfdf 1px solid;padding:0 10px;height:35px;line-height:35px;margin-bottom:15px;display:flex;border-radius:10px;position:relative}.edit .input input.data-v-94373a76{height:35px;line-height:35px;width:100%}.edit .btnlogin.data-v-94373a76{width:100%;margin:20px 0;height:38px;line-height:38px;background:#fca82d;font-weight:700;border-radius:10px;text-align:center;color:#fff!important}.edit .code.data-v-94373a76{width:110px;background:#dfdfdf;font-size:12px;margin:0;border-radius:10px;text-align:center;position:absolute;right:2.5px;top:2.5px}.btnGroup.data-v-94373a76{width:100%;display:flex;justify-content:center;flex-wrap:wrap;background-color:inherit;line-height:inherit;position:absolute;bottom:80rpx}.btnGroup .wxbtn.data-v-94373a76{width:100%}.btnGroup .wxbtn icon.data-v-94373a76{font-size:25px;color:#28c445}.btnGroup .wxbtn text.data-v-94373a76{display:block;width:100%;margin-top:5px;font-size:12px;color:#666;text-align:center}.btnGroup .wxbtn button.data-v-94373a76{line-height:normal;background:#fff;display:flex;flex-wrap:wrap;padding:0;justify-content:center}.btnGroup .wxbtn button.data-v-94373a76::after{display:none}.btnGroup .xieyi.data-v-94373a76{font-size:14px;margin-top:20px;color:#333}.btnGroup .xieyi text.data-v-94373a76{border-bottom:1px solid #333}
|
||||||