14 changed files with 40 additions and 6723 deletions
@ -1,16 +0,0 @@ |
|||||
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ |
|
||||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 |
|
||||
"version": "0.0", |
|
||||
"configurations": [{ |
|
||||
"default" : |
|
||||
{ |
|
||||
"launchtype" : "local" |
|
||||
}, |
|
||||
"mp-weixin" : |
|
||||
{ |
|
||||
"launchtype" : "local" |
|
||||
}, |
|
||||
"type" : "uniCloud" |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
@ -0,0 +1,39 @@ |
|||||
|
{ |
||||
|
"uni-app": { |
||||
|
"scripts": { |
||||
|
"dev-h5": { |
||||
|
"title": "开发环境-H5", |
||||
|
"browser":"chrome", |
||||
|
"env": { |
||||
|
"UNI_PLATFORM": "h5", |
||||
|
"BASE_URL": "http://192.168.43.6:8888", |
||||
|
"WS_URL": "ws://192.168.43.6:8878/im" |
||||
|
} |
||||
|
}, |
||||
|
"dev-wx-mini": { |
||||
|
"title": "开发环境-微信小程序", |
||||
|
"env": { |
||||
|
"UNI_PLATFORM": "mp-weixin", |
||||
|
"BASE_URL": "http://192.168.43.6:8888", |
||||
|
"WS_URL": "ws://192.168.43.6:8878/im" |
||||
|
} |
||||
|
}, |
||||
|
"prod-h5": { |
||||
|
"title": "正式环境-H5", |
||||
|
"browser":"chrome", |
||||
|
"env": { |
||||
|
"UNI_PLATFORM": "h5", |
||||
|
"BASE_URL": "https://www.boxim.online/api", |
||||
|
"WS_URL": "wss://www.boxim.online:81/im" |
||||
|
} |
||||
|
}, |
||||
|
"prod-wx-mini": { |
||||
|
"title": "正式环境-微信小程序", |
||||
|
"env": { |
||||
|
"UNI_PLATFORM": "mp-weixin", |
||||
|
"WS_URL": "wss://www.boxim.online:81/im" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -1,26 +0,0 @@ |
|||||
"use strict"; |
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); |
|
||||
const common_vendor = require("./common/vendor.js"); |
|
||||
if (!Math) { |
|
||||
"./pages/index/index.js"; |
|
||||
} |
|
||||
const _sfc_main = { |
|
||||
onLaunch: function() { |
|
||||
console.log("App Launch"); |
|
||||
}, |
|
||||
onShow: function() { |
|
||||
console.log("App Show"); |
|
||||
}, |
|
||||
onHide: function() { |
|
||||
console.log("App Hide"); |
|
||||
} |
|
||||
}; |
|
||||
const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/开源/box-im/im-uniapp/App.vue"]]); |
|
||||
function createApp() { |
|
||||
const app = common_vendor.createSSRApp(App); |
|
||||
return { |
|
||||
app |
|
||||
}; |
|
||||
} |
|
||||
createApp().app.mount("#app"); |
|
||||
exports.createApp = createApp; |
|
||||
@ -1,12 +0,0 @@ |
|||||
{ |
|
||||
"pages": [ |
|
||||
"pages/index/index" |
|
||||
], |
|
||||
"window": { |
|
||||
"navigationBarTextStyle": "black", |
|
||||
"navigationBarTitleText": "uni-app", |
|
||||
"navigationBarBackgroundColor": "#F8F8F8", |
|
||||
"backgroundColor": "#F8F8F8" |
|
||||
}, |
|
||||
"usingComponents": {} |
|
||||
} |
|
||||
@ -1,3 +0,0 @@ |
|||||
|
|
||||
/*每个页面公共css */ |
|
||||
page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;} |
|
||||
File diff suppressed because it is too large
@ -1,19 +0,0 @@ |
|||||
"use strict"; |
|
||||
const common_vendor = require("../../common/vendor.js"); |
|
||||
const _sfc_main = { |
|
||||
data() { |
|
||||
return { |
|
||||
title: "Hello" |
|
||||
}; |
|
||||
}, |
|
||||
onLoad() { |
|
||||
}, |
|
||||
methods: {} |
|
||||
}; |
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { |
|
||||
return { |
|
||||
a: common_vendor.t($data.title) |
|
||||
}; |
|
||||
} |
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/开源/box-im/im-uniapp/pages/index/index.vue"]]); |
|
||||
wx.createPage(MiniProgramPage); |
|
||||
@ -1,4 +0,0 @@ |
|||||
{ |
|
||||
"navigationBarTitleText": "uni-app", |
|
||||
"usingComponents": {} |
|
||||
} |
|
||||
@ -1 +0,0 @@ |
|||||
<view class="content"><image class="logo" src="/static/logo.png"></image><view class="text-area"><text class="title">{{a}}</text></view></view> |
|
||||
@ -1,23 +0,0 @@ |
|||||
|
|
||||
.content { |
|
||||
display: flex; |
|
||||
flex-direction: column; |
|
||||
align-items: center; |
|
||||
justify-content: center; |
|
||||
} |
|
||||
.logo { |
|
||||
height: 200rpx; |
|
||||
width: 200rpx; |
|
||||
margin-top: 200rpx; |
|
||||
margin-left: auto; |
|
||||
margin-right: auto; |
|
||||
margin-bottom: 50rpx; |
|
||||
} |
|
||||
.text-area { |
|
||||
display: flex; |
|
||||
justify-content: center; |
|
||||
} |
|
||||
.title { |
|
||||
font-size: 36rpx; |
|
||||
color: #8f8f94; |
|
||||
} |
|
||||
@ -1,29 +0,0 @@ |
|||||
{ |
|
||||
"description": "项目配置文件。", |
|
||||
"packOptions": { |
|
||||
"ignore": [], |
|
||||
"include": [] |
|
||||
}, |
|
||||
"setting": { |
|
||||
"urlCheck": false, |
|
||||
"es6": true, |
|
||||
"postcss": false, |
|
||||
"minified": false, |
|
||||
"newFeature": true, |
|
||||
"bigPackageSizeSupport": true, |
|
||||
"babelSetting": { |
|
||||
"ignore": [], |
|
||||
"disablePlugins": [], |
|
||||
"outputPath": "" |
|
||||
} |
|
||||
}, |
|
||||
"compileType": "miniprogram", |
|
||||
"libVersion": "3.1.2", |
|
||||
"appid": "wx37f146131db06a98", |
|
||||
"projectname": "im-uniapp", |
|
||||
"condition": {}, |
|
||||
"editorSetting": { |
|
||||
"tabIndent": "insertSpaces", |
|
||||
"tabSize": 2 |
|
||||
} |
|
||||
} |
|
||||
@ -1,7 +0,0 @@ |
|||||
{ |
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", |
|
||||
"projectname": "im-uniapp", |
|
||||
"setting": { |
|
||||
"compileHotReLoad": true |
|
||||
} |
|
||||
} |
|
||||
|
Before Width: | Height: | Size: 3.9 KiB |
Loading…
Reference in new issue