wangxia 8 months ago
commit fc12a2c3a4

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

@ -33,9 +33,9 @@ export default {
// } // }
let resData = { let resData = {
appkey: "146010bdfe390e4893c854f0c50b4214", appkey: "5beb4f3ad30ecbd876018a3798ab57a6",
accid :'test_user_002', accid :'test_user_002',
token : '9d46fc00f15b93e3d0894fc5df733fc1' token : '94fa9f4e72f8434f41d747111c76ab9e'
} }
// let resData = { // let resData = {
@ -192,7 +192,8 @@ export default {
}, },
}; };
</script> </script>
<style> <style lang="scss">
@import "./uni_modules/vk-uview-ui/index.scss";
uni-page-body { uni-page-body {
height: 100%; height: 100%;
} }

@ -1,22 +1,12 @@
import App from './App' import App from './App'
import uView from './uni_modules/vk-uview-ui';
import Vue from 'vue';
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue' import { createSSRApp } from 'vue'
export function createApp() { export function createApp() {
const app = createSSRApp(App) const app = createSSRApp(App)
app.use(uView)
return { return {
app app
} }
} }
// #endif

1762
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -16,5 +16,9 @@
"mobx": "^6.6.1", "mobx": "^6.6.1",
"nim-web-sdk-ng": "^10.4.0", "nim-web-sdk-ng": "^10.4.0",
"pinyin": "^3.1.0" "pinyin": "^3.1.0"
},
"devDependencies": {
"sass": "^1.86.0",
"sass-loader": "^16.0.5"
} }
} }

@ -1,5 +1,10 @@
{ {
"pages": [ "pages": [
{
"path": "pages/index/index",
"style": {
}
},
{ {
"path": "pages/NEUIKit/pages/Conversation/index", "path": "pages/NEUIKit/pages/Conversation/index",
"style": { "style": {
@ -19,11 +24,6 @@
} }
} }
}, },
{
"path": "pages/index/index",
"style": {
}
},
{ {
"path": "pages/persion/index", "path": "pages/persion/index",
"style": { "style": {

@ -0,0 +1,19 @@
<template>
<div>
11
<u-slider v-model="value"></u-slider>
</div>
</template>
<script>
export default{
data(){
return {
value:30
}
}
}
</script>
<style>
</style>

@ -1,8 +1,30 @@
<template> <template>
<div>首页</div> <div>首页
<button>111</button>
<!-- <empty-panel /> -->
<input type="text" placeholder="1111">
<div style="margin-bottom: 20px;"></div>
<emptyPanel />
<div style="margin-bottom: 20px;"></div>
<u-button>月落</u-button>
<div style="margin-bottom: 20px;"></div>
<u-search placeholder="日照香炉生紫烟" v-model="keyword"></u-search>
</div>
</template> </template>
<script> <script>
import emptyPanel from './empty.vue'
export default {
data(){
return {
keyword:''
}
},
components: {
'emptyPanel': emptyPanel
}
}
</script> </script>
<style> <style>

@ -1,76 +1,38 @@
/** // uViewuni.scss
* uni-app // uni.scss
* // uni.scssscssmain.jsApp.vue
* uni-app https://ext.dcloud.net.cn使
* 使scss使 import 便App $u-main-color: #303133;
* $u-content-color: #606266;
*/ $u-tips-color: #909399;
$u-light-color: #c0c4cc;
/** $u-border-color: #e4e7ed;
* App使 $u-bg-color: #f3f4f6;
*
* 使scss scss 使 import $u-type-primary: #2979ff;
*/ $u-type-primary-light: #ecf5ff;
$u-type-primary-disabled: #a0cfff;
/* 颜色变量 */ $u-type-primary-dark: #2b85e4;
/* 行为相关颜色 */ $u-type-warning: #ff9900;
$uni-color-primary: #007aff; $u-type-warning-disabled: #fcbd71;
$uni-color-success: #4cd964; $u-type-warning-dark: #f29100;
$uni-color-warning: #f0ad4e; $u-type-warning-light: #fdf6ec;
$uni-color-error: #dd524d;
$u-type-success: #19be6b;
/* 文字基本颜色 */ $u-type-success-disabled: #71d5a1;
$uni-text-color:#333;// $u-type-success-dark: #18b566;
$uni-text-color-inverse:#fff;// $u-type-success-light: #dbf1e1;
$uni-text-color-grey:#999;//
$uni-text-color-placeholder: #808080; $u-type-error: #fa3534;
$uni-text-color-disable:#c0c0c0; $u-type-error-disabled: #fab6b6;
$u-type-error-dark: #dd6161;
/* 背景颜色 */ $u-type-error-light: #fef0f0;
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8; $u-type-info: #909399;
$uni-bg-color-hover:#f1f1f1;// $u-type-info-disabled: #c8c9cc;
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);// $u-type-info-dark: #82848a;
$u-type-info-light: #f4f4f5;
/* 边框颜色 */
$uni-border-color:#c8c7cc; $u-form-item-height: 70rpx;
$u-form-item-border-color: #dcdfe6;
/* 尺寸变量 */
/* 文字尺寸 */
$uni-font-size-sm:12px;
$uni-font-size-base:14px;
$uni-font-size-lg:16px;
/* 图片尺寸 */
$uni-img-size-sm:20px;
$uni-img-size-base:26px;
$uni-img-size-lg:40px;
/* Border Radius */
$uni-border-radius-sm: 2px;
$uni-border-radius-base: 3px;
$uni-border-radius-lg: 6px;
$uni-border-radius-circle: 50%;
/* 水平间距 */
$uni-spacing-row-sm: 5px;
$uni-spacing-row-base: 10px;
$uni-spacing-row-lg: 15px;
/* 垂直间距 */
$uni-spacing-col-sm: 4px;
$uni-spacing-col-base: 8px;
$uni-spacing-col-lg: 12px;
/* 透明度 */
$uni-opacity-disabled: 0.3; //
/* 文章场景相关 */
$uni-color-title: #2C405A; //
$uni-font-size-title:20px;
$uni-color-subtitle: #555555; //
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; //
$uni-font-size-paragraph:15px;

Loading…
Cancel
Save