Browse Source

调试over

module-tcpserver-mqtt-t4j-faceSDK
zmt 3 years ago
parent
commit
f662d9ff67
  1. 20
      uniapp示例工程源码/unipluginDemo/.hbuilderx/launch.json
  2. 5
      uniapp示例工程源码/unipluginDemo/manifest.json
  3. 15
      uniapp示例工程源码/unipluginDemo/pages.json
  4. 332
      uniapp示例工程源码/unipluginDemo/pages/index/ball_list.vue
  5. 59
      uniapp示例工程源码/unipluginDemo/pages/index/index.vue
  6. 117
      uniapp示例工程源码/unipluginDemo/pages/index/scan.nvue
  7. 104
      uniapp示例工程源码/unipluginDemo/style/public.scss
  8. 0
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/.automator/app-plus/.automator.json
  9. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappchooselocation.js
  10. BIN
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniapperror.png
  11. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappes6.js
  12. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappopenlocation.js
  13. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniapppicker.js
  14. 8
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappquill.js
  15. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappquillimageresize.js
  16. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappscan.js
  17. BIN
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappsuccess.png
  18. 25
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappview.html
  19. 8
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-config-service.js
  20. 154
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-config.js
  21. 657
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-service.js
  22. 1253
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-view.js
  23. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/manifest.json
  24. 696
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/pages/index/scan.js
  25. 609
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/pages/sample/ext-component.js
  26. 568
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/pages/sample/ext-module.js
  27. BIN
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/static/logo.png
  28. 169
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/static/new_file.json
  29. 1
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/view.css
  30. 6
      uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/view.umd.min.js

20
uniapp示例工程源码/unipluginDemo/.hbuilderx/launch.json

@ -0,0 +1,20 @@
{ // launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"app-plus" :
{
"launchtype" : "local"
},
"default" :
{
"launchtype" : "local"
},
"h5" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
}
]
}

5
uniapp示例工程源码/unipluginDemo/manifest.json

@ -71,5 +71,10 @@
},
"mp-toutiao" : {
"usingComponents" : true
},
"h5" : {
"devServer" : {
"https" : false
}
}
}

15
uniapp示例工程源码/unipluginDemo/pages.json

@ -1,10 +1,23 @@
{
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
},
{
"path": "pages/index/ball_list",
"style": {
"navigationBarTitleText": "uni-app"
}
},
{
"path": "pages/index/scan",
"style": {
"navigationBarTitleText": "22222"
}
},
{
"path": "pages/sample/ext-module",

332
uniapp示例工程源码/unipluginDemo/pages/index/ball_list.vue

@ -0,0 +1,332 @@
<template>
<view class="ball-list">
<view class="bl-line">
<view>篮球列表</view>
<view @click="returnBtn">返回</view>
</view>
<view class="bl-tab">
<view>编码名称</view>
<view>tid</view>
<view>录入时间</view>
<view>录入人员</view>
</view>
<scroll-view class="bl-scroll" scroll-y="true">
<view class="bl-list" >
<view class="bll-item" v-for="(e,i) in 3" :key="i">
<view :class="[i==ballList.length-1?'fillet-left':'']">{{e.goods_name || '555'}}</view>
<view >{{e.tid_string||'合法大使馆sfghdsfghdjsgdksjdjghdfjkghfd2021-11-11 11:22:54'}}</view>
<view >{{e.created_at||'123213'}}</view>
<view :class="[i==ballList.length-1?'fillet-right':'']">{{e.operator_name||'544'}}</view>
</view>
<view class="info-list">
<view class="i-item" v-for="(item,index) in 3">
<view class="i-box">5555</view>
<view class="i-box">合法大使馆sfghdsfghdjsgdksjdjghdfjkghfd2021-11-11 11:22:54</view>
<view class="i-box">2021-11-11 11:22:54</view>
<!-- <rich-text class="i-box" :nodes="item[1]">fsdfsadfasdfsad</rich-text> -->
<view class="i-box" style="color: red;">{{item[2]}}ssdf</view>
</view>
</view>
</view>
</scroll-view>
<view class="bl-btn" v-if="isShowBtn">
<view @click="btnChange(1)">上一页</view>
<view><text>{{page || 0}}</text><text>{{pageTotal || 0}}</text></view>
<view @click="btnChange(2)">下一页</view>
</view>
</view>
</template>
<script>
// import util from '@/utils/util';
// import { API } from '../../js/api.js';
// import { servers } from '../../js/server.js';
export default {
data() {
return {
optionQuery: {},
ballList: [],
page: 1,
pageTotal: 1,
isShowBtn: false,
}
},
onLoad(options) {
let { stadium_id, brand_id } = options
// this.optionQuery = options
// this.$nextTick(_=>{
// this.getList({})
// })
},
onReachBottom(){
// let { page } = this;
// this.getList({
// page: ++page
// })
},
methods: {
returnBtn(){
uni.navigateBack();
},
getList({page=1, page_size=10}){
let { optionQuery } = this
util.showLoad();
servers.post({
url: API.tidList,
data: {
brand_id: optionQuery.brand_id,
stadium_id: optionQuery.stadium_id,
goods_name: "篮球录入",
page,
page_size,
},
failMsg: '加载失败!'
})
.then(res=>{
util.hideLoad();
// res.total
this.pageTotal = Math.ceil(res.total/10); // Math.ceil(12.1) = 13;
let _list = res.list || [];
console.log("武汉凡谷:", JSON.stringify(res))
if(page == 1){
if(_list.length > 0)this.isShowBtn = true;
return this.ballList = _list;
}
if(_list.length<=0)return util.showNone('没有更多!');
this.page = page;
// this.ballList = [...this.ballList, ...res.list];
this.ballList = _list;
})
.catch(err=>{
// util.hideLoad();
console.error("篮球列表-err?",err);
});
},
// btnChange: util.debounce(function(type){
// let { page, pageTotal } = this;
// if(type == 1){
// if(page == 1)return util.showNone("");
// this.getList({
// page: --page
// })
// }
// if(type == 2){
// if(page == pageTotal)return util.showNone("");
// this.getList({
// page: ++page
// })
// }
// },1000,true),
}
}
</script>
<style lang="scss">
@import '~style/public.scss';
page{
background: #F2F2F7;
}
.ball-list{
position: relative;
padding-bottom: 90rpx;
.bl-line{
padding: 60rpx 48rpx 58rpx 40rpx;
@include centerFlex(space-between);
>view{
&:first-child{
color: #1A1A1A;
font-size: 44rpx;
line-height: 60rpx;
font-weight: 700;
}
&:nth-child(2){
color: #009874;
font-size: 28rpx;
line-height: 40rpx;
}
}
}
.bl-tab{
margin: 0 24rpx;
border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx;
background-color: #DDDDDD;
@include centerFlex(flex-start);
>view{
width: 174rpx;
height: 110rpx;
color: #1A1A1A;
font-size: 28rpx;
line-height: 40rpx;
text-align: center;
border-right: 2rpx solid #F2F2F7;
@include centerFlex(center);
&:last-child{
border-right: 0rpx solid #F2F2F7;
}
}
}
.bl-scroll{
height: 850rpx;
}
.bl-list{
height: auto;
.bll-item{
margin: 0 24rpx;
@include centerFlex(flex-start);
background-color: #FFFFFF;
width: 700rpx;
>view{
padding: 0 4rpx;
width: 174rpx;
// min-height: 110rpx;
height: 100%;
color: #1A1A1A;
font-size: 24rpx;
text-align: center;
line-height: 34rpx;
// border-right: 2rpx solid #F2F2F7;
// border-bottom: 2rpx solid #F2F2F7;
// @include textHide(1);
background-color: #FFFFFF;
word-wrap: break-word;
word-break: break-all;
white-space: pre-wrap;
@include centerFlex(center);
flex-direction: row;
&:last-child{
border-right: 0rpx solid #F2F2F7;
}
}
>view:not(:last-child) {
border-bottom: 1rpx solid red;
}
}
.info-list {
margin: 0 24rpx;
margin-top: 30rpx;
margin-bottom: 50rpx;
width: 700rpx;
height: auto;
background: #FFFFFF;
border-radius: 10rpx;
font-size: 28rpx;
.i-item {
@include centerFlex(center);
align-items: stretch;
.i-box {
@include centerFlex(center);
flex-direction: row;
padding: 26rpx 10rpx;
width: 176rpx;
height: auto;
}
.i-box:first-child {
}
.i-box:nth-child(2) {
border: 1rpx solid #F2F2F7;
border-bottom: none;
border-top: none;
word-break: break-all;
}
.i-box:nth-child(3) {
border: 1rpx solid #F2F2F7;
border-bottom: none;
flex-grow:1;
}
.i-box:last-child {
flex-grow:1;
}
}
.i-item:not(:last-child) {
border-bottom: 1rpx solid #F2F2F7;
}
}
.fillet-left{
// border-bottom-left-radius: 10rpx;
}
.fillet-right{
// border-bottom-right-radius: 10rpx;
}
}
.bl-btn{
// margin: 40rpx 0;
position: fixed;
bottom: 0;
left: 0;
padding: 12rpx 0;
width: 750rpx;
background-color: #FFFFFF;
border-top: 2rpx solid #F2F2F7;
@include centerFlex(center);
>view{
font-size: 28rpx;
line-height: 40rpx;
text-align: center;
&:first-child{
padding: 12rpx 0;
width: 180rpx;
color: #009874;
background-color: #FFFFFF;
border: 2rpx solid #009874;
border-radius: 6rpx;
}
&:nth-child(2){
margin: 0 50rpx;
>text{
margin: 0 2rpx;
color: #009874;
}
}
&:nth-child(3){
padding: 12rpx 0;
width: 180rpx;
color: #FFFFFF;
background-color: #009874;
border: 2rpx solid #009874;
border-radius: 6rpx;
}
}
}
}
</style>

59
uniapp示例工程源码/unipluginDemo/pages/index/index.vue

@ -14,7 +14,15 @@
<text class="uni-navigate-icon uni-icon">&#xe470;</text>
</view>
</view>
</view>
</view>
<view class="uni-panel">
<view class="uni-panel-h" @click="testScanCancle()">testScanCancle</view>
<view class="uni-panel-h" @click="goScan()">goScan</view>
<view class="uni-panel-h" @click="goBallList()">goBallList</view>
</view>
</view>
</template>
<script>
@ -39,11 +47,46 @@
open:false,
url:'/pages/sample/richAlert'
}],
navigateFlag: false
navigateFlag: false,
}
},
onLoad() {},
methods: {
onLoad() {
},
methods: {
goScan(){
console.log(111);
uni.navigateTo({
url:'./scan'
})
},
goBallList(){
console.log(111);
uni.navigateTo({
url:'./ball_list'
})
},
testScanCancle(){
//
uni.scanCode({
onlyFromCamera: true,
success: function (res) {
console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result);
}
});
setTimeout(()=>{
console.log("执行返回");
// uni.navigateBack({
// delta:2
// })
uni.navigateBack()
uni.navigateBack()
},3000)
},
triggerCollapse(e) {
if (!this.list[e].pages) {
this.goDetailPage(this.list[e].url);
@ -74,5 +117,11 @@
}
</script>
<style>
<style>
#bcid {
background:#0F0;
height:480px;
width:360px;
}
</style>

117
uniapp示例工程源码/unipluginDemo/pages/index/scan.nvue

@ -0,0 +1,117 @@
<template>
<view class="main">
<!-- <barcode id='1' class="barcode" autostart="true" ref="barcode" background="rgb(0,0,0)" frameColor="#1C86EE" scanbarColor="#1C86EE" :filters="fil" @marked="success1" @error="fail1"></barcode> -->
<button class="btn" @click="toStart">
开始扫码识别</button>
<button class="btn" @click="tocancel">取消扫码识别</button>
<button class="btn" @click="toFlash">开启闪光灯</button>
<button class="btn" @click="toscan">预览</button>
<button class="btn" @click="toback">
<view class="dot"></view>
3s后返回</button>
<!-- <view class="box">
<view class="dot">5515</view>
</view> -->
<view class="bottom-dot"></view>
</view>
</template>
<script>
export default {
onLoad() {
},
data() {
return {
fil: [0, 2, 1]
}
},
methods: {
toback(){
setTimeout(()=>{
this.tocancel()
uni.navigateBack()
},3000)
},
success1(e) {
console.log("success1:" + JSON.stringify(e));
},
fail1(e) {
console.log("fail1:" + JSON.stringify(e));
},
toStart: function() {
this.$refs.barcode.start({
conserve: true,
filename: '_doc/barcode/'
});
},
tocancel:function(){
this.$refs.barcode.cancel();
},
toFlash: function() {
this.$refs.barcode.setFlash(true);
},
toscan: function() {
console.log("scan:");
const barcodeModule = uni.requireNativePlugin('barcodeScan');
barcodeModule.scan("/static/barcode1.png"
,(e)=>{
console.log("scan_error:"+JSON.stringify(e));
});
}
}
}
</script>
<style lang="scss">
.main{
.barcode {
width: 750rpx;
height: 700rpx;
background-color: #808080;
}
.btn {
top: 20rpx;
width: 730rpx;
margin-left: 10rpx;
margin-top: 10rpx;
background-color: #458B00;
border-radius: 10rpx;
position: relative;
.dot{
top: 20rpx;
left: 20rpx;
z-index:99;
position: fixed;
background-color: red;
width: 30rpx;
height: 30rpx;
border-radius: 50%;
}
}
.box{
position: relative;
width: 750rpx;
height: 300rpx;
background-color: #009874;
}
.bottom-dot{
bottom: 0;
// left: 100rpx;
z-index:10;
position: fixed;
background-color: lightgray;
width: 750rpx;
height: 130rpx;
// border-radius: 50%;
}
}
</style>

104
uniapp示例工程源码/unipluginDemo/style/public.scss

@ -0,0 +1,104 @@
@charset "utf-8";
$themeColor: #009874;
/*每个页面公共css */
/* view,scroll-view,text,picker{
box-sizing: border-box;
} */
@mixin textHide($line) {
display: -webkit-box;
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp:$line;
}
@mixin centerFlex($justtify){
display: flex;
align-items: center;
justify-content: $justtify;
}
@mixin botLine{
border-bottom: 2upx solid #e5e5e5;
}
@mixin picBgc{
background-color: #f9f9f9;
}
@mixin closeIcon($width,$height,$color) {
transform: rotateZ(45deg);
&::before{
content: '';
display: block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: $width;
height: $height;
background-color: $color;
border-radius: $height;
}
&::after{
content: '';
display: block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: $height;
height: $width;
background-color: $color;
border-radius: $height;
}
}
@mixin hover {
position: relative;
overflow: hidden;
&::after{
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 2;
background-color: rgba(0,0,0,.1);
}
}
@mixin arrowIcon($size,$line,$radius,$angle,$color) {
&::after{
content:'';
display: inline-block;
vertical-align: middle;
transform: rotateZ($angle);
width: $size;
height: $size;
border-right: $line solid $color;
border-bottom: $line solid $color;
border-bottom-right-radius: $radius;
}
}
@mixin clearBtn {
margin: 0;
display: block;
border: none;
border-radius:0;
background-color: transparent;
padding-left: 0;
padding-right: 0;
line-height: inherit;
&::after {
border: none;
}
}

0
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/.automator/app-plus/.automator.json

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappchooselocation.js
File diff suppressed because it is too large
View File

BIN
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniapperror.png

After

Width: 200  |  Height: 200  |  Size: 5.7 KiB

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappes6.js
File diff suppressed because it is too large
View File

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappopenlocation.js
File diff suppressed because it is too large
View File

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniapppicker.js
File diff suppressed because it is too large
View File

8
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappquill.js
File diff suppressed because it is too large
View File

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappquillimageresize.js
File diff suppressed because it is too large
View File

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappscan.js
File diff suppressed because it is too large
View File

BIN
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappsuccess.png

After

Width: 165  |  Height: 165  |  Size: 2.0 KiB

25
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/__uniappview.html

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>

8
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-config-service.js

@ -0,0 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/index/scan","pages/sample/ext-module","pages/sample/ext-component","pages/sample/richAlert"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"unipluginDemo","compilerVersion":"3.2.9","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/index/scan","meta":{"isNVue":true},"window":{"navigationBarTitleText":"22222"}},{"path":"/pages/sample/ext-module","meta":{"isNVue":true},"window":{"navigationBarTitleText":"扩展 module"}},{"path":"/pages/sample/ext-component","meta":{"isNVue":true},"window":{"navigationBarTitleText":"扩展 component"}},{"path":"/pages/sample/richAlert","meta":{},"window":{"navigationBarTitleText":"RichAlert"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

154
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-config.js

@ -0,0 +1,154 @@
/******/ (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 and loading chunks
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ // Promise = chunk loading, 0 = chunk loaded
/******/ var installedChunks = {
/******/ "app-config": 0
/******/ };
/******/
/******/ var deferredModules = [];
/******/
/******/ // 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;
/******/ }
/******/
/******/
/******/ // 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 = "/";
/******/
/******/ var jsonpArray = this["webpackJsonp"] = this["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();
/******/ })
/************************************************************************/
/******/ ([]);

657
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-service.js
File diff suppressed because it is too large
View File

1253
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/app-view.js
File diff suppressed because it is too large
View File

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/manifest.json

@ -0,0 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__2B9497D","name":"unipluginDemo","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"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.READ_CONTACTS\"/>","<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.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<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.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.2.9","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}

696
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/pages/index/scan.js
File diff suppressed because it is too large
View File

609
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/pages/sample/ext-component.js
File diff suppressed because it is too large
View File

568
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/pages/sample/ext-module.js
File diff suppressed because it is too large
View File

BIN
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/static/logo.png

After

Width: 72  |  Height: 72  |  Size: 3.9 KiB

169
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/static/new_file.json

@ -0,0 +1,169 @@
{
"id": "__UNI__09EF501",
"name": "掌上喵",
"version": {
"name": "1.4.40",
"code": 1440
},
"description": "",
"launch_path": "__uniappview.html",
"developer": {
"name": "",
"email": "",
"url": ""
},
"permissions": {
"OAuth": {
"description": "OAuth"
},
"Share": {
"description": "plus.share.*"
},
"VideoPlayer": {
"description": "VideoPlayer"
},
"Push": {
"description": "Push"
},
"UniNView": {
"description": "UniNView"
},
"Stream": {
"description": "plus.stream.*"
},
"Confusion": {
"description": "Resource confusion"
},
"Audio": {
"description": "plus.audio.*"
},
"Accelerometer": {
"description": "plus.accelerometer.*"
},
"Barcode": {
"description": "plus.barcode.*"
},
"Cache": {
"description": "plus.cache.*"
},
"Camera": {
"description": "plus.camera.*"
},
"Console": {
"description": "plus.console.*"
},
"Device": {
"description": "plus.device.*"
},
"Downloader": {
"description": "plus.downloader.*"
},
"File": {
"description": "plus.io.*"
},
"Gallery": {
"description": "plus.gallery.*"
},
"Geolocation": {
"description": "plus.geolocation.*"
},
"Invocation": {
"description": "plus.android.*"
},
"NativeObj": {
"description": "plus.nativeObj.*"
},
"NativeUI": {
"description": "plus.nativeUI.*"
},
"Navigator": {
"description": "plus.navigator.*"
},
"Orientation": {
"description": "plus.orientation.*"
},
"Proximity": {
"description": "plus.proximity.*"
},
"Runtime": {
"description": "plus.runtime.*"
},
"Storage": {
"description": "plus.storage.*"
},
"Uploader": {
"description": "plus.uploader.*"
},
"Webview": {
"description": "plus.webview.*"
},
"XMLHttpRequest": {
"description": "plus.net.*"
},
"Zip": {
"description": "plus.zip.*"
}
},
"plus": {
"useragent": {
"value": "uni-app",
"concatenate": true
},
"splashscreen": {
"target": "id:1",
"autoclose": true,
"waiting": false,
"delay": 0
},
"popGesture": "close",
"launchwebview": {
"id": "1",
"kernel": "WKWebview",
"uni-app": "auto"
},
"statusbar": {
"immersed": "supportedDevice",
"style": "dark",
"background": "#F7F7F7"
},
"compatible": {
"ignoreVersion": true
},
"usingComponents": true,
"allowsInlineMediaPlayback": true,
"safearea": {
"background": "#ffffff",
"bottom": {
"offset": "auto"
}
},
"uni-app": {
"compilerVersion": "2.4.6",
"control": "v8",
"nvueCompiler": "uni-app",
"renderer": "auto",
"nvue": {
"flex-direction": "column"
}
},
"tabBar": {
"borderStyle": "rgba(0,0,0,0.4)",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages\/mall\/mall"
}, {
"pagePath": "pages\/navbar\/navbar"
}, {
"pagePath": "pages\/material\/material"
}, {
"pagePath": "pages\/my\/my"
}, {
"pagePath": "pages\/product\/rank"
}],
"selectedColor": "#0062cc",
"height": "50px"
},
"adid": "129854030308",
"channel": ""
}
}

1
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/view.css
File diff suppressed because it is too large
View File

6
uniapp示例工程源码/unipluginDemo/unpackage/dist/dev/app-plus/view.umd.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save