@ -0,0 +1,21 @@ | |||
.DS_Store | |||
node_modules | |||
/dist | |||
# local env files | |||
.env.local | |||
.env.*.local | |||
# Log files | |||
npm-debug.log* | |||
yarn-debug.log* | |||
yarn-error.log* | |||
# Editor directories and files | |||
.idea | |||
.vscode | |||
*.suo | |||
*.ntvs* | |||
*.njsproj | |||
*.sln | |||
*.sw? |
@ -0,0 +1,11 @@ | |||
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ | |||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 | |||
"version": "0.0", | |||
"configurations": [{ | |||
"type": "uniCloud", | |||
"default": { | |||
"launchtype": "remote" | |||
} | |||
} | |||
] | |||
} |
@ -0,0 +1,18 @@ | |||
<script> | |||
export default { | |||
onLaunch: function() { | |||
console.log('App Launch') | |||
}, | |||
onShow: function() { | |||
console.log('App Show') | |||
}, | |||
onHide: function() { | |||
console.log('App Hide') | |||
} | |||
} | |||
</script> | |||
<style lang="scss"> | |||
/*每个页面公共css */ | |||
@import "uview-ui/index.scss"; | |||
</style> |
@ -0,0 +1,408 @@ | |||
class Bluetooth { | |||
// 构造函数 | |||
constructor() { | |||
this.isOpenBle = false; | |||
this.isStop = false; | |||
this.deviceList = []; | |||
this.deviceId = ""; | |||
this.serviceId = ""; | |||
this.readId = ""; | |||
this.writeId = ""; | |||
this.notifyId = ""; | |||
this.indicateId = ""; | |||
this.valueChangeData = {}; | |||
// this.openBluetoothAdapter(); | |||
} | |||
// 弹出框封装 | |||
showToast(title) { | |||
uni.showToast({ | |||
title: title, | |||
icon: 'none', | |||
'duration': 2000 | |||
}); | |||
} | |||
// 判断初始化蓝牙状态 | |||
initTypes(code, errMsg) { | |||
switch (code) { | |||
case 10000: | |||
this.showToast('未初始化蓝牙适配器'); | |||
break; | |||
case 10001: | |||
this.showToast('请打开蓝牙后重试'); | |||
break; | |||
case 10002: | |||
this.showToast('没有找到指定设备'); | |||
break; | |||
case 10003: | |||
this.showToast('连接失败'); | |||
break; | |||
case 10004: | |||
this.showToast('没有找到指定服务'); | |||
break; | |||
case 10005: | |||
this.showToast('没有找到指定特征值'); | |||
break; | |||
case 10006: | |||
this.showToast('当前连接已断开'); | |||
break; | |||
case 10007: | |||
this.showToast('当前特征值不支持此操作'); | |||
break; | |||
case 10008: | |||
this.showToast('其余所有系统上报的异常'); | |||
break; | |||
case 10009: | |||
this.showToast('Android 系统特有,系统版本低于 4.3 不支持 BLE'); | |||
break; | |||
default: | |||
this.showToast(errMsg); | |||
} | |||
} | |||
// 初始化蓝牙模块 | |||
openBluetoothAdapter(callback) { | |||
uni.openBluetoothAdapter({ | |||
success: res => { | |||
console.log('初始化>>>res', res) | |||
this.isOpenBle = true; | |||
this.initTypes(0, "初始化蓝牙模块成功"); | |||
if (typeof callback == "function") | |||
this.onBluetoothDeviceFound(callback); | |||
}, | |||
fail: err => { | |||
console.log('初始化>>>err', err) | |||
this.initTypes(err.errCode); | |||
} | |||
}); | |||
} | |||
// 关闭蓝牙模块 | |||
closeBluetoothAdapter() { | |||
uni.closeBluetoothAdapter({ | |||
success: res => { | |||
console.log(res) | |||
} | |||
}); | |||
} | |||
// 获取本机蓝牙适配器状态 | |||
getBluetoothAdapterState() { | |||
return new Promise((resolve, reject) => { | |||
uni.getBluetoothAdapterState({ | |||
success: res => { | |||
console.log(JSON.stringify(res)); | |||
// this.adapterState = res; | |||
resolve(res); | |||
}, | |||
fail: err => { | |||
console.log('获取本机蓝牙适配器状态失败,错误码:' + err.errCode); | |||
reject(err); | |||
} | |||
}); | |||
}); | |||
} | |||
// 搜索蓝牙设备 | |||
startBluetoothDevicesDiscovery() { | |||
if (!this.isOpenBle) { | |||
this.showToast(`初始化蓝牙模块失败`) | |||
return; | |||
} | |||
let self = this; | |||
uni.showLoading({ | |||
title: '蓝牙搜索中' | |||
}) | |||
return new Promise((resolve, reject) => { | |||
setTimeout(() => { | |||
uni.startBluetoothDevicesDiscovery({ | |||
success: res => { | |||
resolve(res) | |||
}, | |||
fail: res => { | |||
self.showToast(`搜索设备失败` + JSON.stringify(err)); | |||
reject(err); | |||
} | |||
}) | |||
}, 300); | |||
}); | |||
} | |||
// 停止搜索蓝牙设备 | |||
stopBluetoothDevicesDiscovery() { | |||
uni.stopBluetoothDevicesDiscovery({ | |||
fail: err => { | |||
this.showToast(`停止搜索蓝牙设备失败` + JSON.stringify(err)); | |||
}, | |||
complete: res => { | |||
uni.hideLoading(); | |||
} | |||
}) | |||
} | |||
// 发现外围设备 | |||
onBluetoothDeviceFound(callback) { | |||
console.log('发现外围设备') | |||
// 侦听发现的设备 | |||
uni.onBluetoothDeviceFound(devices => { | |||
console.log('开始监听寻找到新设备的事件'); | |||
this.getBluetoothDevices(callback); | |||
}); | |||
} | |||
// 获取在蓝牙模块生效期间所有已发现的蓝牙设备。包括已经和本机处于连接状态的设备。 | |||
getBluetoothDevices(callback) { | |||
uni.getBluetoothDevices({ | |||
success: res => { | |||
// self.newDeviceLoad = false; | |||
console.log('获取蓝牙设备成功:', res); | |||
this.deviceList = res.devices; | |||
callback(); | |||
}, | |||
fail: err => { | |||
console.log('获取蓝牙设备错误,错误码:', err); | |||
if (err.errCode !== 0) { | |||
this.initTypes(err.errCode); | |||
} | |||
} | |||
}); | |||
} | |||
//获取蓝牙设备所有服务(service) | |||
getBLEDeviceServices(callback) { | |||
let _serviceList = []; | |||
let deviceId = this.deviceId; | |||
let self = this; | |||
setTimeout(() => { //解决app不能得到服务的bug,500-1000 | |||
uni.getBLEDeviceServices({ | |||
deviceId, | |||
success: res => { | |||
for (let service of res.services) { | |||
if (service.isPrimary) { | |||
_serviceList.push(service); | |||
} | |||
} | |||
// console.log("_serviceList: " + JSON.stringify(_serviceList)); | |||
if (typeof callback == "function") callback(_serviceList) | |||
}, | |||
fail: err => { | |||
self.showToast(`获取设备Services失败:` + JSON.stringify(err)); | |||
}, | |||
complete: res => { | |||
uni.hideLoading(); | |||
} | |||
}); | |||
}, 500); | |||
} | |||
//获取蓝牙设备某个服务中所有特征值(characteristic) | |||
getBLEDeviceCharacteristics(serviceId) { | |||
let deviceId = this.deviceId; | |||
this.serviceId = serviceId; | |||
let self = this; | |||
return new Promise((resolve, reject) => { | |||
uni.getBLEDeviceCharacteristics({ | |||
deviceId, | |||
serviceId, | |||
success: res => { | |||
for (let _obj of res.characteristics) { | |||
//获取readId | |||
if (_obj.properties.read) { | |||
self.readId = _obj.uuid; | |||
} else { | |||
self.readId = '' | |||
} | |||
// uni.setStorageSync('readId', self.readId); | |||
//获取writeId | |||
if (_obj.properties.write) { | |||
self.writeId = _obj.uuid; | |||
} else { | |||
self.writeId = '' | |||
} | |||
// uni.setStorageSync('writeId', self.writeId); | |||
//获取notifyId | |||
if (_obj.properties.notify) { | |||
self.notifyId = _obj.uuid; | |||
} else { | |||
self.notifyId = '' | |||
} | |||
// uni.setStorageSync('notifyId', self.notifyId); | |||
//获取indicateId | |||
if (_obj.properties.indicate) { | |||
self.indicateId = _obj.uuid; | |||
} else { | |||
self.indicateId = '' | |||
} | |||
// uni.setStorageSync('indicateId', self.indicateId); | |||
} | |||
let result = { | |||
'readId': self.readId, | |||
'writeId': self.writeId, | |||
'notifyId': self.notifyId, | |||
'indicateId': self.indicateId | |||
}; | |||
resolve(result) | |||
}, | |||
fail: err => { | |||
self.showToast(`getBLEDeviceCharacteristics` + JSON.stringify(err)); | |||
reject(err); | |||
} | |||
}) | |||
}); | |||
} | |||
// 连接低功耗蓝牙 | |||
createBLEConnection(deviceId, callback) { | |||
let self = this; | |||
this.deviceId = deviceId; | |||
this.isStop = false; | |||
uni.showLoading({ | |||
mask: true, | |||
title: '设备连接中,请稍候...' | |||
}) | |||
uni.createBLEConnection({ | |||
deviceId, | |||
success: res => { | |||
if (typeof callback == "function") callback(); | |||
// this.onBLEConnectionStateChange(callback) | |||
}, | |||
fail: err => { | |||
self.showToast(`连接蓝牙设备失败` + JSON.stringify(err)); | |||
}, | |||
complete: res => { | |||
uni.hideLoading(); | |||
} | |||
}) | |||
} | |||
// 断开与低功耗蓝牙设备的连接 | |||
closeBLEConnection() { | |||
let deviceId = this.deviceId; | |||
this.isStop = true; | |||
uni.closeBLEConnection({ | |||
deviceId, | |||
success(res) { | |||
console.log(res) | |||
} | |||
}) | |||
} | |||
// 监听低功耗蓝牙连接状态的改变事件。包括开发者主动连接或断开连接,设备丢失,连接异常断开等等 | |||
onBLEConnectionStateChange(callback) { | |||
uni.onBLEConnectionStateChange(res => { | |||
// 该方法回调中可以用于处理连接意外断开等异常情况 | |||
console.log(`蓝牙连接状态 -------------------------->`); | |||
console.log(JSON.stringify(res)); | |||
if (!res.connected) { | |||
if (this.isStop) return; | |||
console.log('断开低功耗蓝牙成功:'); | |||
// this.searchLoad = false; | |||
// this.equipment = []; | |||
// this.servicesData = []; | |||
// this.characteristicsData = []; | |||
this.valueChangeData = {}; | |||
this.showToast('已经断开当前蓝牙连接'); | |||
if (typeof callback == "function") callback(); | |||
} | |||
}); | |||
} | |||
// 监听低功耗蓝牙设备的特征值变化事件。必须先启用 notifyBLECharacteristicValueChange 接口才能接收到设备推送的 notification。 | |||
onBLECharacteristicValueChange() { | |||
// 必须在这里的回调才能获取 | |||
uni.onBLECharacteristicValueChange(characteristic => { | |||
console.log('监听低功耗蓝牙设备的特征值变化事件成功'); | |||
console.log(JSON.stringify(characteristic)); | |||
this.valueChangeData = characteristic; | |||
}); | |||
} | |||
// 读取低功耗蓝牙设备的特征值的二进制数据值。注意:必须设备的特征值支持 read 才可以成功调用 | |||
readBLECharacteristicValue() { | |||
let deviceId = this.deviceId; | |||
let serviceId = this.serviceId; | |||
let characteristicId = this.notifyId; | |||
console.log(deviceId); | |||
console.log(serviceId); | |||
console.log(characteristicId); | |||
uni.readBLECharacteristicValue({ | |||
// 这里的 deviceId 需要已经通过 createBLEConnection 与对应设备建立链接 | |||
deviceId, | |||
// 这里的 serviceId 需要在 getBLEDeviceServices 接口中获取 | |||
serviceId, | |||
// 这里的 characteristicId 需要在 getBLEDeviceCharacteristics 接口中获取 | |||
characteristicId, | |||
success: res => { | |||
console.log('读取设备数据值成功'); | |||
console.log(JSON.stringify(res)); | |||
this.notifyBLECharacteristicValueChange(); | |||
}, | |||
fail(e) { | |||
console.log('读取设备数据值失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
this.initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
this.onBLECharacteristicValueChange(); | |||
} | |||
// 向低功耗蓝牙设备特征值中写入二进制数据 | |||
writeBLECharacteristicValue(buffer) { | |||
let deviceId = this.deviceId; | |||
let serviceId = this.serviceId; | |||
let characteristicId = this.notifyId; | |||
// console.log("this: " + JSON.stringify(this)); | |||
return new Promise((resolve, reject) => { | |||
uni.writeBLECharacteristicValue({ | |||
deviceId, | |||
serviceId, | |||
characteristicId, | |||
value: buffer, | |||
success: res => { | |||
console.log('message发送成功:)', JSON.stringify(res)); | |||
resolve(res); | |||
}, | |||
fail: err => { | |||
console.log('message发送失败:(', JSON.stringify(err)); | |||
reject(err); | |||
} | |||
}); | |||
}); | |||
} | |||
// 启用低功耗蓝牙设备特征值变化时的 notify 功能 | |||
notifyBLECharacteristicValue() { | |||
let deviceId = this.deviceId; | |||
let serviceId = this.serviceId; | |||
let characteristicId = this.notifyId; | |||
uni.notifyBLECharacteristicValueChange({ | |||
state: true, // 启用 notify 功能 | |||
deviceId, | |||
serviceId, | |||
characteristicId, | |||
success: res => { | |||
uni.onBLECharacteristicValueChange((res) => { | |||
console.log('特征值变化:', res) | |||
}); | |||
}, | |||
fail: res => { | |||
console.log('notifyBLECharacteristicValueChange 失败:' + res.errMsg); | |||
} | |||
}); | |||
} | |||
//若APP在之前已有搜索过某个蓝牙设备,并成功建立连接,可直接传入之前搜索获取的 deviceId 直接尝试连接该设备,无需进行搜索操作。 | |||
reconnect() { | |||
(async () => { | |||
try { | |||
this.deviceId = this.deviceId || uni.getStorageSync("deviceId"); | |||
this.serviceId = this.serviceId || uni.getStorageSync("serviceId"); | |||
let result1 = await this.createBLEConnection(); | |||
console.log("createBLEConnection: " + JSON.stringify(result1)); | |||
let result2 = await this.getBLEDeviceServices(); | |||
console.log("getBLEDeviceServices: " + JSON.stringify(result2)); | |||
let result3 = await this.getBLEDeviceCharacteristics(); | |||
console.log("getBLEDeviceCharacteristics: " + JSON.stringify(result3)); | |||
// this.writeId = uni.getStorageSync("writeId"); | |||
// this.notifyId = uni.getStorageSync("notifyId"); | |||
} catch (err) { | |||
console.log("err: " + JSON.stringify(err)); | |||
} | |||
})(); | |||
} | |||
} | |||
export default Bluetooth; |
@ -0,0 +1,12 @@ | |||
import Vue from 'vue' | |||
import App from './App' | |||
import uView from "uview-ui"; | |||
Vue.use(uView); | |||
Vue.config.productionTip = false | |||
App.mpType = 'app' | |||
const app = new Vue({ | |||
...App | |||
}) | |||
app.$mount() |
@ -0,0 +1,73 @@ | |||
{ | |||
"name" : "BLEApp", | |||
"appid" : "__UNI__EBA7739", | |||
"description" : "", | |||
"versionName" : "1.0.0", | |||
"versionCode" : "100", | |||
"transformPx" : false, | |||
/* 5+App特有相关 */ | |||
"app-plus" : { | |||
"usingComponents" : true, | |||
"nvueStyleCompiler" : "uni-app", | |||
"compilerVersion" : 3, | |||
"splashscreen" : { | |||
"alwaysShowBeforeRender" : true, | |||
"waiting" : true, | |||
"autoclose" : true, | |||
"delay" : 0 | |||
}, | |||
/* 模块配置 */ | |||
"modules" : {}, | |||
/* 应用发布信息 */ | |||
"distribute" : { | |||
/* android打包配置 */ | |||
"android" : { | |||
"permissions" : [ | |||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", | |||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", | |||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", | |||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>", | |||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", | |||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", | |||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", | |||
"<uses-permission android:name=\"android.permission.CAMERA\"/>", | |||
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", | |||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", | |||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", | |||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", | |||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", | |||
"<uses-feature android:name=\"android.hardware.camera\"/>", | |||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" | |||
] | |||
}, | |||
/* ios打包配置 */ | |||
"ios" : {}, | |||
/* SDK配置 */ | |||
"sdkConfigs" : {} | |||
} | |||
}, | |||
/* 快应用特有相关 */ | |||
"quickapp" : {}, | |||
/* 小程序特有相关 */ | |||
"mp-weixin" : { | |||
"appid" : "wx41fa0a30ee37260a", | |||
"setting" : { | |||
"urlCheck" : false, | |||
"es6" : true, | |||
"minified" : true | |||
}, | |||
"usingComponents" : true | |||
}, | |||
"mp-alipay" : { | |||
"usingComponents" : true | |||
}, | |||
"mp-baidu" : { | |||
"usingComponents" : true | |||
}, | |||
"mp-toutiao" : { | |||
"usingComponents" : true | |||
}, | |||
"uniStatistics" : { | |||
"enable" : false | |||
} | |||
} |
@ -0,0 +1,11 @@ | |||
{ | |||
"requires": true, | |||
"lockfileVersion": 1, | |||
"dependencies": { | |||
"uview-ui": { | |||
"version": "1.8.4", | |||
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.4.tgz", | |||
"integrity": "sha512-Zr+D5dFdNy6CdHQLBEXeGq/w0LkjxzBtsgaaDwLl0P58g67H7fBBDvy6AzWK/k0c7dwPYMBiK7I4Tr9p92+0DA==" | |||
} | |||
} | |||
} |
@ -0,0 +1,19 @@ | |||
{ | |||
"easycom": { | |||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" | |||
}, | |||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | |||
{ | |||
"path": "pages/index/index", | |||
"style": { | |||
"navigationBarTitleText": "配置" | |||
} | |||
} | |||
], | |||
"globalStyle": { | |||
"navigationBarTextStyle": "black", | |||
"navigationBarTitleText": "智能蓝牙控制宝", | |||
"navigationBarBackgroundColor": "#F8F8F8", | |||
"backgroundColor": "#F8F8F8" | |||
} | |||
} |
@ -0,0 +1,612 @@ | |||
<template> | |||
<view > | |||
<view class="content" v-if="!connected"> | |||
<u-icon class="logo" size="300" color="#808080" @click="scanDevice" name="scan"></u-icon> | |||
<view class="text-area"> | |||
<text class="title">{{title}}</text> | |||
</view> | |||
</view> | |||
<view v-else style="margin-top: 300rpx;padding-left: 10px;"> | |||
<u-row gutter="16"> | |||
<u-col span="7"> | |||
<view ><u-slider :height="20" @end="kiTovalue" v-model="valueki" step="10"></u-slider></view> | |||
</u-col> | |||
<u-col span="4" offset="1"> | |||
<u-number-box v-model="value" :min="0" :max="10" @change="valueToki"/> | |||
</u-col> | |||
</u-row> | |||
<u-row gutter="16" > | |||
<u-col span="3"> | |||
<u-button plain size="mini" type="success" @click="sendValue">确认发送</u-button> | |||
</u-col> | |||
<u-col span="3"> | |||
<u-button plain size="mini" type="error" @click="closeBLEConnection">断开连接</u-button> | |||
</u-col> | |||
<u-col span="3"> | |||
<u-button plain size="mini" type="warning" @click="writeBLECharacteristicValueString('getd')">获取开合度</u-button> | |||
</u-col> | |||
</u-row> | |||
</view> | |||
<u-modal @cancel='stopBluetoothDevicesDiscovery,show=false' title="提示" content="未搜索到设备,是否继续搜索" :show-cancel-button="true" @confirm="continueSearch()" v-model="searchLoad" > | |||
</u-modal> | |||
<u-toast ref="uToast" /> | |||
</view> | |||
</template> | |||
<script> | |||
export default { | |||
data() { | |||
return { | |||
searchLoad:false, | |||
valueki:0, | |||
value: 0, | |||
title: '扫描设备二维码', | |||
equipment: {}, | |||
connected: false, | |||
isStop: true, | |||
list: [], | |||
imei: '', | |||
item: [], | |||
idObject:{ | |||
serviceId:'', | |||
writeId:'', | |||
notifyId:'', | |||
}, | |||
timeSearch:null, | |||
}; | |||
}, | |||
onLoad() { | |||
this.onBLEConnectionStateChange(); | |||
}, | |||
onUnload:function(){ | |||
if(this.timeSearch) { | |||
clearTimeout(this.timeSearch) | |||
this.timeSearch = null | |||
} | |||
}, | |||
methods: { | |||
kiTovalue(){ | |||
this.value=this.valueki/10 | |||
}, | |||
valueToki(){ | |||
this.valueki=this.value*10 | |||
}, | |||
sendValue() { | |||
this.writeBLECharacteristicValueString('vals'+this.value) | |||
}, | |||
continueSearch(){ | |||
clearTimeout(this.timeSearch) | |||
this.timeSearch=setTimeout(() => { | |||
if(!this.searchLoad&&!this.connected){ | |||
this.searchLoad=true | |||
} | |||
}, 8000); | |||
uni.showToast({ | |||
title: '搜索设备中...', | |||
icon: 'loading', | |||
duration: 8000 | |||
}); | |||
this.startBluetoothDevicesDiscovery(); | |||
}, | |||
scanDevice() { | |||
uni.openBluetoothAdapter({ | |||
success: e => { | |||
var that = this | |||
uni.scanCode({ | |||
success: function(res) { | |||
let str1 = res.result.replace(';', ''); | |||
that.imei = str1 | |||
uni.showToast({ | |||
title: '搜索设备中...', | |||
icon: 'loading', | |||
duration: 8000 | |||
}); | |||
that.timeSearch=setTimeout(() => { | |||
if(!that.searchLoad&&!that.connected){ | |||
that.searchLoad=true | |||
} | |||
}, 8000); | |||
that.startBluetoothDevicesDiscovery(); | |||
}, | |||
fail: (res) => { | |||
/* this.$refs.uToast.show({ | |||
title: '已取消', | |||
type: 'error', | |||
}) */ | |||
} | |||
}); | |||
this.getBluetoothAdapterState(); | |||
}, | |||
fail: e => { | |||
console.log(e) | |||
console.log('初始化蓝牙失败,错误码:' + (e.errCode || e.errMsg)); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode, e.errMsg); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 初始化蓝牙设备 | |||
*/ | |||
openBluetoothAdapter() { | |||
uni.openBluetoothAdapter({ | |||
success: e => { | |||
console.log('初始化蓝牙成功:' + e.errMsg); | |||
console.log(JSON.stringify(e)); | |||
this.isStop = false; | |||
this.getBluetoothAdapterState(); | |||
}, | |||
fail: e => { | |||
console.log(e) | |||
console.log('初始化蓝牙失败,错误码:' + (e.errCode || e.errMsg)); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode, e.errMsg); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 开始搜索蓝牙设备 | |||
*/ | |||
startBluetoothDevicesDiscovery() { | |||
uni.startBluetoothDevicesDiscovery({ | |||
success: e => { | |||
this.onBluetoothDeviceFound(); | |||
}, | |||
fail: e => { | |||
console.log('搜索蓝牙设备失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 停止搜索蓝牙设备 | |||
*/ | |||
stopBluetoothDevicesDiscovery(types) { | |||
clearTimeout(this.timeSearch) | |||
uni.stopBluetoothDevicesDiscovery({ | |||
success: e => { | |||
console.log('停止搜索蓝牙设备:' + e.errMsg); | |||
}, | |||
fail: e => { | |||
console.log('停止搜索蓝牙设备失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 发现外围设备 | |||
*/ | |||
onBluetoothDeviceFound() { | |||
uni.onBluetoothDeviceFound(devices => { | |||
// this.$set(this.disabled, 3, false); | |||
this.getBluetoothDevices(); | |||
}); | |||
}, | |||
/** | |||
* 获取在蓝牙模块生效期间所有已发现的蓝牙设备。包括已经和本机处于连接状态的设备。 | |||
*/ | |||
getBluetoothDevices() { | |||
// this.list=[] | |||
let that = this | |||
let imei = that.imei | |||
uni.getBluetoothDevices({ | |||
success: res => { | |||
res.devices.forEach(device => { | |||
if (!device.name.indexOf('tpsl04v-' + imei.substr(imei.length - 6))) { | |||
uni.hideToast(); | |||
that.stopBluetoothDevicesDiscovery() | |||
that.equipment = device; | |||
that.createBLEConnection() | |||
return | |||
} else { | |||
//that.list.push(device) | |||
} | |||
}) | |||
}, | |||
fail: e => { | |||
console.log('获取蓝牙设备错误,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 获取本机蓝牙适配器状态 | |||
*/ | |||
getBluetoothAdapterState() { | |||
console.log('--->'); | |||
uni.getBluetoothAdapterState({ | |||
success: res => { | |||
console.log(JSON.stringify(res)); | |||
}, | |||
fail: e => { | |||
console.log('获取本机蓝牙适配器状态失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 连接低功耗蓝牙 | |||
*/ | |||
createBLEConnection() { | |||
let deviceId = this.equipment.deviceId; | |||
uni.showToast({ | |||
title: '连接蓝牙...', | |||
icon: 'loading', | |||
duration: 99999 | |||
}); | |||
if (!this.connected) { | |||
uni.createBLEConnection({ | |||
deviceId, | |||
success: res => { | |||
this.connected = true; | |||
clearTimeout(this.timeSearch) | |||
console.log(res); | |||
console.log('连接蓝牙成功:' + res.errMsg); | |||
// 连接设备后断开搜索 并且不能搜索设备 | |||
uni.hideToast(); | |||
uni.showToast({ | |||
title: '连接成功', | |||
icon: 'success', | |||
duration: 2000 | |||
}); | |||
// this.closeBLEConnection() | |||
this.getBLEDeviceServices() | |||
}, | |||
fail: e => { | |||
uni.hideToast(); | |||
/* uni.showToast({ | |||
title: '连接错误', | |||
icon: 'error', | |||
duration: 2000 | |||
}); */ | |||
console.log('连接低功耗蓝牙失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
} | |||
}, | |||
/** | |||
* 断开与低功耗蓝牙设备的连接 | |||
*/ | |||
closeBLEConnection() { | |||
let deviceId = this.equipment.deviceId; | |||
this.connected = false | |||
uni.closeBLEConnection({ | |||
deviceId, | |||
success: res => { | |||
console.log(res); | |||
console.log('断开低功耗蓝牙成功:' + res.errMsg); | |||
this.equipment = {}; | |||
this.idObject={} | |||
}, | |||
fail: e => { | |||
console.log('断开低功耗蓝牙成功,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 获取所有服务 | |||
*/ | |||
getBLEDeviceServices() { | |||
let deviceId = this.equipment.deviceId; | |||
uni.getBLEDeviceServices({ | |||
deviceId, | |||
success: res => { | |||
this.list = res.services; | |||
this.idObject = {}; | |||
if (this.list.length <= 0) { | |||
toast('获取服务失败,请重试!'); | |||
return; | |||
} | |||
this.list.forEach(item => { | |||
this.getBLEDeviceCharacteristics(item) | |||
}) | |||
this.maskShow = true; | |||
}, | |||
fail: e => { | |||
console.log('获取设备服务失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 获取某个服务下的所有特征值 | |||
*/ | |||
getBLEDeviceCharacteristics(item) { | |||
let deviceId = this.equipment.deviceId; | |||
let serviceId = item.uuid; | |||
let that = this | |||
let write='' | |||
let notify='' | |||
uni.getBLEDeviceCharacteristics({ | |||
deviceId, | |||
serviceId, | |||
success: res => { | |||
this.list = res.characteristics; | |||
if (this.list.length <= 0) { | |||
// toast('获取特征值失败,请重试!'); | |||
return; | |||
} | |||
this.list.forEach(characteristic => { | |||
/* if (characteristic.properties.read) { | |||
uni.readBLECharacteristicValue({ | |||
deviceId, | |||
serviceId, | |||
characteristicId: characteristic.uuid, | |||
success: res => { | |||
console.log('读取设备数据值成功read'); | |||
console.log(JSON.stringify(res)); | |||
}, | |||
fail(e) { | |||
console.log('读取设备数据值失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
} */ | |||
if (characteristic.properties.write ) { | |||
write=characteristic.uuid | |||
} | |||
if (characteristic.properties.notify || characteristic.properties.indicate) { | |||
notify=characteristic.uuid | |||
} | |||
}) | |||
if(write!==''&¬ify!==''){ | |||
this.idObject={ | |||
serviceId:serviceId, | |||
writeId:write, | |||
notifyId:notify, | |||
} | |||
console.log(this.idObject) | |||
uni.notifyBLECharacteristicValueChange({ | |||
state: true, // 启用 notify 功能 | |||
deviceId, | |||
serviceId, | |||
characteristicId: this.idObject.notifyId, | |||
success(res) { | |||
that.onBLECharacteristicValueChange() | |||
setTimeout(() => { | |||
that.writeBLECharacteristicValueString('getd') | |||
}, 1000); | |||
}, | |||
fail(e) { | |||
console.log('失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
} | |||
}, | |||
fail: e => { | |||
console.log('获取特征值失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
}, | |||
/** | |||
* 监听低功耗蓝牙连接状态的改变事件。包括开发者主动连接或断开连接,设备丢失,连接异常断开等等 | |||
*/ | |||
onBLEConnectionStateChange() { | |||
uni.onBLEConnectionStateChange(res => { | |||
// 该方法回调中可以用于处理连接意外断开等异常情况 | |||
console.log(`蓝牙连接状态 -------------------------->`); | |||
console.log(JSON.stringify(res)); | |||
if (!res.connected) { | |||
this.connected=false | |||
console.log('断开低功耗蓝牙成功:'); | |||
this.equipment = {}; | |||
this.idObject={} | |||
toast('已经断开当前蓝牙连接'); | |||
} | |||
}); | |||
}, | |||
writeBLECharacteristicValueString(str) { | |||
console.log(str) | |||
let deviceId = this.equipment.deviceId; | |||
let serviceId = this.idObject.serviceId; | |||
let characteristicId = this.idObject.writeId; | |||
// 向蓝牙设备发送16进制数据 | |||
let buffer = new ArrayBuffer(str.length); | |||
let dataView = new DataView(buffer); | |||
for (let i in str) { | |||
dataView.setUint8(i, str[i].charCodeAt() | 0); | |||
} | |||
uni.writeBLECharacteristicValue({ | |||
deviceId, | |||
serviceId, | |||
// 这里的 characteristicId 需要在 getBLEDeviceCharacteristics 接口中获取 | |||
characteristicId, | |||
value: buffer, | |||
success: function(res) { | |||
console.log(res); | |||
}, | |||
fail: function(res) { | |||
console.log(res); | |||
} | |||
}) | |||
}, | |||
// ArrayBuffer转16进度字符串示例 | |||
ab2hex(buffer) { | |||
const hexArr = Array.prototype.map.call( | |||
new Uint8Array(buffer), | |||
function(bit) { | |||
return ('00' + bit.toString(16)).slice(-2) | |||
} | |||
) | |||
return hexArr.join('') | |||
}, | |||
/** | |||
* 监听低功耗蓝牙设备的特征值变化事件。必须先启用 notifyBLECharacteristicValueChange 接口才能接收到设备推送的 notification。 | |||
*/ | |||
onBLECharacteristicValueChange() { | |||
// 必须在这里的回调才能获取 | |||
let that = this | |||
uni.onBLECharacteristicValueChange(function(res) { | |||
console.log(`characteristic ${res.characteristicId} has changed, now is ${res.value}`) | |||
// console.log(that.ab2hex(res.value)) | |||
console.log(res) | |||
let hex = new Uint8Array(res.value); | |||
hex = String.fromCharCode.apply(null, hex); | |||
that.value= parseInt(hex.replace('valve status: ', '')); | |||
that.valueki=parseInt(hex.replace('valve status: ', ''))*10; | |||
console.log(that.value) | |||
}) | |||
}, | |||
/** | |||
* 断开蓝牙模块 | |||
*/ | |||
closeBluetoothAdapter(OBJECT) { | |||
uni.closeBluetoothAdapter({ | |||
success: res => { | |||
console.log('断开蓝牙模块成功'); | |||
this.equipment = {}; | |||
this.idObject={} | |||
toast('断开蓝牙模块'); | |||
} | |||
}); | |||
} | |||
} | |||
}; | |||
/** | |||
* 判断初始化蓝牙状态 | |||
*/ | |||
function initTypes(code, errMsg) { | |||
switch (code) { | |||
case 10000: | |||
console.log('未初始化蓝牙适配器'); | |||
break; | |||
case 10001: | |||
toast('未检测到蓝牙,请打开蓝牙重试!'); | |||
break; | |||
case 10002: | |||
console.log('没有找到指定设备'); | |||
break; | |||
case 10003: | |||
console.log('连接失败'); | |||
break; | |||
case 10004: | |||
console.log('没有找到指定服务'); | |||
break; | |||
case 10005: | |||
console.log('没有找到指定特征值'); | |||
break; | |||
case 10006: | |||
console.log('当前连接已断开'); | |||
break; | |||
case 10007: | |||
console.log('当前特征值不支持此操作'); | |||
break; | |||
case 10008: | |||
console.log('其余所有系统上报的异常'); | |||
break; | |||
case 10009: | |||
console.log('Android 系统特有,系统版本低于 4.3 不支持 BLE'); | |||
break; | |||
default: | |||
console.log(errMsg); | |||
} | |||
} | |||
/** | |||
* 弹出框封装 | |||
*/ | |||
function toast(content, showCancel = false) { | |||
uni.showModal({ | |||
title: '提示', | |||
content, | |||
showCancel | |||
}); | |||
} | |||
</script> | |||
<style> | |||
page { | |||
height: 100%; | |||
width: 100%; | |||
} | |||
.content { | |||
display: flex; | |||
width: 100%; | |||
height: 100%; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.logo { | |||
margin: 0; | |||
padding: 0; | |||
margin-top: 300rpx; | |||
} | |||
.text-area { | |||
display: flex; | |||
justify-content: center; | |||
} | |||
.title { | |||
font-size: 36rpx; | |||
color: #8f8f94; | |||
} | |||
.u-row { | |||
margin: 40rpx 0; | |||
} | |||
</style> |
@ -0,0 +1,77 @@ | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
@import 'uview-ui/theme.scss'; | |||
$uni-color-primary: #007aff; | |||
$uni-color-success: #4cd964; | |||
$uni-color-warning: #f0ad4e; | |||
$uni-color-error: #dd524d; | |||
/* 文字基本颜色 */ | |||
$uni-text-color:#333;//基本色 | |||
$uni-text-color-inverse:#fff;//反色 | |||
$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 | |||
$uni-text-color-placeholder: #808080; | |||
$uni-text-color-disable:#c0c0c0; | |||
/* 背景颜色 */ | |||
$uni-bg-color:#ffffff; | |||
$uni-bg-color-grey:#f8f8f8; | |||
$uni-bg-color-hover:#f1f1f1;//点击状态颜色 | |||
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 | |||
/* 边框颜色 */ | |||
$uni-border-color:#c8c7cc; | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
$uni-font-size-sm:24rpx; | |||
$uni-font-size-base:28rpx; | |||
$uni-font-size-lg:32rpx; | |||
/* 图片尺寸 */ | |||
$uni-img-size-sm:40rpx; | |||
$uni-img-size-base:52rpx; | |||
$uni-img-size-lg:80rpx; | |||
/* Border Radius */ | |||
$uni-border-radius-sm: 4rpx; | |||
$uni-border-radius-base: 6rpx; | |||
$uni-border-radius-lg: 12rpx; | |||
$uni-border-radius-circle: 50%; | |||
/* 水平间距 */ | |||
$uni-spacing-row-sm: 10px; | |||
$uni-spacing-row-base: 20rpx; | |||
$uni-spacing-row-lg: 30rpx; | |||
/* 垂直间距 */ | |||
$uni-spacing-col-sm: 8rpx; | |||
$uni-spacing-col-base: 16rpx; | |||
$uni-spacing-col-lg: 24rpx; | |||
/* 透明度 */ | |||
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 | |||
/* 文章场景相关 */ | |||
$uni-color-title: #2C405A; // 文章标题颜色 | |||
$uni-font-size-title:40rpx; | |||
$uni-color-subtitle: #555555; // 二级标题颜色 | |||
$uni-font-size-subtitle:36rpx; | |||
$uni-color-paragraph: #3F536E; // 文章段落颜色 | |||
$uni-font-size-paragraph:30rpx; |
@ -0,0 +1,4 @@ | |||
require('./common/runtime.js') | |||
require('./common/vendor.js') | |||
require('./common/main.js') |
@ -0,0 +1,14 @@ | |||
{ | |||
"pages": [ | |||
"pages/index/index" | |||
], | |||
"subPackages": [], | |||
"window": { | |||
"navigationBarTextStyle": "black", | |||
"navigationBarTitleText": "智能蓝牙控制宝", | |||
"navigationBarBackgroundColor": "#F8F8F8", | |||
"backgroundColor": "#F8F8F8" | |||
}, | |||
"usingComponents": {}, | |||
"sitemapLocation": "sitemap3.json" | |||
} |
@ -0,0 +1,3 @@ | |||
@import './common/main.wxss'; | |||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;} |
@ -0,0 +1,132 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/main"],[ | |||
/* 0 */ | |||
/*!***********************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/main.js ***! | |||
\***********************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
/* WEBPACK VAR INJECTION */(function(createApp) {__webpack_require__(/*! uni-pages */ 4);var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2)); | |||
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 5)); | |||
var _uviewUi = _interopRequireDefault(__webpack_require__(/*! uview-ui */ 11));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} | |||
_vue.default.use(_uviewUi.default); | |||
_vue.default.config.productionTip = false; | |||
_App.default.mpType = 'app'; | |||
var app = new _vue.default(_objectSpread({}, | |||
_App.default)); | |||
createApp(app).$mount(); | |||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createApp"])) | |||
/***/ }), | |||
/* 1 */, | |||
/* 2 */, | |||
/* 3 */, | |||
/* 4 */, | |||
/* 5 */ | |||
/*!***********************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/App.vue ***! | |||
\***********************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 6); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=scss& */ 8); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var render, staticRenderFns, recyclableRender, components | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | |||
_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"], | |||
render, | |||
staticRenderFns, | |||
false, | |||
null, | |||
null, | |||
null, | |||
false, | |||
components, | |||
renderjs | |||
) | |||
component.options.__file = "App.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/* 6 */ | |||
/*!************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/App.vue?vue&type=script&lang=js& ***! | |||
\************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js& */ 7); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/* 7 */ | |||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/App.vue?vue&type=script&lang=js& ***! | |||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = | |||
{ | |||
onLaunch: function onLaunch() { | |||
console.log('App Launch'); | |||
}, | |||
onShow: function onShow() { | |||
console.log('App Show'); | |||
}, | |||
onHide: function onHide() { | |||
console.log('App Hide'); | |||
} };exports.default = _default; | |||
/***/ }), | |||
/* 8 */ | |||
/*!*********************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/App.vue?vue&type=style&index=0&lang=scss& ***! | |||
\*********************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss& */ 9); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/* 9 */ | |||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/App.vue?vue&type=style&index=0&lang=scss& ***! | |||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
],[[0,"common/runtime","common/vendor"]]]); | |||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/main.js.map |
@ -0,0 +1,273 @@ | |||
!function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}(); | |||
/******/ (function(modules) { // webpackBootstrap | |||
/******/ // install a JSONP callback for chunk loading | |||
/******/ function webpackJsonpCallback(data) { | |||
/******/ var chunkIds = data[0]; | |||
/******/ var moreModules = data[1]; | |||
/******/ var executeModules = data[2]; | |||
/******/ | |||
/******/ // add "moreModules" to the modules object, | |||
/******/ // then flag all "chunkIds" as loaded and fire callback | |||
/******/ var moduleId, chunkId, i = 0, resolves = []; | |||
/******/ for(;i < chunkIds.length; i++) { | |||
/******/ chunkId = chunkIds[i]; | |||
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) { | |||
/******/ resolves.push(installedChunks[chunkId][0]); | |||
/******/ } | |||
/******/ installedChunks[chunkId] = 0; | |||
/******/ } | |||
/******/ for(moduleId in moreModules) { | |||
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { | |||
/******/ modules[moduleId] = moreModules[moduleId]; | |||
/******/ } | |||
/******/ } | |||
/******/ if(parentJsonpFunction) parentJsonpFunction(data); | |||
/******/ | |||
/******/ while(resolves.length) { | |||
/******/ resolves.shift()(); | |||
/******/ } | |||
/******/ | |||
/******/ // add entry modules from loaded chunk to deferred list | |||
/******/ deferredModules.push.apply(deferredModules, executeModules || []); | |||
/******/ | |||
/******/ // run deferred modules when all chunks ready | |||
/******/ return checkDeferredModules(); | |||
/******/ }; | |||
/******/ function checkDeferredModules() { | |||
/******/ var result; | |||
/******/ for(var i = 0; i < deferredModules.length; i++) { | |||
/******/ var deferredModule = deferredModules[i]; | |||
/******/ var fulfilled = true; | |||
/******/ for(var j = 1; j < deferredModule.length; j++) { | |||
/******/ var depId = deferredModule[j]; | |||
/******/ if(installedChunks[depId] !== 0) fulfilled = false; | |||
/******/ } | |||
/******/ if(fulfilled) { | |||
/******/ deferredModules.splice(i--, 1); | |||
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]); | |||
/******/ } | |||
/******/ } | |||
/******/ | |||
/******/ return result; | |||
/******/ } | |||
/******/ | |||
/******/ // The module cache | |||
/******/ var installedModules = {}; | |||
/******/ | |||
/******/ // object to store loaded CSS chunks | |||
/******/ var installedCssChunks = { | |||
/******/ "common/runtime": 0 | |||
/******/ } | |||
/******/ | |||
/******/ // object to store loaded and loading chunks | |||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched | |||
/******/ // Promise = chunk loading, 0 = chunk loaded | |||
/******/ var installedChunks = { | |||
/******/ "common/runtime": 0 | |||
/******/ }; | |||
/******/ | |||
/******/ var deferredModules = []; | |||
/******/ | |||
/******/ // script path function | |||
/******/ function jsonpScriptSrc(chunkId) { | |||
/******/ return __webpack_require__.p + "" + chunkId + ".js" | |||
/******/ } | |||
/******/ | |||
/******/ // The require function | |||
/******/ function __webpack_require__(moduleId) { | |||
/******/ | |||
/******/ // Check if module is in cache | |||
/******/ if(installedModules[moduleId]) { | |||
/******/ return installedModules[moduleId].exports; | |||
/******/ } | |||
/******/ // Create a new module (and put it into the cache) | |||
/******/ var module = installedModules[moduleId] = { | |||
/******/ i: moduleId, | |||
/******/ l: false, | |||
/******/ exports: {} | |||
/******/ }; | |||
/******/ | |||
/******/ // Execute the module function | |||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | |||
/******/ | |||
/******/ // Flag the module as loaded | |||
/******/ module.l = true; | |||
/******/ | |||
/******/ // Return the exports of the module | |||
/******/ return module.exports; | |||
/******/ } | |||
/******/ | |||
/******/ // This file contains only the entry chunk. | |||
/******/ // The chunk loading function for additional chunks | |||
/******/ __webpack_require__.e = function requireEnsure(chunkId) { | |||
/******/ var promises = []; | |||
/******/ | |||
/******/ | |||
/******/ // mini-css-extract-plugin CSS loading | |||
/******/ var cssChunks = {"node-modules/uview-ui/components/u-button/u-button":1,"node-modules/uview-ui/components/u-col/u-col":1,"node-modules/uview-ui/components/u-icon/u-icon":1,"node-modules/uview-ui/components/u-modal/u-modal":1,"node-modules/uview-ui/components/u-number-box/u-number-box":1,"node-modules/uview-ui/components/u-row/u-row":1,"node-modules/uview-ui/components/u-slider/u-slider":1,"node-modules/uview-ui/components/u-toast/u-toast":1,"node-modules/uview-ui/components/u-loading/u-loading":1,"node-modules/uview-ui/components/u-popup/u-popup":1,"node-modules/uview-ui/components/u-mask/u-mask":1}; | |||
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); | |||
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { | |||
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) { | |||
/******/ var href = "" + ({"node-modules/uview-ui/components/u-button/u-button":"node-modules/uview-ui/components/u-button/u-button","node-modules/uview-ui/components/u-col/u-col":"node-modules/uview-ui/components/u-col/u-col","node-modules/uview-ui/components/u-icon/u-icon":"node-modules/uview-ui/components/u-icon/u-icon","node-modules/uview-ui/components/u-modal/u-modal":"node-modules/uview-ui/components/u-modal/u-modal","node-modules/uview-ui/components/u-number-box/u-number-box":"node-modules/uview-ui/components/u-number-box/u-number-box","node-modules/uview-ui/components/u-row/u-row":"node-modules/uview-ui/components/u-row/u-row","node-modules/uview-ui/components/u-slider/u-slider":"node-modules/uview-ui/components/u-slider/u-slider","node-modules/uview-ui/components/u-toast/u-toast":"node-modules/uview-ui/components/u-toast/u-toast","node-modules/uview-ui/components/u-loading/u-loading":"node-modules/uview-ui/components/u-loading/u-loading","node-modules/uview-ui/components/u-popup/u-popup":"node-modules/uview-ui/components/u-popup/u-popup","node-modules/uview-ui/components/u-mask/u-mask":"node-modules/uview-ui/components/u-mask/u-mask"}[chunkId]||chunkId) + ".wxss"; | |||
/******/ var fullhref = __webpack_require__.p + href; | |||
/******/ var existingLinkTags = document.getElementsByTagName("link"); | |||
/******/ for(var i = 0; i < existingLinkTags.length; i++) { | |||
/******/ var tag = existingLinkTags[i]; | |||
/******/ var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href"); | |||
/******/ if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve(); | |||
/******/ } | |||
/******/ var existingStyleTags = document.getElementsByTagName("style"); | |||
/******/ for(var i = 0; i < existingStyleTags.length; i++) { | |||
/******/ var tag = existingStyleTags[i]; | |||
/******/ var dataHref = tag.getAttribute("data-href"); | |||
/******/ if(dataHref === href || dataHref === fullhref) return resolve(); | |||
/******/ } | |||
/******/ var linkTag = document.createElement("link"); | |||
/******/ linkTag.rel = "stylesheet"; | |||
/******/ linkTag.type = "text/css"; | |||
/******/ linkTag.onload = resolve; | |||
/******/ linkTag.onerror = function(event) { | |||
/******/ var request = event && event.target && event.target.src || fullhref; | |||
/******/ var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")"); | |||
/******/ err.code = "CSS_CHUNK_LOAD_FAILED"; | |||
/******/ err.request = request; | |||
/******/ delete installedCssChunks[chunkId] | |||
/******/ linkTag.parentNode.removeChild(linkTag) | |||
/******/ reject(err); | |||
/******/ }; | |||
/******/ linkTag.href = fullhref; | |||
/******/ | |||
/******/ var head = document.getElementsByTagName("head")[0]; | |||
/******/ head.appendChild(linkTag); | |||
/******/ }).then(function() { | |||
/******/ installedCssChunks[chunkId] = 0; | |||
/******/ })); | |||
/******/ } | |||
/******/ | |||
/******/ // JSONP chunk loading for javascript | |||
/******/ | |||
/******/ var installedChunkData = installedChunks[chunkId]; | |||
/******/ if(installedChunkData !== 0) { // 0 means "already installed". | |||
/******/ | |||
/******/ // a Promise means "currently loading". | |||
/******/ if(installedChunkData) { | |||
/******/ promises.push(installedChunkData[2]); | |||
/******/ } else { | |||
/******/ // setup Promise in chunk cache | |||
/******/ var promise = new Promise(function(resolve, reject) { | |||
/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; | |||
/******/ }); | |||
/******/ promises.push(installedChunkData[2] = promise); | |||
/******/ | |||
/******/ // start chunk loading | |||
/******/ var script = document.createElement('script'); | |||
/******/ var onScriptComplete; | |||
/******/ | |||
/******/ script.charset = 'utf-8'; | |||
/******/ script.timeout = 120; | |||
/******/ if (__webpack_require__.nc) { | |||
/******/ script.setAttribute("nonce", __webpack_require__.nc); | |||
/******/ } | |||
/******/ script.src = jsonpScriptSrc(chunkId); | |||
/******/ | |||
/******/ // create error before stack unwound to get useful stacktrace later | |||
/******/ var error = new Error(); | |||
/******/ onScriptComplete = function (event) { | |||
/******/ // avoid mem leaks in IE. | |||
/******/ script.onerror = script.onload = null; | |||
/******/ clearTimeout(timeout); | |||
/******/ var chunk = installedChunks[chunkId]; | |||
/******/ if(chunk !== 0) { | |||
/******/ if(chunk) { | |||
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); | |||
/******/ var realSrc = event && event.target && event.target.src; | |||
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; | |||
/******/ error.name = 'ChunkLoadError'; | |||
/******/ error.type = errorType; | |||
/******/ error.request = realSrc; | |||
/******/ chunk[1](error); | |||
/******/ } | |||
/******/ installedChunks[chunkId] = undefined; | |||
/******/ } | |||
/******/ }; | |||
/******/ var timeout = setTimeout(function(){ | |||
/******/ onScriptComplete({ type: 'timeout', target: script }); | |||
/******/ }, 120000); | |||
/******/ script.onerror = script.onload = onScriptComplete; | |||
/******/ document.head.appendChild(script); | |||
/******/ } | |||
/******/ } | |||
/******/ return Promise.all(promises); | |||
/******/ }; | |||
/******/ | |||
/******/ // expose the modules object (__webpack_modules__) | |||
/******/ __webpack_require__.m = modules; | |||
/******/ | |||
/******/ // expose the module cache | |||
/******/ __webpack_require__.c = installedModules; | |||
/******/ | |||
/******/ // define getter function for harmony exports | |||
/******/ __webpack_require__.d = function(exports, name, getter) { | |||
/******/ if(!__webpack_require__.o(exports, name)) { | |||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | |||
/******/ } | |||
/******/ }; | |||
/******/ | |||
/******/ // define __esModule on exports | |||
/******/ __webpack_require__.r = function(exports) { | |||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |||
/******/ } | |||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |||
/******/ }; | |||
/******/ | |||
/******/ // create a fake namespace object | |||
/******/ // mode & 1: value is a module id, require it | |||
/******/ // mode & 2: merge all properties of value into the ns | |||
/******/ // mode & 4: return value when already ns object | |||
/******/ // mode & 8|1: behave like require | |||
/******/ __webpack_require__.t = function(value, mode) { | |||
/******/ if(mode & 1) value = __webpack_require__(value); | |||
/******/ if(mode & 8) return value; | |||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | |||
/******/ var ns = Object.create(null); | |||
/******/ __webpack_require__.r(ns); | |||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | |||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | |||
/******/ return ns; | |||
/******/ }; | |||
/******/ | |||
/******/ // getDefaultExport function for compatibility with non-harmony modules | |||
/******/ __webpack_require__.n = function(module) { | |||
/******/ var getter = module && module.__esModule ? | |||
/******/ function getDefault() { return module['default']; } : | |||
/******/ function getModuleExports() { return module; }; | |||
/******/ __webpack_require__.d(getter, 'a', getter); | |||
/******/ return getter; | |||
/******/ }; | |||
/******/ | |||
/******/ // Object.prototype.hasOwnProperty.call | |||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | |||
/******/ | |||
/******/ // __webpack_public_path__ | |||
/******/ __webpack_require__.p = "/"; | |||
/******/ | |||
/******/ // on error function for async loading | |||
/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; | |||
/******/ | |||
/******/ var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || []; | |||
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); | |||
/******/ jsonpArray.push = webpackJsonpCallback; | |||
/******/ jsonpArray = jsonpArray.slice(); | |||
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); | |||
/******/ var parentJsonpFunction = oldJsonpFunction; | |||
/******/ | |||
/******/ | |||
/******/ // run deferred modules from other chunks | |||
/******/ checkDeferredModules(); | |||
/******/ }) | |||
/************************************************************************/ | |||
/******/ ([]); | |||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map | |||
@ -0,0 +1,518 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-button/u-button"],{ | |||
/***/ 83: | |||
/*!**********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue ***! | |||
\**********************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-button.vue?vue&type=template&id=3bf2dba7&scoped=true& */ 84); | |||
/* harmony import */ var _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-button.vue?vue&type=script&lang=js& */ 86); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-button.vue?vue&type=style&index=0&id=3bf2dba7&scoped=true&lang=scss& */ 88); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"3bf2dba7", | |||
null, | |||
false, | |||
_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-button/u-button.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 84: | |||
/*!*****************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue?vue&type=template&id=3bf2dba7&scoped=true& ***! | |||
\*****************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=template&id=3bf2dba7&scoped=true& */ 85); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_3bf2dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 85: | |||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue?vue&type=template&id=3bf2dba7&scoped=true& ***! | |||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.__get_style([ | |||
_vm.customStyle, | |||
{ | |||
overflow: _vm.ripple ? "hidden" : "visible" | |||
} | |||
]) | |||
var m0 = Number(_vm.hoverStartTime) | |||
var m1 = Number(_vm.hoverStayTime) | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0, | |||
m0: m0, | |||
m1: m1 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 86: | |||
/*!***********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue?vue&type=script&lang=js& ***! | |||
\***********************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=script&lang=js& */ 87); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 87: | |||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue?vue&type=script&lang=js& ***! | |||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* button 按钮 | |||
* @description Button 按钮 | |||
* @tutorial https://www.uviewui.com/components/button.html | |||
* @property {String} size 按钮的大小 | |||
* @property {Boolean} ripple 是否开启点击水波纹效果 | |||
* @property {String} ripple-bg-color 水波纹的背景色,ripple为true时有效 | |||
* @property {String} type 按钮的样式类型 | |||
* @property {Boolean} plain 按钮是否镂空,背景色透明 | |||
* @property {Boolean} disabled 是否禁用 | |||
* @property {Boolean} hair-line 是否显示按钮的细边框(默认true) | |||
* @property {Boolean} shape 按钮外观形状,见文档说明 | |||
* @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) | |||
* @property {String} form-type 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件 | |||
* @property {String} open-type 开放能力 | |||
* @property {String} data-name 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取 | |||
* @property {String} hover-class 指定按钮按下去的样式类。当 hover-class="none" 时,没有点击态效果(App-nvue 平台暂不支持) | |||
* @property {Number} hover-start-time 按住后多久出现点击态,单位毫秒 | |||
* @property {Number} hover-stay-time 手指松开后点击态保留时间,单位毫秒 | |||
* @property {Object} custom-style 对按钮的自定义样式,对象形式,见文档说明 | |||
* @event {Function} click 按钮点击 | |||
* @event {Function} getphonenumber open-type="getPhoneNumber"时有效 | |||
* @event {Function} getuserinfo 用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo | |||
* @event {Function} error 当使用开放能力时,发生错误的回调 | |||
* @event {Function} opensetting 在打开授权设置页并关闭后回调 | |||
* @event {Function} launchapp 打开 APP 成功的回调 | |||
* @example <u-button>月落</u-button> | |||
*/var _default2 = | |||
{ | |||
name: 'u-button', | |||
props: { | |||
// 是否细边框 | |||
hairLine: { | |||
type: Boolean, | |||
default: true }, | |||
// 按钮的预置样式,default,primary,error,warning,success | |||
type: { | |||
type: String, | |||
default: 'default' }, | |||
// 按钮尺寸,default,medium,mini | |||
size: { | |||
type: String, | |||
default: 'default' }, | |||
// 按钮形状,circle(两边为半圆),square(带圆角) | |||
shape: { | |||
type: String, | |||
default: 'square' }, | |||
// 按钮是否镂空 | |||
plain: { | |||
type: Boolean, | |||
default: false }, | |||
// 是否禁止状态 | |||
disabled: { | |||
type: Boolean, | |||
default: false }, | |||
// 是否加载中 | |||
loading: { | |||
type: Boolean, | |||
default: false }, | |||
// 开放能力,具体请看uniapp稳定关于button组件部分说明 | |||
// https://uniapp.dcloud.io/component/button | |||
openType: { | |||
type: String, | |||
default: '' }, | |||
// 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件 | |||
// 取值为submit(提交表单),reset(重置表单) | |||
formType: { | |||
type: String, | |||
default: '' }, | |||
// 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 | |||
// 只微信小程序、QQ小程序有效 | |||
appParameter: { | |||
type: String, | |||
default: '' }, | |||
// 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效 | |||
hoverStopPropagation: { | |||
type: Boolean, | |||
default: false }, | |||
// 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效 | |||
lang: { | |||
type: String, | |||
default: 'en' }, | |||
// 会话来源,open-type="contact"时有效。只微信小程序有效 | |||
sessionFrom: { | |||
type: String, | |||
default: '' }, | |||
// 会话内消息卡片标题,open-type="contact"时有效 | |||
// 默认当前标题,只微信小程序有效 | |||
sendMessageTitle: { | |||
type: String, | |||
default: '' }, | |||
// 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效 | |||
// 默认当前分享路径,只微信小程序有效 | |||
sendMessagePath: { | |||
type: String, | |||
default: '' }, | |||
// 会话内消息卡片图片,open-type="contact"时有效 | |||
// 默认当前页面截图,只微信小程序有效 | |||
sendMessageImg: { | |||
type: String, | |||
default: '' }, | |||
// 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示, | |||
// 用户点击后可以快速发送小程序消息,open-type="contact"时有效 | |||
showMessageCard: { | |||
type: Boolean, | |||
default: false }, | |||
// 手指按(触摸)按钮时按钮时的背景颜色 | |||
hoverBgColor: { | |||
type: String, | |||
default: '' }, | |||
// 水波纹的背景颜色 | |||
rippleBgColor: { | |||
type: String, | |||
default: '' }, | |||
// 是否开启水波纹效果 | |||
ripple: { | |||
type: Boolean, | |||
default: false }, | |||
// 按下的类名 | |||
hoverClass: { | |||
type: String, | |||
default: '' }, | |||
// 自定义样式,对象形式 | |||
customStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取 | |||
dataName: { | |||
type: String, | |||
default: '' }, | |||
// 节流,一定时间内只能触发一次 | |||
throttleTime: { | |||
type: [String, Number], | |||
default: 1000 }, | |||
// 按住后多久出现点击态,单位毫秒 | |||
hoverStartTime: { | |||
type: [String, Number], | |||
default: 20 }, | |||
// 手指松开后点击态保留时间,单位毫秒 | |||
hoverStayTime: { | |||
type: [String, Number], | |||
default: 150 } }, | |||
computed: { | |||
// 当没有传bgColor变量时,按钮按下去的颜色类名 | |||
getHoverClass: function getHoverClass() { | |||
// 如果开启水波纹效果,则不启用hover-class效果 | |||
if (this.loading || this.disabled || this.ripple || this.hoverClass) return ''; | |||
var hoverClass = ''; | |||
hoverClass = this.plain ? 'u-' + this.type + '-plain-hover' : 'u-' + this.type + '-hover'; | |||
return hoverClass; | |||
}, | |||
// 在'primary', 'success', 'error', 'warning'类型下,不显示边框,否则会造成四角有毛刺现象 | |||
showHairLineBorder: function showHairLineBorder() { | |||
if (['primary', 'success', 'error', 'warning'].indexOf(this.type) >= 0 && !this.plain) { | |||
return ''; | |||
} else { | |||
return 'u-hairline-border'; | |||
} | |||
} }, | |||
data: function data() { | |||
return { | |||
rippleTop: 0, // 水波纹的起点Y坐标到按钮上边界的距离 | |||
rippleLeft: 0, // 水波纹起点X坐标到按钮左边界的距离 | |||
fields: {}, // 波纹按钮节点信息 | |||
waveActive: false // 激活水波纹 | |||
}; | |||
}, | |||
methods: { | |||
// 按钮点击 | |||
click: function click(e) {var _this = this; | |||
// 进行节流控制,每this.throttle毫秒内,只在开始处执行 | |||
this.$u.throttle(function () { | |||
// 如果按钮时disabled和loading状态,不触发水波纹效果 | |||
if (_this.loading === true || _this.disabled === true) return; | |||
// 是否开启水波纹效果 | |||
if (_this.ripple) { | |||
// 每次点击时,移除上一次的类,再次添加,才能触发动画效果 | |||
_this.waveActive = false; | |||
_this.$nextTick(function () { | |||
this.getWaveQuery(e); | |||
}); | |||
} | |||
_this.$emit('click', e); | |||
}, this.throttleTime); | |||
}, | |||
// 查询按钮的节点信息 | |||
getWaveQuery: function getWaveQuery(e) {var _this2 = this; | |||
this.getElQuery().then(function (res) { | |||
// 查询返回的是一个数组节点 | |||
var data = res[0]; | |||
// 查询不到节点信息,不操作 | |||
if (!data.width || !data.width) return; | |||
// 水波纹的最终形态是一个正方形(通过border-radius让其变为一个圆形),这里要保证正方形的边长等于按钮的最长边 | |||
// 最终的方形(变换后的圆形)才能覆盖整个按钮 | |||
data.targetWidth = data.height > data.width ? data.height : data.width; | |||
if (!data.targetWidth) return; | |||
_this2.fields = data; | |||
var touchesX = '', | |||
touchesY = ''; | |||
touchesX = e.touches[0].clientX; | |||
touchesY = e.touches[0].clientY; | |||
// 获取触摸点相对于按钮上边和左边的x和y坐标,原理是通过屏幕的触摸点(touchesY),减去按钮的上边界data.top | |||
// 但是由于`transform-origin`默认是center,所以这里再减去半径才是水波纹view应该的位置 | |||
// 总的来说,就是把水波纹的矩形(变换后的圆形)的中心点,移动到我们的触摸点位置 | |||
_this2.rippleTop = touchesY - data.top - data.targetWidth / 2; | |||
_this2.rippleLeft = touchesX - data.left - data.targetWidth / 2; | |||
_this2.$nextTick(function () { | |||
_this2.waveActive = true; | |||
}); | |||
}); | |||
}, | |||
// 获取节点信息 | |||
getElQuery: function getElQuery() {var _this3 = this; | |||
return new Promise(function (resolve) { | |||
var queryInfo = ''; | |||
// 获取元素节点信息,请查看uniapp相关文档 | |||
// https://uniapp.dcloud.io/api/ui/nodes-info?id=nodesrefboundingclientrect | |||
queryInfo = uni.createSelectorQuery().in(_this3); | |||
queryInfo.select('.u-btn').boundingClientRect(); | |||
queryInfo.exec(function (data) { | |||
resolve(data); | |||
}); | |||
}); | |||
}, | |||
// 下面为对接uniapp官方按钮开放能力事件回调的对接 | |||
getphonenumber: function getphonenumber(res) { | |||
this.$emit('getphonenumber', res); | |||
}, | |||
getuserinfo: function getuserinfo(res) { | |||
this.$emit('getuserinfo', res); | |||
}, | |||
error: function error(res) { | |||
this.$emit('error', res); | |||
}, | |||
opensetting: function opensetting(res) { | |||
this.$emit('opensetting', res); | |||
}, | |||
launchapp: function launchapp(res) { | |||
this.$emit('launchapp', res); | |||
} } };exports.default = _default2; | |||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |||
/***/ }), | |||
/***/ 88: | |||
/*!********************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue?vue&type=style&index=0&id=3bf2dba7&scoped=true&lang=scss& ***! | |||
\********************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=style&index=0&id=3bf2dba7&scoped=true&lang=scss& */ 89); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_3bf2dba7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 89: | |||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-button/u-button.vue?vue&type=style&index=0&id=3bf2dba7&scoped=true&lang=scss& ***! | |||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-button/u-button.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-button/u-button-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-button/u-button-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(83)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-button/u-button-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<button class="{{['u-btn u-line-1 u-fix-ios-appearance data-v-3bf2dba7','u-size-'+size,plain?'u-btn--'+type+'--plain':'',loading?'u-loading':'',shape=='circle'?'u-round-circle':'',hairLine?showHairLineBorder:'u-btn--bold-border','u-btn--'+type,disabled?'u-btn--'+type+'--disabled':'']}}" style="{{$root.s0}}" id="u-wave-btn" hover-start-time="{{$root.m0}}" hover-stay-time="{{$root.m1}}" disabled="{{disabled}}" form-type="{{formType}}" open-type="{{openType}}" app-parameter="{{appParameter}}" hover-stop-propagation="{{hoverStopPropagation}}" send-message-title="{{sendMessageTitle}}" send-message-path="sendMessagePath" lang="{{lang}}" data-name="{{dataName}}" session-from="{{sessionFrom}}" send-message-img="{{sendMessageImg}}" show-message-card="{{showMessageCard}}" hover-class="{{getHoverClass}}" loading="{{loading}}" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]],['getuserinfo',[['getuserinfo',['$event']]]],['error',[['error',['$event']]]],['opensetting',[['opensetting',['$event']]]],['launchapp',[['launchapp',['$event']]]],['tap',[['click',['$event']]]]]}}" bindgetphonenumber="__e" bindgetuserinfo="__e" binderror="__e" bindopensetting="__e" bindlaunchapp="__e" catchtap="__e"><slot></slot><block wx:if="{{ripple}}"><view class="{{['u-wave-ripple data-v-3bf2dba7',waveActive?'u-wave-active':'']}}" style="{{'top:'+(rippleTop+'px')+';'+('left:'+(rippleLeft+'px')+';')+('width:'+(fields.targetWidth+'px')+';')+('height:'+(fields.targetWidth+'px')+';')+('background-color:'+(rippleBgColor||'rgba(0, 0, 0, 0.15)')+';')}}"></view></block></button> |
@ -0,0 +1,256 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-btn.data-v-3bf2dba7::after { | |||
border: none; | |||
} | |||
.u-btn.data-v-3bf2dba7 { | |||
position: relative; | |||
border: 0; | |||
display: -webkit-inline-box; | |||
display: -webkit-inline-flex; | |||
display: inline-flex; | |||
overflow: visible; | |||
line-height: 1; | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
cursor: pointer; | |||
padding: 0 40rpx; | |||
z-index: 1; | |||
box-sizing: border-box; | |||
-webkit-transition: all 0.15s; | |||
transition: all 0.15s; | |||
} | |||
.u-btn--bold-border.data-v-3bf2dba7 { | |||
border: 1px solid #ffffff; | |||
} | |||
.u-btn--default.data-v-3bf2dba7 { | |||
color: #606266; | |||
border-color: #c0c4cc; | |||
background-color: #ffffff; | |||
} | |||
.u-btn--primary.data-v-3bf2dba7 { | |||
color: #ffffff; | |||
border-color: #2979ff; | |||
background-color: #2979ff; | |||
} | |||
.u-btn--success.data-v-3bf2dba7 { | |||
color: #ffffff; | |||
border-color: #19be6b; | |||
background-color: #19be6b; | |||
} | |||
.u-btn--error.data-v-3bf2dba7 { | |||
color: #ffffff; | |||
border-color: #fa3534; | |||
background-color: #fa3534; | |||
} | |||
.u-btn--warning.data-v-3bf2dba7 { | |||
color: #ffffff; | |||
border-color: #ff9900; | |||
background-color: #ff9900; | |||
} | |||
.u-btn--default--disabled.data-v-3bf2dba7 { | |||
color: #ffffff; | |||
border-color: #e4e7ed; | |||
background-color: #ffffff; | |||
} | |||
.u-btn--primary--disabled.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
border-color: #a0cfff !important; | |||
background-color: #a0cfff !important; | |||
} | |||
.u-btn--success--disabled.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
border-color: #71d5a1 !important; | |||
background-color: #71d5a1 !important; | |||
} | |||
.u-btn--error--disabled.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
border-color: #fab6b6 !important; | |||
background-color: #fab6b6 !important; | |||
} | |||
.u-btn--warning--disabled.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
border-color: #fcbd71 !important; | |||
background-color: #fcbd71 !important; | |||
} | |||
.u-btn--primary--plain.data-v-3bf2dba7 { | |||
color: #2979ff !important; | |||
border-color: #a0cfff !important; | |||
background-color: #ecf5ff !important; | |||
} | |||
.u-btn--success--plain.data-v-3bf2dba7 { | |||
color: #19be6b !important; | |||
border-color: #71d5a1 !important; | |||
background-color: #dbf1e1 !important; | |||
} | |||
.u-btn--error--plain.data-v-3bf2dba7 { | |||
color: #fa3534 !important; | |||
border-color: #fab6b6 !important; | |||
background-color: #fef0f0 !important; | |||
} | |||
.u-btn--warning--plain.data-v-3bf2dba7 { | |||
color: #ff9900 !important; | |||
border-color: #fcbd71 !important; | |||
background-color: #fdf6ec !important; | |||
} | |||
.u-hairline-border.data-v-3bf2dba7:after { | |||
content: ' '; | |||
position: absolute; | |||
pointer-events: none; | |||
box-sizing: border-box; | |||
-webkit-transform-origin: 0 0; | |||
transform-origin: 0 0; | |||
left: 0; | |||
top: 0; | |||
width: 199.8%; | |||
height: 199.7%; | |||
-webkit-transform: scale(0.5, 0.5); | |||
transform: scale(0.5, 0.5); | |||
border: 1px solid currentColor; | |||
z-index: 1; | |||
} | |||
.u-wave-ripple.data-v-3bf2dba7 { | |||
z-index: 0; | |||
position: absolute; | |||
border-radius: 100%; | |||
background-clip: padding-box; | |||
pointer-events: none; | |||
-webkit-user-select: none; | |||
user-select: none; | |||
-webkit-transform: scale(0); | |||
transform: scale(0); | |||
opacity: 1; | |||
-webkit-transform-origin: center; | |||
transform-origin: center; | |||
} | |||
.u-wave-ripple.u-wave-active.data-v-3bf2dba7 { | |||
opacity: 0; | |||
-webkit-transform: scale(2); | |||
transform: scale(2); | |||
-webkit-transition: opacity 1s linear, -webkit-transform 0.4s linear; | |||
transition: opacity 1s linear, -webkit-transform 0.4s linear; | |||
transition: opacity 1s linear, transform 0.4s linear; | |||
transition: opacity 1s linear, transform 0.4s linear, -webkit-transform 0.4s linear; | |||
} | |||
.u-round-circle.data-v-3bf2dba7 { | |||
border-radius: 100rpx; | |||
} | |||
.u-round-circle.data-v-3bf2dba7::after { | |||
border-radius: 100rpx; | |||
} | |||
.u-loading.data-v-3bf2dba7::after { | |||
background-color: rgba(255, 255, 255, 0.35); | |||
} | |||
.u-size-default.data-v-3bf2dba7 { | |||
font-size: 30rpx; | |||
height: 80rpx; | |||
line-height: 80rpx; | |||
} | |||
.u-size-medium.data-v-3bf2dba7 { | |||
display: -webkit-inline-box; | |||
display: -webkit-inline-flex; | |||
display: inline-flex; | |||
width: auto; | |||
font-size: 26rpx; | |||
height: 70rpx; | |||
line-height: 70rpx; | |||
padding: 0 80rpx; | |||
} | |||
.u-size-mini.data-v-3bf2dba7 { | |||
display: -webkit-inline-box; | |||
display: -webkit-inline-flex; | |||
display: inline-flex; | |||
width: auto; | |||
font-size: 22rpx; | |||
padding-top: 1px; | |||
height: 50rpx; | |||
line-height: 50rpx; | |||
padding: 0 20rpx; | |||
} | |||
.u-primary-plain-hover.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
background: #2b85e4 !important; | |||
} | |||
.u-default-plain-hover.data-v-3bf2dba7 { | |||
color: #2b85e4 !important; | |||
background: #ecf5ff !important; | |||
} | |||
.u-success-plain-hover.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
background: #18b566 !important; | |||
} | |||
.u-warning-plain-hover.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
background: #f29100 !important; | |||
} | |||
.u-error-plain-hover.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
background: #dd6161 !important; | |||
} | |||
.u-info-plain-hover.data-v-3bf2dba7 { | |||
color: #ffffff !important; | |||
background: #82848a !important; | |||
} | |||
.u-default-hover.data-v-3bf2dba7 { | |||
color: #2b85e4 !important; | |||
border-color: #2b85e4 !important; | |||
background-color: #ecf5ff !important; | |||
} | |||
.u-primary-hover.data-v-3bf2dba7 { | |||
background: #2b85e4 !important; | |||
color: #fff; | |||
} | |||
.u-success-hover.data-v-3bf2dba7 { | |||
background: #18b566 !important; | |||
color: #fff; | |||
} | |||
.u-info-hover.data-v-3bf2dba7 { | |||
background: #82848a !important; | |||
color: #fff; | |||
} | |||
.u-warning-hover.data-v-3bf2dba7 { | |||
background: #f29100 !important; | |||
color: #fff; | |||
} | |||
.u-error-hover.data-v-3bf2dba7 { | |||
background: #dd6161 !important; | |||
color: #fff; | |||
} | |||
@ -0,0 +1,259 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-col/u-col"],{ | |||
/***/ 62: | |||
/*!****************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue ***! | |||
\****************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-col.vue?vue&type=template&id=26dd4db9& */ 63); | |||
/* harmony import */ var _u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-col.vue?vue&type=script&lang=js& */ 65); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-col.vue?vue&type=style&index=0&lang=scss& */ 67); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
null, | |||
null, | |||
false, | |||
_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-col/u-col.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 63: | |||
/*!***********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue?vue&type=template&id=26dd4db9& ***! | |||
\***********************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-col.vue?vue&type=template&id=26dd4db9& */ 64); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_template_id_26dd4db9___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 64: | |||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue?vue&type=template&id=26dd4db9& ***! | |||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var m0 = Number(_vm.gutter) | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
m0: m0 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 65: | |||
/*!*****************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue?vue&type=script&lang=js& ***! | |||
\*****************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-col.vue?vue&type=script&lang=js& */ 66); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 66: | |||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue?vue&type=script&lang=js& ***! | |||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* col 布局单元格 | |||
* @description 通过基础的 12 分栏,迅速简便地创建布局(搭配<u-row>使用) | |||
* @tutorial https://www.uviewui.com/components/layout.html | |||
* @property {String Number} span 栅格占据的列数,总12等分(默认0) | |||
* @property {String} text-align 文字水平对齐方式(默认left) | |||
* @property {String Number} offset 分栏左边偏移,计算方式与span相同(默认0) | |||
* @example <u-col span="3"><view class="demo-layout bg-purple"></view></u-col> | |||
*/var _default = | |||
{ | |||
name: "u-col", | |||
props: { | |||
// 占父容器宽度的多少等分,总分为12份 | |||
span: { | |||
type: [Number, String], | |||
default: 12 }, | |||
// 指定栅格左侧的间隔数(总12栏) | |||
offset: { | |||
type: [Number, String], | |||
default: 0 }, | |||
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`) | |||
justify: { | |||
type: String, | |||
default: 'start' }, | |||
// 垂直对齐方式,可选值为top、center、bottom | |||
align: { | |||
type: String, | |||
default: 'center' }, | |||
// 文字对齐方式 | |||
textAlign: { | |||
type: String, | |||
default: 'left' }, | |||
// 是否阻止事件传播 | |||
stop: { | |||
type: Boolean, | |||
default: true } }, | |||
data: function data() { | |||
return { | |||
gutter: 20 // 给col添加间距,左右边距各占一半,从父组件u-row获取 | |||
}; | |||
}, | |||
created: function created() { | |||
this.parent = false; | |||
}, | |||
mounted: function mounted() { | |||
// 获取父组件实例,并赋值给对应的参数 | |||
this.parent = this.$u.$parent.call(this, 'u-row'); | |||
if (this.parent) { | |||
this.gutter = this.parent.gutter; | |||
} | |||
}, | |||
computed: { | |||
uJustify: function uJustify() { | |||
if (this.justify == 'end' || this.justify == 'start') return 'flex-' + this.justify;else | |||
if (this.justify == 'around' || this.justify == 'between') return 'space-' + this.justify;else | |||
return this.justify; | |||
}, | |||
uAlignItem: function uAlignItem() { | |||
if (this.align == 'top') return 'flex-start'; | |||
if (this.align == 'bottom') return 'flex-end';else | |||
return this.align; | |||
} }, | |||
methods: { | |||
click: function click(e) { | |||
this.$emit('click'); | |||
} } };exports.default = _default; | |||
/***/ }), | |||
/***/ 67: | |||
/*!**************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue?vue&type=style&index=0&lang=scss& ***! | |||
\**************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-col.vue?vue&type=style&index=0&lang=scss& */ 68); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_col_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 68: | |||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-col/u-col.vue?vue&type=style&index=0&lang=scss& ***! | |||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-col/u-col.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-col/u-col-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-col/u-col-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(62)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-col/u-col-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="{{['u-col','u-col-'+span]}}" style="{{'padding:'+('0 '+($root.m0/2+'rpx'))+';'+('margin-left:'+(100/12*offset+'%')+';')+('flex:'+('0 0 '+100/12*span+'%')+';')+('align-items:'+(uAlignItem)+';')+('justify-content:'+(uJustify)+';')+('text-align:'+(textAlign)+';')}}" bindtap="__e"><slot></slot></view> |
@ -0,0 +1,69 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-col { | |||
float: left; | |||
} | |||
.u-col-0 { | |||
width: 0; | |||
} | |||
.u-col-1 { | |||
width: calc(100%/12); | |||
} | |||
.u-col-2 { | |||
width: calc(100%/12 * 2); | |||
} | |||
.u-col-3 { | |||
width: calc(100%/12 * 3); | |||
} | |||
.u-col-4 { | |||
width: calc(100%/12 * 4); | |||
} | |||
.u-col-5 { | |||
width: calc(100%/12 * 5); | |||
} | |||
.u-col-6 { | |||
width: calc(100%/12 * 6); | |||
} | |||
.u-col-7 { | |||
width: calc(100%/12 * 7); | |||
} | |||
.u-col-8 { | |||
width: calc(100%/12 * 8); | |||
} | |||
.u-col-9 { | |||
width: calc(100%/12 * 9); | |||
} | |||
.u-col-10 { | |||
width: calc(100%/12 * 10); | |||
} | |||
.u-col-11 { | |||
width: calc(100%/12 * 11); | |||
} | |||
.u-col-12 { | |||
width: calc(100%/12 * 12); | |||
} | |||
@ -0,0 +1,462 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-icon/u-icon"],{ | |||
/***/ 48: | |||
/*!******************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue ***! | |||
\******************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-icon.vue?vue&type=template&id=172979f2&scoped=true& */ 49); | |||
/* harmony import */ var _u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-icon.vue?vue&type=script&lang=js& */ 51); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-icon.vue?vue&type=style&index=0&id=172979f2&scoped=true&lang=scss& */ 53); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"172979f2", | |||
null, | |||
false, | |||
_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-icon/u-icon.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 49: | |||
/*!*************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=template&id=172979f2&scoped=true& ***! | |||
\*************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=template&id=172979f2&scoped=true& */ 50); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_template_id_172979f2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 50: | |||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=template&id=172979f2&scoped=true& ***! | |||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.__get_style([_vm.customStyle]) | |||
var s1 = _vm.isImg ? _vm.__get_style([_vm.imgStyle]) : null | |||
var s2 = !_vm.isImg ? _vm.__get_style([_vm.iconStyle]) : null | |||
var s3 = | |||
!_vm.isImg && _vm.showDecimalIcon | |||
? _vm.__get_style([_vm.decimalIconStyle]) | |||
: null | |||
var g0 = _vm.label !== "" ? _vm.$u.addUnit(_vm.labelSize) : null | |||
var g1 = | |||
_vm.label !== "" && _vm.labelPos == "right" | |||
? _vm.$u.addUnit(_vm.marginLeft) | |||
: null | |||
var g2 = | |||
_vm.label !== "" && _vm.labelPos == "bottom" | |||
? _vm.$u.addUnit(_vm.marginTop) | |||
: null | |||
var g3 = | |||
_vm.label !== "" && _vm.labelPos == "left" | |||
? _vm.$u.addUnit(_vm.marginRight) | |||
: null | |||
var g4 = | |||
_vm.label !== "" && _vm.labelPos == "top" | |||
? _vm.$u.addUnit(_vm.marginBottom) | |||
: null | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0, | |||
s1: s1, | |||
s2: s2, | |||
s3: s3, | |||
g0: g0, | |||
g1: g1, | |||
g2: g2, | |||
g3: g3, | |||
g4: g4 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 51: | |||
/*!*******************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=script&lang=js& ***! | |||
\*******************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js& */ 52); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 52: | |||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=script&lang=js& ***! | |||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* icon 图标 | |||
* @description 基于字体的图标集,包含了大多数常见场景的图标。 | |||
* @tutorial https://www.uviewui.com/components/icon.html | |||
* @property {String} name 图标名称,见示例图标集 | |||
* @property {String} color 图标颜色(默认inherit) | |||
* @property {String | Number} size 图标字体大小,单位rpx(默认32) | |||
* @property {String | Number} label-size label字体大小,单位rpx(默认28) | |||
* @property {String} label 图标右侧的label文字(默认28) | |||
* @property {String} label-pos label文字相对于图标的位置,只能right或bottom(默认right) | |||
* @property {String} label-color label字体颜色(默认#606266) | |||
* @property {Object} custom-style icon的样式,对象形式 | |||
* @property {String} custom-prefix 自定义字体图标库时,需要写上此值 | |||
* @property {String | Number} margin-left label在右侧时与图标的距离,单位rpx(默认6) | |||
* @property {String | Number} margin-top label在下方时与图标的距离,单位rpx(默认6) | |||
* @property {String | Number} margin-bottom label在上方时与图标的距离,单位rpx(默认6) | |||
* @property {String | Number} margin-right label在左侧时与图标的距离,单位rpx(默认6) | |||
* @property {String} label-pos label相对于图标的位置,只能right或bottom(默认right) | |||
* @property {String} index 一个用于区分多个图标的值,点击图标时通过click事件传出 | |||
* @property {String} hover-class 图标按下去的样式类,用法同uni的view组件的hover-class参数,详情见官网 | |||
* @property {String} width 显示图片小图标时的宽度 | |||
* @property {String} height 显示图片小图标时的高度 | |||
* @property {String} top 图标在垂直方向上的定位 | |||
* @property {String} top 图标在垂直方向上的定位 | |||
* @property {String} top 图标在垂直方向上的定位 | |||
* @property {Boolean} show-decimal-icon 是否为DecimalIcon | |||
* @property {String} inactive-color 背景颜色,可接受主题色,仅Decimal时有效 | |||
* @property {String | Number} percent 显示的百分比,仅Decimal时有效 | |||
* @event {Function} click 点击图标时触发 | |||
* @example <u-icon name="photo" color="#2979ff" size="28"></u-icon> | |||
*/var _default2 = | |||
{ | |||
name: 'u-icon', | |||
props: { | |||
// 图标类名 | |||
name: { | |||
type: String, | |||
default: '' }, | |||
// 图标颜色,可接受主题色 | |||
color: { | |||
type: String, | |||
default: '' }, | |||
// 字体大小,单位rpx | |||
size: { | |||
type: [Number, String], | |||
default: 'inherit' }, | |||
// 是否显示粗体 | |||
bold: { | |||
type: Boolean, | |||
default: false }, | |||
// 点击图标的时候传递事件出去的index(用于区分点击了哪一个) | |||
index: { | |||
type: [Number, String], | |||
default: '' }, | |||
// 触摸图标时的类名 | |||
hoverClass: { | |||
type: String, | |||
default: '' }, | |||
// 自定义扩展前缀,方便用户扩展自己的图标库 | |||
customPrefix: { | |||
type: String, | |||
default: 'uicon' }, | |||
// 图标右边或者下面的文字 | |||
label: { | |||
type: [String, Number], | |||
default: '' }, | |||
// label的位置,只能右边或者下边 | |||
labelPos: { | |||
type: String, | |||
default: 'right' }, | |||
// label的大小 | |||
labelSize: { | |||
type: [String, Number], | |||
default: '28' }, | |||
// label的颜色 | |||
labelColor: { | |||
type: String, | |||
default: '#606266' }, | |||
// label与图标的距离(横向排列) | |||
marginLeft: { | |||
type: [String, Number], | |||
default: '6' }, | |||
// label与图标的距离(竖向排列) | |||
marginTop: { | |||
type: [String, Number], | |||
default: '6' }, | |||
// label与图标的距离(竖向排列) | |||
marginRight: { | |||
type: [String, Number], | |||
default: '6' }, | |||
// label与图标的距离(竖向排列) | |||
marginBottom: { | |||
type: [String, Number], | |||
default: '6' }, | |||
// 图片的mode | |||
imgMode: { | |||
type: String, | |||
default: 'widthFix' }, | |||
// 自定义样式 | |||
customStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 用于显示图片小图标时,图片的宽度 | |||
width: { | |||
type: [String, Number], | |||
default: '' }, | |||
// 用于显示图片小图标时,图片的高度 | |||
height: { | |||
type: [String, Number], | |||
default: '' }, | |||
// 用于解决某些情况下,让图标垂直居中的用途 | |||
top: { | |||
type: [String, Number], | |||
default: 0 }, | |||
// 是否为DecimalIcon | |||
showDecimalIcon: { | |||
type: Boolean, | |||
default: false }, | |||
// 背景颜色,可接受主题色,仅Decimal时有效 | |||
inactiveColor: { | |||
type: String, | |||
default: '#ececec' }, | |||
// 显示的百分比,仅Decimal时有效 | |||
percent: { | |||
type: [Number, String], | |||
default: '50' } }, | |||
computed: { | |||
customClass: function customClass() { | |||
var classes = []; | |||
classes.push(this.customPrefix + '-' + this.name); | |||
// uView的自定义图标类名为u-iconfont | |||
if (this.customPrefix == 'uicon') { | |||
classes.push('u-iconfont'); | |||
} else { | |||
classes.push(this.customPrefix); | |||
} | |||
// 主题色,通过类配置 | |||
if (this.showDecimalIcon && this.inactiveColor && this.$u.config.type.includes(this.inactiveColor)) { | |||
classes.push('u-icon__icon--' + this.inactiveColor); | |||
} else if (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color); | |||
// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别 | |||
// 故需将其拆成一个字符串的形式,通过空格隔开各个类名 | |||
return classes; | |||
}, | |||
iconStyle: function iconStyle() { | |||
var style = {}; | |||
style = { | |||
fontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size), | |||
fontWeight: this.bold ? 'bold' : 'normal', | |||
// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中 | |||
top: this.$u.addUnit(this.top) }; | |||
// 非主题色值时,才当作颜色值 | |||
if (this.showDecimalIcon && this.inactiveColor && !this.$u.config.type.includes(this.inactiveColor)) { | |||
style.color = this.inactiveColor; | |||
} else if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color; | |||
return style; | |||
}, | |||
// 判断传入的name属性,是否图片路径,只要带有"/"均认为是图片形式 | |||
isImg: function isImg() { | |||
return this.name.indexOf('/') !== -1; | |||
}, | |||
imgStyle: function imgStyle() { | |||
var style = {}; | |||
// 如果设置width和height属性,则优先使用,否则使用size属性 | |||
style.width = this.width ? this.$u.addUnit(this.width) : this.$u.addUnit(this.size); | |||
style.height = this.height ? this.$u.addUnit(this.height) : this.$u.addUnit(this.size); | |||
return style; | |||
}, | |||
decimalIconStyle: function decimalIconStyle() { | |||
var style = {}; | |||
style = { | |||
fontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size), | |||
fontWeight: this.bold ? 'bold' : 'normal', | |||
// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中 | |||
top: this.$u.addUnit(this.top), | |||
width: this.percent + '%' }; | |||
// 非主题色值时,才当作颜色值 | |||
if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color; | |||
return style; | |||
}, | |||
decimalIconClass: function decimalIconClass() { | |||
var classes = []; | |||
classes.push(this.customPrefix + '-' + this.name); | |||
// uView的自定义图标类名为u-iconfont | |||
if (this.customPrefix == 'uicon') { | |||
classes.push('u-iconfont'); | |||
} else { | |||
classes.push(this.customPrefix); | |||
} | |||
// 主题色,通过类配置 | |||
if (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color);else | |||
classes.push('u-icon__icon--primary'); | |||
// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别 | |||
// 故需将其拆成一个字符串的形式,通过空格隔开各个类名 | |||
return classes; | |||
} }, | |||
methods: { | |||
click: function click() { | |||
this.$emit('click', this.index); | |||
}, | |||
touchstart: function touchstart() { | |||
this.$emit('touchstart', this.index); | |||
} } };exports.default = _default2; | |||
/***/ }), | |||
/***/ 53: | |||
/*!****************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=style&index=0&id=172979f2&scoped=true&lang=scss& ***! | |||
\****************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=172979f2&scoped=true&lang=scss& */ 54); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_icon_vue_vue_type_style_index_0_id_172979f2_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 54: | |||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-icon/u-icon.vue?vue&type=style&index=0&id=172979f2&scoped=true&lang=scss& ***! | |||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-icon/u-icon.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-icon/u-icon-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-icon/u-icon-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(48)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-icon/u-icon-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="{{['u-icon data-v-172979f2','u-icon--'+labelPos]}}" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{isImg}}"><image class="u-icon__img data-v-172979f2" style="{{$root.s1}}" src="{{name}}" mode="{{imgMode}}"></image></block><block wx:else><text class="{{['u-icon__icon data-v-172979f2',customClass]}}" style="{{$root.s2}}" hover-class="{{hoverClass}}" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]]]}}" bindtouchstart="__e"><block wx:if="{{showDecimalIcon}}"><text class="{{['u-icon__decimal data-v-172979f2',decimalIconClass]}}" style="{{$root.s3}}" hover-class="{{hoverClass}}"></text></block></text></block><block wx:if="{{label!==''}}"><text class="u-icon__label data-v-172979f2" style="{{'color:'+(labelColor)+';'+('font-size:'+($root.g0)+';')+('margin-left:'+(labelPos=='right'?$root.g1:0)+';')+('margin-top:'+(labelPos=='bottom'?$root.g2:0)+';')+('margin-right:'+(labelPos=='left'?$root.g3:0)+';')+('margin-bottom:'+(labelPos=='top'?$root.g4:0)+';')}}">{{label+''}}</text></block></view> |
@ -0,0 +1,217 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-loading/u-loading"],{ | |||
/***/ 111: | |||
/*!************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue ***! | |||
\************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-loading.vue?vue&type=template&id=11df8c9e&scoped=true& */ 112); | |||
/* harmony import */ var _u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-loading.vue?vue&type=script&lang=js& */ 114); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-loading.vue?vue&type=style&index=0&id=11df8c9e&lang=scss&scoped=true& */ 116); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"11df8c9e", | |||
null, | |||
false, | |||
_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-loading/u-loading.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 112: | |||
/*!*******************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue?vue&type=template&id=11df8c9e&scoped=true& ***! | |||
\*******************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading.vue?vue&type=template&id=11df8c9e&scoped=true& */ 113); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_template_id_11df8c9e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 113: | |||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue?vue&type=template&id=11df8c9e&scoped=true& ***! | |||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.show ? _vm.__get_style([_vm.cricleStyle]) : null | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 114: | |||
/*!*************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue?vue&type=script&lang=js& ***! | |||
\*************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading.vue?vue&type=script&lang=js& */ 115); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 115: | |||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue?vue&type=script&lang=js& ***! | |||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* loading 加载动画 | |||
* @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。 | |||
* @tutorial https://www.uviewui.com/components/loading.html | |||
* @property {String} mode 模式选择,见官网说明(默认circle) | |||
* @property {String} color 动画活动区域的颜色,只对 mode = flower 模式有效(默认#c7c7c7) | |||
* @property {String Number} size 加载图标的大小,单位rpx(默认34) | |||
* @property {Boolean} show 是否显示动画(默认true) | |||
* @example <u-loading mode="circle"></u-loading> | |||
*/var _default = | |||
{ | |||
name: "u-loading", | |||
props: { | |||
// 动画的类型 | |||
mode: { | |||
type: String, | |||
default: 'circle' }, | |||
// 动画的颜色 | |||
color: { | |||
type: String, | |||
default: '#c7c7c7' }, | |||
// 加载图标的大小,单位rpx | |||
size: { | |||
type: [String, Number], | |||
default: '34' }, | |||
// 是否显示动画 | |||
show: { | |||
type: Boolean, | |||
default: true } }, | |||
computed: { | |||
// 加载中圆圈动画的样式 | |||
cricleStyle: function cricleStyle() { | |||
var style = {}; | |||
style.width = this.size + 'rpx'; | |||
style.height = this.size + 'rpx'; | |||
if (this.mode == 'circle') style.borderColor = "#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color ? this.color : '#c7c7c7'); | |||
return style; | |||
} } };exports.default = _default; | |||
/***/ }), | |||
/***/ 116: | |||
/*!**********************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue?vue&type=style&index=0&id=11df8c9e&lang=scss&scoped=true& ***! | |||
\**********************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading.vue?vue&type=style&index=0&id=11df8c9e&lang=scss&scoped=true& */ 117); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_loading_vue_vue_type_style_index_0_id_11df8c9e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 117: | |||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-loading/u-loading.vue?vue&type=style&index=0&id=11df8c9e&lang=scss&scoped=true& ***! | |||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-loading/u-loading.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-loading/u-loading-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-loading/u-loading-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(111)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-loading/u-loading-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<block wx:if="{{show}}"><view class="{{['u-loading data-v-11df8c9e',mode=='circle'?'u-loading-circle':'u-loading-flower']}}" style="{{$root.s0}}"></view></block> |
@ -0,0 +1,81 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-loading-circle.data-v-11df8c9e { | |||
display: -webkit-inline-box; | |||
display: -webkit-inline-flex; | |||
display: inline-flex; | |||
vertical-align: middle; | |||
width: 28rpx; | |||
height: 28rpx; | |||
background: 0 0; | |||
border-radius: 50%; | |||
border: 2px solid; | |||
border-color: #e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e; | |||
-webkit-animation: u-circle-data-v-11df8c9e 1s linear infinite; | |||
animation: u-circle-data-v-11df8c9e 1s linear infinite; | |||
} | |||
.u-loading-flower.data-v-11df8c9e { | |||
width: 20px; | |||
height: 20px; | |||
display: inline-block; | |||
vertical-align: middle; | |||
-webkit-animation: a 1s steps(12) infinite; | |||
animation: u-flower-data-v-11df8c9e 1s steps(12) infinite; | |||
background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat; | |||
background-size: 100%; | |||
} | |||
@-webkit-keyframes u-flower-data-v-11df8c9e { | |||
0% { | |||
-webkit-transform: rotate(0deg); | |||
transform: rotate(0deg); | |||
} | |||
to { | |||
-webkit-transform: rotate(1turn); | |||
transform: rotate(1turn); | |||
} | |||
} | |||
@keyframes u-flower-data-v-11df8c9e { | |||
0% { | |||
-webkit-transform: rotate(0deg); | |||
transform: rotate(0deg); | |||
} | |||
to { | |||
-webkit-transform: rotate(1turn); | |||
transform: rotate(1turn); | |||
} | |||
} | |||
@-webkit-keyframes u-circle-data-v-11df8c9e { | |||
0% { | |||
-webkit-transform: rotate(0); | |||
transform: rotate(0); | |||
} | |||
100% { | |||
-webkit-transform: rotate(360deg); | |||
transform: rotate(360deg); | |||
} | |||
} | |||
@ -0,0 +1,275 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-mask/u-mask"],{ | |||
/***/ 118: | |||
/*!******************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue ***! | |||
\******************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-mask.vue?vue&type=template&id=7775dba7&scoped=true& */ 119); | |||
/* harmony import */ var _u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-mask.vue?vue&type=script&lang=js& */ 121); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-mask.vue?vue&type=style&index=0&id=7775dba7&lang=scss&scoped=true& */ 123); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"7775dba7", | |||
null, | |||
false, | |||
_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-mask/u-mask.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 119: | |||
/*!*************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue?vue&type=template&id=7775dba7&scoped=true& ***! | |||
\*************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-mask.vue?vue&type=template&id=7775dba7&scoped=true& */ 120); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_template_id_7775dba7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 120: | |||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue?vue&type=template&id=7775dba7&scoped=true& ***! | |||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.__get_style([_vm.maskStyle, _vm.zoomStyle]) | |||
if (!_vm._isMounted) { | |||
_vm.e0 = function($event) { | |||
$event.stopPropagation() | |||
$event.preventDefault() | |||
return (function() {})($event) | |||
} | |||
} | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 121: | |||
/*!*******************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue?vue&type=script&lang=js& ***! | |||
\*******************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-mask.vue?vue&type=script&lang=js& */ 122); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 122: | |||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue?vue&type=script&lang=js& ***! | |||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* mask 遮罩 | |||
* @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景 | |||
* @tutorial https://www.uviewui.com/components/mask.html | |||
* @property {Boolean} show 是否显示遮罩(默认false) | |||
* @property {String Number} z-index z-index 层级(默认1070) | |||
* @property {Object} custom-style 自定义样式对象,见上方说明 | |||
* @property {String Number} duration 动画时长,单位毫秒(默认300) | |||
* @property {Boolean} zoom 是否使用scale对遮罩进行缩放(默认true) | |||
* @property {Boolean} mask-click-able 遮罩是否可点击,为false时点击不会发送click事件(默认true) | |||
* @event {Function} click mask-click-able为true时,点击遮罩发送此事件 | |||
* @example <u-mask :show="show" @click="show = false"></u-mask> | |||
*/var _default2 = | |||
{ | |||
name: "u-mask", | |||
props: { | |||
// 是否显示遮罩 | |||
show: { | |||
type: Boolean, | |||
default: false }, | |||
// 层级z-index | |||
zIndex: { | |||
type: [Number, String], | |||
default: '' }, | |||
// 用户自定义样式 | |||
customStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 遮罩的动画样式, 是否使用使用zoom进行scale进行缩放 | |||
zoom: { | |||
type: Boolean, | |||
default: true }, | |||
// 遮罩的过渡时间,单位为ms | |||
duration: { | |||
type: [Number, String], | |||
default: 300 }, | |||
// 是否可以通过点击遮罩进行关闭 | |||
maskClickAble: { | |||
type: Boolean, | |||
default: true } }, | |||
data: function data() { | |||
return { | |||
zoomStyle: { | |||
transform: '' }, | |||
scale: 'scale(1.2, 1.2)' }; | |||
}, | |||
watch: { | |||
show: function show(n) { | |||
if (n && this.zoom) { | |||
// 当展示遮罩的时候,设置scale为1,达到缩小(原来为1.2)的效果 | |||
this.zoomStyle.transform = 'scale(1, 1)'; | |||
} else if (!n && this.zoom) { | |||
// 当隐藏遮罩的时候,设置scale为1.2,达到放大(因为显示遮罩时已重置为1)的效果 | |||
this.zoomStyle.transform = this.scale; | |||
} | |||
} }, | |||
computed: { | |||
maskStyle: function maskStyle() { | |||
var style = {}; | |||
style.backgroundColor = "rgba(0, 0, 0, 0.6)"; | |||
if (this.show) style.zIndex = this.zIndex ? this.zIndex : this.$u.zIndex.mask;else | |||
style.zIndex = -1; | |||
style.transition = "all ".concat(this.duration / 1000, "s ease-in-out"); | |||
// 判断用户传递的对象是否为空,不为空就进行合并 | |||
if (Object.keys(this.customStyle).length) style = _objectSpread(_objectSpread({}, | |||
style), | |||
this.customStyle); | |||
return style; | |||
} }, | |||
methods: { | |||
click: function click() { | |||
if (!this.maskClickAble) return; | |||
this.$emit('click'); | |||
} } };exports.default = _default2; | |||
/***/ }), | |||
/***/ 123: | |||
/*!****************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue?vue&type=style&index=0&id=7775dba7&lang=scss&scoped=true& ***! | |||
\****************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-mask.vue?vue&type=style&index=0&id=7775dba7&lang=scss&scoped=true& */ 124); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_mask_vue_vue_type_style_index_0_id_7775dba7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 124: | |||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-mask/u-mask.vue?vue&type=style&index=0&id=7775dba7&lang=scss&scoped=true& ***! | |||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-mask/u-mask.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-mask/u-mask-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-mask/u-mask-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(118)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-mask/u-mask-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view class="{{['u-mask data-v-7775dba7',(zoom)?'u-mask-zoom':'',(show)?'u-mask-show':'']}}" style="{{$root.s0}}" hover-stop-propagation="{{true}}" data-event-opts="{{[['tap',[['click',['$event']]]],['touchmove',[['e0',['$event']]]]]}}" bindtap="__e" catchtouchmove="__e"><slot></slot></view> |
@ -0,0 +1,46 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-mask.data-v-7775dba7 { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
opacity: 0; | |||
-webkit-transition: -webkit-transform 0.3s; | |||
transition: -webkit-transform 0.3s; | |||
transition: transform 0.3s; | |||
transition: transform 0.3s, -webkit-transform 0.3s; | |||
} | |||
.u-mask-show.data-v-7775dba7 { | |||
opacity: 1; | |||
} | |||
.u-mask-zoom.data-v-7775dba7 { | |||
-webkit-transform: scale(1.2, 1.2); | |||
transform: scale(1.2, 1.2); | |||
} | |||
@ -0,0 +1,448 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-modal/u-modal"],{ | |||
/***/ 90: | |||
/*!********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue ***! | |||
\********************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true& */ 91); | |||
/* harmony import */ var _u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-modal.vue?vue&type=script&lang=js& */ 93); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true& */ 95); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"713d0fd3", | |||
null, | |||
false, | |||
_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-modal/u-modal.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 91: | |||
/*!***************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue?vue&type=template&id=713d0fd3&scoped=true& ***! | |||
\***************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=template&id=713d0fd3&scoped=true& */ 92); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_template_id_713d0fd3_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 92: | |||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue?vue&type=template&id=713d0fd3&scoped=true& ***! | |||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
try { | |||
components = { | |||
uPopup: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */ "node-modules/uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 104)) | |||
}, | |||
uLoading: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-loading/u-loading */ "node-modules/uview-ui/components/u-loading/u-loading").then(__webpack_require__.bind(null, /*! uview-ui/components/u-loading/u-loading.vue */ 111)) | |||
} | |||
} | |||
} catch (e) { | |||
if ( | |||
e.message.indexOf("Cannot find module") !== -1 && | |||
e.message.indexOf(".vue") !== -1 | |||
) { | |||
console.error(e.message) | |||
console.error("1. 排查组件名称拼写是否正确") | |||
console.error( | |||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |||
) | |||
console.error( | |||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |||
) | |||
} else { | |||
throw e | |||
} | |||
} | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.showTitle ? _vm.__get_style([_vm.titleStyle]) : null | |||
var s1 = | |||
_vm.$slots.default || _vm.$slots.$default | |||
? _vm.__get_style([_vm.contentStyle]) | |||
: null | |||
var s2 = !(_vm.$slots.default || _vm.$slots.$default) | |||
? _vm.__get_style([_vm.contentStyle]) | |||
: null | |||
var s3 = | |||
(_vm.showCancelButton || _vm.showConfirmButton) && _vm.showCancelButton | |||
? _vm.__get_style([_vm.cancelBtnStyle]) | |||
: null | |||
var s4 = | |||
(_vm.showCancelButton || _vm.showConfirmButton) && | |||
(_vm.showConfirmButton || _vm.$slots["confirm-button"]) | |||
? _vm.__get_style([_vm.confirmBtnStyle]) | |||
: null | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0, | |||
s1: s1, | |||
s2: s2, | |||
s3: s3, | |||
s4: s4 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 93: | |||
/*!*********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue?vue&type=script&lang=js& ***! | |||
\*********************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=script&lang=js& */ 94); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 94: | |||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue?vue&type=script&lang=js& ***! | |||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* modal 模态框 | |||
* @description 弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作 | |||
* @tutorial https://www.uviewui.com/components/modal.html | |||
* @property {Boolean} value 是否显示模态框 | |||
* @property {String | Number} z-index 层级 | |||
* @property {String} title 模态框标题(默认"提示") | |||
* @property {String | Number} width 模态框宽度(默认600) | |||
* @property {String} content 模态框内容(默认"内容") | |||
* @property {Boolean} show-title 是否显示标题(默认true) | |||
* @property {Boolean} async-close 是否异步关闭,只对确定按钮有效(默认false) | |||
* @property {Boolean} show-confirm-button 是否显示确认按钮(默认true) | |||
* @property {Stringr | Number} negative-top modal往上偏移的值 | |||
* @property {Boolean} show-cancel-button 是否显示取消按钮(默认false) | |||
* @property {Boolean} mask-close-able 是否允许点击遮罩关闭modal(默认false) | |||
* @property {String} confirm-text 确认按钮的文字内容(默认"确认") | |||
* @property {String} cancel-text 取消按钮的文字内容(默认"取消") | |||
* @property {String} cancel-color 取消按钮的颜色(默认"#606266") | |||
* @property {String} confirm-color 确认按钮的文字内容(默认"#2979ff") | |||
* @property {String | Number} border-radius 模态框圆角值,单位rpx(默认16) | |||
* @property {Object} title-style 自定义标题样式,对象形式 | |||
* @property {Object} content-style 自定义内容样式,对象形式 | |||
* @property {Object} cancel-style 自定义取消按钮样式,对象形式 | |||
* @property {Object} confirm-style 自定义确认按钮样式,对象形式 | |||
* @property {Boolean} zoom 是否开启缩放模式(默认true) | |||
* @event {Function} confirm 确认按钮被点击 | |||
* @event {Function} cancel 取消按钮被点击 | |||
* @example <u-modal :src="title" :content="content"></u-modal> | |||
*/var _default2 = | |||
{ | |||
name: 'u-modal', | |||
props: { | |||
// 是否显示Modal | |||
value: { | |||
type: Boolean, | |||
default: false }, | |||
// 层级z-index | |||
zIndex: { | |||
type: [Number, String], | |||
default: '' }, | |||
// 标题 | |||
title: { | |||
type: [String], | |||
default: '提示' }, | |||
// 弹窗宽度,可以是数值(rpx),百分比,auto等 | |||
width: { | |||
type: [Number, String], | |||
default: 600 }, | |||
// 弹窗内容 | |||
content: { | |||
type: String, | |||
default: '内容' }, | |||
// 是否显示标题 | |||
showTitle: { | |||
type: Boolean, | |||
default: true }, | |||
// 是否显示确认按钮 | |||
showConfirmButton: { | |||
type: Boolean, | |||
default: true }, | |||
// 是否显示取消按钮 | |||
showCancelButton: { | |||
type: Boolean, | |||
default: false }, | |||
// 确认文案 | |||
confirmText: { | |||
type: String, | |||
default: '确认' }, | |||
// 取消文案 | |||
cancelText: { | |||
type: String, | |||
default: '取消' }, | |||
// 确认按钮颜色 | |||
confirmColor: { | |||
type: String, | |||
default: '#2979ff' }, | |||
// 取消文字颜色 | |||
cancelColor: { | |||
type: String, | |||
default: '#606266' }, | |||
// 圆角值 | |||
borderRadius: { | |||
type: [Number, String], | |||
default: 16 }, | |||
// 标题的样式 | |||
titleStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 内容的样式 | |||
contentStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 取消按钮的样式 | |||
cancelStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 确定按钮的样式 | |||
confirmStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 是否开启缩放效果 | |||
zoom: { | |||
type: Boolean, | |||
default: true }, | |||
// 是否异步关闭,只对确定按钮有效 | |||
asyncClose: { | |||
type: Boolean, | |||
default: false }, | |||
// 是否允许点击遮罩关闭modal | |||
maskCloseAble: { | |||
type: Boolean, | |||
default: false }, | |||
// 给一个负的margin-top,往上偏移,避免和键盘重合的情况 | |||
negativeTop: { | |||
type: [String, Number], | |||
default: 0 } }, | |||
data: function data() { | |||
return { | |||
loading: false // 确认按钮是否正在加载中 | |||
}; | |||
}, | |||
computed: { | |||
cancelBtnStyle: function cancelBtnStyle() { | |||
return Object.assign({ | |||
color: this.cancelColor }, | |||
this.cancelStyle); | |||
}, | |||
confirmBtnStyle: function confirmBtnStyle() { | |||
return Object.assign({ | |||
color: this.confirmColor }, | |||
this.confirmStyle); | |||
}, | |||
uZIndex: function uZIndex() { | |||
return this.zIndex ? this.zIndex : this.$u.zIndex.popup; | |||
} }, | |||
watch: { | |||
// 如果是异步关闭时,外部修改v-model的值为false时,重置内部的loading状态 | |||
// 避免下次打开的时候,状态混乱 | |||
value: function value(n) { | |||
if (n === true) this.loading = false; | |||
} }, | |||
methods: { | |||
confirm: function confirm() { | |||
// 异步关闭 | |||
if (this.asyncClose) { | |||
this.loading = true; | |||
} else { | |||
this.$emit('input', false); | |||
} | |||
this.$emit('confirm'); | |||
}, | |||
cancel: function cancel() {var _this = this; | |||
this.$emit('cancel'); | |||
this.$emit('input', false); | |||
// 目前popup弹窗关闭有一个延时操作,此处做一个延时 | |||
// 避免确认按钮文字变成了"确定"字样,modal还没消失,造成视觉不好的效果 | |||
setTimeout(function () { | |||
_this.loading = false; | |||
}, 300); | |||
}, | |||
// 点击遮罩关闭modal,设置v-model的值为false,否则无法第二次弹起modal | |||
popupClose: function popupClose() { | |||
this.$emit('input', false); | |||
}, | |||
// 清除加载中的状态 | |||
clearLoading: function clearLoading() { | |||
this.loading = false; | |||
} } };exports.default = _default2; | |||
/***/ }), | |||
/***/ 95: | |||
/*!******************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true& ***! | |||
\******************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true& */ 96); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_modal_vue_vue_type_style_index_0_id_713d0fd3_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 96: | |||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-modal/u-modal.vue?vue&type=style&index=0&id=713d0fd3&lang=scss&scoped=true& ***! | |||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-modal/u-modal.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-modal/u-modal-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-modal/u-modal-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(90)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-modal/u-modal-create-component']] | |||
]); |
@ -0,0 +1,7 @@ | |||
{ | |||
"usingComponents": { | |||
"u-popup": "/node-modules/uview-ui/components/u-popup/u-popup", | |||
"u-loading": "/node-modules/uview-ui/components/u-loading/u-loading" | |||
}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view class="data-v-713d0fd3"><u-popup vue-id="64f5513e-1" zoom="{{zoom}}" mode="center" popup="{{false}}" z-index="{{uZIndex}}" length="{{width}}" mask-close-able="{{maskCloseAble}}" border-radius="{{borderRadius}}" negative-top="{{negativeTop}}" value="{{value}}" data-event-opts="{{[['^close',[['popupClose']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-713d0fd3" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-model data-v-713d0fd3"><block wx:if="{{showTitle}}"><view class="u-model__title u-line-1 data-v-713d0fd3" style="{{$root.s0}}">{{title}}</view></block><view class="u-model__content data-v-713d0fd3"><block wx:if="{{$slots.default||$slots.$default}}"><view style="{{$root.s1}}" class="data-v-713d0fd3"><slot></slot></view></block><block wx:else><view class="u-model__content__message data-v-713d0fd3" style="{{$root.s2}}">{{content}}</view></block></view><block wx:if="{{showCancelButton||showConfirmButton}}"><view class="u-model__footer u-border-top data-v-713d0fd3"><block wx:if="{{showCancelButton}}"><view class="u-model__footer__button data-v-713d0fd3" style="{{$root.s3}}" hover-stay-time="{{100}}" hover-class="u-model__btn--hover" data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" bindtap="__e">{{''+cancelText+''}}</view></block><block wx:if="{{showConfirmButton||$slots['confirm-button']}}"><view class="u-model__footer__button hairline-left data-v-713d0fd3" style="{{$root.s4}}" hover-stay-time="{{100}}" hover-class="{{asyncClose?'none':'u-model__btn--hover'}}" data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" bindtap="__e"><block wx:if="{{$slots['confirm-button']}}"><slot name="confirm-button"></slot></block><block wx:else><block class="data-v-713d0fd3"><block wx:if="{{loading}}"><u-loading vue-id="{{('64f5513e-2')+','+('64f5513e-1')}}" mode="circle" color="{{confirmColor}}" class="data-v-713d0fd3" bind:__l="__l"></u-loading></block><block wx:else><block class="data-v-713d0fd3">{{''+confirmText+''}}</block></block></block></block></view></block></view></block></view></u-popup></view> |
@ -0,0 +1,70 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-model.data-v-713d0fd3 { | |||
height: auto; | |||
overflow: hidden; | |||
font-size: 32rpx; | |||
background-color: #fff; | |||
} | |||
.u-model__btn--hover.data-v-713d0fd3 { | |||
background-color: #e6e6e6; | |||
} | |||
.u-model__title.data-v-713d0fd3 { | |||
padding-top: 48rpx; | |||
font-weight: 500; | |||
text-align: center; | |||
color: #303133; | |||
} | |||
.u-model__content__message.data-v-713d0fd3 { | |||
padding: 48rpx; | |||
font-size: 30rpx; | |||
text-align: center; | |||
color: #606266; | |||
} | |||
.u-model__footer.data-v-713d0fd3 { | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
} | |||
.u-model__footer__button.data-v-713d0fd3 { | |||
-webkit-box-flex: 1; | |||
-webkit-flex: 1; | |||
flex: 1; | |||
height: 100rpx; | |||
line-height: 100rpx; | |||
font-size: 32rpx; | |||
box-sizing: border-box; | |||
cursor: pointer; | |||
text-align: center; | |||
border-radius: 4rpx; | |||
} | |||
@ -0,0 +1,498 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-number-box/u-number-box"],{ | |||
/***/ 76: | |||
/*!******************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue ***! | |||
\******************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-number-box.vue?vue&type=template&id=18418972&scoped=true& */ 77); | |||
/* harmony import */ var _u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-number-box.vue?vue&type=script&lang=js& */ 79); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-number-box.vue?vue&type=style&index=0&id=18418972&lang=scss&scoped=true& */ 81); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"18418972", | |||
null, | |||
false, | |||
_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-number-box/u-number-box.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 77: | |||
/*!*************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue?vue&type=template&id=18418972&scoped=true& ***! | |||
\*************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-number-box.vue?vue&type=template&id=18418972&scoped=true& */ 78); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_template_id_18418972_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 78: | |||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue?vue&type=template&id=18418972&scoped=true& ***! | |||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
try { | |||
components = { | |||
uIcon: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */ "node-modules/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 48)) | |||
} | |||
} | |||
} catch (e) { | |||
if ( | |||
e.message.indexOf("Cannot find module") !== -1 && | |||
e.message.indexOf(".vue") !== -1 | |||
) { | |||
console.error(e.message) | |||
console.error("1. 排查组件名称拼写是否正确") | |||
console.error( | |||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |||
) | |||
console.error( | |||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |||
) | |||
} else { | |||
throw e | |||
} | |||
} | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 79: | |||
/*!*******************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue?vue&type=script&lang=js& ***! | |||
\*******************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-number-box.vue?vue&type=script&lang=js& */ 80); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 80: | |||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue?vue&type=script&lang=js& ***! | |||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* numberBox 步进器 | |||
* @description 该组件一般用于商城购物选择物品数量的场景。注意:该输入框只能输入大于或等于0的整数,不支持小数输入 | |||
* @tutorial https://www.uviewui.com/components/numberBox.html | |||
* @property {Number} value 输入框初始值(默认1) | |||
* @property {String} bg-color 输入框和按钮的背景颜色(默认#F2F3F5) | |||
* @property {Number} min 用户可输入的最小值(默认0) | |||
* @property {Number} max 用户可输入的最大值(默认99999) | |||
* @property {Number} step 步长,每次加或减的值(默认1) | |||
* @property {Boolean} disabled 是否禁用操作,禁用后无法加减或手动修改输入框的值(默认false) | |||
* @property {Boolean} disabled-input 是否禁止输入框手动输入值(默认false) | |||
* @property {Boolean} positive-integer 是否只能输入正整数(默认true) | |||
* @property {String | Number} size 输入框文字和按钮字体大小,单位rpx(默认26) | |||
* @property {String} color 输入框文字和加减按钮图标的颜色(默认#323233) | |||
* @property {String | Number} input-width 输入框宽度,单位rpx(默认80) | |||
* @property {String | Number} input-height 输入框和按钮的高度,单位rpx(默认50) | |||
* @property {String | Number} index 事件回调时用以区分当前发生变化的是哪个输入框 | |||
* @property {Boolean} long-press 是否开启长按连续递增或递减(默认true) | |||
* @property {String | Number} press-time 开启长按触发后,每触发一次需要多久,单位ms(默认250) | |||
* @property {String | Number} cursor-spacing 指定光标于键盘的距离,避免键盘遮挡输入框,单位rpx(默认200) | |||
* @event {Function} change 输入框内容发生变化时触发,对象形式 | |||
* @event {Function} blur 输入框失去焦点时触发,对象形式 | |||
* @event {Function} minus 点击减少按钮时触发(按钮可点击情况下),对象形式 | |||
* @event {Function} plus 点击增加按钮时触发(按钮可点击情况下),对象形式 | |||
* @example <u-number-box :min="1" :max="100"></u-number-box> | |||
*/var _default = | |||
{ | |||
name: "u-number-box", | |||
props: { | |||
// 预显示的数字 | |||
value: { | |||
type: Number, | |||
default: 1 }, | |||
// 背景颜色 | |||
bgColor: { | |||
type: String, | |||
default: '#F2F3F5' }, | |||
// 最小值 | |||
min: { | |||
type: Number, | |||
default: 0 }, | |||
// 最大值 | |||
max: { | |||
type: Number, | |||
default: 99999 }, | |||
// 步进值,每次加或减的值 | |||
step: { | |||
type: Number, | |||
default: 1 }, | |||
// 是否禁用加减操作 | |||
disabled: { | |||
type: Boolean, | |||
default: false }, | |||
// input的字体大小,单位rpx | |||
size: { | |||
type: [Number, String], | |||
default: 26 }, | |||
// 加减图标的颜色 | |||
color: { | |||
type: String, | |||
default: '#323233' }, | |||
// input宽度,单位rpx | |||
inputWidth: { | |||
type: [Number, String], | |||
default: 80 }, | |||
// input高度,单位rpx | |||
inputHeight: { | |||
type: [Number, String], | |||
default: 50 }, | |||
// index索引,用于列表中使用,让用户知道是哪个numberbox发生了变化,一般使用for循环出来的index值即可 | |||
index: { | |||
type: [Number, String], | |||
default: '' }, | |||
// 是否禁用输入框,与disabled作用于输入框时,为OR的关系,即想要禁用输入框,又可以加减的话 | |||
// 设置disabled为false,disabledInput为true即可 | |||
disabledInput: { | |||
type: Boolean, | |||
default: false }, | |||
// 输入框于键盘之间的距离 | |||
cursorSpacing: { | |||
type: [Number, String], | |||
default: 100 }, | |||
// 是否开启长按连续递增或递减 | |||
longPress: { | |||
type: Boolean, | |||
default: true }, | |||
// 开启长按触发后,每触发一次需要多久 | |||
pressTime: { | |||
type: [Number, String], | |||
default: 250 }, | |||
// 是否只能输入大于或等于0的整数(正整数) | |||
positiveInteger: { | |||
type: Boolean, | |||
default: true } }, | |||
watch: { | |||
value: function value(v1, v2) { | |||
// 只有value的改变是来自外部的时候,才去同步inputVal的值,否则会造成循环错误 | |||
if (!this.changeFromInner) { | |||
this.inputVal = v1; | |||
// 因为inputVal变化后,会触发this.handleChange(),在其中changeFromInner会再次被设置为true, | |||
// 造成外面修改值,也导致被认为是内部修改的混乱,这里进行this.$nextTick延时,保证在运行周期的最后处 | |||
// 将changeFromInner设置为false | |||
this.$nextTick(function () { | |||
this.changeFromInner = false; | |||
}); | |||
} | |||
}, | |||
inputVal: function inputVal(v1, v2) {var _this = this; | |||
// 为了让用户能够删除所有输入值,重新输入内容,删除所有值后,内容为空字符串 | |||
if (v1 == '') return; | |||
var value = 0; | |||
// 首先判断是否数值,并且在min和max之间,如果不是,使用原来值 | |||
var tmp = this.$u.test.number(v1); | |||
if (tmp && v1 >= this.min && v1 <= this.max) value = v1;else | |||
value = v2; | |||
// 判断是否只能输入大于等于0的整数 | |||
if (this.positiveInteger) { | |||
// 小于0,或者带有小数点, | |||
if (v1 < 0 || String(v1).indexOf('.') !== -1) { | |||
value = v2; | |||
// 双向绑定input的值,必须要使用$nextTick修改显示的值 | |||
this.$nextTick(function () { | |||
_this.inputVal = v2; | |||
}); | |||
} | |||
} | |||
// 发出change事件 | |||
this.handleChange(value, 'change'); | |||
} }, | |||
data: function data() { | |||
return { | |||
inputVal: 1, // 输入框中的值,不能直接使用props中的value,因为应该改变props的状态 | |||
timer: null, // 用作长按的定时器 | |||
changeFromInner: false, // 值发生变化,是来自内部还是外部 | |||
innerChangeTimer: null // 内部定时器 | |||
}; | |||
}, | |||
created: function created() { | |||
this.inputVal = Number(this.value); | |||
}, | |||
computed: { | |||
getCursorSpacing: function getCursorSpacing() { | |||
// 先将值转为px单位,再转为数值 | |||
return Number(uni.upx2px(this.cursorSpacing)); | |||
} }, | |||
methods: { | |||
// 点击退格键 | |||
btnTouchStart: function btnTouchStart(callback) {var _this2 = this; | |||
// 先执行一遍方法,否则会造成松开手时,就执行了clearTimer,导致无法实现功能 | |||
this[callback](); | |||
// 如果没开启长按功能,直接返回 | |||
if (!this.longPress) return; | |||
clearInterval(this.timer); //再次清空定时器,防止重复注册定时器 | |||
this.timer = null; | |||
this.timer = setInterval(function () { | |||
// 执行加或减函数 | |||
_this2[callback](); | |||
}, this.pressTime); | |||
}, | |||
clearTimer: function clearTimer() {var _this3 = this; | |||
this.$nextTick(function () { | |||
clearInterval(_this3.timer); | |||
_this3.timer = null; | |||
}); | |||
}, | |||
minus: function minus() { | |||
this.computeVal('minus'); | |||
}, | |||
plus: function plus() { | |||
this.computeVal('plus'); | |||
}, | |||
// 为了保证小数相加减出现精度溢出的问题 | |||
calcPlus: function calcPlus(num1, num2) { | |||
var baseNum, baseNum1, baseNum2; | |||
try { | |||
baseNum1 = num1.toString().split('.')[1].length; | |||
} catch (e) { | |||
baseNum1 = 0; | |||
} | |||
try { | |||
baseNum2 = num2.toString().split('.')[1].length; | |||
} catch (e) { | |||
baseNum2 = 0; | |||
} | |||
baseNum = Math.pow(10, Math.max(baseNum1, baseNum2)); | |||
var precision = baseNum1 >= baseNum2 ? baseNum1 : baseNum2; //精度 | |||
return ((num1 * baseNum + num2 * baseNum) / baseNum).toFixed(precision); | |||
}, | |||
// 为了保证小数相加减出现精度溢出的问题 | |||
calcMinus: function calcMinus(num1, num2) { | |||
var baseNum, baseNum1, baseNum2; | |||
try { | |||
baseNum1 = num1.toString().split('.')[1].length; | |||
} catch (e) { | |||
baseNum1 = 0; | |||
} | |||
try { | |||
baseNum2 = num2.toString().split('.')[1].length; | |||
} catch (e) { | |||
baseNum2 = 0; | |||
} | |||
baseNum = Math.pow(10, Math.max(baseNum1, baseNum2)); | |||
var precision = baseNum1 >= baseNum2 ? baseNum1 : baseNum2; | |||
return ((num1 * baseNum - num2 * baseNum) / baseNum).toFixed(precision); | |||
}, | |||
computeVal: function computeVal(type) { | |||
uni.hideKeyboard(); | |||
if (this.disabled) return; | |||
var value = 0; | |||
// 减 | |||
if (type === 'minus') { | |||
value = this.calcMinus(this.inputVal, this.step); | |||
} else if (type === 'plus') { | |||
value = this.calcPlus(this.inputVal, this.step); | |||
} | |||
// 判断是否小于最小值和大于最大值 | |||
if (value < this.min || value > this.max) { | |||
return; | |||
} | |||
this.inputVal = value; | |||
this.handleChange(value, type); | |||
}, | |||
// 处理用户手动输入的情况 | |||
onBlur: function onBlur(event) {var _this4 = this; | |||
var val = 0; | |||
var value = event.detail.value; | |||
// 如果为非0-9数字组成,或者其第一位数值为0,直接让其等于min值 | |||
// 这里不直接判断是否正整数,是因为用户传递的props min值可能为0 | |||
if (!/(^\d+$)/.test(value) || value[0] == 0) val = this.min; | |||
val = +value; | |||
if (val > this.max) { | |||
val = this.max; | |||
} else if (val < this.min) { | |||
val = this.min; | |||
} | |||
this.$nextTick(function () { | |||
_this4.inputVal = val; | |||
}); | |||
this.handleChange(val, 'blur'); | |||
}, | |||
// 输入框获得焦点事件 | |||
onFocus: function onFocus() { | |||
this.$emit('focus'); | |||
}, | |||
handleChange: function handleChange(value, type) {var _this5 = this; | |||
if (this.disabled) return; | |||
// 清除定时器,避免造成混乱 | |||
if (this.innerChangeTimer) { | |||
clearTimeout(this.innerChangeTimer); | |||
this.innerChangeTimer = null; | |||
} | |||
// 发出input事件,修改通过v-model绑定的值,达到双向绑定的效果 | |||
this.changeFromInner = true; | |||
// 一定时间内,清除changeFromInner标记,否则内部值改变后 | |||
// 外部通过程序修改value值,将会无效 | |||
this.innerChangeTimer = setTimeout(function () { | |||
_this5.changeFromInner = false; | |||
}, 150); | |||
this.$emit('input', Number(value)); | |||
this.$emit(type, { | |||
// 转为Number类型 | |||
value: Number(value), | |||
index: this.index }); | |||
} } };exports.default = _default; | |||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |||
/***/ }), | |||
/***/ 81: | |||
/*!****************************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue?vue&type=style&index=0&id=18418972&lang=scss&scoped=true& ***! | |||
\****************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-number-box.vue?vue&type=style&index=0&id=18418972&lang=scss&scoped=true& */ 82); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_number_box_vue_vue_type_style_index_0_id_18418972_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 82: | |||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-number-box/u-number-box.vue?vue&type=style&index=0&id=18418972&lang=scss&scoped=true& ***! | |||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-number-box/u-number-box.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-number-box/u-number-box-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-number-box/u-number-box-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(76)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-number-box/u-number-box-create-component']] | |||
]); |
@ -0,0 +1,6 @@ | |||
{ | |||
"usingComponents": { | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon" | |||
}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view class="u-numberbox data-v-18418972"><view data-event-opts="{{[['touchstart',[['btnTouchStart',['minus']]]],['touchend',[['clearTimer',['$event']]]]]}}" class="{{['u-icon-minus data-v-18418972',(disabled||inputVal<=min)?'u-icon-disabled':'']}}" style="{{'background:'+(bgColor)+';'+('height:'+(inputHeight+'rpx')+';')+('color:'+(color)+';')}}" catchtouchstart="__e" catchtouchend="__e"><u-icon vue-id="4486b0ed-1" name="minus" size="{{size}}" class="data-v-18418972" bind:__l="__l"></u-icon></view><input class="{{['u-number-input data-v-18418972',(disabled)?'u-input-disabled':'']}}" style="{{'color:'+(color)+';'+('font-size:'+(size+'rpx')+';')+('background:'+(bgColor)+';')+('height:'+(inputHeight+'rpx')+';')+('width:'+(inputWidth+'rpx')+';')}}" disabled="{{disabledInput||disabled}}" cursor-spacing="{{getCursorSpacing}}" type="number" data-event-opts="{{[['blur',[['onBlur',['$event']]]],['focus',[['onFocus',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindblur="__e" bindfocus="__e" bindinput="__e"/><view data-event-opts="{{[['touchstart',[['btnTouchStart',['plus']]]],['touchend',[['clearTimer',['$event']]]]]}}" class="{{['u-icon-plus data-v-18418972',(disabled||inputVal>=max)?'u-icon-disabled':'']}}" style="{{'background:'+(bgColor)+';'+('height:'+(inputHeight+'rpx')+';')+('color:'+(color)+';')}}" catchtouchstart="__e" catchtouchend="__e"><u-icon vue-id="4486b0ed-2" name="plus" size="{{size}}" class="data-v-18418972" bind:__l="__l"></u-icon></view></view> |
@ -0,0 +1,89 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-numberbox.data-v-18418972 { | |||
display: -webkit-inline-box; | |||
display: -webkit-inline-flex; | |||
display: inline-flex; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
} | |||
.u-number-input.data-v-18418972 { | |||
position: relative; | |||
text-align: center; | |||
padding: 0; | |||
margin: 0 6rpx; | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
} | |||
.u-icon-plus.data-v-18418972, | |||
.u-icon-minus.data-v-18418972 { | |||
width: 60rpx; | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
} | |||
.u-icon-plus.data-v-18418972 { | |||
border-radius: 0 8rpx 8rpx 0; | |||
} | |||
.u-icon-minus.data-v-18418972 { | |||
border-radius: 8rpx 0 0 8rpx; | |||
} | |||
.u-icon-disabled.data-v-18418972 { | |||
color: #c8c9cc !important; | |||
background: #f7f8fa !important; | |||
} | |||
.u-input-disabled.data-v-18418972 { | |||
color: #c8c9cc !important; | |||
background-color: #f2f3f5 !important; | |||
} | |||
@ -0,0 +1,542 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-popup/u-popup"],{ | |||
/***/ 104: | |||
/*!********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue ***! | |||
\********************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true& */ 105); | |||
/* harmony import */ var _u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-popup.vue?vue&type=script&lang=js& */ 107); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&scoped=true&lang=scss& */ 109); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"52d4ddd1", | |||
null, | |||
false, | |||
_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-popup/u-popup.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 105: | |||
/*!***************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true& ***! | |||
\***************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true& */ 106); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_template_id_52d4ddd1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 106: | |||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue?vue&type=template&id=52d4ddd1&scoped=true& ***! | |||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
try { | |||
components = { | |||
uMask: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-mask/u-mask */ "node-modules/uview-ui/components/u-mask/u-mask").then(__webpack_require__.bind(null, /*! uview-ui/components/u-mask/u-mask.vue */ 118)) | |||
}, | |||
uIcon: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */ "node-modules/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 48)) | |||
} | |||
} | |||
} catch (e) { | |||
if ( | |||
e.message.indexOf("Cannot find module") !== -1 && | |||
e.message.indexOf(".vue") !== -1 | |||
) { | |||
console.error(e.message) | |||
console.error("1. 排查组件名称拼写是否正确") | |||
console.error( | |||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |||
) | |||
console.error( | |||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |||
) | |||
} else { | |||
throw e | |||
} | |||
} | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.visibleSync | |||
? _vm.__get_style([ | |||
_vm.customStyle, | |||
{ | |||
zIndex: _vm.uZindex - 1 | |||
} | |||
]) | |||
: null | |||
var s1 = _vm.visibleSync ? _vm.__get_style([_vm.style]) : null | |||
var s2 = | |||
_vm.visibleSync && _vm.mode == "center" | |||
? _vm.__get_style([_vm.centerStyle]) | |||
: null | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0, | |||
s1: s1, | |||
s2: s2 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 107: | |||
/*!*********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue?vue&type=script&lang=js& ***! | |||
\*********************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=script&lang=js& */ 108); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 108: | |||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue?vue&type=script&lang=js& ***! | |||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* popup 弹窗 | |||
* @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义 | |||
* @tutorial https://www.uviewui.com/components/popup.html | |||
* @property {String} mode 弹出方向(默认left) | |||
* @property {Boolean} mask 是否显示遮罩(默认true) | |||
* @property {Stringr | Number} length mode=left | 见官网说明(默认auto) | |||
* @property {Boolean} zoom 是否开启缩放动画,只在mode为center时有效(默认true) | |||
* @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false) | |||
* @property {Boolean} mask-close-able 点击遮罩是否可以关闭弹出层(默认true) | |||
* @property {Object} custom-style 用户自定义样式 | |||
* @property {Stringr | Number} negative-top 中部弹出时,往上偏移的值 | |||
* @property {Numberr | String} border-radius 弹窗圆角值(默认0) | |||
* @property {Numberr | String} z-index 弹出内容的z-index值(默认1075) | |||
* @property {Boolean} closeable 是否显示关闭图标(默认false) | |||
* @property {String} close-icon 关闭图标的名称,只能uView的内置图标 | |||
* @property {String} close-icon-pos 自定义关闭图标位置(默认top-right) | |||
* @property {String} close-icon-color 关闭图标的颜色(默认#909399) | |||
* @property {Number | String} close-icon-size 关闭图标的大小,单位rpx(默认30) | |||
* @event {Function} open 弹出层打开 | |||
* @event {Function} close 弹出层收起 | |||
* @example <u-popup v-model="show"><view>出淤泥而不染,濯清涟而不妖</view></u-popup> | |||
*/var _default2 = | |||
{ | |||
name: 'u-popup', | |||
props: { | |||
/** | |||
* 显示状态 | |||
*/ | |||
show: { | |||
type: Boolean, | |||
default: false }, | |||
/** | |||
* 弹出方向,left|right|top|bottom|center | |||
*/ | |||
mode: { | |||
type: String, | |||
default: 'left' }, | |||
/** | |||
* 是否显示遮罩 | |||
*/ | |||
mask: { | |||
type: Boolean, | |||
default: true }, | |||
// 抽屉的宽度(mode=left|right),或者高度(mode=top|bottom),单位rpx,或者"auto" | |||
// 或者百分比"50%",表示由内容撑开高度或者宽度 | |||
length: { | |||
type: [Number, String], | |||
default: 'auto' }, | |||
// 是否开启缩放动画,只在mode=center时有效 | |||
zoom: { | |||
type: Boolean, | |||
default: true }, | |||
// 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距 | |||
safeAreaInsetBottom: { | |||
type: Boolean, | |||
default: false }, | |||
// 是否可以通过点击遮罩进行关闭 | |||
maskCloseAble: { | |||
type: Boolean, | |||
default: true }, | |||
// 用户自定义样式 | |||
customStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
value: { | |||
type: Boolean, | |||
default: false }, | |||
// 此为内部参数,不在文档对外使用,为了解决Picker和keyboard等融合了弹窗的组件 | |||
// 对v-model双向绑定多层调用造成报错不能修改props值的问题 | |||
popup: { | |||
type: Boolean, | |||
default: true }, | |||
// 显示显示弹窗的圆角,单位rpx | |||
borderRadius: { | |||
type: [Number, String], | |||
default: 0 }, | |||
zIndex: { | |||
type: [Number, String], | |||
default: '' }, | |||
// 是否显示关闭图标 | |||
closeable: { | |||
type: Boolean, | |||
default: false }, | |||
// 关闭图标的名称,只能uView的内置图标 | |||
closeIcon: { | |||
type: String, | |||
default: 'close' }, | |||
// 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角 | |||
closeIconPos: { | |||
type: String, | |||
default: 'top-right' }, | |||
// 关闭图标的颜色 | |||
closeIconColor: { | |||
type: String, | |||
default: '#909399' }, | |||
// 关闭图标的大小,单位rpx | |||
closeIconSize: { | |||
type: [String, Number], | |||
default: '30' }, | |||
// 宽度,只对左,右,中部弹出时起作用,单位rpx,或者"auto" | |||
// 或者百分比"50%",表示由内容撑开高度或者宽度,优先级高于length参数 | |||
width: { | |||
type: String, | |||
default: '' }, | |||
// 高度,只对上,下,中部弹出时起作用,单位rpx,或者"auto" | |||
// 或者百分比"50%",表示由内容撑开高度或者宽度,优先级高于length参数 | |||
height: { | |||
type: String, | |||
default: '' }, | |||
// 给一个负的margin-top,往上偏移,避免和键盘重合的情况,仅在mode=center时有效 | |||
negativeTop: { | |||
type: [String, Number], | |||
default: 0 }, | |||
// 遮罩的样式,一般用于修改遮罩的透明度 | |||
maskCustomStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} }, | |||
// 遮罩打开或收起的动画过渡时间,单位ms | |||
duration: { | |||
type: [String, Number], | |||
default: 250 } }, | |||
data: function data() { | |||
return { | |||
visibleSync: false, | |||
showDrawer: false, | |||
timer: null, | |||
closeFromInner: false // value的值改变,是发生在内部还是外部 | |||
}; | |||
}, | |||
computed: { | |||
// 根据mode的位置,设定其弹窗的宽度(mode = left|right),或者高度(mode = top|bottom) | |||
style: function style() { | |||
var style = {}; | |||
// 如果是左边或者上边弹出时,需要给translate设置为负值,用于隐藏 | |||
if (this.mode == 'left' || this.mode == 'right') { | |||
style = { | |||
width: this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length), | |||
height: '100%', | |||
transform: "translate3D(".concat(this.mode == 'left' ? '-100%' : '100%', ",0px,0px)") }; | |||
} else if (this.mode == 'top' || this.mode == 'bottom') { | |||
style = { | |||
width: '100%', | |||
height: this.height ? this.getUnitValue(this.height) : this.getUnitValue(this.length), | |||
transform: "translate3D(0px,".concat(this.mode == 'top' ? '-100%' : '100%', ",0px)") }; | |||
} | |||
style.zIndex = this.uZindex; | |||
// 如果用户设置了borderRadius值,添加弹窗的圆角 | |||
if (this.borderRadius) { | |||
switch (this.mode) { | |||
case 'left': | |||
style.borderRadius = "0 ".concat(this.borderRadius, "rpx ").concat(this.borderRadius, "rpx 0"); | |||
break; | |||
case 'top': | |||
style.borderRadius = "0 0 ".concat(this.borderRadius, "rpx ").concat(this.borderRadius, "rpx"); | |||
break; | |||
case 'right': | |||
style.borderRadius = "".concat(this.borderRadius, "rpx 0 0 ").concat(this.borderRadius, "rpx"); | |||
break; | |||
case 'bottom': | |||
style.borderRadius = "".concat(this.borderRadius, "rpx ").concat(this.borderRadius, "rpx 0 0"); | |||
break; | |||
default:} | |||
// 不加可能圆角无效 | |||
style.overflow = 'hidden'; | |||
} | |||
if (this.duration) style.transition = "all ".concat(this.duration / 1000, "s linear"); | |||
return style; | |||
}, | |||
// 中部弹窗的特有样式 | |||
centerStyle: function centerStyle() { | |||
var style = {}; | |||
style.width = this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length); | |||
// 中部弹出的模式,如果没有设置高度,就用auto值,由内容撑开高度 | |||
style.height = this.height ? this.getUnitValue(this.height) : 'auto'; | |||
style.zIndex = this.uZindex; | |||
style.marginTop = "-".concat(this.$u.addUnit(this.negativeTop)); | |||
if (this.borderRadius) { | |||
style.borderRadius = "".concat(this.borderRadius, "rpx"); | |||
// 不加可能圆角无效 | |||
style.overflow = 'hidden'; | |||
} | |||
return style; | |||
}, | |||
// 计算整理后的z-index值 | |||
uZindex: function uZindex() { | |||
return this.zIndex ? this.zIndex : this.$u.zIndex.popup; | |||
} }, | |||
watch: { | |||
value: function value(val) { | |||
if (val) { | |||
this.open(); | |||
} else if (!this.closeFromInner) { | |||
this.close(); | |||
} | |||
this.closeFromInner = false; | |||
} }, | |||
mounted: function mounted() { | |||
// 组件渲染完成时,检查value是否为true,如果是,弹出popup | |||
this.value && this.open(); | |||
}, | |||
methods: { | |||
// 判断传入的值,是否带有单位,如果没有,就默认用rpx单位 | |||
getUnitValue: function getUnitValue(val) { | |||
if (/(%|px|rpx|auto)$/.test(val)) return val;else | |||
return val + 'rpx'; | |||
}, | |||
// 遮罩被点击 | |||
maskClick: function maskClick() { | |||
this.close(); | |||
}, | |||
close: function close() { | |||
// 标记关闭是内部发生的,否则修改了value值,导致watch中对value检测,导致再执行一遍close | |||
// 造成@close事件触发两次 | |||
this.closeFromInner = true; | |||
this.change('showDrawer', 'visibleSync', false); | |||
}, | |||
// 中部弹出时,需要.u-drawer-content将居中内容,此元素会铺满屏幕,点击需要关闭弹窗 | |||
// 让其只在mode=center时起作用 | |||
modeCenterClose: function modeCenterClose(mode) { | |||
if (mode != 'center' || !this.maskCloseAble) return; | |||
this.close(); | |||
}, | |||
open: function open() { | |||
this.change('visibleSync', 'showDrawer', true); | |||
}, | |||
// 此处的原理是,关闭时先通过动画隐藏弹窗和遮罩,再移除整个组件 | |||
// 打开时,先渲染组件,延时一定时间再让遮罩和弹窗的动画起作用 | |||
change: function change(param1, param2, status) {var _this = this; | |||
// 如果this.popup为false,意味着为picker,actionsheet等组件调用了popup组件 | |||
if (this.popup == true) { | |||
this.$emit('input', status); | |||
} | |||
this[param1] = status; | |||
if (status) { | |||
this.timer = setTimeout(function () { | |||
_this[param2] = status; | |||
_this.$emit(status ? 'open' : 'close'); | |||
}, 50); | |||
} else { | |||
this.timer = setTimeout(function () { | |||
_this[param2] = status; | |||
_this.$emit(status ? 'open' : 'close'); | |||
}, this.duration); | |||
} | |||
} } };exports.default = _default2; | |||
/***/ }), | |||
/***/ 109: | |||
/*!******************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue?vue&type=style&index=0&id=52d4ddd1&scoped=true&lang=scss& ***! | |||
\******************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-popup.vue?vue&type=style&index=0&id=52d4ddd1&scoped=true&lang=scss& */ 110); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_popup_vue_vue_type_style_index_0_id_52d4ddd1_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 110: | |||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-popup/u-popup.vue?vue&type=style&index=0&id=52d4ddd1&scoped=true&lang=scss& ***! | |||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-popup/u-popup-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-popup/u-popup-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(104)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-popup/u-popup-create-component']] | |||
]); |
@ -0,0 +1,7 @@ | |||
{ | |||
"usingComponents": { | |||
"u-mask": "/node-modules/uview-ui/components/u-mask/u-mask", | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon" | |||
}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<block wx:if="{{visibleSync}}"><view class="u-drawer data-v-52d4ddd1" style="{{$root.s0}}" hover-stop-propagation="{{true}}"><u-mask vue-id="1ee74923-1" duration="{{duration}}" custom-style="{{maskCustomStyle}}" maskClickAble="{{maskCloseAble}}" z-index="{{uZindex-2}}" show="{{showDrawer&&mask}}" data-event-opts="{{[['^click',[['maskClick']]]]}}" bind:click="__e" class="data-v-52d4ddd1" bind:__l="__l"></u-mask><view data-event-opts="{{[['tap',[['modeCenterClose',['$0'],['mode']],['',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="{{['u-drawer-content data-v-52d4ddd1',safeAreaInsetBottom?'safe-area-inset-bottom':'','u-drawer-'+mode,showDrawer?'u-drawer-content-visible':'',zoom&&mode=='center'?'u-animation-zoom':'']}}" style="{{$root.s1}}" catchtap="__e" catchtouchmove="__e"><block wx:if="{{mode=='center'}}"><view data-event-opts="{{[['tap',[['',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="u-mode-center-box data-v-52d4ddd1" style="{{$root.s2}}" catchtap="__e" catchtouchmove="__e"><block wx:if="{{closeable}}"><u-icon class="{{['u-close data-v-52d4ddd1','u-close--'+closeIconPos]}}" vue-id="1ee74923-2" name="{{closeIcon}}" color="{{closeIconColor}}" size="{{closeIconSize}}" data-event-opts="{{[['^click',[['close']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block><scroll-view class="u-drawer__scroll-view data-v-52d4ddd1" scroll-y="true"><slot></slot></scroll-view></view></block><block wx:else><scroll-view class="u-drawer__scroll-view data-v-52d4ddd1" scroll-y="true"><slot></slot></scroll-view></block><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['u-close data-v-52d4ddd1','u-close--'+closeIconPos]}}" bindtap="__e"><block wx:if="{{mode!='center'&&closeable}}"><u-icon vue-id="1ee74923-3" name="{{closeIcon}}" color="{{closeIconColor}}" size="{{closeIconSize}}" class="data-v-52d4ddd1" bind:__l="__l"></u-icon></block></view></view></view></block> |
@ -0,0 +1,135 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-drawer.data-v-52d4ddd1 { | |||
display: block; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
overflow: hidden; | |||
} | |||
.u-drawer-content.data-v-52d4ddd1 { | |||
display: block; | |||
position: absolute; | |||
z-index: 1003; | |||
-webkit-transition: all 0.25s linear; | |||
transition: all 0.25s linear; | |||
} | |||
.u-drawer__scroll-view.data-v-52d4ddd1 { | |||
width: 100%; | |||
height: 100%; | |||
} | |||
.u-drawer-left.data-v-52d4ddd1 { | |||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
background-color: #ffffff; | |||
} | |||
.u-drawer-right.data-v-52d4ddd1 { | |||
right: 0; | |||
top: 0; | |||
bottom: 0; | |||
background-color: #ffffff; | |||
} | |||
.u-drawer-top.data-v-52d4ddd1 { | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
background-color: #ffffff; | |||
} | |||
.u-drawer-bottom.data-v-52d4ddd1 { | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
background-color: #ffffff; | |||
} | |||
.u-drawer-center.data-v-52d4ddd1 { | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
flex-direction: column; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
top: 0; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
opacity: 0; | |||
z-index: 99999; | |||
} | |||
.u-mode-center-box.data-v-52d4ddd1 { | |||
min-width: 100rpx; | |||
min-height: 100rpx; | |||
display: block; | |||
position: relative; | |||
background-color: #ffffff; | |||
} | |||
.u-drawer-content-visible.u-drawer-center.data-v-52d4ddd1 { | |||
-webkit-transform: scale(1); | |||
transform: scale(1); | |||
opacity: 1; | |||
} | |||
.u-animation-zoom.data-v-52d4ddd1 { | |||
-webkit-transform: scale(1.15); | |||
transform: scale(1.15); | |||
} | |||
.u-drawer-content-visible.data-v-52d4ddd1 { | |||
-webkit-transform: translate3D(0px, 0px, 0px) !important; | |||
transform: translate3D(0px, 0px, 0px) !important; | |||
} | |||
.u-close.data-v-52d4ddd1 { | |||
position: absolute; | |||
z-index: 3; | |||
} | |||
.u-close--top-left.data-v-52d4ddd1 { | |||
top: 30rpx; | |||
left: 30rpx; | |||
} | |||
.u-close--top-right.data-v-52d4ddd1 { | |||
top: 30rpx; | |||
right: 30rpx; | |||
} | |||
.u-close--bottom-left.data-v-52d4ddd1 { | |||
bottom: 30rpx; | |||
left: 30rpx; | |||
} | |||
.u-close--bottom-right.data-v-52d4ddd1 { | |||
right: 30rpx; | |||
bottom: 30rpx; | |||
} | |||
@ -0,0 +1,220 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-row/u-row"],{ | |||
/***/ 55: | |||
/*!****************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue ***! | |||
\****************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-row.vue?vue&type=template&id=bf124e26& */ 56); | |||
/* harmony import */ var _u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-row.vue?vue&type=script&lang=js& */ 58); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-row.vue?vue&type=style&index=0&lang=scss& */ 60); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
null, | |||
null, | |||
false, | |||
_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-row/u-row.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 56: | |||
/*!***********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue?vue&type=template&id=bf124e26& ***! | |||
\***********************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-row.vue?vue&type=template&id=bf124e26& */ 57); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_template_id_bf124e26___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 57: | |||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue?vue&type=template&id=bf124e26& ***! | |||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 58: | |||
/*!*****************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue?vue&type=script&lang=js& ***! | |||
\*****************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-row.vue?vue&type=script&lang=js& */ 59); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 59: | |||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue?vue&type=script&lang=js& ***! | |||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* row 行布局 | |||
* @description 通过基础的 12 分栏,迅速简便地创建布局。 | |||
* @tutorial https://www.uviewui.com/components/layout.html#row-props | |||
* @property {String Number} gutter 栅格间隔,左右各为此值的一半,单位rpx(默认0) | |||
* @property {String} justify 水平排列方式(微信小程序暂不支持)默认(start(或flex-start)) | |||
* @property {String} align 垂直排列方式(默认center) | |||
* @example <u-row gutter="16"></u-row> | |||
*/var _default = | |||
{ | |||
name: "u-row", | |||
props: { | |||
// 给col添加间距,左右边距各占一半 | |||
gutter: { | |||
type: [String, Number], | |||
default: 20 }, | |||
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`) | |||
justify: { | |||
type: String, | |||
default: 'start' }, | |||
// 垂直对齐方式,可选值为top、center、bottom | |||
align: { | |||
type: String, | |||
default: 'center' }, | |||
// 是否阻止事件传播 | |||
stop: { | |||
type: Boolean, | |||
default: true } }, | |||
computed: { | |||
uJustify: function uJustify() { | |||
if (this.justify == 'end' || this.justify == 'start') return 'flex-' + this.justify;else | |||
if (this.justify == 'around' || this.justify == 'between') return 'space-' + this.justify;else | |||
return this.justify; | |||
}, | |||
uAlignItem: function uAlignItem() { | |||
if (this.align == 'top') return 'flex-start'; | |||
if (this.align == 'bottom') return 'flex-end';else | |||
return this.align; | |||
} }, | |||
methods: { | |||
click: function click(e) { | |||
this.$emit('click'); | |||
} } };exports.default = _default; | |||
/***/ }), | |||
/***/ 60: | |||
/*!**************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue?vue&type=style&index=0&lang=scss& ***! | |||
\**************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-row.vue?vue&type=style&index=0&lang=scss& */ 61); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_row_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 61: | |||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-row/u-row.vue?vue&type=style&index=0&lang=scss& ***! | |||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-row/u-row.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-row/u-row-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-row/u-row-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(55)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-row/u-row-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="u-row" style="{{'align-items:'+(uAlignItem)+';'+('justify-content:'+(uJustify)+';')}}" bindtap="__e"><slot></slot></view> |
@ -0,0 +1,36 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-row { | |||
-webkit-flex-wrap: wrap; | |||
flex-wrap: wrap; | |||
} | |||
.u-row:after { | |||
display: table; | |||
clear: both; | |||
content: ""; | |||
} | |||
@ -0,0 +1,391 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-slider/u-slider"],{ | |||
/***/ 69: | |||
/*!**********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue ***! | |||
\**********************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& */ 70); | |||
/* harmony import */ var _u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-slider.vue?vue&type=script&lang=js& */ 72); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& */ 74); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"c7a63ef2", | |||
null, | |||
false, | |||
_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-slider/u-slider.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 70: | |||
/*!*****************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& ***! | |||
\*****************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& */ 71); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 71: | |||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& ***! | |||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
var s0 = _vm.__get_style([ | |||
_vm.barStyle, | |||
{ | |||
height: _vm.height + "rpx", | |||
backgroundColor: _vm.activeColor | |||
} | |||
]) | |||
var s1 = !(_vm.$slots.default || _vm.$slots.$default) | |||
? _vm.__get_style([ | |||
_vm.blockStyle, | |||
{ | |||
height: _vm.blockWidth + "rpx", | |||
width: _vm.blockWidth + "rpx", | |||
backgroundColor: _vm.blockColor | |||
} | |||
]) | |||
: null | |||
_vm.$mp.data = Object.assign( | |||
{}, | |||
{ | |||
$root: { | |||
s0: s0, | |||
s1: s1 | |||
} | |||
} | |||
) | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 72: | |||
/*!***********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=script&lang=js& ***! | |||
\***********************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-slider.vue?vue&type=script&lang=js& */ 73); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 73: | |||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=script&lang=js& ***! | |||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* slider 滑块选择器 | |||
* @tutorial https://uviewui.com/components/slider.html | |||
* @property {Number | String} value 滑块默认值(默认0) | |||
* @property {Number | String} min 最小值(默认0) | |||
* @property {Number | String} max 最大值(默认100) | |||
* @property {Number | String} step 步长(默认1) | |||
* @property {Number | String} blockWidth 滑块宽度,高等于宽(30) | |||
* @property {Number | String} height 滑块条高度,单位rpx(默认6) | |||
* @property {String} inactiveColor 底部条背景颜色(默认#c0c4cc) | |||
* @property {String} activeColor 底部选择部分的背景颜色(默认#2979ff) | |||
* @property {String} blockColor 滑块颜色(默认#ffffff) | |||
* @property {Object} blockStyle 给滑块自定义样式,对象形式 | |||
* @property {Boolean} disabled 是否禁用滑块(默认为false) | |||
* @event {Function} start 滑动触发 | |||
* @event {Function} moving 正在滑动中 | |||
* @event {Function} end 滑动结束 | |||
* @example <u-slider v-model="value" /> | |||
*/var _default2 = | |||
{ | |||
name: 'u-slider', | |||
props: { | |||
// 当前进度百分比值,范围0-100 | |||
value: { | |||
type: [Number, String], | |||
default: 0 }, | |||
// 是否禁用滑块 | |||
disabled: { | |||
type: Boolean, | |||
default: false }, | |||
// 滑块宽度,高等于宽,单位rpx | |||
blockWidth: { | |||
type: [Number, String], | |||
default: 30 }, | |||
// 最小值 | |||
min: { | |||
type: [Number, String], | |||
default: 0 }, | |||
// 最大值 | |||
max: { | |||
type: [Number, String], | |||
default: 100 }, | |||
// 步进值 | |||
step: { | |||
type: [Number, String], | |||
default: 1 }, | |||
// 滑块条高度,单位rpx | |||
height: { | |||
type: [Number, String], | |||
default: 6 }, | |||
// 进度条的激活部分颜色 | |||
activeColor: { | |||
type: String, | |||
default: '#2979ff' }, | |||
// 进度条的背景颜色 | |||
inactiveColor: { | |||
type: String, | |||
default: '#c0c4cc' }, | |||
// 滑块的背景颜色 | |||
blockColor: { | |||
type: String, | |||
default: '#ffffff' }, | |||
// 用户对滑块的自定义颜色 | |||
blockStyle: { | |||
type: Object, | |||
default: function _default() { | |||
return {}; | |||
} } }, | |||
data: function data() { | |||
return { | |||
startX: 0, | |||
status: 'end', | |||
newValue: 0, | |||
distanceX: 0, | |||
startValue: 0, | |||
barStyle: {}, | |||
sliderRect: { | |||
left: 0, | |||
width: 0 } }; | |||
}, | |||
watch: { | |||
value: function value(n) { | |||
// 只有在非滑动状态时,才可以通过value更新滑块值,这里监听,是为了让用户触发 | |||
if (this.status == 'end') this.updateValue(this.value, false); | |||
} }, | |||
created: function created() { | |||
this.updateValue(this.value, false); | |||
}, | |||
mounted: function mounted() {var _this = this; | |||
// 获取滑块条的尺寸信息 | |||
this.$uGetRect('.u-slider').then(function (rect) { | |||
_this.sliderRect = rect; | |||
}); | |||
}, | |||
methods: { | |||
onTouchStart: function onTouchStart(event) { | |||
if (this.disabled) return; | |||
this.startX = 0; | |||
// 触摸点集 | |||
var touches = event.touches[0]; | |||
// 触摸点到屏幕左边的距离 | |||
this.startX = touches.clientX; | |||
// 此处的this.value虽为props值,但是通过$emit('input')进行了修改 | |||
this.startValue = this.format(this.value); | |||
// 标示当前的状态为开始触摸滑动 | |||
this.status = 'start'; | |||
}, | |||
onTouchMove: function onTouchMove(event) { | |||
if (this.disabled) return; | |||
// 连续触摸的过程会一直触发本方法,但只有手指触发且移动了才被认为是拖动了,才发出事件 | |||
// 触摸后第一次移动已经将status设置为moving状态,故触摸第二次移动不会触发本事件 | |||
if (this.status == 'start') this.$emit('start'); | |||
var touches = event.touches[0]; | |||
// 滑块的左边不一定跟屏幕左边接壤,所以需要减去最外层父元素的左边值 | |||
this.distanceX = touches.clientX - this.sliderRect.left; | |||
// 获得移动距离对整个滑块的百分比值,此为带有多位小数的值,不能用此更新视图 | |||
// 否则造成通信阻塞,需要每改变一个step值时修改一次视图 | |||
this.newValue = this.distanceX / this.sliderRect.width * 100; | |||
this.status = 'moving'; | |||
// 发出moving事件 | |||
this.$emit('moving'); | |||
this.updateValue(this.newValue, true); | |||
}, | |||
onTouchEnd: function onTouchEnd() { | |||
if (this.disabled) return; | |||
if (this.status === 'moving') { | |||
this.updateValue(this.newValue, false); | |||
this.$emit('end'); | |||
} | |||
this.status = 'end'; | |||
}, | |||
updateValue: function updateValue(value, drag) { | |||
// 去掉小数部分,同时也是对step步进的处理 | |||
var width = this.format(value); | |||
// 不允许滑动的值超过max最大值,百分比也不能超过100 | |||
if (width > this.max || width > 100) return; | |||
// 设置移动的百分比值 | |||
var barStyle = { | |||
width: width + '%' }; | |||
// 移动期间无需过渡动画 | |||
if (drag == true) { | |||
barStyle.transition = 'none'; | |||
} else { | |||
// 非移动期间,删掉对过渡为空的声明,让css中的声明起效 | |||
delete barStyle.transition; | |||
} | |||
// 修改value值 | |||
this.$emit('input', width); | |||
this.barStyle = barStyle; | |||
}, | |||
format: function format(value) { | |||
// 将小数变成整数,为了减少对视图的更新,造成视图层与逻辑层的阻塞 | |||
return Math.round(Math.max(this.min, Math.min(value, this.max)) / this.step) * this.step; | |||
}, | |||
onClick: function onClick(event) { | |||
if (this.disabled) return; | |||
// 直接点击滑块的情况,计算方式与onTouchMove方法相同 | |||
var value = (event.detail.x - this.sliderRect.left) / this.sliderRect.width * 100; | |||
this.updateValue(value, false); | |||
} } };exports.default = _default2; | |||
/***/ }), | |||
/***/ 74: | |||
/*!********************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& ***! | |||
\********************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& */ 75); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 75: | |||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& ***! | |||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-slider/u-slider.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-slider/u-slider-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-slider/u-slider-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(69)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-slider/u-slider-create-component']] | |||
]); |
@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="{{['u-slider data-v-c7a63ef2',disabled?'u-slider--disabled':'']}}" style="{{'background-color:'+(inactiveColor)+';'}}" bindtap="__e"><view class="u-slider__gap data-v-c7a63ef2" style="{{$root.s0}}"><view data-event-opts="{{[['touchstart',[['onTouchStart',['$event']]]],['touchmove',[['onTouchMove',['$event']]]],['touchend',[['onTouchEnd',['$event']]]],['touchcancel',[['onTouchEnd',['$event']]]]]}}" class="u-slider__button-wrap data-v-c7a63ef2" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" bindtouchcancel="__e"><block wx:if="{{$slots.default||$slots.$default}}"><slot></slot></block><block wx:else><view class="u-slider__button data-v-c7a63ef2" style="{{$root.s1}}"></view></block></view></view></view> |
@ -0,0 +1,68 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-slider.data-v-c7a63ef2 { | |||
position: relative; | |||
border-radius: 999px; | |||
border-radius: 999px; | |||
background-color: #ebedf0; | |||
} | |||
.u-slider.data-v-c7a63ef2:before { | |||
position: absolute; | |||
right: 0; | |||
left: 0; | |||
content: ''; | |||
top: -8px; | |||
bottom: -8px; | |||
z-index: -1; | |||
} | |||
.u-slider__gap.data-v-c7a63ef2 { | |||
position: relative; | |||
border-radius: inherit; | |||
-webkit-transition: width 0.2s; | |||
transition: width 0.2s; | |||
transition: width 0.2s; | |||
background-color: #1989fa; | |||
} | |||
.u-slider__button.data-v-c7a63ef2 { | |||
width: 24px; | |||
height: 24px; | |||
border-radius: 50%; | |||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); | |||
background-color: #fff; | |||
cursor: pointer; | |||
} | |||
.u-slider__button-wrap.data-v-c7a63ef2 { | |||
position: absolute; | |||
top: 50%; | |||
right: 0; | |||
-webkit-transform: translate3d(50%, -50%, 0); | |||
transform: translate3d(50%, -50%, 0); | |||
} | |||
.u-slider--disabled.data-v-c7a63ef2 { | |||
opacity: 0.5; | |||
} | |||
@ -0,0 +1,312 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-toast/u-toast"],{ | |||
/***/ 100: | |||
/*!*********************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue?vue&type=script&lang=js& ***! | |||
\*********************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=script&lang=js& */ 101); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 101: | |||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue?vue&type=script&lang=js& ***! | |||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
/** | |||
* toast 消息提示 | |||
* @description 此组件表现形式类似uni的uni.showToastAPI,但也有不同的地方。 | |||
* @tutorial https://www.uviewui.com/components/toast.html | |||
* @property {String} z-index toast展示时的z-index值 | |||
* @event {Function} show 显示toast,如需一进入页面就显示toast,请在onReady生命周期调用 | |||
* @example <u-toast ref="uToast" /> | |||
*/var _default = | |||
{ | |||
name: "u-toast", | |||
props: { | |||
// z-index值 | |||
zIndex: { | |||
type: [Number, String], | |||
default: '' } }, | |||
data: function data() { | |||
return { | |||
isShow: false, | |||
timer: null, // 定时器 | |||
config: { | |||
params: {}, // URL跳转的参数,对象 | |||
title: '', // 显示文本 | |||
type: '', // 主题类型,primary,success,error,warning,black | |||
duration: 2000, // 显示的时间,毫秒 | |||
isTab: false, // 是否跳转tab页面 | |||
url: '', // toast消失后是否跳转页面,有则跳转,优先级高于back参数 | |||
icon: true, // 显示的图标 | |||
position: 'center', // toast出现的位置 | |||
callback: null, // 执行完后的回调函数 | |||
back: false // 结束toast是否自动返回上一页 | |||
}, | |||
tmpConfig: {} // 将用户配置和内置配置合并后的临时配置变量 | |||
}; | |||
}, | |||
computed: { | |||
iconName: function iconName() { | |||
// 只有不为none,并且type为error|warning|succes|info时候,才显示图标 | |||
if (['error', 'warning', 'success', 'info'].indexOf(this.tmpConfig.type) >= 0 && this.tmpConfig.icon) { | |||
var icon = this.$u.type2icon(this.tmpConfig.type); | |||
return icon; | |||
} | |||
}, | |||
uZIndex: function uZIndex() { | |||
// 显示toast时候,如果用户有传递z-index值,有限使用 | |||
return this.isShow ? this.zIndex ? this.zIndex : this.$u.zIndex.toast : '999999'; | |||
} }, | |||
methods: { | |||
// 显示toast组件,由父组件通过this.$refs.xxx.show(options)形式调用 | |||
show: function show(options) {var _this = this; | |||
// 不降结果合并到this.config变量,避免多次条用u-toast,前后的配置造成混论 | |||
this.tmpConfig = this.$u.deepMerge(this.config, options); | |||
if (this.timer) { | |||
// 清除定时器 | |||
clearTimeout(this.timer); | |||
this.timer = null; | |||
} | |||
this.isShow = true; | |||
this.timer = setTimeout(function () { | |||
// 倒计时结束,清除定时器,隐藏toast组件 | |||
_this.isShow = false; | |||
clearTimeout(_this.timer); | |||
_this.timer = null; | |||
// 判断是否存在callback方法,如果存在就执行 | |||
typeof _this.tmpConfig.callback === 'function' && _this.tmpConfig.callback(); | |||
_this.timeEnd(); | |||
}, this.tmpConfig.duration); | |||
}, | |||
// 隐藏toast组件,由父组件通过this.$refs.xxx.hide()形式调用 | |||
hide: function hide() { | |||
this.isShow = false; | |||
if (this.timer) { | |||
// 清除定时器 | |||
clearTimeout(this.timer); | |||
this.timer = null; | |||
} | |||
}, | |||
// 倒计时结束之后,进行的一些操作 | |||
timeEnd: function timeEnd() { | |||
// 如果带有url值,根据isTab为true或者false进行跳转 | |||
if (this.tmpConfig.url) { | |||
// 如果url没有"/"开头,添加上,因为uni的路由跳转需要"/"开头 | |||
if (this.tmpConfig.url[0] != '/') this.tmpConfig.url = '/' + this.tmpConfig.url; | |||
// 判断是否有传递显式的参数 | |||
if (Object.keys(this.tmpConfig.params).length) { | |||
// 判断用户传递的url中,是否带有参数 | |||
// 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary" | |||
// 如果有params参数,转换后无需带上"?" | |||
var query = ''; | |||
if (/.*\/.*\?.*=.*/.test(this.tmpConfig.url)) { | |||
// object对象转为get类型的参数 | |||
query = this.$u.queryParams(this.tmpConfig.params, false); | |||
this.tmpConfig.url = this.tmpConfig.url + "&" + query; | |||
} else { | |||
query = this.$u.queryParams(this.tmpConfig.params); | |||
this.tmpConfig.url += query; | |||
} | |||
} | |||
// 如果是跳转tab页面,就使用uni.switchTab | |||
if (this.tmpConfig.isTab) { | |||
uni.switchTab({ | |||
url: this.tmpConfig.url }); | |||
} else { | |||
uni.navigateTo({ | |||
url: this.tmpConfig.url }); | |||
} | |||
} else if (this.tmpConfig.back) { | |||
// 回退到上一页 | |||
this.$u.route({ | |||
type: 'back' }); | |||
} | |||
} } };exports.default = _default; | |||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |||
/***/ }), | |||
/***/ 102: | |||
/*!******************************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue?vue&type=style&index=0&id=7c5492c7&lang=scss&scoped=true& ***! | |||
\******************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=style&index=0&id=7c5492c7&lang=scss&scoped=true& */ 103); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 103: | |||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue?vue&type=style&index=0&id=7c5492c7&lang=scss&scoped=true& ***! | |||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }), | |||
/***/ 97: | |||
/*!********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue ***! | |||
\********************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-toast.vue?vue&type=template&id=7c5492c7&scoped=true& */ 98); | |||
/* harmony import */ var _u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-toast.vue?vue&type=script&lang=js& */ 100); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _u_toast_vue_vue_type_style_index_0_id_7c5492c7_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-toast.vue?vue&type=style&index=0&id=7c5492c7&lang=scss&scoped=true& */ 102); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_u_toast_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
"7c5492c7", | |||
null, | |||
false, | |||
_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "node_modules/uview-ui/components/u-toast/u-toast.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 98: | |||
/*!***************************************************************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue?vue&type=template&id=7c5492c7&scoped=true& ***! | |||
\***************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=template&id=7c5492c7&scoped=true& */ 99); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_toast_vue_vue_type_template_id_7c5492c7_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 99: | |||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-toast/u-toast.vue?vue&type=template&id=7c5492c7&scoped=true& ***! | |||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
try { | |||
components = { | |||
uIcon: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */ "node-modules/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 48)) | |||
} | |||
} | |||
} catch (e) { | |||
if ( | |||
e.message.indexOf("Cannot find module") !== -1 && | |||
e.message.indexOf(".vue") !== -1 | |||
) { | |||
console.error(e.message) | |||
console.error("1. 排查组件名称拼写是否正确") | |||
console.error( | |||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |||
) | |||
console.error( | |||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |||
) | |||
} else { | |||
throw e | |||
} | |||
} | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }) | |||
}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-toast/u-toast.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-toast/u-toast-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-toast/u-toast-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('1')['createComponent'](__webpack_require__(97)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-toast/u-toast-create-component']] | |||
]); |
@ -0,0 +1,6 @@ | |||
{ | |||
"usingComponents": { | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon" | |||
}, | |||
"component": true | |||
} |
@ -0,0 +1 @@ | |||
<view class="{{['u-toast data-v-7c5492c7',isShow?'u-show':'','u-type-'+tmpConfig.type,'u-position-'+tmpConfig.position]}}" style="{{'z-index:'+(uZIndex)+';'}}"><view class="u-icon-wrap data-v-7c5492c7"><block wx:if="{{tmpConfig.icon}}"><u-icon class="u-icon data-v-7c5492c7" vue-id="255e32ed-1" name="{{iconName}}" size="{{30}}" color="{{tmpConfig.type}}" bind:__l="__l"></u-icon></block></view><text class="u-text data-v-7c5492c7">{{tmpConfig.title}}</text></view> |
@ -0,0 +1,123 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.u-toast.data-v-7c5492c7 { | |||
position: fixed; | |||
z-index: -1; | |||
-webkit-transition: opacity 0.3s; | |||
transition: opacity 0.3s; | |||
text-align: center; | |||
color: #fff; | |||
border-radius: 8rpx; | |||
background: #585858; | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
font-size: 28rpx; | |||
opacity: 0; | |||
pointer-events: none; | |||
padding: 18rpx 40rpx; | |||
} | |||
.u-toast.u-show.data-v-7c5492c7 { | |||
opacity: 1; | |||
} | |||
.u-icon.data-v-7c5492c7 { | |||
margin-right: 10rpx; | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-orient: horizontal; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: row; | |||
flex-direction: row; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
line-height: normal; | |||
} | |||
.u-position-center.data-v-7c5492c7 { | |||
left: 50%; | |||
top: 50%; | |||
-webkit-transform: translate(-50%, -50%); | |||
transform: translate(-50%, -50%); | |||
max-width: 70%; | |||
} | |||
.u-position-top.data-v-7c5492c7 { | |||
left: 50%; | |||
top: 20%; | |||
-webkit-transform: translate(-50%, -50%); | |||
transform: translate(-50%, -50%); | |||
} | |||
.u-position-bottom.data-v-7c5492c7 { | |||
left: 50%; | |||
bottom: 20%; | |||
-webkit-transform: translate(-50%, -50%); | |||
transform: translate(-50%, -50%); | |||
} | |||
.u-type-primary.data-v-7c5492c7 { | |||
color: #2979ff; | |||
background-color: #ecf5ff; | |||
border: 1px solid #d7eafe; | |||
} | |||
.u-type-success.data-v-7c5492c7 { | |||
color: #19be6b; | |||
background-color: #dbf1e1; | |||
border: 1px solid #BEF5C8; | |||
} | |||
.u-type-error.data-v-7c5492c7 { | |||
color: #fa3534; | |||
background-color: #fef0f0; | |||
border: 1px solid #fde2e2; | |||
} | |||
.u-type-warning.data-v-7c5492c7 { | |||
color: #ff9900; | |||
background-color: #fdf6ec; | |||
border: 1px solid #faecd8; | |||
} | |||
.u-type-info.data-v-7c5492c7 { | |||
color: #909399; | |||
background-color: #f4f4f5; | |||
border: 1px solid #ebeef5; | |||
} | |||
.u-type-default.data-v-7c5492c7 { | |||
color: #fff; | |||
background-color: #585858; | |||
} | |||
@ -0,0 +1,791 @@ | |||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/index"],{ | |||
/***/ 40: | |||
/*!********************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/main.js?{"page":"pages%2Findex%2Findex"} ***! | |||
\********************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4); | |||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2)); | |||
var _index = _interopRequireDefault(__webpack_require__(/*! ./pages/index/index.vue */ 41));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} | |||
createPage(_index.default); | |||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"])) | |||
/***/ }), | |||
/***/ 41: | |||
/*!*************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue ***! | |||
\*************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=57280228& */ 42); | |||
/* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 44); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony import */ var _index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&lang=css& */ 46); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); | |||
var renderjs | |||
/* normalize component */ | |||
var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |||
_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |||
_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["render"], | |||
_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |||
false, | |||
null, | |||
null, | |||
null, | |||
false, | |||
_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["components"], | |||
renderjs | |||
) | |||
component.options.__file = "pages/index/index.vue" | |||
/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |||
/***/ }), | |||
/***/ 42: | |||
/*!********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue?vue&type=template&id=57280228& ***! | |||
\********************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=57280228& */ 43); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_57280228___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |||
/***/ }), | |||
/***/ 43: | |||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue?vue&type=template&id=57280228& ***! | |||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |||
var components | |||
try { | |||
components = { | |||
uIcon: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */ "node-modules/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 48)) | |||
}, | |||
uRow: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-row/u-row */ "node-modules/uview-ui/components/u-row/u-row").then(__webpack_require__.bind(null, /*! uview-ui/components/u-row/u-row.vue */ 55)) | |||
}, | |||
uCol: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-col/u-col */ "node-modules/uview-ui/components/u-col/u-col").then(__webpack_require__.bind(null, /*! uview-ui/components/u-col/u-col.vue */ 62)) | |||
}, | |||
uSlider: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-slider/u-slider */ "node-modules/uview-ui/components/u-slider/u-slider").then(__webpack_require__.bind(null, /*! uview-ui/components/u-slider/u-slider.vue */ 69)) | |||
}, | |||
uNumberBox: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-number-box/u-number-box */ "node-modules/uview-ui/components/u-number-box/u-number-box").then(__webpack_require__.bind(null, /*! uview-ui/components/u-number-box/u-number-box.vue */ 76)) | |||
}, | |||
uButton: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-button/u-button */ "node-modules/uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 83)) | |||
}, | |||
uModal: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */ "node-modules/uview-ui/components/u-modal/u-modal").then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 90)) | |||
}, | |||
uToast: function() { | |||
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-toast/u-toast */ "node-modules/uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! uview-ui/components/u-toast/u-toast.vue */ 97)) | |||
} | |||
} | |||
} catch (e) { | |||
if ( | |||
e.message.indexOf("Cannot find module") !== -1 && | |||
e.message.indexOf(".vue") !== -1 | |||
) { | |||
console.error(e.message) | |||
console.error("1. 排查组件名称拼写是否正确") | |||
console.error( | |||
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |||
) | |||
console.error( | |||
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |||
) | |||
} else { | |||
throw e | |||
} | |||
} | |||
var render = function() { | |||
var _vm = this | |||
var _h = _vm.$createElement | |||
var _c = _vm._self._c || _h | |||
if (!_vm._isMounted) { | |||
_vm.e0 = function($event) { | |||
_vm.stopBluetoothDevicesDiscovery, (_vm.show = false) | |||
} | |||
} | |||
} | |||
var recyclableRender = false | |||
var staticRenderFns = [] | |||
render._withStripped = true | |||
/***/ }), | |||
/***/ 44: | |||
/*!**************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue?vue&type=script&lang=js& ***! | |||
\**************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js& */ 45); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 45: | |||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue?vue&type=script&lang=js& ***! | |||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
"use strict"; | |||
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
// | |||
var _default = | |||
{ | |||
data: function data() { | |||
return { | |||
searchLoad: false, | |||
valueki: 0, | |||
value: 0, | |||
title: '扫描设备二维码', | |||
equipment: {}, | |||
connected: false, | |||
isStop: true, | |||
list: [], | |||
imei: '', | |||
item: [], | |||
idObject: { | |||
serviceId: '', | |||
writeId: '', | |||
notifyId: '' }, | |||
timeSearch: null }; | |||
}, | |||
onLoad: function onLoad() { | |||
this.onBLEConnectionStateChange(); | |||
}, | |||
onUnload: function onUnload() { | |||
if (this.timeSearch) { | |||
clearTimeout(this.timeSearch); | |||
this.timeSearch = null; | |||
} | |||
}, | |||
methods: { | |||
kiTovalue: function kiTovalue() { | |||
this.value = this.valueki / 10; | |||
}, | |||
valueToki: function valueToki() { | |||
this.valueki = this.value * 10; | |||
}, | |||
sendValue: function sendValue() { | |||
this.writeBLECharacteristicValueString('vals' + this.value); | |||
}, | |||
continueSearch: function continueSearch() {var _this = this; | |||
clearTimeout(this.timeSearch); | |||
this.timeSearch = setTimeout(function () { | |||
if (!_this.searchLoad && !_this.connected) { | |||
_this.searchLoad = true; | |||
} | |||
}, 8000); | |||
uni.showToast({ | |||
title: '搜索设备中...', | |||
icon: 'loading', | |||
duration: 8000 }); | |||
this.startBluetoothDevicesDiscovery(); | |||
}, | |||
scanDevice: function scanDevice() {var _this2 = this; | |||
uni.openBluetoothAdapter({ | |||
success: function success(e) { | |||
var that = _this2; | |||
uni.scanCode({ | |||
success: function success(res) { | |||
var str1 = res.result.replace(';', ''); | |||
that.imei = str1; | |||
uni.showToast({ | |||
title: '搜索设备中...', | |||
icon: 'loading', | |||
duration: 8000 }); | |||
that.timeSearch = setTimeout(function () { | |||
if (!that.searchLoad && !that.connected) { | |||
that.searchLoad = true; | |||
} | |||
}, 8000); | |||
that.startBluetoothDevicesDiscovery(); | |||
}, | |||
fail: function fail(res) { | |||
/* this.$refs.uToast.show({ | |||
title: '已取消', | |||
type: 'error', | |||
}) */ | |||
} }); | |||
_this2.getBluetoothAdapterState(); | |||
}, | |||
fail: function fail(e) { | |||
console.log(e); | |||
console.log('初始化蓝牙失败,错误码:' + (e.errCode || e.errMsg)); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode, e.errMsg); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 初始化蓝牙设备 | |||
*/ | |||
openBluetoothAdapter: function openBluetoothAdapter() {var _this3 = this; | |||
uni.openBluetoothAdapter({ | |||
success: function success(e) { | |||
console.log('初始化蓝牙成功:' + e.errMsg); | |||
console.log(JSON.stringify(e)); | |||
_this3.isStop = false; | |||
_this3.getBluetoothAdapterState(); | |||
}, | |||
fail: function fail(e) { | |||
console.log(e); | |||
console.log('初始化蓝牙失败,错误码:' + (e.errCode || e.errMsg)); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode, e.errMsg); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 开始搜索蓝牙设备 | |||
*/ | |||
startBluetoothDevicesDiscovery: function startBluetoothDevicesDiscovery() {var _this4 = this; | |||
uni.startBluetoothDevicesDiscovery({ | |||
success: function success(e) { | |||
_this4.onBluetoothDeviceFound(); | |||
}, | |||
fail: function fail(e) { | |||
console.log('搜索蓝牙设备失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 停止搜索蓝牙设备 | |||
*/ | |||
stopBluetoothDevicesDiscovery: function stopBluetoothDevicesDiscovery(types) { | |||
clearTimeout(this.timeSearch); | |||
uni.stopBluetoothDevicesDiscovery({ | |||
success: function success(e) { | |||
console.log('停止搜索蓝牙设备:' + e.errMsg); | |||
}, | |||
fail: function fail(e) { | |||
console.log('停止搜索蓝牙设备失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 发现外围设备 | |||
*/ | |||
onBluetoothDeviceFound: function onBluetoothDeviceFound() {var _this5 = this; | |||
uni.onBluetoothDeviceFound(function (devices) { | |||
// this.$set(this.disabled, 3, false); | |||
_this5.getBluetoothDevices(); | |||
}); | |||
}, | |||
/** | |||
* 获取在蓝牙模块生效期间所有已发现的蓝牙设备。包括已经和本机处于连接状态的设备。 | |||
*/ | |||
getBluetoothDevices: function getBluetoothDevices() { | |||
// this.list=[] | |||
var that = this; | |||
var imei = that.imei; | |||
uni.getBluetoothDevices({ | |||
success: function success(res) { | |||
res.devices.forEach(function (device) { | |||
if (!device.name.indexOf('tpsl04v-' + imei.substr(imei.length - 6))) { | |||
uni.hideToast(); | |||
that.stopBluetoothDevicesDiscovery(); | |||
that.equipment = device; | |||
that.createBLEConnection(); | |||
return; | |||
} else { | |||
//that.list.push(device) | |||
} | |||
}); | |||
}, | |||
fail: function fail(e) { | |||
console.log('获取蓝牙设备错误,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 获取本机蓝牙适配器状态 | |||
*/ | |||
getBluetoothAdapterState: function getBluetoothAdapterState() { | |||
console.log('--->'); | |||
uni.getBluetoothAdapterState({ | |||
success: function success(res) { | |||
console.log(JSON.stringify(res)); | |||
}, | |||
fail: function fail(e) { | |||
console.log('获取本机蓝牙适配器状态失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 连接低功耗蓝牙 | |||
*/ | |||
createBLEConnection: function createBLEConnection() {var _this6 = this; | |||
var deviceId = this.equipment.deviceId; | |||
uni.showToast({ | |||
title: '连接蓝牙...', | |||
icon: 'loading', | |||
duration: 99999 }); | |||
if (!this.connected) { | |||
uni.createBLEConnection({ | |||
deviceId: deviceId, | |||
success: function success(res) { | |||
_this6.connected = true; | |||
clearTimeout(_this6.timeSearch); | |||
console.log(res); | |||
console.log('连接蓝牙成功:' + res.errMsg); | |||
// 连接设备后断开搜索 并且不能搜索设备 | |||
uni.hideToast(); | |||
uni.showToast({ | |||
title: '连接成功', | |||
icon: 'success', | |||
duration: 2000 }); | |||
// this.closeBLEConnection() | |||
_this6.getBLEDeviceServices(); | |||
}, | |||
fail: function fail(e) { | |||
uni.hideToast(); | |||
/* uni.showToast({ | |||
title: '连接错误', | |||
icon: 'error', | |||
duration: 2000 | |||
}); */ | |||
console.log('连接低功耗蓝牙失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
} | |||
}, | |||
/** | |||
* 断开与低功耗蓝牙设备的连接 | |||
*/ | |||
closeBLEConnection: function closeBLEConnection() {var _this7 = this; | |||
var deviceId = this.equipment.deviceId; | |||
this.connected = false; | |||
uni.closeBLEConnection({ | |||
deviceId: deviceId, | |||
success: function success(res) { | |||
console.log(res); | |||
console.log('断开低功耗蓝牙成功:' + res.errMsg); | |||
_this7.equipment = {}; | |||
_this7.idObject = {}; | |||
}, | |||
fail: function fail(e) { | |||
console.log('断开低功耗蓝牙成功,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 获取所有服务 | |||
*/ | |||
getBLEDeviceServices: function getBLEDeviceServices() {var _this8 = this; | |||
var deviceId = this.equipment.deviceId; | |||
uni.getBLEDeviceServices({ | |||
deviceId: deviceId, | |||
success: function success(res) { | |||
_this8.list = res.services; | |||
_this8.idObject = {}; | |||
if (_this8.list.length <= 0) { | |||
toast('获取服务失败,请重试!'); | |||
return; | |||
} | |||
_this8.list.forEach(function (item) { | |||
_this8.getBLEDeviceCharacteristics(item); | |||
}); | |||
_this8.maskShow = true; | |||
}, | |||
fail: function fail(e) { | |||
console.log('获取设备服务失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 获取某个服务下的所有特征值 | |||
*/ | |||
getBLEDeviceCharacteristics: function getBLEDeviceCharacteristics(item) {var _this9 = this; | |||
var deviceId = this.equipment.deviceId; | |||
var serviceId = item.uuid; | |||
var that = this; | |||
var write = ''; | |||
var notify = ''; | |||
uni.getBLEDeviceCharacteristics({ | |||
deviceId: deviceId, | |||
serviceId: serviceId, | |||
success: function success(res) { | |||
_this9.list = res.characteristics; | |||
if (_this9.list.length <= 0) { | |||
// toast('获取特征值失败,请重试!'); | |||
return; | |||
} | |||
_this9.list.forEach(function (characteristic) { | |||
/* if (characteristic.properties.read) { | |||
uni.readBLECharacteristicValue({ | |||
deviceId, | |||
serviceId, | |||
characteristicId: characteristic.uuid, | |||
success: res => { | |||
console.log('读取设备数据值成功read'); | |||
console.log(JSON.stringify(res)); | |||
}, | |||
fail(e) { | |||
console.log('读取设备数据值失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} | |||
}); | |||
} */ | |||
if (characteristic.properties.write) { | |||
write = characteristic.uuid; | |||
} | |||
if (characteristic.properties.notify || characteristic.properties.indicate) { | |||
notify = characteristic.uuid; | |||
} | |||
}); | |||
if (write !== '' && notify !== '') { | |||
_this9.idObject = { | |||
serviceId: serviceId, | |||
writeId: write, | |||
notifyId: notify }; | |||
console.log(_this9.idObject); | |||
uni.notifyBLECharacteristicValueChange({ | |||
state: true, // 启用 notify 功能 | |||
deviceId: deviceId, | |||
serviceId: serviceId, | |||
characteristicId: _this9.idObject.notifyId, | |||
success: function success(res) { | |||
that.onBLECharacteristicValueChange(); | |||
setTimeout(function () { | |||
that.writeBLECharacteristicValueString('getd'); | |||
}, 1000); | |||
}, | |||
fail: function fail(e) { | |||
console.log('失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
} | |||
}, | |||
fail: function fail(e) { | |||
console.log('获取特征值失败,错误码:' + e.errCode); | |||
if (e.errCode !== 0) { | |||
initTypes(e.errCode); | |||
} | |||
} }); | |||
}, | |||
/** | |||
* 监听低功耗蓝牙连接状态的改变事件。包括开发者主动连接或断开连接,设备丢失,连接异常断开等等 | |||
*/ | |||
onBLEConnectionStateChange: function onBLEConnectionStateChange() {var _this10 = this; | |||
uni.onBLEConnectionStateChange(function (res) { | |||
// 该方法回调中可以用于处理连接意外断开等异常情况 | |||
console.log("\u84DD\u7259\u8FDE\u63A5\u72B6\u6001 -------------------------->"); | |||
console.log(JSON.stringify(res)); | |||
if (!res.connected) { | |||
_this10.connected = false; | |||
console.log('断开低功耗蓝牙成功:'); | |||
_this10.equipment = {}; | |||
_this10.idObject = {}; | |||
toast('已经断开当前蓝牙连接'); | |||
} | |||
}); | |||
}, | |||
writeBLECharacteristicValueString: function writeBLECharacteristicValueString(str) { | |||
console.log(str); | |||
var deviceId = this.equipment.deviceId; | |||
var serviceId = this.idObject.serviceId; | |||
var characteristicId = this.idObject.writeId; | |||
// 向蓝牙设备发送16进制数据 | |||
var buffer = new ArrayBuffer(str.length); | |||
var dataView = new DataView(buffer); | |||
for (var i in str) { | |||
dataView.setUint8(i, str[i].charCodeAt() | 0); | |||
} | |||
uni.writeBLECharacteristicValue({ | |||
deviceId: deviceId, | |||
serviceId: serviceId, | |||
// 这里的 characteristicId 需要在 getBLEDeviceCharacteristics 接口中获取 | |||
characteristicId: characteristicId, | |||
value: buffer, | |||
success: function success(res) { | |||
console.log(res); | |||
}, | |||
fail: function fail(res) { | |||
console.log(res); | |||
} }); | |||
}, | |||
// ArrayBuffer转16进度字符串示例 | |||
ab2hex: function ab2hex(buffer) { | |||
var hexArr = Array.prototype.map.call( | |||
new Uint8Array(buffer), | |||
function (bit) { | |||
return ('00' + bit.toString(16)).slice(-2); | |||
}); | |||
return hexArr.join(''); | |||
}, | |||
/** | |||
* 监听低功耗蓝牙设备的特征值变化事件。必须先启用 notifyBLECharacteristicValueChange 接口才能接收到设备推送的 notification。 | |||
*/ | |||
onBLECharacteristicValueChange: function onBLECharacteristicValueChange() { | |||
// 必须在这里的回调才能获取 | |||
var that = this; | |||
uni.onBLECharacteristicValueChange(function (res) { | |||
console.log("characteristic ".concat(res.characteristicId, " has changed, now is ").concat(res.value)); | |||
// console.log(that.ab2hex(res.value)) | |||
console.log(res); | |||
var hex = new Uint8Array(res.value); | |||
hex = String.fromCharCode.apply(null, hex); | |||
that.value = parseInt(hex.replace('valve status: ', '')); | |||
that.valueki = parseInt(hex.replace('valve status: ', '')) * 10; | |||
console.log(that.value); | |||
}); | |||
}, | |||
/** | |||
* 断开蓝牙模块 | |||
*/ | |||
closeBluetoothAdapter: function closeBluetoothAdapter(OBJECT) {var _this11 = this; | |||
uni.closeBluetoothAdapter({ | |||
success: function success(res) { | |||
console.log('断开蓝牙模块成功'); | |||
_this11.equipment = {}; | |||
_this11.idObject = {}; | |||
toast('断开蓝牙模块'); | |||
} }); | |||
} } }; | |||
/** | |||
* 判断初始化蓝牙状态 | |||
*/exports.default = _default; | |||
function initTypes(code, errMsg) { | |||
switch (code) { | |||
case 10000: | |||
console.log('未初始化蓝牙适配器'); | |||
break; | |||
case 10001: | |||
toast('未检测到蓝牙,请打开蓝牙重试!'); | |||
break; | |||
case 10002: | |||
console.log('没有找到指定设备'); | |||
break; | |||
case 10003: | |||
console.log('连接失败'); | |||
break; | |||
case 10004: | |||
console.log('没有找到指定服务'); | |||
break; | |||
case 10005: | |||
console.log('没有找到指定特征值'); | |||
break; | |||
case 10006: | |||
console.log('当前连接已断开'); | |||
break; | |||
case 10007: | |||
console.log('当前特征值不支持此操作'); | |||
break; | |||
case 10008: | |||
console.log('其余所有系统上报的异常'); | |||
break; | |||
case 10009: | |||
console.log('Android 系统特有,系统版本低于 4.3 不支持 BLE'); | |||
break; | |||
default: | |||
console.log(errMsg);} | |||
} | |||
/** | |||
* 弹出框封装 | |||
*/ | |||
function toast(content) {var showCancel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | |||
uni.showModal({ | |||
title: '提示', | |||
content: content, | |||
showCancel: showCancel }); | |||
} | |||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |||
/***/ }), | |||
/***/ 46: | |||
/*!**********************************************************************************************!*\ | |||
!*** D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue?vue&type=style&index=0&lang=css& ***! | |||
\**********************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | |||
"use strict"; | |||
__webpack_require__.r(__webpack_exports__); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css& */ 47); | |||
/* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__); | |||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |||
/* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); | |||
/***/ }), | |||
/***/ 47: | |||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/yin/workspace/uni-app/BLEApp/pages/index/index.vue?vue&type=style&index=0&lang=css& ***! | |||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |||
/*! no static exports found */ | |||
/***/ (function(module, exports, __webpack_require__) { | |||
// extracted by mini-css-extract-plugin | |||
if(false) { var cssReload; } | |||
/***/ }) | |||
},[[40,"common/runtime","common/vendor"]]]); | |||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map |
@ -0,0 +1,13 @@ | |||
{ | |||
"navigationBarTitleText": "配置", | |||
"usingComponents": { | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon", | |||
"u-row": "/node-modules/uview-ui/components/u-row/u-row", | |||
"u-col": "/node-modules/uview-ui/components/u-col/u-col", | |||
"u-slider": "/node-modules/uview-ui/components/u-slider/u-slider", | |||
"u-number-box": "/node-modules/uview-ui/components/u-number-box/u-number-box", | |||
"u-button": "/node-modules/uview-ui/components/u-button/u-button", | |||
"u-modal": "/node-modules/uview-ui/components/u-modal/u-modal", | |||
"u-toast": "/node-modules/uview-ui/components/u-toast/u-toast" | |||
} | |||
} |
@ -0,0 +1 @@ | |||
<view><block wx:if="{{!connected}}"><view class="content"><u-icon class="logo" vue-id="8dd740cc-1" size="300" color="#808080" name="scan" data-event-opts="{{[['^click',[['scanDevice']]]]}}" bind:click="__e" bind:__l="__l"></u-icon><view class="text-area"><text class="title">{{title}}</text></view></view></block><block wx:else><view style="margin-top:300rpx;padding-left:10px;"><u-row vue-id="8dd740cc-2" gutter="16" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('8dd740cc-3')+','+('8dd740cc-2')}}" span="7" bind:__l="__l" vue-slots="{{['default']}}"><view><u-slider vue-id="{{('8dd740cc-4')+','+('8dd740cc-3')}}" height="{{20}}" step="10" value="{{valueki}}" data-event-opts="{{[['^end',[['kiTovalue']]],['^input',[['__set_model',['','valueki','$event',[]]]]]]}}" bind:end="__e" bind:input="__e" bind:__l="__l"></u-slider></view></u-col><u-col vue-id="{{('8dd740cc-5')+','+('8dd740cc-2')}}" span="4" offset="1" bind:__l="__l" vue-slots="{{['default']}}"><u-number-box vue-id="{{('8dd740cc-6')+','+('8dd740cc-5')}}" min="{{0}}" max="{{10}}" value="{{value}}" data-event-opts="{{[['^change',[['valueToki']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-number-box></u-col></u-row><u-row vue-id="8dd740cc-7" gutter="16" bind:__l="__l" vue-slots="{{['default']}}"><u-col vue-id="{{('8dd740cc-8')+','+('8dd740cc-7')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><u-button vue-id="{{('8dd740cc-9')+','+('8dd740cc-8')}}" plain="{{true}}" size="mini" type="success" data-event-opts="{{[['^click',[['sendValue']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认发送</u-button></u-col><u-col vue-id="{{('8dd740cc-10')+','+('8dd740cc-7')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><u-button vue-id="{{('8dd740cc-11')+','+('8dd740cc-10')}}" plain="{{true}}" size="mini" type="error" data-event-opts="{{[['^click',[['closeBLEConnection']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">断开连接</u-button></u-col><u-col vue-id="{{('8dd740cc-12')+','+('8dd740cc-7')}}" span="3" bind:__l="__l" vue-slots="{{['default']}}"><u-button vue-id="{{('8dd740cc-13')+','+('8dd740cc-12')}}" plain="{{true}}" size="mini" type="warning" data-event-opts="{{[['^click',[['writeBLECharacteristicValueString',['getd']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">获取开合度</u-button></u-col></u-row></view></block><u-modal vue-id="8dd740cc-14" title="提示" content="未搜索到设备,是否继续搜索" show-cancel-button="{{true}}" value="{{searchLoad}}" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['continueSearch']]],['^input',[['__set_model',['','searchLoad','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-modal><u-toast class="vue-ref" vue-id="8dd740cc-15" data-ref="uToast" bind:__l="__l"></u-toast></view> |
@ -0,0 +1,44 @@ | |||
page { | |||
height: 100%; | |||
width: 100%; | |||
} | |||
.content { | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
width: 100%; | |||
height: 100%; | |||
-webkit-box-orient: vertical; | |||
-webkit-box-direction: normal; | |||
-webkit-flex-direction: column; | |||
flex-direction: column; | |||
-webkit-box-align: center; | |||
-webkit-align-items: center; | |||
align-items: center; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
} | |||
.logo { | |||
margin: 0; | |||
padding: 0; | |||
margin-top: 300rpx; | |||
} | |||
.text-area { | |||
display: -webkit-box; | |||
display: -webkit-flex; | |||
display: flex; | |||
-webkit-box-pack: center; | |||
-webkit-justify-content: center; | |||
justify-content: center; | |||
} | |||
.title { | |||
font-size: 36rpx; | |||
color: #8f8f94; | |||
} | |||
.u-row { | |||
margin: 40rpx 0; | |||
} | |||
@ -0,0 +1,35 @@ | |||
{ | |||
"description": "项目配置文件。", | |||
"packOptions": { | |||
"ignore": [] | |||
}, | |||
"setting": { | |||
"urlCheck": false, | |||
"es6": true, | |||
"minified": true | |||
}, | |||
"compileType": "miniprogram", | |||
"libVersion": "", | |||
"appid": "wx41fa0a30ee37260a", | |||
"projectname": "BLEApp", | |||
"simulatorType": "wechat", | |||
"simulatorPluginLibVersion": {}, | |||
"condition": { | |||
"search": { | |||
"current": -1, | |||
"list": [] | |||
}, | |||
"conversation": { | |||
"current": -1, | |||
"list": [] | |||
}, | |||
"game": { | |||
"current": -1, | |||
"list": [] | |||
}, | |||
"miniprogram": { | |||
"current": -1, | |||
"list": [] | |||
} | |||
} | |||
} |
@ -0,0 +1,7 @@ | |||
{ | |||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", | |||
"rules": [{ | |||
"action": "allow", | |||
"page": "*" | |||
}] | |||
} |
@ -0,0 +1,7 @@ | |||
{ | |||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", | |||
"rules": [{ | |||
"action": "allow", | |||
"page": "*" | |||
}] | |||
} |
@ -0,0 +1,7 @@ | |||
{ | |||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", | |||
"rules": [{ | |||
"action": "allow", | |||
"page": "*" | |||
}] | |||
} |
@ -0,0 +1,7 @@ | |||
{ | |||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", | |||
"rules": [{ | |||
"action": "allow", | |||
"page": "*" | |||
}] | |||
} |
@ -0,0 +1,7 @@ | |||
{ | |||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", | |||
"rules": [{ | |||
"action": "allow", | |||
"page": "*" | |||
}] | |||
} |
@ -0,0 +1,7 @@ | |||
{ | |||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", | |||
"rules": [{ | |||
"action": "allow", | |||
"page": "*" | |||
}] | |||
} |