feat: 提交忽略unpackage
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 764 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
62
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
62
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
@@ -1,40 +1,34 @@
|
||||
"use strict";
|
||||
const _imports_0$b = "/static/quick/quick_icon_bg.png";
|
||||
const _imports_0$a = "/assets/back.6961004c.png";
|
||||
const _imports_0$9 = "/static/logo.png";
|
||||
const _imports_1$4 = "/static/input_voice_icon.png";
|
||||
const _imports_0$9 = "/static/quick/quick_icon_bg.png";
|
||||
const _imports_0$8 = "/assets/back.6961004c.png";
|
||||
const _imports_0$7 = "/static/logo.png";
|
||||
const _imports_1$3 = "/static/input_voice_icon.png";
|
||||
const _imports_2$1 = "/static/input_send_icon.png";
|
||||
const _imports_0$8 = "/static/icons/clock.png";
|
||||
const _imports_0$7 = "/assets/icon_house.8779a05f.png";
|
||||
const _imports_0$6 = "/assets/icon_clock.50bb3f13.png";
|
||||
const _imports_1$3 = "/assets/icon_card.c038c52d.png";
|
||||
const _imports_0$6 = "/static/icons/clock.png";
|
||||
const _imports_0$5 = "/assets/icon_house.8779a05f.png";
|
||||
const _imports_0$4 = "/assets/icon_clock.50bb3f13.png";
|
||||
const _imports_1$2 = "/assets/icon_card.c038c52d.png";
|
||||
const _imports_2 = "/assets/icon_arrow.228274ee.png";
|
||||
const _imports_0$5 = "/static/hello_xiaomu_icon@2x.png";
|
||||
const _imports_1$2 = "/static/hello_logo_icon@2x.png";
|
||||
const _imports_0$4 = "/static/top_bg_icon.png";
|
||||
const _imports_0$3 = "/static/drawer_icon.png";
|
||||
const _imports_0$2 = "/static/wave_icon.png";
|
||||
const _imports_1$1 = "/static/test/mk_img_1.png";
|
||||
const _imports_0$1 = "/assets/icon_minus.ce3e600b.png";
|
||||
const _imports_1 = "/assets/icon_plus.d8ff016f.png";
|
||||
const _imports_0 = "/assets/icon_minus.4a11986d.png";
|
||||
exports._imports_0 = _imports_0$a;
|
||||
exports._imports_0$1 = _imports_0$9;
|
||||
exports._imports_0$10 = _imports_0$1;
|
||||
exports._imports_0$11 = _imports_0;
|
||||
exports._imports_0$2 = _imports_0$8;
|
||||
exports._imports_0$3 = _imports_0$7;
|
||||
exports._imports_0$4 = _imports_0$6;
|
||||
exports._imports_0$5 = _imports_0$5;
|
||||
exports._imports_0$6 = _imports_0$4;
|
||||
exports._imports_0$7 = _imports_0$3;
|
||||
exports._imports_0$8 = _imports_0$b;
|
||||
exports._imports_0$9 = _imports_0$2;
|
||||
exports._imports_1 = _imports_1$4;
|
||||
exports._imports_1$1 = _imports_1$3;
|
||||
exports._imports_1$2 = _imports_1$2;
|
||||
exports._imports_1$3 = _imports_1$1;
|
||||
exports._imports_1$4 = _imports_1;
|
||||
const _imports_0$3 = "/static/hello_xiaomu_icon@2x.png";
|
||||
const _imports_1$1 = "/static/hello_logo_icon@2x.png";
|
||||
const _imports_0$2 = "/static/top_bg_icon.png";
|
||||
const _imports_0$1 = "/static/drawer_icon.png";
|
||||
const _imports_0 = "/static/wave_icon.png";
|
||||
const _imports_1 = "/static/test/mk_img_1.png";
|
||||
exports._imports_0 = _imports_0$8;
|
||||
exports._imports_0$1 = _imports_0$7;
|
||||
exports._imports_0$2 = _imports_0$6;
|
||||
exports._imports_0$3 = _imports_0$5;
|
||||
exports._imports_0$4 = _imports_0$4;
|
||||
exports._imports_0$5 = _imports_0$3;
|
||||
exports._imports_0$6 = _imports_0$2;
|
||||
exports._imports_0$7 = _imports_0$1;
|
||||
exports._imports_0$8 = _imports_0$9;
|
||||
exports._imports_0$9 = _imports_0;
|
||||
exports._imports_1 = _imports_1$3;
|
||||
exports._imports_1$1 = _imports_1$2;
|
||||
exports._imports_1$2 = _imports_1$1;
|
||||
exports._imports_1$3 = _imports_1;
|
||||
exports._imports_2 = _imports_2$1;
|
||||
exports._imports_2$1 = _imports_2;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
||||
|
||||
@@ -6961,9 +6961,9 @@ function isConsoleWritable() {
|
||||
return isWritable;
|
||||
}
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "10.10.3.1,192.168.56.1,127.0.0.1";
|
||||
const hosts = "127.0.0.1,192.168.1.8";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_V1fUyU";
|
||||
const id = "mp-weixin_3ObXKe";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const name = common_vendor.ref("");
|
||||
const phone = common_vendor.ref("");
|
||||
const phoneError = common_vendor.ref("");
|
||||
const validatePhone = () => {
|
||||
const phoneRegex = /^1[3-9]\d{9}$/;
|
||||
if (!phone.value) {
|
||||
phoneError.value = "手机号不能为空";
|
||||
} else if (!phoneRegex.test(phone.value)) {
|
||||
phoneError.value = "请输入正确的手机号";
|
||||
} else {
|
||||
phoneError.value = "";
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_assets._imports_0$11,
|
||||
b: name.value,
|
||||
c: common_vendor.o(($event) => name.value = $event.detail.value),
|
||||
d: common_vendor.o(validatePhone),
|
||||
e: phone.value,
|
||||
f: common_vendor.o(($event) => phone.value = $event.detail.value)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5787c07e"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/FormCard/index.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view class="form-wrapper data-v-5787c07e"><view class="form-header data-v-5787c07e"><image class="form-icon data-v-5787c07e" src="{{a}}"></image><text class="form-title data-v-5787c07e">游客1</text></view><view class="form-item data-v-5787c07e"><text class="form-label data-v-5787c07e">姓 名</text><input class="form-input data-v-5787c07e" placeholder="请输入姓名" value="{{b}}" bindinput="{{c}}"/></view><view class="form-item data-v-5787c07e"><text class="form-label data-v-5787c07e">手机号</text><input class="form-input data-v-5787c07e" placeholder="请输入手机号" bindblur="{{d}}" value="{{e}}" bindinput="{{f}}"/></view></view>
|
||||
@@ -1,65 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.form-wrapper.data-v-5787c07e {
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.form-header.data-v-5787c07e {
|
||||
background-color: rgba(25, 144, 255, 0.06);
|
||||
border: 1px solid #e5e8ef;
|
||||
border-radius: 8px 8px 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
.form-icon.data-v-5787c07e {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.form-title.data-v-5787c07e {
|
||||
font-size: 16px;
|
||||
color: #00a6ff;
|
||||
}
|
||||
.form-item.data-v-5787c07e {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12px 24px 12px 16px;
|
||||
}
|
||||
.form-label.data-v-5787c07e {
|
||||
font-size: 16px;
|
||||
color: #86909c;
|
||||
margin-right: 10px;
|
||||
width: 50px;
|
||||
}
|
||||
.form-input.data-v-5787c07e {
|
||||
flex: 1;
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const active = common_vendor.ref(0);
|
||||
const thumbnails = common_vendor.ref([
|
||||
{
|
||||
url: "https://fastly.picsum.photos/id/866/654/400.jpg?hmac=z3vI4CYrpnXEgimSlJCDwXRxEa-UDHiRwzGEyB8V-po",
|
||||
description: "瑶山古寨"
|
||||
},
|
||||
{
|
||||
url: "https://fastly.picsum.photos/id/284/654/400.jpg?hmac=89XRCJxYTblKIFGLOp6hJ9U0GC8BQrcnJwE5pG21NAk",
|
||||
description: "民俗表演"
|
||||
},
|
||||
{
|
||||
url: "https://fastly.picsum.photos/id/281/654/400.jpg?hmac=hcAJB7y2Xz3DVuz6S4XeQZgzaTJ_QWnxtbnaagZL6Fs",
|
||||
description: "特色美食"
|
||||
},
|
||||
{
|
||||
url: "https://fastly.picsum.photos/id/435/654/400.jpg?hmac=TSVDxfo-zXbunxNQK0erSG_nmKcS20xfhbQsCAXLlHo",
|
||||
description: "传统服饰"
|
||||
},
|
||||
{
|
||||
url: "https://fastly.picsum.photos/id/737/654/400.jpg?hmac=VED05oEK3XB0Aa_DUVoZjTAf0bHjAmNYyJky4lq5vVo",
|
||||
description: "其他"
|
||||
}
|
||||
]);
|
||||
const handleThumbnailClick = (index) => {
|
||||
active.value = index;
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(thumbnails.value, (item, index, i0) => {
|
||||
return {
|
||||
a: item.url,
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
b: active.value,
|
||||
c: common_vendor.t(active.value + 1),
|
||||
d: common_vendor.t(thumbnails.value.length),
|
||||
e: common_vendor.f(thumbnails.value, (thumb, index, i0) => {
|
||||
return {
|
||||
a: thumb.url,
|
||||
b: common_vendor.t(thumb.description),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => handleThumbnailClick(index), index)
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-cc2009df"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ImageSwiper/index.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view class="image-swiper data-v-cc2009df"><swiper class="swiper-box data-v-cc2009df" autoplay="{{false}}" interval="{{3000}}" duration="{{1000}}" current="{{b}}"><swiper-item wx:for="{{a}}" wx:for-item="item" wx:key="b" class="swiper-item data-v-cc2009df"><image class="data-v-cc2009df" src="{{item.a}}" mode="aspectFill"></image></swiper-item></swiper><view class="custom-indicator data-v-cc2009df"> 图片{{c}}/{{d}}</view><view class="thumbnail-box data-v-cc2009df"><view wx:for="{{e}}" wx:for-item="thumb" wx:key="c" class="thumbnail-item data-v-cc2009df" bindtap="{{thumb.d}}"><image class="data-v-cc2009df" src="{{thumb.a}}" mode="aspectFill"></image><text class="data-v-cc2009df">{{thumb.b}}</text></view></view></view>
|
||||
@@ -1,71 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.image-swiper.data-v-cc2009df {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.swiper-box.data-v-cc2009df {
|
||||
border-radius: 8px;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.swiper-item image.data-v-cc2009df {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.custom-indicator.data-v-cc2009df {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
z-index: 10;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 50px;
|
||||
padding: 3px 8px;
|
||||
font-size: 8px;
|
||||
color: #fff;
|
||||
}
|
||||
.thumbnail-box.data-v-cc2009df {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
bottom: 36px;
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
.thumbnail-item.data-v-cc2009df {
|
||||
text-align: center;
|
||||
}
|
||||
.thumbnail-item image.data-v-cc2009df {
|
||||
width: 48px;
|
||||
height: 38px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
.thumbnail-item text.data-v-cc2009df {
|
||||
color: #fff;
|
||||
font-size: 8px;
|
||||
display: block;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
props: {
|
||||
introText: {
|
||||
type: String,
|
||||
default: "酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍酒店介绍"
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(__props.introText)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0b1b7870"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ResponseIntro/index.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view class="response-intro-wrapper data-v-0b1b7870"><text class="response-intro-text data-v-0b1b7870">{{a}}</text></view>
|
||||
@@ -1,35 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.response-intro-wrapper.data-v-0b1b7870 {
|
||||
padding: 4px 8px 12px 12px;
|
||||
}
|
||||
.response-intro-text.data-v-0b1b7870 {
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
line-height: 20px;
|
||||
text-align: justify;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {};
|
||||
function _sfc_render(_ctx, _cache) {
|
||||
return {};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3a886041"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ResponseWrapper/index.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view class="response-wrapper data-v-3a886041"><slot></slot></view>
|
||||
@@ -1,32 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.response-wrapper.data-v-3a886041 {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px 20px 20px 20px;
|
||||
border: 1px solid #fff;
|
||||
padding: 12px;
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
props: {
|
||||
modelValue: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
min: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
max: {
|
||||
type: Number,
|
||||
default: 100
|
||||
}
|
||||
},
|
||||
emits: ["update:modelValue"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const props = __props;
|
||||
const emit = __emit;
|
||||
const value = common_vendor.ref(props.modelValue);
|
||||
const decrease = () => {
|
||||
if (value.value === 1)
|
||||
return;
|
||||
if (value.value > props.min) {
|
||||
value.value--;
|
||||
emit("update:modelValue", value.value);
|
||||
}
|
||||
};
|
||||
const increase = () => {
|
||||
if (value.value < props.max) {
|
||||
value.value++;
|
||||
emit("update:modelValue", value.value);
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_assets._imports_0$10,
|
||||
b: common_vendor.o(decrease),
|
||||
c: common_vendor.t(value.value),
|
||||
d: common_assets._imports_1$4,
|
||||
e: common_vendor.o(increase)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-52e20cb2"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/Stepper/index.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view class="stepper-wrapper data-v-52e20cb2"><image class="stepper-btn stepper-btn-minus data-v-52e20cb2" src="{{a}}" mode="aspectFill" bindtap="{{b}}"></image><text class="stepper-text data-v-52e20cb2">{{c}}</text><image class="stepper-btn stepper-btn-plus data-v-52e20cb2" src="{{d}}" mode="aspectFill" bindtap="{{e}}"></image></view>
|
||||
@@ -1,45 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.stepper-wrapper.data-v-52e20cb2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.stepper-btn.data-v-52e20cb2 {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.stepper-btn-minus.data-v-52e20cb2 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.stepper-btn-plus.data-v-52e20cb2 {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.stepper-text.data-v-52e20cb2 {
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
props: {
|
||||
referencePrice: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
discount: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(__props.referencePrice),
|
||||
b: common_vendor.t(__props.discount)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5bb5a4e5"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/SumCard/index.js.map
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view class="sum-wrapper data-v-5bb5a4e5"><view class="sum-item data-v-5bb5a4e5"><text class="sum-label data-v-5bb5a4e5">价格</text><text class="sum-value data-v-5bb5a4e5">¥{{a}}</text></view><view class="sum-item data-v-5bb5a4e5"><text class="sum-label data-v-5bb5a4e5">折扣优惠</text><text class="sum-discount data-v-5bb5a4e5">-¥{{b}}</text></view></view>
|
||||
@@ -1,47 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.sum-wrapper.data-v-5bb5a4e5 {
|
||||
border-radius: 8px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.sum-item.data-v-5bb5a4e5 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 13px 15px;
|
||||
}
|
||||
.sum-label.data-v-5bb5a4e5 {
|
||||
font-size: 15px;
|
||||
color: #333;
|
||||
}
|
||||
.sum-value.data-v-5bb5a4e5 {
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
}
|
||||
.sum-discount.data-v-5bb5a4e5 {
|
||||
font-size: 14px;
|
||||
color: #ff5722;
|
||||
}
|
||||
@@ -3,7 +3,7 @@ const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const model_ChatModel = require("../../model/ChatModel.js");
|
||||
if (!Math) {
|
||||
(ChatTopBgImg + ChatTopNavBar + ChatTopBanner + OneFeelMK001 + ResponseIntro + ImageSwiper + Stepper + SumCard + FormCard + ResponseWrapper + ChatCardAI + ChatCardMine + ChatMoreTips + ChatQuickAccess)();
|
||||
(ChatTopBgImg + ChatTopNavBar + ChatTopBanner + OneFeelMK001 + ChatCardAI + ChatCardMine + ChatMoreTips + ChatQuickAccess)();
|
||||
}
|
||||
const ChatTopBanner = () => "./ChatTopBanner.js";
|
||||
const ChatTopBgImg = () => "./ChatTopBgImg.js";
|
||||
@@ -13,12 +13,6 @@ const ChatCardMine = () => "./ChatCardMine.js";
|
||||
const ChatQuickAccess = () => "./ChatQuickAccess2.js";
|
||||
const ChatMoreTips = () => "./ChatMoreTips.js";
|
||||
const OneFeelMK001 = () => "../module/OneFeelMK001.js";
|
||||
const ResponseIntro = () => "../../components/ResponseIntro/index.js";
|
||||
const ResponseWrapper = () => "../../components/ResponseWrapper/index.js";
|
||||
const ImageSwiper = () => "../../components/ImageSwiper/index.js";
|
||||
const Stepper = () => "../../components/Stepper/index.js";
|
||||
const SumCard = () => "../../components/SumCard/index.js";
|
||||
const FormCard = () => "../../components/FormCard/index.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "ChatMainList",
|
||||
emits: ["openDrawer"],
|
||||
@@ -36,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const emits = __emit;
|
||||
const openDrawer = () => {
|
||||
emits("openDrawer");
|
||||
common_vendor.index.__f__("log", "at pages/chat/ChatMainList.vue:178", "=============打开抽屉");
|
||||
common_vendor.index.__f__("log", "at pages/chat/ChatMainList.vue:152", "=============打开抽屉");
|
||||
};
|
||||
const handleReply = (text) => {
|
||||
loadMessage(text);
|
||||
@@ -102,7 +96,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}
|
||||
};
|
||||
chatMsgList.value.push(newMsgAI);
|
||||
common_vendor.index.__f__("log", "at pages/chat/ChatMainList.vue:262", "发送的新消息:", JSON.stringify(newMsg));
|
||||
common_vendor.index.__f__("log", "at pages/chat/ChatMainList.vue:239", "发送的新消息:", JSON.stringify(newMsg));
|
||||
};
|
||||
const scrollToBottom = () => {
|
||||
lastMsgId.value = `${chatMsgList.value[chatMsgList.value.length - 1].msgId}`;
|
||||
@@ -115,11 +109,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
a: common_vendor.o(openDrawer),
|
||||
b: statusBarHeight.value + "px",
|
||||
c: navBgColor.value,
|
||||
d: common_vendor.p({
|
||||
referencePrice: 700,
|
||||
discount: 10
|
||||
}),
|
||||
e: common_vendor.f(chatMsgList.value, (item, k0, i0) => {
|
||||
d: common_vendor.f(chatMsgList.value, (item, k0, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.msgType === common_vendor.unref(model_ChatModel.MessageRole).AI
|
||||
}, item.msgType === common_vendor.unref(model_ChatModel.MessageRole).AI ? common_vendor.e({
|
||||
@@ -127,13 +117,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}, item.msgContent && item.msgContent.type === common_vendor.unref(model_ChatModel.MessageType).IMAGE ? {
|
||||
c: common_assets._imports_0$1
|
||||
} : {}, {
|
||||
d: "d7316ec5-13-" + i0 + "," + ("d7316ec5-12-" + i0),
|
||||
e: "d7316ec5-12-" + i0,
|
||||
d: "d7316ec5-7-" + i0 + "," + ("d7316ec5-6-" + i0),
|
||||
e: "d7316ec5-6-" + i0,
|
||||
f: common_vendor.p({
|
||||
text: item.msg
|
||||
})
|
||||
}) : item.msgType === common_vendor.unref(model_ChatModel.MessageRole).ME ? {
|
||||
h: "d7316ec5-14-" + i0,
|
||||
h: "d7316ec5-8-" + i0,
|
||||
i: common_vendor.p({
|
||||
text: item.msg
|
||||
})
|
||||
@@ -145,19 +135,19 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
l: item.msgId
|
||||
});
|
||||
}),
|
||||
e: lastMsgId.value,
|
||||
f: lastMsgId.value,
|
||||
g: lastMsgId.value,
|
||||
g: common_vendor.o(handleReply),
|
||||
h: common_vendor.o(handleReply),
|
||||
i: common_vendor.o(handleReply),
|
||||
j: common_assets._imports_1,
|
||||
k: common_vendor.o(sendMessage),
|
||||
l: common_vendor.o(handleNoHideKeyboard),
|
||||
m: holdKeyboard.value,
|
||||
n: inputMessage.value,
|
||||
o: common_vendor.o(($event) => inputMessage.value = $event.detail.value),
|
||||
p: common_assets._imports_2,
|
||||
q: common_vendor.o(sendMessage),
|
||||
r: common_vendor.o(handleTouchEnd)
|
||||
i: common_assets._imports_1,
|
||||
j: common_vendor.o(sendMessage),
|
||||
k: common_vendor.o(handleNoHideKeyboard),
|
||||
l: holdKeyboard.value,
|
||||
m: inputMessage.value,
|
||||
n: common_vendor.o(($event) => inputMessage.value = $event.detail.value),
|
||||
o: common_assets._imports_2,
|
||||
p: common_vendor.o(sendMessage),
|
||||
q: common_vendor.o(handleTouchEnd)
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,12 +8,6 @@
|
||||
"chat-card-mine": "./ChatCardMine",
|
||||
"chat-quick-access": "./ChatQuickAccess",
|
||||
"chat-more-tips": "./ChatMoreTips",
|
||||
"one-feel-m-k001": "../module/OneFeelMK001",
|
||||
"response-intro": "../../components/ResponseIntro/index",
|
||||
"response-wrapper": "../../components/ResponseWrapper/index",
|
||||
"image-swiper": "../../components/ImageSwiper/index",
|
||||
"stepper": "../../components/Stepper/index",
|
||||
"sum-card": "../../components/SumCard/index",
|
||||
"form-card": "../../components/FormCard/index"
|
||||
"one-feel-m-k001": "../module/OneFeelMK001"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="chat-container data-v-d7316ec5" bindtouchend="{{r}}"><chat-top-bg-img class="chat-container-bg data-v-d7316ec5" u-i="d7316ec5-0" bind:__l="__l"></chat-top-bg-img><view class="nav-bar-container data-v-d7316ec5" style="{{'padding-top:' + b + ';' + ('background-color:' + c)}}"><chat-top-nav-bar class="data-v-d7316ec5" bindopenDrawer="{{a}}" u-i="d7316ec5-1" bind:__l="__l"></chat-top-nav-bar></view><view class="chat-container-msg-list data-v-d7316ec5"><chat-top-banner class="chat-container-top-bannar data-v-d7316ec5" u-i="d7316ec5-2" bind:__l="__l"></chat-top-banner><scroll-view scroll-y scroll-into-view="{{g}}" scroll-with-animation="{{true}}" class="area-msg-list data-v-d7316ec5"><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-3" bind:__l="__l"></one-feel-m-k001></view><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-4" bind:__l="__l"></one-feel-m-k001></view><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-5" bind:__l="__l"></one-feel-m-k001></view><response-wrapper class="data-v-d7316ec5" u-s="{{['d']}}" u-i="d7316ec5-6" bind:__l="__l"><response-intro class="data-v-d7316ec5" u-i="d7316ec5-7,d7316ec5-6" bind:__l="__l"/><image-swiper class="data-v-d7316ec5" u-i="d7316ec5-8,d7316ec5-6" bind:__l="__l"/><stepper class="data-v-d7316ec5" u-i="d7316ec5-9,d7316ec5-6" bind:__l="__l"/><sum-card wx:if="{{d}}" class="data-v-d7316ec5" u-i="d7316ec5-10,d7316ec5-6" bind:__l="__l" u-p="{{d}}"/><form-card class="data-v-d7316ec5" u-i="d7316ec5-11,d7316ec5-6" bind:__l="__l"/></response-wrapper><view wx:for="{{e}}" wx:for-item="item" wx:key="k" class="area-msg-list-content data-v-d7316ec5" id="{{item.l}}"><block wx:if="{{item.a}}"><chat-card-a-i wx:if="{{item.f}}" u-s="{{['d']}}" class="message-item message-item-ai data-v-d7316ec5" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><image wx:if="{{item.b}}" class="data-v-d7316ec5" src="{{item.c}}" style="width:100px;height:100px"></image><one-feel-m-k001 class="data-v-d7316ec5" u-i="{{item.d}}" bind:__l="__l"></one-feel-m-k001></chat-card-a-i></block><block wx:elif="{{item.g}}"><chat-card-mine wx:if="{{item.i}}" class="message-item message-item-mine data-v-d7316ec5" u-i="{{item.h}}" bind:__l="__l" u-p="{{item.i}}"></chat-card-mine></block><block wx:else><text class="message-item message-item-other data-v-d7316ec5">{{item.j}}</text></block></view><view class="data-v-d7316ec5" id="{{f}}"></view></scroll-view><view class="footer-area data-v-d7316ec5"><chat-more-tips class="data-v-d7316ec5" bindreplySent="{{h}}" u-i="d7316ec5-15" bind:__l="__l"></chat-more-tips><chat-quick-access class="data-v-d7316ec5" bindreplySent="{{i}}" u-i="d7316ec5-16" bind:__l="__l"></chat-quick-access><view class="area-input data-v-d7316ec5"><view class="input-container-voice data-v-d7316ec5"><image class="data-v-d7316ec5" src="{{j}}"></image></view><block wx:if="{{r0}}"><textarea class="textarea data-v-d7316ec5" type="text" placeholder="快速订票,呼叫服务" cursor-spacing="65" confirm-type="done" bindconfirm="{{k}}" bindtouchend="{{l}}" confirm-hold="{{true}}" auto-height show-confirm-bar="{{false}}" hold-keyboard="{{m}}" maxlength="300" value="{{n}}" bindinput="{{o}}"/></block><view class="input-container-send data-v-d7316ec5" bindtap="{{q}}"><image class="data-v-d7316ec5" src="{{p}}"></image></view></view></view></view></view>
|
||||
<view class="chat-container data-v-d7316ec5" bindtouchend="{{q}}"><chat-top-bg-img class="chat-container-bg data-v-d7316ec5" u-i="d7316ec5-0" bind:__l="__l"></chat-top-bg-img><view class="nav-bar-container data-v-d7316ec5" style="{{'padding-top:' + b + ';' + ('background-color:' + c)}}"><chat-top-nav-bar class="data-v-d7316ec5" bindopenDrawer="{{a}}" u-i="d7316ec5-1" bind:__l="__l"></chat-top-nav-bar></view><view class="chat-container-msg-list data-v-d7316ec5"><chat-top-banner class="chat-container-top-bannar data-v-d7316ec5" u-i="d7316ec5-2" bind:__l="__l"></chat-top-banner><scroll-view scroll-y scroll-into-view="{{f}}" scroll-with-animation="{{true}}" class="area-msg-list data-v-d7316ec5"><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-3" bind:__l="__l"></one-feel-m-k001></view><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-4" bind:__l="__l"></one-feel-m-k001></view><view class="data-v-d7316ec5" style="padding:6px 12px"><one-feel-m-k001 class="data-v-d7316ec5" u-i="d7316ec5-5" bind:__l="__l"></one-feel-m-k001></view><view wx:for="{{d}}" wx:for-item="item" wx:key="k" class="area-msg-list-content data-v-d7316ec5" id="{{item.l}}"><block wx:if="{{item.a}}"><chat-card-a-i wx:if="{{item.f}}" u-s="{{['d']}}" class="message-item message-item-ai data-v-d7316ec5" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><image wx:if="{{item.b}}" class="data-v-d7316ec5" src="{{item.c}}" style="width:100px;height:100px"></image><one-feel-m-k001 class="data-v-d7316ec5" u-i="{{item.d}}" bind:__l="__l"></one-feel-m-k001></chat-card-a-i></block><block wx:elif="{{item.g}}"><chat-card-mine wx:if="{{item.i}}" class="message-item message-item-mine data-v-d7316ec5" u-i="{{item.h}}" bind:__l="__l" u-p="{{item.i}}"></chat-card-mine></block><block wx:else><text class="message-item message-item-other data-v-d7316ec5">{{item.j}}</text></block></view><view class="data-v-d7316ec5" id="{{e}}"></view></scroll-view><view class="footer-area data-v-d7316ec5"><chat-more-tips class="data-v-d7316ec5" bindreplySent="{{g}}" u-i="d7316ec5-9" bind:__l="__l"></chat-more-tips><chat-quick-access class="data-v-d7316ec5" bindreplySent="{{h}}" u-i="d7316ec5-10" bind:__l="__l"></chat-quick-access><view class="area-input data-v-d7316ec5"><view class="input-container-voice data-v-d7316ec5"><image class="data-v-d7316ec5" src="{{i}}"></image></view><block wx:if="{{r0}}"><textarea class="textarea data-v-d7316ec5" type="text" placeholder="快速订票,呼叫服务" cursor-spacing="65" confirm-type="done" bindconfirm="{{j}}" bindtouchend="{{k}}" confirm-hold="{{true}}" auto-height show-confirm-bar="{{false}}" hold-keyboard="{{l}}" maxlength="300" value="{{m}}" bindinput="{{n}}"/></block><view class="input-container-send data-v-d7316ec5" bindtap="{{p}}"><image class="data-v-d7316ec5" src="{{o}}"></image></view></view></view></view></view>
|
||||
@@ -26,7 +26,7 @@
|
||||
.chat-container.data-v-d7316ec5 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #e9f3f7;
|
||||
background-color: #E9F3F7;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden !important;
|
||||
@@ -40,7 +40,7 @@
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
height: 270px;
|
||||
background: linear-gradient(180deg, #42adf9 0%, #6cd1ff 51%, #e9f3f7 99%);
|
||||
background: linear-gradient(180deg, #42ADF9 0%, #6CD1FF 51%, #E9F3F7 99%);
|
||||
}
|
||||
.chat-container .nav-bar-container.data-v-d7316ec5 {
|
||||
position: fixed;
|
||||
@@ -110,7 +110,7 @@
|
||||
width: 100vw;
|
||||
flex-shrink: 0;
|
||||
padding: 4px 0 24px 0;
|
||||
background-color: #e9f3f7;
|
||||
background-color: #E9F3F7;
|
||||
touch-action: pan-x;
|
||||
/* 仅允许横向触摸滚动 */
|
||||
overflow-x: auto;
|
||||
@@ -122,7 +122,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 22px;
|
||||
background-color: #ffffff;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0px 0px 20px 0px rgba(52, 25, 204, 0.05);
|
||||
margin: 0 12px;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const manager_LoginManager = require("../../manager/LoginManager.js");
|
||||
const _sfc_main = {
|
||||
__name: "DrawerHome",
|
||||
emits: ["closeDrawer"],
|
||||
@@ -7,12 +8,21 @@ const _sfc_main = {
|
||||
const emits = __emit;
|
||||
const closeDrawer = () => {
|
||||
emits("closeDrawer");
|
||||
common_vendor.index.__f__("log", "at pages/drawer/DrawerHome.vue:23", "=============关闭抽屉");
|
||||
common_vendor.index.__f__("log", "at pages/drawer/DrawerHome.vue:25", "=============关闭抽屉");
|
||||
};
|
||||
const login = () => {
|
||||
manager_LoginManager.loginAuth().then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/drawer/DrawerHome.vue:31", "登录成功", res);
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("error", "at pages/drawer/DrawerHome.vue:35", "登录失败", err);
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/drawer/DrawerHome.vue:38", "=============登录");
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(closeDrawer),
|
||||
b: common_vendor.f(100, (item, index, i0) => {
|
||||
b: common_vendor.o(login),
|
||||
c: common_vendor.f(100, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="drawer-home data-v-ce6d4433"><view class="drawer-home-nav data-v-ce6d4433"><text class="data-v-ce6d4433">抽屉页面</text></view><button class="data-v-ce6d4433" bindtap="{{a}}" type="default">关闭</button><view class="drawer-list data-v-ce6d4433"><view wx:for="{{b}}" wx:for-item="item" wx:key="b" class="data-v-ce6d4433"><text class="message-item data-v-ce6d4433">{{item.a}}</text></view></view></view>
|
||||
<view class="drawer-home data-v-ce6d4433"><view class="drawer-home-nav data-v-ce6d4433"><text class="data-v-ce6d4433">抽屉页面</text></view><button class="data-v-ce6d4433" bindtap="{{a}}" type="default">关闭</button><button class="data-v-ce6d4433" bindtap="{{b}}" type="default">登录</button><view class="drawer-list data-v-ce6d4433"><view wx:for="{{c}}" wx:for-item="item" wx:key="b" class="data-v-ce6d4433"><text class="message-item data-v-ce6d4433">{{item.a}}</text></view></view></view>
|
||||
57
unpackage/dist/dev/mp-weixin/project.config.json
vendored
57
unpackage/dist/dev/mp-weixin/project.config.json
vendored
@@ -1,29 +1,30 @@
|
||||
{
|
||||
"appid": "wxb71a18420dee6fdc",
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.8.10",
|
||||
"packOptions": {
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"coverView": true,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"enhance": true,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"packNpmRelationList": [],
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
}
|
||||
},
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
},
|
||||
"projectArchitecture": "miniProgram"
|
||||
{
|
||||
"appid": "wxb71a18420dee6fdc",
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.8.10",
|
||||
"packOptions": {
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"coverView": true,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"enhance": true,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"packNpmRelationList": [],
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"minifyWXML": true
|
||||
},
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
},
|
||||
"projectArchitecture": "miniProgram"
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "YGChatCS",
|
||||
"setting": {
|
||||
"compileHotReLoad": true,
|
||||
"urlCheck": false
|
||||
"compileHotReLoad": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user