对接J01/B03
|
|
@ -4,14 +4,19 @@
|
|||
<view class="title" v-if="isConnection == 0">连接中,请稍后</view>
|
||||
<view class="title" v-if="isConnection == 1">连接成功,开始测量</view>
|
||||
<view class="title" v-if="isConnection == 2" @click="openBluetoothAdapter">连接失败,点击重新连接</view>
|
||||
<view class="desc" v-if="status==1">
|
||||
<view class="desc" v-if="status==1&&!isChild">
|
||||
<view>大人先称重</view>
|
||||
<text>体重稳定后再抱着宝宝称重</text>
|
||||
</view>
|
||||
<view class="desc" v-if="status==1&&isChild">
|
||||
<view>抱上宝宝称重</view>
|
||||
<text>完成后会自动计算出宝宝的体重</text>
|
||||
</view>
|
||||
<view class="text">{{text}}</view>
|
||||
<view class="text" v-if="status==1">{{childWeight}}</view>
|
||||
<view class="image">
|
||||
<image src="/BLEPages/static/L01.gif" class="image3"></image>
|
||||
<image src="/BLEPages/static/B03B02.gif" class="image3" v-if="status!=-1"></image>
|
||||
<image src="/BLEPages/static/B03B03.gif" class="image3" v-if="isChild"></image>
|
||||
</view>
|
||||
<view class="tips">
|
||||
<text>提示:</text>
|
||||
|
|
@ -52,6 +57,7 @@
|
|||
unit: "kg",
|
||||
height: "",
|
||||
childWeight: "",
|
||||
isChild: false,
|
||||
status: -1, // 0大人1婴儿
|
||||
imp: 0,
|
||||
macAddr: "",
|
||||
|
|
@ -122,10 +128,11 @@
|
|||
// 初始化蓝牙
|
||||
openBluetoothAdapter() {
|
||||
let that = this
|
||||
that.text = ""
|
||||
realTimeA = 0
|
||||
realTimeC = 0
|
||||
that.text = ""
|
||||
that.childWeight = ""
|
||||
that.isChild = false
|
||||
that.stopblue = true
|
||||
that.isHeight = false
|
||||
uni.openBluetoothAdapter({
|
||||
|
|
@ -144,9 +151,9 @@
|
|||
let that = this
|
||||
uni.startBluetoothDevicesDiscovery({
|
||||
allowDuplicatesKey: true,
|
||||
services: [
|
||||
"F0A0",
|
||||
],
|
||||
// services: [
|
||||
// "F0A0",
|
||||
// ],
|
||||
success: res => {
|
||||
that.isConnection = 0
|
||||
that.onBluetoothDeviceFound();
|
||||
|
|
@ -165,10 +172,11 @@
|
|||
if (!res.connected) {
|
||||
clearTimeout(myTime);
|
||||
that.Unload = true
|
||||
that.text = ""
|
||||
realTimeA = 0
|
||||
realTimeC = 0
|
||||
that.text = ""
|
||||
that.childWeight = ""
|
||||
that.isChild = false
|
||||
that.stopblue = true
|
||||
that.isHeight = false
|
||||
that.isConnection = 2
|
||||
|
|
@ -201,23 +209,21 @@
|
|||
uni.onBluetoothDeviceFound(res => {
|
||||
res.devices.forEach(device => {
|
||||
device.advertisData = device.advertisData ? device.advertisData : ''
|
||||
device.advertisServiceUUIDs = device.advertisServiceUUIDs ? device
|
||||
.advertisServiceUUIDs : ""
|
||||
|
||||
//
|
||||
if (!device.name && !device.localName) {
|
||||
let value = that.$tools.ab2hex(device.advertisData, "")
|
||||
let ab2hex = device.deviceId.split(":").join("")
|
||||
if (value.indexOf('c0') !== -1 && value.indexOf(ab2hex.toLowerCase()) !== -1) {
|
||||
let id = value.substring(12, 16)
|
||||
|
||||
if (value.indexOf('c0') !== -1 && id == '0a11') {
|
||||
clearTimeout(myTime);
|
||||
let buff = device.advertisData.slice(-6)
|
||||
device.mac = new Uint8Array(buff) // 保存广播数据中的mac地址,这是由于iOS不直接返回mac地址
|
||||
let tempMac = Array.from(device.mac)
|
||||
device.macAddr = that.$tools.ab2hex(tempMac, ':').toUpperCase()
|
||||
|
||||
if (device.deviceId.indexOf(that.deviceId) !== -1 || device.macAddr
|
||||
.indexOf(that.deviceId) !== -1) {
|
||||
that.isConnection = 1
|
||||
console.log("value", value)
|
||||
let msg = parseInt(value.substring(16, 18), 16).toString(2)
|
||||
let weight = parseInt(value.substring(4, 8), 16)
|
||||
let type = PrefixZero(msg, 8).substring(7, 8) //0实时,1稳定
|
||||
|
|
@ -260,6 +266,7 @@
|
|||
realTimeA++
|
||||
if (realTimeC == 0) {
|
||||
that.text = "您的稳定体重是:" + weight + dw
|
||||
that.isChild = true
|
||||
} else {
|
||||
that.childWeight = "宝宝的稳定体重是:" + weight + dw
|
||||
that.macAddr = device.macAddr
|
||||
|
|
@ -284,6 +291,7 @@
|
|||
console.log("测量完成", that.weight, that.unit)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
@ -322,10 +330,10 @@
|
|||
familyid: that.info.familyid,
|
||||
})
|
||||
that.$store.dispatch("getResult", {
|
||||
birthday: that.info.birthday,
|
||||
familyid: that.info.familyid,
|
||||
height: that.height,
|
||||
sex: that.info.sex,
|
||||
birthday: that.info.birthday,
|
||||
familyid: that.info.familyid,
|
||||
height: that.height,
|
||||
sex: that.info.sex,
|
||||
});
|
||||
} else {
|
||||
console.log("测量失败", res.message)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<view class="text">{{textW}}</view>
|
||||
<view class="text">{{textH}}</view>
|
||||
<view class="image">
|
||||
<image src="/BLEPages/static/J02.gif" class="image3"></image>
|
||||
<image src="/BLEPages/static/J01.gif" class="image3"></image>
|
||||
</view>
|
||||
<view class="tips">
|
||||
<text>请确保:</text>
|
||||
|
|
@ -302,9 +302,9 @@
|
|||
let dw0 = "kg"
|
||||
let dw1 = "kg"
|
||||
if (bleData.status == 0) {
|
||||
let arr = [0x06, 0x01, 0x00]
|
||||
console.log("指令发送成功", arr)
|
||||
plugin.sendDataOfA7(arr)
|
||||
// let arr = [0x06, 0x01, 0x00]
|
||||
// console.log("指令发送成功", arr)
|
||||
// plugin.sendDataOfA7(arr)
|
||||
console.log("握手成功")
|
||||
} else if (bleData.status == 1) {
|
||||
let payload = that.$tools.ab2hex(bleData.data, '')
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
|
@ -57,7 +57,7 @@
|
|||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wxd230a93791c03259",
|
||||
"appid" : "wx3e83b37ba682faf5",
|
||||
"setting" : {
|
||||
"urlCheck" : true,
|
||||
"minified" : true,
|
||||
|
|
|
|||
|
|
@ -157,9 +157,7 @@
|
|||
if (!device.name && !device.localName) {
|
||||
let value = that.$tools.ab2hex(device.advertisData, "")
|
||||
let id = value.substring(12, 16)
|
||||
let ab2hex = device.deviceId.split(":").join("")
|
||||
if (value.indexOf('c0') !== -1 && value.indexOf(ab2hex.toLowerCase()) !== -1) {
|
||||
console.log("device", device)
|
||||
if (value.indexOf('c0') !== -1 && id == '0a11') {
|
||||
wx.hideLoading()
|
||||
device.name = 'PC-B'
|
||||
let buff = device.advertisData.slice(-6)
|
||||
|
|
|
|||
|
|
@ -139,9 +139,7 @@
|
|||
if (!device.name && !device.localName) {
|
||||
let value = that.$tools.ab2hex(device.advertisData, "")
|
||||
let id = value.substring(12, 16)
|
||||
let ab2hex = device.deviceId.split(":").join("")
|
||||
if (value.indexOf('c0') !== -1 && value.indexOf(ab2hex.toLowerCase()) !== -1) {
|
||||
console.log("device", device)
|
||||
if (value.indexOf('c0') !== -1 && id == '0a11') {
|
||||
device.name = 'PC-B'
|
||||
let buff = device.advertisData.slice(-6)
|
||||
device.mac = new Uint8Array(buff) // 保存广播数据中的mac地址,这是由于iOS不直接返回mac地址
|
||||
|
|
@ -180,7 +178,7 @@
|
|||
that.handleDevice(device)
|
||||
return;
|
||||
}
|
||||
if (device.name.indexOf("FitTrack") !== -1||device.name.indexOf("SWAN") !== -1) {
|
||||
if (device.name.indexOf("FitTrack") !== -1 || device.name.indexOf("SWAN") !== -1) {
|
||||
clearTimeout(myTime);
|
||||
let buff = device.advertisData.slice(2, 8)
|
||||
device.mac = new Uint8Array(buff) // 保存广播数据中的mac地址,这是由于iOS不直接返回mac地址
|
||||
|
|
@ -190,7 +188,8 @@
|
|||
that.handleDevice(device)
|
||||
return;
|
||||
}
|
||||
if (device.name.indexOf("AiLink_") != -1||(device.localName && device.localName.indexOf('AiLink_') != -1)) {
|
||||
if (device.name.indexOf("AiLink_") != -1 || (device.localName && device.localName
|
||||
.indexOf('AiLink_') != -1)) {
|
||||
clearTimeout(myTime);
|
||||
let buff = device.advertisData.slice(-6)
|
||||
device.mac = new Uint8Array(buff) // 保存广播数据中的mac地址,这是由于iOS不直接返回mac地址
|
||||
|
|
@ -533,4 +532,4 @@
|
|||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<view class="data-v-5c73fc6e"><view class="content weightPages data-v-5c73fc6e"><block wx:if="{{isConnection==0}}"><view class="title data-v-5c73fc6e">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-5c73fc6e">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-5c73fc6e" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-5c73fc6e">{{textW}}</view><view class="text data-v-5c73fc6e">{{textH}}</view><view class="image data-v-5c73fc6e"><block wx:if="{{type==1}}"><image src="/BLEPages/static/F018P01.gif" class="data-v-5c73fc6e"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/F018P01.gif" class="data-v-5c73fc6e"></image></block></view><view class="tips data-v-5c73fc6e"><text class="data-v-5c73fc6e">提示:</text><text class="data-v-5c73fc6e">1.请确定设备是开机状态</text><text class="data-v-5c73fc6e">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-5c73fc6e">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<view class="data-v-7048df86"><view class="content weightPages data-v-7048df86"><block wx:if="{{isConnection==0}}"><view class="title data-v-7048df86">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-7048df86">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-7048df86" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-7048df86">{{textW}}</view><view class="text data-v-7048df86">{{textH}}</view><view class="image data-v-7048df86"><image src="/BLEPages/static/F018P01.gif" class="data-v-7048df86"></image></view><view class="tips data-v-7048df86"><text class="data-v-7048df86">请确保:</text><text class="data-v-7048df86">1.请确定设备是开机状态</text><text class="data-v-7048df86">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-7048df86">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<view class="content weightPages data-v-6f20578f"><block wx:if="{{isConnection==0}}"><view class="title data-v-6f20578f">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-6f20578f">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-6f20578f" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-6f20578f">{{textW}}</view><view class="text data-v-6f20578f">{{textH}}</view><view class="image data-v-6f20578f"><image src="/BLEPages/static/H01pro.gif" class="data-v-6f20578f"></image></view><view class="tips data-v-6f20578f"><text class="data-v-6f20578f">请确保:</text><text class="data-v-6f20578f">1.请确定设备是开机状态</text><text class="data-v-6f20578f">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-6f20578f">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<view class="data-v-41ed1fa4"><view class="content weightPages data-v-41ed1fa4"><block wx:if="{{isConnection==0}}"><view class="title data-v-41ed1fa4">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-41ed1fa4">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-41ed1fa4" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-41ed1fa4">{{text}}</view><view class="text data-v-41ed1fa4">{{textH}}</view><view class="image data-v-41ed1fa4"><block wx:if="{{type==1}}"><image src="/BLEPages/static/H09B.gif" class="data-v-41ed1fa4"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/H09B2.gif" class="data-v-41ed1fa4"></image></block></view><view class="tips data-v-41ed1fa4"><text class="data-v-41ed1fa4">提示:</text><text class="data-v-41ed1fa4">1.请确定设备是开机状态</text><text class="data-v-41ed1fa4">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-41ed1fa4">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<view class="data-v-42308438"><view class="content weightPages data-v-42308438"><block wx:if="{{isConnection==0}}"><view class="title data-v-42308438">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-42308438">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-42308438" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-42308438">{{text}}</view><view class="image data-v-42308438"><block wx:if="{{type==1}}"><image src="/BLEPages/static/Hd01bt01.gif" class="data-v-42308438"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/Hd01bt02.gif" class="data-v-42308438"></image></block></view><view class="tips data-v-42308438"><text class="data-v-42308438">提示:</text><text class="data-v-42308438">1.请确定设备是开机状态</text><text class="data-v-42308438">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-42308438">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<view class="data-v-33c5474c"><view class="content weightPages data-v-33c5474c"><block wx:if="{{isConnection==0}}"><view class="title data-v-33c5474c">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-33c5474c">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-33c5474c" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-33c5474c">{{text}}</view><view class="image data-v-33c5474c"><image src="/BLEPages/static/L01.gif" class="data-v-33c5474c"></image></view><view class="tips data-v-33c5474c"><text class="data-v-33c5474c">提示:</text><text class="data-v-33c5474c">1.请确定设备是开机状态</text><text class="data-v-33c5474c">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-33c5474c">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="weightPages data-v-49658833"><view class="content data-v-49658833"><block wx:if="{{isConnection==0}}"><view class="title data-v-49658833">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-49658833">连接成功,开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-49658833" bindtap="__e">连接失败,点击重新连接</view></block><block wx:if="{{status==1&&!isChild}}"><view class="desc data-v-49658833"><view class="data-v-49658833">大人先称重</view><text class="data-v-49658833">体重稳定后再抱着宝宝称重</text></view></block><block wx:if="{{status==1&&isChild}}"><view class="desc data-v-49658833"><view class="data-v-49658833">抱上宝宝称重</view><text class="data-v-49658833">完成后会自动计算出宝宝的体重</text></view></block><view class="text data-v-49658833">{{text}}</view><block wx:if="{{status==1}}"><view class="text data-v-49658833">{{childWeight}}</view></block><view class="image data-v-49658833"><block wx:if="{{status!=-1}}"><image class="image3 data-v-49658833" src="/BLEPages/static/B03B02.gif"></image></block><block wx:if="{{isChild}}"><image class="image3 data-v-49658833" src="/BLEPages/static/B03B03.gif"></image></block></view><view class="tips data-v-49658833"><text class="data-v-49658833">提示:</text><text class="data-v-49658833">1.请确定设备是开机状态</text><text class="data-v-49658833">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-49658833">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view><block wx:if="{{isHeight}}"><view class="wrapper data-v-49658833"><view class="bg data-v-49658833"></view><view class="Blue data-v-49658833"><view class="h4 data-v-49658833">测量结果提示</view><view class="Blue-box data-v-49658833">{{''+(status==1?'宝宝的':'您的')+"体重为:"}}<text class="data-v-49658833">{{weight+(unit=='jin'?'斤':unit)}}</text></view><view class="Blue-box data-v-49658833">身高为:<input style="width:60%;" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','height','$event',[]]]]]]}}" value="{{height}}" bindinput="__e" class="data-v-49658833"/>cm</view><view data-event-opts="{{[['tap',[['handleBack',[1]]]]]}}" class="Blue-btn Blue-close data-v-49658833" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleGetMeasure',['$event']]]]]}}" class="Blue-btn data-v-49658833" bindtap="__e">保存</view></view></view></block></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.image3.data-v-49658833{width:200px!important;height:340px!important}.desc.data-v-49658833{width:100%;text-align:center;font-size:18px;color:#dd524d}.desc text.data-v-49658833{font-size:14px}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-381124d9"><view class="content weightPages data-v-381124d9"><block wx:if="{{isConnection==0}}"><view class="title data-v-381124d9">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-381124d9">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-381124d9" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-381124d9">{{textW}}</view><view class="text data-v-381124d9">{{textH}}</view><view class="image data-v-381124d9"><block wx:if="{{type==1}}"><image src="/BLEPages/static/F018P01.gif" class="data-v-381124d9"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/F018P01.gif" class="data-v-381124d9"></image></block></view><view class="tips data-v-381124d9"><text class="data-v-381124d9">提示:</text><text class="data-v-381124d9">1.请确定设备是开机状态</text><text class="data-v-381124d9">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-381124d9">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-79652519"><view class="content weightPages data-v-79652519"><block wx:if="{{isConnection==0}}"><view class="title data-v-79652519">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-79652519">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-79652519" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-79652519">{{textW}}</view><view class="text data-v-79652519">{{textH}}</view><view class="image data-v-79652519"><image src="/BLEPages/static/F018P01.gif" class="data-v-79652519"></image></view><view class="tips data-v-79652519"><text class="data-v-79652519">请确保:</text><text class="data-v-79652519">1.请确定设备是开机状态</text><text class="data-v-79652519">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-79652519">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="content weightPages data-v-82071740"><block wx:if="{{isConnection==0}}"><view class="title data-v-82071740">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-82071740">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-82071740" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-82071740">{{textW}}</view><view class="text data-v-82071740">{{textH}}</view><view class="image data-v-82071740"><image src="/BLEPages/static/H01pro.gif" class="data-v-82071740"></image></view><view class="tips data-v-82071740"><text class="data-v-82071740">请确保:</text><text class="data-v-82071740">1.请确定设备是开机状态</text><text class="data-v-82071740">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-82071740">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-dd62eda8"><view class="content weightPages data-v-dd62eda8"><block wx:if="{{isConnection==0}}"><view class="title data-v-dd62eda8">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-dd62eda8">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-dd62eda8" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-dd62eda8">{{text}}</view><view class="text data-v-dd62eda8">{{textH}}</view><view class="image data-v-dd62eda8"><block wx:if="{{type==1}}"><image src="/BLEPages/static/H09B.gif" class="data-v-dd62eda8"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/H09B2.gif" class="data-v-dd62eda8"></image></block></view><view class="tips data-v-dd62eda8"><text class="data-v-dd62eda8">提示:</text><text class="data-v-dd62eda8">1.请确定设备是开机状态</text><text class="data-v-dd62eda8">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-dd62eda8">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-133ce4ab"><view class="content weightPages data-v-133ce4ab"><block wx:if="{{isConnection==0}}"><view class="title data-v-133ce4ab">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-133ce4ab">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-133ce4ab" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-133ce4ab">{{textW}}</view><view class="text data-v-133ce4ab">{{textH}}</view><view class="image data-v-133ce4ab"><image class="image3 data-v-133ce4ab" src="/BLEPages/static/J01.gif"></image></view><view class="tips data-v-133ce4ab"><text class="data-v-133ce4ab">请确保:</text><text class="data-v-133ce4ab">1.请确定设备是开机状态</text><text class="data-v-133ce4ab">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-133ce4ab">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.image3.data-v-133ce4ab{width:200px!important;height:340px!important}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-7d3a8094"><view class="content weightPages data-v-7d3a8094"><block wx:if="{{isConnection==0}}"><view class="title data-v-7d3a8094">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-7d3a8094">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-7d3a8094" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-7d3a8094">{{text}}</view><view class="image data-v-7d3a8094"><image src="/BLEPages/static/J02.gif" class="data-v-7d3a8094"></image></view><view class="tips data-v-7d3a8094"><text class="data-v-7d3a8094">提示:</text><text class="data-v-7d3a8094">1.请确定设备是开机状态</text><text class="data-v-7d3a8094">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-7d3a8094">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-4cdf74c6"><view class="content weightPages data-v-4cdf74c6"><block wx:if="{{isConnection==0}}"><view class="title data-v-4cdf74c6">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-4cdf74c6">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-4cdf74c6" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-4cdf74c6">{{text}}</view><view class="image data-v-4cdf74c6"><image src="/BLEPages/static/J02B.gif" class="data-v-4cdf74c6"></image></view><view class="tips data-v-4cdf74c6"><text class="data-v-4cdf74c6">提示:</text><text class="data-v-4cdf74c6">1.请确定设备是开机状态</text><text class="data-v-4cdf74c6">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-4cdf74c6">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-68711b68"><view class="content weightPages data-v-68711b68"><block wx:if="{{isConnection==0}}"><view class="title data-v-68711b68">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-68711b68">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-68711b68" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-68711b68">{{text}}</view><view class="image data-v-68711b68"><image src="/BLEPages/static/L01.gif" class="data-v-68711b68"></image></view><view class="tips data-v-68711b68"><text class="data-v-68711b68">提示:</text><text class="data-v-68711b68">1.请确定设备是开机状态</text><text class="data-v-68711b68">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-68711b68">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-503ca9b0"><view class="content weightPages data-v-503ca9b0"><block wx:if="{{isConnection==0}}"><view class="title data-v-503ca9b0">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-503ca9b0">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-503ca9b0" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-503ca9b0">{{text}}</view><view class="image data-v-503ca9b0"><block wx:if="{{type==1}}"><image src="/BLEPages/static/Hd01bt01.gif" class="data-v-503ca9b0"></image></block><block wx:if="{{type==2}}"><image src="/BLEPages/static/Hd01bt02.gif" class="data-v-503ca9b0"></image></block></view><view class="tips data-v-503ca9b0"><text class="data-v-503ca9b0">提示:</text><text class="data-v-503ca9b0">1.请确定设备是开机状态</text><text class="data-v-503ca9b0">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-503ca9b0">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-19047d9d"><view class="content weightPages data-v-19047d9d"><block wx:if="{{isConnection==0}}"><view class="title data-v-19047d9d">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-19047d9d">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-19047d9d" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-19047d9d">{{text}}</view><view class="image data-v-19047d9d"><image src="/BLEPages/static/L01.gif" class="data-v-19047d9d"></image></view><view class="tips data-v-19047d9d"><text class="data-v-19047d9d">提示:</text><text class="data-v-19047d9d">1.请确定设备是开机状态</text><text class="data-v-19047d9d">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-19047d9d">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="weightPages data-v-2fde5ade"><view class="content data-v-2fde5ade"><block wx:if="{{isConnection==0}}"><view class="title data-v-2fde5ade">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-2fde5ade">连接成功,开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-2fde5ade" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-2fde5ade">{{text}}</view><view class="image data-v-2fde5ade"><image class="image3 data-v-2fde5ade" src="/BLEPages/static/PCL10.gif"></image></view><view class="tips data-v-2fde5ade"><text class="data-v-2fde5ade">提示:</text><text class="data-v-2fde5ade">1.请确定设备是开机状态</text><text class="data-v-2fde5ade">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-2fde5ade">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.image3.data-v-2fde5ade{width:200px!important;height:340px!important}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="weightPages data-v-4363ce59"><view class="content data-v-4363ce59"><block wx:if="{{isConnection==0}}"><view class="title data-v-4363ce59">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-4363ce59">连接成功,开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-4363ce59" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-4363ce59">{{text}}</view><view class="image data-v-4363ce59"><image class="image3 data-v-4363ce59" src="/BLEPages/static/PCL11.gif"></image></view><view class="tips data-v-4363ce59"><text class="data-v-4363ce59">提示:</text><text class="data-v-4363ce59">1.请确定设备是开机状态</text><text class="data-v-4363ce59">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-4363ce59">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.image3.data-v-4363ce59{width:200px!important;height:340px!important}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="data-v-2a33b3f1"><view class="content weightPages data-v-2a33b3f1"><block wx:if="{{isConnection==0}}"><view class="title data-v-2a33b3f1">连接中,请稍后</view></block><block wx:if="{{isConnection==1}}"><view class="title data-v-2a33b3f1">连接成功,请开始测量</view></block><block wx:if="{{isConnection==2}}"><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="title data-v-2a33b3f1" bindtap="__e">连接失败,点击重新连接</view></block><view class="text data-v-2a33b3f1">{{textW}}</view><view class="text data-v-2a33b3f1">{{textH}}</view><view class="image data-v-2a33b3f1"><image src="/BLEPages/static/PCM20.gif" class="data-v-2a33b3f1"></image></view><view class="tips data-v-2a33b3f1"><text class="data-v-2a33b3f1">请确保:</text><text class="data-v-2a33b3f1">1.请确定设备是开机状态</text><text class="data-v-2a33b3f1">2.请确定手机蓝牙、位置信息已打开</text><text class="data-v-2a33b3f1">3.ios系统需打开设置—>应用—>微信里的蓝牙权限</text></view></view></view>
|
||||
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -1,84 +1,91 @@
|
|||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/target/target",
|
||||
"pages/compk/compk",
|
||||
"pages/me/me",
|
||||
"pages/index/active",
|
||||
"pages/search/devType"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pageTwo",
|
||||
"pages": [
|
||||
"login/login",
|
||||
"login/detail",
|
||||
"login/userinfo",
|
||||
"compk/pkdetail",
|
||||
"me/history",
|
||||
"me/feedBack",
|
||||
"me/manage",
|
||||
"me/adduser",
|
||||
"me/detail",
|
||||
"me/info",
|
||||
"survey/survey",
|
||||
"zixun/detail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "BLEPages",
|
||||
"pages": [
|
||||
"adult/H01pro",
|
||||
"adult/PCD01pro",
|
||||
"adult/PCL01",
|
||||
"adult/H09B",
|
||||
"adult/F01B",
|
||||
"adult/F01PRO"
|
||||
]
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"backgroundColor": "#fff"
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/target/target",
|
||||
"pages/compk/compk",
|
||||
"pages/me/me",
|
||||
"pages/index/active",
|
||||
"pages/search/devType"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pageTwo",
|
||||
"pages": [
|
||||
"login/login",
|
||||
"login/detail",
|
||||
"login/userinfo",
|
||||
"compk/pkdetail",
|
||||
"me/history",
|
||||
"me/feedBack",
|
||||
"me/manage",
|
||||
"me/adduser",
|
||||
"me/detail",
|
||||
"me/info",
|
||||
"survey/survey",
|
||||
"zixun/detail"
|
||||
]
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#333",
|
||||
"selectedColor": "#00c6c6",
|
||||
"backgroundColor": "#fff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/tab_sy.png",
|
||||
"selectedIconPath": "static/tab_sy01.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/target/target",
|
||||
"iconPath": "static/tab_sj.png",
|
||||
"selectedIconPath": "static/tab_sj01.png",
|
||||
"text": "目标"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/compk/compk",
|
||||
"iconPath": "static/tab_db.png",
|
||||
"selectedIconPath": "static/tab_db01.png",
|
||||
"text": "对比"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/me/me",
|
||||
"iconPath": "static/tab_me.png",
|
||||
"selectedIconPath": "static/tab_me01.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugins": {
|
||||
"sdkPlugin": {
|
||||
"version": "2.1.0",
|
||||
"provider": "wx17e93aad47cdae1a"
|
||||
}
|
||||
},
|
||||
"usingComponents": {},
|
||||
"sitemapLocation": "sitemap.json"
|
||||
{
|
||||
"root": "BLEPages",
|
||||
"pages": [
|
||||
"child/H01pro",
|
||||
"child/PCD01pro",
|
||||
"child/PCL01",
|
||||
"child/H09B",
|
||||
"child/F01B",
|
||||
"child/F01PRO",
|
||||
"child/J01",
|
||||
"child/J02",
|
||||
"child/J02B",
|
||||
"child/PCL10",
|
||||
"child/PCL11",
|
||||
"child/PCMeta20",
|
||||
"child/L01A",
|
||||
"child/B03B"
|
||||
]
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#F9FAFC",
|
||||
"backgroundColor": "#fff"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#333",
|
||||
"selectedColor": "#00c6c6",
|
||||
"backgroundColor": "#fff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/tab_sy.png",
|
||||
"selectedIconPath": "static/tab_sy01.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/target/target",
|
||||
"iconPath": "static/tab_sj.png",
|
||||
"selectedIconPath": "static/tab_sj01.png",
|
||||
"text": "目标"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/compk/compk",
|
||||
"iconPath": "static/tab_db.png",
|
||||
"selectedIconPath": "static/tab_db01.png",
|
||||
"text": "对比"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/me/me",
|
||||
"iconPath": "static/tab_me.png",
|
||||
"selectedIconPath": "static/tab_me01.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugins": {
|
||||
"sdkPlugin": {
|
||||
"version": "2.3.4",
|
||||
"provider": "wx17e93aad47cdae1a"
|
||||
}
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{7364:function(e,t,o){"use strict";o.r(t);var n=o("ff3b");for(var r in n)"default"!==r&&function(e){o.d(t,e,(function(){return n[e]}))}(r);var c,u,a,f,i=o("f0c5"),l=Object(i["a"])(n["default"],c,u,!1,null,null,null,!1,a,f);t["default"]=l.exports},b242:function(e,t,o){"use strict";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={methods:{},computed:c({},(0,n.mapState)(["appTheme"])),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=a},e6da:function(e,t,o){"use strict";(function(e){o("e568");var t=l(o("66fd")),n=l(o("7364"));o("ecf1"),o("e7e2"),o("c443"),o("a506");var r=l(o("02ea")),c=l(o("e106")),u=l(o("851d")),a=l(o("ffc5")),f=l(o("3fb0")),i=l(o("d3fa"));function l(e){return e&&e.__esModule?e:{default:e}}function p(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 d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(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=c.default,t.default.prototype.weightInfo=u.default,t.default.prototype.$http=a.default,t.default.prototype.$model=f.default,t.default.prototype.config=i.default,console.log("uni.setStorageSync",r.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(d({},n.default));e(b).$mount()}).call(this,o("543d")["createApp"])},ff3b:function(e,t,o){"use strict";o.r(t);var n=o("b242"),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}},[["e6da","common/runtime","common/vendor"]]]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"055c":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o("9523")),c=o("26cb");function a(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}var f={methods:{},computed:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},(0,c.mapState)(["appTheme"])),onLaunch:function(){var t=e.getUpdateManager();t.onCheckForUpdate((function(e){console.log("是否有新版本",e.hasUpdate)})),t.onUpdateReady((function(){e.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(e){e.confirm&&t.applyUpdate()}})})),t.onUpdateFailed((function(){e.showModal({title:"新版本更新失败",content:"请退出并移除小程序,重新打开..."})}))},mounted:function(){},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};t.default=f}).call(this,o("bc2e")["default"])},"85b2":function(e,t,o){"use strict";o.r(t);var n=o("055c"),r=o.n(n);for(var c in n)["default"].indexOf(c)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(c);t["default"]=r.a},"8bc9":function(e,t,o){"use strict";o.r(t);var n=o("85b2");for(var r in n)["default"].indexOf(r)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(r);var c=o("f0c5"),a=Object(c["a"])(n["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);t["default"]=a.exports},"909e":function(e,t,o){"use strict";(function(e,t){var n=o("4ea4"),r=n(o("9523"));o("6808");var c=n(o("66fd")),a=n(o("8bc9"));o("517f"),o("6f0f"),o("dafe"),o("fa0d");var f=n(o("0f0c")),u=n(o("db9f")),i=n(o("06c2")),l=n(o("f982")),p=n(o("dde7")),d=n(o("efe2"));function s(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}e.__webpack_require_UNI_MP_PLUGIN__=o,c.default.prototype.$store=f.default,c.default.prototype.$tools=u.default,c.default.prototype.weightInfo=i.default,c.default.prototype.$http=l.default,c.default.prototype.$model=p.default,c.default.prototype.config=d.default,console.log("uni.setStorageSync",f.default),c.default.config.productionTip=!1,a.default.mpType="app",c.default.prototype.$onLaunched=new Promise((function(e){c.default.prototype.$isResolve=e}));var b=new c.default(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a.default));t(b).$mount()}).call(this,o("bc2e")["default"],o("543d")["createApp"])}},[["909e","common/runtime","common/vendor"]]]);
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/drawer/drawer"],{"33dc":function(t,e,r){"use strict";r.r(e);var n=r("8151"),i=r.n(n);for(var c in n)"default"!==c&&function(t){r.d(e,t,(function(){return n[t]}))}(c);e["default"]=i.a},6300:function(t,e,r){},"6fc6":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},c=[]},8151: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 c(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 o={data:function(){return{}},computed:c(c({},(0,n.mapState)(["user","familayList","isDrawe","appTheme"])),{},{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"])},"862c":function(t,e,r){"use strict";var n=r("6300"),i=r.n(n);i.a},e76e:function(t,e,r){"use strict";r.r(e);var n=r("6fc6"),i=r("33dc");for(var c in i)"default"!==c&&function(t){r.d(e,t,(function(){return i[t]}))}(c);r("862c");var a,o=r("f0c5"),u=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"66b9de77",null,!1,n["a"],a);e["default"]=u.exports}}]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/drawer/drawer"],{"0d6e":function(t,e,r){},"30cd":function(t,e,r){"use strict";r.r(e);var n=r("9b32"),i=r("e77f");for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("930e");var o=r("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"8fc43818",null,!1,n["a"],void 0);e["default"]=c.exports},"409f":function(t,e,r){"use strict";(function(t){var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r("9523")),a=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 c(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){(0,i.default)(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}var u={data:function(){return{}},computed:c(c({},(0,a.mapState)(["user","familayList","isDrawe","appTheme"])),{},{userinfo:function(){return this.user},List:function(){return this.familayList}}),methods:{toggle:function(e){t.setStorageSync("familyid",e.familyid),this.$store.dispatch("getResult",{birthday:e.birthday,familyid:e.familyid,height:e.height,sex:e.sex}),this.$store.dispatch("getUserInfo",{familyid:e.familyid}),this.$store.commit("changeDrawe",!1)},addInfo:function(e){t.navigateTo({url:"/pageTwo/me/adduser?type="+e})},clear:function(){this.$store.commit("changeDrawe",!1)}}};e.default=u}).call(this,r("543d")["default"])},"930e":function(t,e,r){"use strict";var n=r("0d6e"),i=r.n(n);i.a},"9b32":function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.isDrawe?this.List.length:null);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},e77f:function(t,e,r){"use strict";r.r(e);var n=r("409f"),i=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/drawer/drawer-create-component',
|
||||
{
|
||||
'components/drawer/drawer-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("e76e"))
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("30cd"))
|
||||
})
|
||||
},
|
||||
[['components/drawer/drawer-create-component']]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="data-v-66b9de77"><block wx:if="{{isDrawe}}"><view class="wrapper data-v-66b9de77"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="bg data-v-66b9de77" bindtap="__e"></view><view class="wrapper_box data-v-66b9de77"><view class="top data-v-66b9de77" style="{{'background:'+(appTheme)+';'}}"><block wx:if="{{userinfo.headimg}}"><image class="headimage mt-10 data-v-66b9de77" src="{{userinfo.headimg}}"></image></block><view class="overflow data-v-66b9de77">{{userinfo.nickname||userinfo.name}}</view></view><view class="drawerList data-v-66b9de77"><block wx:if="{{List.length}}"><view class="data-v-66b9de77"><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-66b9de77" bindtap="__e"><block wx:if="{{item.headimg}}"><image class="image1 data-v-66b9de77" src="{{item.headimg}}"></image></block><view class="right data-v-66b9de77"><view class="name data-v-66b9de77"><view class="overflow data-v-66b9de77">{{''+item.name+''}}</view><block wx:if="{{item.id==userinfo.familyid}}"><view class="dangqian data-v-66b9de77">当前</view></block></view><view class="info data-v-66b9de77"><view class="data-v-66b9de77">{{item.mage}}</view><view class="data-v-66b9de77">{{item.sex==0?'未知':item.sex==1?'男':'女'}}</view><view class="data-v-66b9de77">{{item.type}}</view></view></view></view></block></view></block><view class="add data-v-66b9de77"><view data-event-opts="{{[['tap',[['addInfo',['add']]]]]}}" bindtap="__e" class="data-v-66b9de77">+</view></view></view></view></view></block></view>
|
||||
<view class="data-v-8fc43818"><block wx:if="{{isDrawe}}"><view class="wrapper data-v-8fc43818"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="bg data-v-8fc43818" bindtap="__e"></view><view class="wrapper_box data-v-8fc43818"><view class="top data-v-8fc43818" style="{{'background:'+(appTheme)+';'}}"><block wx:if="{{userinfo.headimg}}"><image class="headimage mt-10 data-v-8fc43818" src="{{userinfo.headimg}}"></image></block><view class="overflow data-v-8fc43818">{{userinfo.nickname||userinfo.name}}</view></view><view class="drawerList data-v-8fc43818"><block wx:if="{{$root.g0}}"><view class="data-v-8fc43818"><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-8fc43818" bindtap="__e"><block wx:if="{{item.headimg}}"><image class="image1 data-v-8fc43818" src="{{item.headimg}}"></image></block><view class="right data-v-8fc43818"><view class="name data-v-8fc43818"><view class="overflow data-v-8fc43818">{{''+item.name+''}}</view><block wx:if="{{item.id==userinfo.familyid}}"><view class="dangqian data-v-8fc43818">当前</view></block></view><view class="info data-v-8fc43818"><view class="data-v-8fc43818">{{item.mage}}</view><view class="data-v-8fc43818">{{item.sex==0?'未知':item.sex==1?'男':'女'}}</view><view class="data-v-8fc43818">{{item.type}}</view></view></view></view></block></view></block><view class="add data-v-8fc43818"><view data-event-opts="{{[['tap',[['addInfo',['add']]]]]}}" bindtap="__e" class="data-v-8fc43818">+</view></view></view></view></view></block></view>
|
||||
|
|
@ -1 +1 @@
|
|||
.wrapper.data-v-66b9de77{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.bg.data-v-66b9de77{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-66b9de77{width:220px;background-color:#fff;z-index:1000}@-webkit-keyframes uniDrawer-data-v-66b9de77{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes uniDrawer-data-v-66b9de77{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.list.data-v-66b9de77{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-66b9de77{width:100%;display:flex;justify-content:space-between}.name .overflow.data-v-66b9de77{width:60%}
|
||||
.wrapper.data-v-8fc43818{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.bg.data-v-8fc43818{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-8fc43818{width:220px;background-color:#fff;z-index:1000}@-webkit-keyframes uniDrawer-data-v-8fc43818{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes uniDrawer-data-v-8fc43818{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.list.data-v-8fc43818{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-8fc43818{width:100%;display:flex;justify-content:space-between}.name .overflow.data-v-8fc43818{width:60%}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mark-slide-list/mark-slide-list"],{1344:function(t,i,e){"use strict";var n=e("bd3e"),s=e.n(n);s.a},bb03: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){t.navigateTo({url:"/pageTwo/me/info?index="+JSON.stringify(i)})}}};i.default=e}).call(this,e("543d")["default"])},bd3e:function(t,i,e){},c44f:function(t,i,e){"use strict";e.r(i);var n=e("f744"),s=e("d1ff");for(var a in s)"default"!==a&&function(t){e.d(i,t,(function(){return s[t]}))}(a);e("1344");var r,l=e("f0c5"),o=Object(l["a"])(s["default"],n["b"],n["c"],!1,null,"7b0b3708",null,!1,n["a"],r);i["default"]=o.exports},d1ff:function(t,i,e){"use strict";e.r(i);var n=e("bb03"),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},f744: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=[]}}]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mark-slide-list/mark-slide-list"],{"000d":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},s=[]},"002f":function(t,i,e){"use strict";var n=e("0e3c"),s=e.n(n);s.a},"0e3c":function(t,i,e){},"418d":function(t,i,e){"use strict";(function(t){var n=e("4ea4");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=n(e("7037")),a={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=(0,s.default)(t);if("array"===e)i=[];else{if("object"!==e)return t;i={}}if("array"===e)for(var n=0,a=t.length;n<a;n++)i.push(this.clone(t[n]));else if("object"===e)for(var l in t)i[l]=this.clone(t[l]);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){t.navigateTo({url:"/pageTwo/me/info?index="+JSON.stringify(i)})}}};i.default=a}).call(this,e("543d")["default"])},8685:function(t,i,e){"use strict";e.r(i);var n=e("000d"),s=e("e9a6");for(var a in s)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(a);e("002f");var l=e("f0c5"),r=Object(l["a"])(s["default"],n["b"],n["c"],!1,null,"4df278e9",null,!1,n["a"],void 0);i["default"]=r.exports},e9a6:function(t,i,e){"use strict";e.r(i);var n=e("418d"),s=e.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=s.a}}]);
|
||||
;(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__("c44f"))
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("8685"))
|
||||
})
|
||||
},
|
||||
[['components/mark-slide-list/mark-slide-list-create-component']]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="container data-v-7b0b3708"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="slide-box data-v-7b0b3708"><view data-event-opts="{{[['touchstart',[['touchStart',['$event',index]]]],['touchend',[['touchEnd',['$event',index]]]],['touchmove',[['touchMove',['$event',index]]]],['tap',[['recover',[index]]]]]}}" class="slide-list data-v-7b0b3708" style="{{'transform:'+('translate3d('+item.slide_x+'px, 0, 0)')+';'}}" bindtouchstart="__e" bindtouchend="__e" bindtouchmove="__e" bindtap="__e"><view class="now-message-info data-v-7b0b3708" style="{{'width:'+(windowWidth+'px')+';'}}" hover-class="uni-item--hover" data-event-opts="{{[['tap',[['clickItemMethod',['$0'],[[['listData','',index]]]]]]]}}" bindtap="__e"><view class="list data-v-7b0b3708"><view class="{{['item','data-v-7b0b3708',type!=1?'leftChild':'']}}"><view class="time data-v-7b0b3708"><icon class="t-icon t-icon-shijian-mianxing-0 data-v-7b0b3708"></icon><text class="data-v-7b0b3708">{{item.createtime}}</text></view><view class="data-v-7b0b3708">{{item.weight}}<text class="data-v-7b0b3708">体重</text></view><view class="data-v-7b0b3708">{{item.bmi}}<text class="data-v-7b0b3708">BMI</text></view><view class="data-v-7b0b3708">{{item.fat_r}}<text class="data-v-7b0b3708">脂肪率</text></view><icon class="iconfont icon-arrow-right data-v-7b0b3708"></icon></view></view></view><view class="group-btn data-v-7b0b3708"><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-7b0b3708" style="{{'background:'+(value.background)+';'}}" bindtap="__e">{{''+value.title+''}}</view></block></view><view style="clear:both;" class="data-v-7b0b3708"></view></view><block wx:if="{{border}}"><view class="list-item-border data-v-7b0b3708"></view></block></view></block></view>
|
||||
<view class="container data-v-4df278e9"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="slide-box data-v-4df278e9"><view data-event-opts="{{[['touchstart',[['touchStart',['$event',index]]]],['touchend',[['touchEnd',['$event',index]]]],['touchmove',[['touchMove',['$event',index]]]],['tap',[['recover',[index]]]]]}}" class="slide-list data-v-4df278e9" style="{{'transform:'+('translate3d('+item.slide_x+'px, 0, 0)')+';'}}" bindtouchstart="__e" bindtouchend="__e" bindtouchmove="__e" bindtap="__e"><view class="now-message-info data-v-4df278e9" style="{{'width:'+(windowWidth+'px')+';'}}" hover-class="uni-item--hover" data-event-opts="{{[['tap',[['clickItemMethod',['$0'],[[['listData','',index]]]]]]]}}" bindtap="__e"><view class="list data-v-4df278e9"><view class="{{['item','data-v-4df278e9',type!=1?'leftChild':'']}}"><view class="time data-v-4df278e9"><icon class="t-icon t-icon-shijian-mianxing-0 data-v-4df278e9"></icon><text class="data-v-4df278e9">{{item.createtime}}</text></view><view class="data-v-4df278e9">{{item.weight}}<text class="data-v-4df278e9">体重</text></view><view class="data-v-4df278e9">{{item.bmi}}<text class="data-v-4df278e9">BMI</text></view><view class="data-v-4df278e9">{{item.fat_r}}<text class="data-v-4df278e9">脂肪率</text></view><icon class="iconfont icon-arrow-right data-v-4df278e9"></icon></view></view></view><view class="group-btn data-v-4df278e9"><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-4df278e9" style="{{'background:'+(value.background)+';'}}" bindtap="__e">{{''+value.title+''}}</view></block></view><view style="clear:both;" class="data-v-4df278e9"></view></view><block wx:if="{{border}}"><view class="list-item-border data-v-4df278e9"></view></block></view></block></view>
|
||||
|
|
@ -1 +1 @@
|
|||
.container .slide-box.data-v-7b0b3708{width:100%;overflow:hidden}.container .slide-box .list-item-border.data-v-7b0b3708{width:100%}.container .slide-box .slide-list.data-v-7b0b3708{transition:all .1s;transition-timing-function:ease-out;min-width:200%}.container .slide-box .slide-list .now-message-info.data-v-7b0b3708{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-7b0b3708{border-radius:10rpx;width:100rpx;height:100rpx;float:left}.container .slide-box .slide-list .now-message-info .icon-circle.data-v-7b0b3708{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-7b0b3708{float:left;margin-left:25rpx;margin-right:30rpx}.container .slide-box .slide-list .now-message-info .list-right .list-title.data-v-7b0b3708{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-7b0b3708{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-7b0b3708{float:right;position:absolute;right:30rpx;color:#a9a9a9}.container .slide-box .slide-list .group-btn.data-v-7b0b3708{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-7b0b3708{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-7b0b3708{background-color:#c4c7cd}.container .slide-box .slide-list .group-btn .removeM.data-v-7b0b3708{background-color:#ff3b32}.leftChild view.data-v-7b0b3708{width:18%}.leftChild .time.data-v-7b0b3708{width:32%!important}
|
||||
.container .slide-box.data-v-4df278e9{width:100%;overflow:hidden}.container .slide-box .list-item-border.data-v-4df278e9{width:100%}.container .slide-box .slide-list.data-v-4df278e9{transition:all .1s;transition-timing-function:ease-out;min-width:200%}.container .slide-box .slide-list .now-message-info.data-v-4df278e9{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-4df278e9{border-radius:10rpx;width:100rpx;height:100rpx;float:left}.container .slide-box .slide-list .now-message-info .icon-circle.data-v-4df278e9{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-4df278e9{float:left;margin-left:25rpx;margin-right:30rpx}.container .slide-box .slide-list .now-message-info .list-right .list-title.data-v-4df278e9{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-4df278e9{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-4df278e9{float:right;position:absolute;right:30rpx;color:#a9a9a9}.container .slide-box .slide-list .group-btn.data-v-4df278e9{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-4df278e9{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-4df278e9{background-color:#c4c7cd}.container .slide-box .slide-list .group-btn .removeM.data-v-4df278e9{background-color:#ff3b32}.leftChild view.data-v-4df278e9{width:18%}.leftChild .time.data-v-4df278e9{width:32%!important}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/message"],{4618:function(e,t,n){},"800e":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement;this._self._c},o=[]},8147:function(e,t,n){"use strict";var r=n("4618"),o=n.n(r);o.a},"871e":function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("9523")),c=n("26cb");function i(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}var u={data:function(){return{data:{}}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,c.mapState)(["configBox"])),mounted:function(){},methods:{handleServiceChat:function(){console.log("configBox",this.configBox),this.configBox.serviceappid?e.openCustomerServiceChat({extInfo:{url:this.configBox.serviceurl},corpId:this.configBox.serviceappid,success:function(e){}}):this.$tools.msg("小程序还未配置微信客服")}}};t.default=u}).call(this,n("bc2e")["default"])},af81:function(e,t,n){"use strict";n.r(t);var r=n("800e"),o=n("fa97");for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("8147");var i=n("f0c5"),u=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"2592109c",null,!1,r["a"],void 0);t["default"]=u.exports},fa97:function(e,t,n){"use strict";n.r(t);var r=n("871e"),o=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/message-create-component',
|
||||
{
|
||||
'components/message-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("af81"))
|
||||
})
|
||||
},
|
||||
[['components/message-create-component']]
|
||||
]);
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view data-event-opts="{{[['tap',[['handleServiceChat',['$event']]]]]}}" class="message data-v-2592109c" bindtap="__e"><view class="info-msg data-v-2592109c"><image src="/static/mmm.png" class="data-v-2592109c"></image><text class="data-v-2592109c">咨询</text></view></view>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.message.data-v-2592109c{position:fixed;top:33%;z-index:9999;right:10px;background:#3967d6;width:45px;height:45px;padding:2px;border-radius:50%;color:#fff;font-size:12px}.message .info-msg.data-v-2592109c{display:flex;justify-content:center;align-content:center;flex-wrap:wrap}.message icon.data-v-2592109c{font-size:18px}.message image.data-v-2592109c{width:22px;height:22px;margin-top:3px}.message text.data-v-2592109c{width:100%;display:inline-block;text-align:center}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ren-calendar/ren-calendar"],{"11d7":function(t,e,n){"use strict";var a=n("7143"),o=n.n(a);o.a},2400: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}(),u=7-(h+r)%7;7==u&&(u=0);for(var c=1;c<=h;c++)n.push({date:this.formatNum(i-h+c),day:s+c-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<=u;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"])},"39af":function(t,e,n){"use strict";n.r(e);var a=n("2400"),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},7143:function(t,e,n){},"9be4":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=[]},e6b2:function(t,e,n){"use strict";n.r(e);var a=n("9be4"),o=n("39af");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("11d7");var i,s=n("f0c5"),h=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"e1d267b8",null,!1,a["a"],i);e["default"]=h.exports}}]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ren-calendar/ren-calendar"],{"0916":function(t,e,n){"use strict";var a=n("f070"),o=n.n(a);o.a},"38f1":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(),i="星期"+["日","一","二","三","四","五","六"][o],r={date:e+"-"+this.formatNum(n+1)+"-"+this.formatNum(a),week:i};return r},monthDay:function(t,e){var n=[],a=Number(e),o=new Date(t,a-1,1).getDay(),i=new Date(t,a,0).getDate(),r=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+i)%7;7==c&&(c=0);for(var u=1;u<=h;u++)n.push({date:this.formatNum(r-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<=i;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:(i+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,"/")),i=o.getDay();return 0!=i&&6!=i},isFutureDay:function(t,e,n){var a="".concat(t,"/").concat(e,"/").concat(n),o=new Date(a.replace(/-/g,"/")),i=o.getTime(),r=(new Date).getTime();return i>r},isMarkDay:function(t,e,n){for(var a=!1,o=0;o<this.markDays.length;o++){var i="".concat(t,"-").concat(e,"-").concat(n);if(this.markDays[o]==i){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(),i=new Date(n).getDay(),r="星期"+["日","一","二","三","四","五","六"][i],s={date:n,week:r};if(!t.isCurM)return!1;if(a>o){if(this.disabledAfter)return console.log("未来日期不可选"),!1;this.choose=n,this.$emit("onDayClick",s)}else this.choose=n,this.$emit("onDayClick",s);console.log(s)},changYearMonth:function(t,e){this.dates=this.monthDay(t,e),this.y=t,this.m=e},changeMonth:function(e){t.getStorageSync("token")?("pre"==e?(this.m+1==2?(this.m=12,this.y=this.y-1):this.m=this.m-1,this.month=this.$tools.getMonth(this.month,-1),this.$emit("onMonthClickPre",this.month)):(this.m+1==13?(this.m=1,this.y=this.y+1):this.m=this.m+1,this.month=this.$tools.getMonth(this.month,1),this.$emit("onMonthClickPre",this.month)),this.dates=this.monthDay(this.y,this.m)):this.$store.commit("changeUserLogin",!0)}}};e.default=n}).call(this,n("543d")["default"])},"57e4":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=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),i=t.isWorkDay(e.year,e.month,e.date),r=Number(e.date),s=t.isMarkDay(e.year,e.month,e.date)&&e.isCurM;return{$orig:a,m1:o,m2:i,m3:r,m4:s}}));t.$mp.data=Object.assign({},{$root:{m0:n,l0:a}})},o=[]},"880d":function(t,e,n){"use strict";n.r(e);var a=n("38f1"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"90ea":function(t,e,n){"use strict";n.r(e);var a=n("57e4"),o=n("880d");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("0916");var r=n("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"8f13dbbc",null,!1,a["a"],void 0);e["default"]=s.exports},f070:function(t,e,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/ren-calendar/ren-calendar-create-component',
|
||||
{
|
||||
'components/ren-calendar/ren-calendar-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("e6b2"))
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("90ea"))
|
||||
})
|
||||
},
|
||||
[['components/ren-calendar/ren-calendar-create-component']]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<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>
|
||||
<view class="calendar-wrapper data-v-8f13dbbc"><view class="header data-v-8f13dbbc"><view data-event-opts="{{[['tap',[['changeMonth',['pre']]]]]}}" class="pre data-v-8f13dbbc" bindtap="__e"><icon class="iconfont icon-arrow-left data-v-8f13dbbc"></icon></view><view class="data-v-8f13dbbc">{{y+'年'+$root.m0+'月'}}</view><view data-event-opts="{{[['tap',[['changeMonth',['next']]]]]}}" class="next data-v-8f13dbbc" bindtap="__e"><icon class="iconfont icon-arrow-right data-v-8f13dbbc"></icon></view></view><view class="week data-v-8f13dbbc"><block wx:for="{{weekDay}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="week-day data-v-8f13dbbc">{{item}}</view></block></view><view class="{{['content0','data-v-8f13dbbc',(!monthOpen)?'hide':'']}}" style="{{'height:'+(height)+';'}}"><view class="days data-v-8f13dbbc" 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-8f13dbbc"><view data-event-opts="{{[['tap',[['selectOne',['$0','$event'],[[['dates','',index]]]]]]]}}" class="{{['day','data-v-8f13dbbc',(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-8f13dbbc"></view></block></view></block></view></view><block wx:if="{{collapsible}}"><image class="{{['weektoggle','data-v-8f13dbbc',(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-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-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}
|
||||
.calendar-wrapper.data-v-8f13dbbc{color:#bbb7b7;border-radius:10px;font-size:28rpx;text-align:center;background-color:#fff;padding-bottom:10rpx}.calendar-wrapper .header.data-v-8f13dbbc{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-8f13dbbc,
|
||||
.calendar-wrapper .header .next.data-v-8f13dbbc{color:#fca82d;font-size:28rpx}.calendar-wrapper .week.data-v-8f13dbbc{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-8f13dbbc{flex:1}.calendar-wrapper .content0.data-v-8f13dbbc{position:relative;overflow:hidden;transition:height .4s ease}.calendar-wrapper .content0 .days.data-v-8f13dbbc{transition:top .3s;display:flex;align-items:center;flex-wrap:wrap;position:relative}.calendar-wrapper .content0 .days .item.data-v-8f13dbbc{position:relative;display:block;height:80rpx;line-height:80rpx;width:calc(100% / 7)}.calendar-wrapper .content0 .days .item .day.data-v-8f13dbbc{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-8f13dbbc{background-color:#fca82d;color:#fff}.calendar-wrapper .content0 .days .item .day.nolm.data-v-8f13dbbc{color:#fff;opacity:.3}.calendar-wrapper .content0 .days .item .isWorkDay.data-v-8f13dbbc{color:#42464a}.calendar-wrapper .content0 .days .item .notSigned.data-v-8f13dbbc{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-8f13dbbc{color:#fff;background-color:#a8c0ff}.calendar-wrapper .content0 .days .item .workDay.data-v-8f13dbbc{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-8f13dbbc{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-8f13dbbc{height:80rpx!important}.calendar-wrapper .weektoggle.data-v-8f13dbbc{width:85rpx;height:32rpx;position:relative;bottom:-42rpx}.calendar-wrapper .weektoggle.down.data-v-8f13dbbc{-webkit-transform:rotate(180deg);transform:rotate(180deg);bottom:0}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/signup/signup"],{"1d0c":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=[]},"822a":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},endDate:function(){return this.$tools.getDate("start")}}),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){0==e.code&&t.$store.commit("changeMeasureResult",e.data),t.$store.dispatch("getUserInfo",{familyid:t.userInfo.familyid}),t.$store.dispatch("getFamilyList")}))}}};e.default=s},d373:function(t,e,n){"use strict";n.r(e);var r=n("822a"),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},f9e5:function(t,e,n){"use strict";n.r(e);var r=n("1d0c"),i=n("d373");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var u,s=n("f0c5"),a=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"21058072",null,!1,r["a"],u);e["default"]=a.exports}}]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/signup/signup"],{"1b52":function(t,e,n){"use strict";n.r(e);var r=n("5771"),i=n("d6d6");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var s=n("f0c5"),u=Object(s["a"])(i["default"],r["b"],r["c"],!1,null,"12b34212",null,!1,r["a"],void 0);e["default"]=u.exports},5771:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},i=[]},"69f5":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("9523")),o=n("26cb");function s(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 u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a={data:function(){return{info:{height:"",birthday:"",sex:0},ageArr:[]}},computed:u(u({},(0,o.mapState)(["user","isedit"])),{},{userInfo:function(){return this.user},endDate:function(){return this.$tools.getDate("start")}}),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(){this.info.sex?this.info.height?this.info.birthday?(this.$store.commit("changeEdit",!1),this.getResult()):this.$tools.msg("请选择出生日期"):this.$tools.msg("请选择身高"):this.$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){0==e.code&&t.$store.commit("changeMeasureResult",e.data),t.$store.dispatch("getUserInfo",{familyid:t.userInfo.familyid}),t.$store.dispatch("getFamilyList")}))}}};e.default=a},d6d6:function(t,e,n){"use strict";n.r(e);var r=n("69f5"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/signup/signup-create-component',
|
||||
{
|
||||
'components/signup/signup-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("f9e5"))
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("1b52"))
|
||||
})
|
||||
},
|
||||
[['components/signup/signup-create-component']]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<block wx:if="{{isedit}}"><view class="wrapper data-v-21058072"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-21058072" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-21058072" catchtap="__e"><view class="title data-v-21058072">健康资料</view><view class="editem data-v-21058072"><view class="name data-v-21058072">性别</view><view data-event-opts="{{[['tap',[['selectsex',[1]]]]]}}" class="radio mr-10 data-v-21058072" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-21058072',info.sex==1?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-21058072">男</view></view><view data-event-opts="{{[['tap',[['selectsex',[2]]]]]}}" class="radio data-v-21058072" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-21058072',info.sex==2?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-21058072">女</view></view></view><view class="editem data-v-21058072"><view class="name data-v-21058072">身高</view><view class="right data-v-21058072"><input type="digit" placeholder="请输入身高" data-event-opts="{{[['input',[['__set_model',['$0','height','$event',[]],['info']]]]]}}" value="{{info.height}}" bindinput="__e" class="data-v-21058072"/>cm</view></view><view class="editem data-v-21058072"><view class="name data-v-21058072">出生日期</view><view class="right data-v-21058072"><picker class="f-r data-v-21058072" mode="date" end="{{endDate}}" value="{{info.birthday}}" data-event-opts="{{[['change',[['onBirthdayArr',['$event']]]]]}}" bindchange="__e"><view class="uni-input data-v-21058072">{{(info.birthday?info.birthday:"请选择")+''}}<icon class="iconfont icon-arrow-down data-v-21058072"></icon></view></picker></view></view><view class="tips data-v-21058072">请准确填写信息方便我们给您更精确的报告</view><view data-event-opts="{{[['tap',[['handleCloseClick',['$event']]]]]}}" class="btn mt-15 data-v-21058072" bindtap="__e">保存信息</view></view></view></view></block>
|
||||
<block wx:if="{{isedit}}"><view class="wrapper data-v-12b34212"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-12b34212" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-12b34212" catchtap="__e"><view class="title data-v-12b34212">健康资料</view><view class="editem data-v-12b34212"><view class="name data-v-12b34212">性别</view><view data-event-opts="{{[['tap',[['selectsex',[1]]]]]}}" class="radio mr-10 data-v-12b34212" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-12b34212',info.sex==1?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-12b34212">男</view></view><view data-event-opts="{{[['tap',[['selectsex',[2]]]]]}}" class="radio data-v-12b34212" bindtap="__e"><icon class="{{['iconfont','radioimg','data-v-12b34212',info.sex==2?'icon-radio':'icon-kongradio']}}"></icon><view class="ml-10 data-v-12b34212">女</view></view></view><view class="editem data-v-12b34212"><view class="name data-v-12b34212">身高</view><view class="right data-v-12b34212"><input type="digit" placeholder="请输入身高" data-event-opts="{{[['input',[['__set_model',['$0','height','$event',[]],['info']]]]]}}" value="{{info.height}}" bindinput="__e" class="data-v-12b34212"/>cm</view></view><view class="editem data-v-12b34212"><view class="name data-v-12b34212">出生日期</view><view class="right data-v-12b34212"><picker class="f-r data-v-12b34212" mode="date" end="{{endDate}}" value="{{info.birthday}}" data-event-opts="{{[['change',[['onBirthdayArr',['$event']]]]]}}" bindchange="__e"><view class="uni-input data-v-12b34212">{{(info.birthday?info.birthday:"请选择")+''}}<icon class="iconfont icon-arrow-down data-v-12b34212"></icon></view></picker></view></view><view class="tips data-v-12b34212">请准确填写信息方便我们给您更精确的报告</view><view data-event-opts="{{[['tap',[['handleCloseClick',['$event']]]]]}}" class="btn mt-15 data-v-12b34212" bindtap="__e">保存信息</view></view></view></view></block>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/firstweight"],{"196e":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=[]},"29bc":function(t,e,r){},"3f78":function(t,e,r){"use strict";r.r(e);var n=r("196e"),i=r("4eaf");for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("b586");var a,c=r("f0c5"),u=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"58245898",null,!1,n["a"],a);e["default"]=u.exports},"4eaf":function(t,e,r){"use strict";r.r(e);var n=r("960a"),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},"960a":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 c={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=c}).call(this,r("543d")["default"])},b586:function(t,e,r){"use strict";var n=r("29bc"),i=r.n(n);i.a}}]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/firstweight"],{"0ff3":function(t,e,r){},"25c3":function(t,e,r){"use strict";var n=r("0ff3"),i=r.n(n);i.a},"3fed":function(t,e,r){"use strict";(function(t){var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r("9523")),o=r("26cb");function c(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?c(Object(r),!0).forEach((function(e){(0,i.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={data:function(){return{regTime:"",weight:""}},computed:a(a({},(0,o.mapState)(["user","isFirst"])),{},{endDate:function(){return this.$tools.getDate("start")}}),methods:{handleTarget:function(){var t=this;t.user.firstresulttime?t.weight?t.$model.getfirstweight({familyid:t.user.familyid,time:t.regTime?t.regTime: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("getUserInfo",{familyid:t.user.familyid}),t.regTime="",t.weight="")})):t.$tools.msg("请输入测量体重"):t.$tools.msg("请选择测量日期")},bindDateChange:function(t){this.regTime=t.target.value},onTap:function(){this.weight="",this.regTime="",this.$store.commit("changeFirst",!1)},hideKeyboard:function(){t.hideKeyboard()}}};e.default=s}).call(this,r("543d")["default"])},6415:function(t,e,r){"use strict";r.r(e);var n=r("ad9c"),i=r("8588");for(var o in i)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("25c3");var c=r("f0c5"),a=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"530e058f",null,!1,n["a"],void 0);e["default"]=a.exports},8588:function(t,e,r){"use strict";r.r(e);var n=r("3fed"),i=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},ad9c:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},i=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/target/firstweight-create-component',
|
||||
{
|
||||
'components/target/firstweight-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3f78"))
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("6415"))
|
||||
})
|
||||
},
|
||||
[['components/target/firstweight-create-component']]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<block wx:if="{{isFirst}}"><view class="wrapper data-v-58245898"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-58245898" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-58245898" catchtap="__e"><view class="title data-v-58245898">初始体重</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-58245898" bindtap="__e"><view class="name data-v-58245898">日期</view><view class="right data-v-58245898"><picker mode="date" value="{{user.firstresulttime}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-58245898"><view class="text data-v-58245898">{{(regTime?regTime:user.firstresulttime?user.firstresulttime:"请选择")+''}}</view></picker></view></view><view class="editem data-v-58245898"><view class="name data-v-58245898">体重</view><view class="right data-v-58245898"><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-58245898"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-58245898" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-58245898" bindtap="__e">确定</view></view></view></view></block>
|
||||
<block wx:if="{{isFirst}}"><view class="wrapper data-v-530e058f"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-530e058f" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-530e058f" catchtap="__e"><view class="title data-v-530e058f">初始体重</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-530e058f" bindtap="__e"><view class="name data-v-530e058f">日期</view><view class="right data-v-530e058f"><picker mode="date" value="{{regTime?regTime:user.firstresulttime}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-530e058f"><view class="text data-v-530e058f">{{(regTime?regTime:user.firstresulttime?user.firstresulttime:"请选择")+''}}</view></picker></view></view><view class="editem data-v-530e058f"><view class="name data-v-530e058f">体重</view><view class="right data-v-530e058f"><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-530e058f"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-530e058f" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-530e058f" bindtap="__e">确定</view></view></view></view></block>
|
||||
|
|
@ -1 +1 @@
|
|||
.btn.data-v-58245898{width:40%;float:right;margin-top:15px}.edit.data-v-58245898{top:20%}.close.data-v-58245898{background:#dfdfdf!important;float:left}
|
||||
.btn.data-v-530e058f{width:40%;float:right;margin-top:15px}.edit.data-v-530e058f{top:20%}.close.data-v-530e058f{background:#dfdfdf!important;float:left}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/target/manuaRecord"],{"17fd":function(e,t,r){},3610:function(e,t,r){"use strict";r.r(t);var n=r("ef9b"),i=r("e5b6");for(var o in i)"default"!==o&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("93cd");var a,c=r("f0c5"),u=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"6948f702",null,!1,n["a"],a);t["default"]=u.exports},"5f55":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"])},"93cd":function(e,t,r){"use strict";var n=r("17fd"),i=r.n(n);i.a},e5b6:function(e,t,r){"use strict";r.r(t);var n=r("5f55"),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},ef9b: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"],{"07b4":function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r("9523")),o=r("26cb");function a(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={data:function(){return{regTime:"",weight:""}},computed:c(c({},(0,o.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=s}).call(this,r("543d")["default"])},"697d":function(e,t,r){},"6d5b":function(e,t,r){"use strict";var n=r("697d"),i=r.n(n);i.a},9600:function(e,t,r){"use strict";r.r(t);var n=r("c539"),i=r("bae7");for(var o in i)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(o);r("6d5b");var a=r("f0c5"),c=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"27527d5e",null,!1,n["a"],void 0);t["default"]=c.exports},bae7:function(e,t,r){"use strict";r.r(t);var n=r("07b4"),i=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},c539:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){}));var n=function(){var e=this.$createElement;this._self._c},i=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/target/manuaRecord-create-component',
|
||||
{
|
||||
'components/target/manuaRecord-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3610"))
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9600"))
|
||||
})
|
||||
},
|
||||
[['components/target/manuaRecord-create-component']]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<block wx:if="{{isRecord}}"><view class="wrapper data-v-6948f702"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-6948f702" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-6948f702" catchtap="__e"><view class="title data-v-6948f702">手动记录</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-6948f702" bindtap="__e"><view class="left data-v-6948f702">日期</view><view class="right data-v-6948f702"><picker mode="date" value="{{regTime}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-6948f702"><view class="text data-v-6948f702">{{regTime?regTime:"请选择"}}</view></picker></view></view><view class="editem data-v-6948f702"><view class="left data-v-6948f702">体重</view><view class="right data-v-6948f702"><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-6948f702"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-6948f702" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-6948f702" bindtap="__e">确定</view></view></view></view></block>
|
||||
<block wx:if="{{isRecord}}"><view class="wrapper data-v-27527d5e"><view data-event-opts="{{[['tap',[['onTap',['$event']]]]]}}" class="bg data-v-27527d5e" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="edit data-v-27527d5e" catchtap="__e"><view class="title data-v-27527d5e">手动记录</view><view data-event-opts="{{[['tap',[['hideKeyboard',['$event']]]]]}}" class="editem data-v-27527d5e" bindtap="__e"><view class="left data-v-27527d5e">日期</view><view class="right data-v-27527d5e"><picker mode="date" value="{{regTime}}" end="{{endDate}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-27527d5e"><view class="text data-v-27527d5e">{{regTime?regTime:"请选择"}}</view></picker></view></view><view class="editem data-v-27527d5e"><view class="left data-v-27527d5e">体重</view><view class="right data-v-27527d5e"><input type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindinput="__e" class="data-v-27527d5e"/>kg</view></view><view data-event-opts="{{[['tap',[['onTap']]]]}}" class="btn close data-v-27527d5e" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['handleTarget',['$event']]]]]}}" class="btn data-v-27527d5e" bindtap="__e">确定</view></view></view></view></block>
|
||||