访客记录新增字段
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
<view class="content">
|
<view class="content">
|
||||||
<!-- tabs -->
|
<!-- tabs -->
|
||||||
<view class="tabs">
|
<view class="tabs">
|
||||||
<view class="item" :class="{'show': tabsIndex == 'day'}" @click="onTbas('day')">日成交</view>
|
<view class="item" :class="{'show': tabsIndex == 'day'}" @click="onTbas('day')">日访客</view>
|
||||||
<view class="item" :class="{'show': tabsIndex == 'month'}" @click="onTbas('month')">月成交</view>
|
<view class="item" :class="{'show': tabsIndex == 'month'}" @click="onTbas('month')">月访客</view>
|
||||||
<view class="item" :class="{'show': tabsIndex == 'year'}" @click="onTbas('year')">年成交</view>
|
<view class="item" :class="{'show': tabsIndex == 'year'}" @click="onTbas('year')">年访客</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 统计信息 -->
|
<!-- 统计信息 -->
|
||||||
<view class="statistics">
|
<view class="statistics">
|
||||||
@@ -24,7 +24,9 @@
|
|||||||
<view class="item" v-for="(item, index) in orders" :key="index">
|
<view class="item" v-for="(item, index) in orders" :key="index">
|
||||||
<image class="cover" :src="item.avatar" mode="aspectFill"></image>
|
<image class="cover" :src="item.avatar" mode="aspectFill"></image>
|
||||||
<view class="title">{{item.nickname || '-'}}</view>
|
<view class="title">{{item.nickname || '-'}}</view>
|
||||||
<view class="sub-title">{{item.date || '-'}}</view>
|
<view class="sub-title">访问记录: {{item.content || '-'}}</view>
|
||||||
|
<view class="sub-title">手机号码: {{item.mobile || '-'}}</view>
|
||||||
|
<view class="sub-title">访问时间: {{item.date || '-'}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
@@ -107,6 +109,7 @@
|
|||||||
.sub-title{
|
.sub-title{
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
font-size: $title-size-m;
|
font-size: $title-size-m;
|
||||||
|
@extend .nowrap;
|
||||||
}
|
}
|
||||||
.icon{
|
.icon{
|
||||||
width: 288rpx;
|
width: 288rpx;
|
||||||
|
|||||||
48
unpackage/dist/dev/app-plus/app-service.js
vendored
48
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
34
unpackage/dist/dev/app-plus/app-view.js
vendored
34
unpackage/dist/dev/app-plus/app-view.js
vendored
@@ -26019,7 +26019,7 @@ var render = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[_vm._v("日成交")]
|
[_vm._v("日访客")]
|
||||||
),
|
),
|
||||||
_c(
|
_c(
|
||||||
"v-uni-view",
|
"v-uni-view",
|
||||||
@@ -26033,7 +26033,7 @@ var render = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[_vm._v("月成交")]
|
[_vm._v("月访客")]
|
||||||
),
|
),
|
||||||
_c(
|
_c(
|
||||||
"v-uni-view",
|
"v-uni-view",
|
||||||
@@ -26047,7 +26047,7 @@ var render = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[_vm._v("年成交")]
|
[_vm._v("年访客")]
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
1
|
1
|
||||||
@@ -26140,7 +26140,23 @@ var render = function() {
|
|||||||
staticClass: _vm._$g("17-" + $30, "sc"),
|
staticClass: _vm._$g("17-" + $30, "sc"),
|
||||||
attrs: { _i: "17-" + $30 }
|
attrs: { _i: "17-" + $30 }
|
||||||
},
|
},
|
||||||
[_vm._v(_vm._$g("17-" + $30, "t0-0"))]
|
[_vm._v("访问记录: " + _vm._$g("17-" + $30, "t0-0"))]
|
||||||
|
),
|
||||||
|
_c(
|
||||||
|
"v-uni-view",
|
||||||
|
{
|
||||||
|
staticClass: _vm._$g("18-" + $30, "sc"),
|
||||||
|
attrs: { _i: "18-" + $30 }
|
||||||
|
},
|
||||||
|
[_vm._v("手机号码: " + _vm._$g("18-" + $30, "t0-0"))]
|
||||||
|
),
|
||||||
|
_c(
|
||||||
|
"v-uni-view",
|
||||||
|
{
|
||||||
|
staticClass: _vm._$g("19-" + $30, "sc"),
|
||||||
|
attrs: { _i: "19-" + $30 }
|
||||||
|
},
|
||||||
|
[_vm._v("访问时间: " + _vm._$g("19-" + $30, "t0-0"))]
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
1
|
1
|
||||||
@@ -26152,19 +26168,19 @@ var render = function() {
|
|||||||
: [
|
: [
|
||||||
_c(
|
_c(
|
||||||
"v-uni-view",
|
"v-uni-view",
|
||||||
{ staticClass: _vm._$g(19, "sc"), attrs: { _i: 19 } },
|
{ staticClass: _vm._$g(21, "sc"), attrs: { _i: 21 } },
|
||||||
[
|
[
|
||||||
_c("v-uni-image", {
|
_c("v-uni-image", {
|
||||||
staticClass: _vm._$g(20, "sc"),
|
staticClass: _vm._$g(22, "sc"),
|
||||||
attrs: {
|
attrs: {
|
||||||
src: "/static/icons/listnull-icon.png",
|
src: "/static/icons/listnull-icon.png",
|
||||||
mode: "widthFix",
|
mode: "widthFix",
|
||||||
_i: 20
|
_i: 22
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
_c(
|
_c(
|
||||||
"v-uni-view",
|
"v-uni-view",
|
||||||
{ staticClass: _vm._$g(21, "sc"), attrs: { _i: 21 } },
|
{ staticClass: _vm._$g(23, "sc"), attrs: { _i: 23 } },
|
||||||
[_vm._v("暂无相关访客记录")]
|
[_vm._v("暂无相关访客记录")]
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
@@ -26263,7 +26279,7 @@ if(false) {}
|
|||||||
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 13);
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 13);
|
||||||
exports = ___CSS_LOADER_API_IMPORT___(false);
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
||||||
// Module
|
// Module
|
||||||
exports.push([module.i, "@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 引入自定义的scss */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */\n.ios-bottom {\n padding-bottom: env(safe-area-inset-bottom);\n padding-bottom: constant(safe-area-inset-bottom);\n}\n.ios-left {\n padding-left: env(safe-area-inset-left);\n padding-left: constant(safe-area-inset-left);\n}\n.ios-right {\n padding-right: env(safe-area-inset-right);\n padding-right: constant(safe-area-inset-right);\n}\n.ios-top {\n padding-top: var(--status-bar-height);\n}\n.vertical, .list-null {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-box-pack: center;\n}\n.nowrap {\n max-width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ellipsis {\n max-width: 100%;\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n}\n.ellipsis {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ellipsis-2 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n}\n.ellipsis-3 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n}\n.ellipsis-4 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n}\n.ellipsis-5 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 5;\n}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n.list-null {\n width: 100vw;\n height: 40vh;\n background: white;\n text-align: center;\n}\n.list-null .sub-title {\n color: #555;\n font-size: 28rpx;\n}\n.list-null .icon {\n width: 288rpx;\n}\n.content {\n padding-top: 80rpx;\n}\n.tabs {\n position: fixed;\n z-index: 9;\n top: 0;\n left: 0;\n width: 100%;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n background: white;\n -webkit-justify-content: space-around;\n justify-content: space-around;\n line-height: 80rpx;\n font-size: 28rpx;\n color: #555;\n}\n.tabs .item.show {\n color: #e93340;\n font-weight: bold;\n}\n.statistics {\n margin-top: 30rpx;\n background-color: white;\n border-bottom: solid 1rpx #ddd;\n padding: 30rpx;\n}\n.statistics .statistics-date {\n font-size: 36rpx;\n font-weight: bold;\n line-height: 60rpx;\n}\n.statistics .statistics-date .arrowdown {\n margin-left: 15rpx;\n}\n.statistics .statistics-text {\n font-size: 26rpx;\n color: gray;\n line-height: 50rpx;\n}\n.statistics .statistics-text uni-text {\n margin-left: 30rpx;\n}\n.statistics .statistics-text uni-text:first-child {\n margin: 0;\n}\n.lists {\n padding: 15rpx 0;\n background: white;\n}\n.lists .item {\n padding: 15rpx 30rpx 15rpx 128rpx;\n position: relative;\n min-height: 68rpx;\n}\n.lists .item::after {\n position: absolute;\n left: 128rpx;\n top: 0;\n right: 0;\n content: ' ';\n border-bottom: solid 1rpx #ddd;\n}\n.lists .item:first-child::after {\n display: none;\n}\n.lists .item .cover {\n position: absolute;\n left: 30rpx;\n top: 15rpx;\n width: 68rpx;\n height: 68rpx;\n border-radius: 50%;\n background: #eee;\n}\n.lists .item .title {\n position: relative;\n line-height: 58rpx;\n font-size: 30rpx;\n}\n.lists .item .sub-title {\n line-height: 40rpx;\n font-size: 26rpx;\n color: #555;\n}\n", ""]);
|
exports.push([module.i, "@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 引入自定义的scss */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */\n.ios-bottom {\n padding-bottom: env(safe-area-inset-bottom);\n padding-bottom: constant(safe-area-inset-bottom);\n}\n.ios-left {\n padding-left: env(safe-area-inset-left);\n padding-left: constant(safe-area-inset-left);\n}\n.ios-right {\n padding-right: env(safe-area-inset-right);\n padding-right: constant(safe-area-inset-right);\n}\n.ios-top {\n padding-top: var(--status-bar-height);\n}\n.vertical, .list-null {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-box-pack: center;\n}\n.nowrap, .list-null .sub-title {\n max-width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ellipsis {\n max-width: 100%;\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n}\n.ellipsis {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ellipsis-2 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n}\n.ellipsis-3 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n}\n.ellipsis-4 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n}\n.ellipsis-5 {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 5;\n}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n.list-null {\n width: 100vw;\n height: 40vh;\n background: white;\n text-align: center;\n}\n.list-null .sub-title {\n color: #555;\n font-size: 28rpx;\n}\n.list-null .icon {\n width: 288rpx;\n}\n.content {\n padding-top: 80rpx;\n}\n.tabs {\n position: fixed;\n z-index: 9;\n top: 0;\n left: 0;\n width: 100%;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n background: white;\n -webkit-justify-content: space-around;\n justify-content: space-around;\n line-height: 80rpx;\n font-size: 28rpx;\n color: #555;\n}\n.tabs .item.show {\n color: #e93340;\n font-weight: bold;\n}\n.statistics {\n margin-top: 30rpx;\n background-color: white;\n border-bottom: solid 1rpx #ddd;\n padding: 30rpx;\n}\n.statistics .statistics-date {\n font-size: 36rpx;\n font-weight: bold;\n line-height: 60rpx;\n}\n.statistics .statistics-date .arrowdown {\n margin-left: 15rpx;\n}\n.statistics .statistics-text {\n font-size: 26rpx;\n color: gray;\n line-height: 50rpx;\n}\n.statistics .statistics-text uni-text {\n margin-left: 30rpx;\n}\n.statistics .statistics-text uni-text:first-child {\n margin: 0;\n}\n.lists {\n padding: 15rpx 0;\n background: white;\n}\n.lists .item {\n padding: 15rpx 30rpx 15rpx 128rpx;\n position: relative;\n min-height: 68rpx;\n}\n.lists .item::after {\n position: absolute;\n left: 128rpx;\n top: 0;\n right: 0;\n content: ' ';\n border-bottom: solid 1rpx #ddd;\n}\n.lists .item:first-child::after {\n display: none;\n}\n.lists .item .cover {\n position: absolute;\n left: 30rpx;\n top: 15rpx;\n width: 68rpx;\n height: 68rpx;\n border-radius: 50%;\n background: #eee;\n}\n.lists .item .title {\n position: relative;\n line-height: 58rpx;\n font-size: 30rpx;\n}\n.lists .item .sub-title {\n line-height: 40rpx;\n font-size: 26rpx;\n color: #555;\n}\n", ""]);
|
||||||
// Exports
|
// Exports
|
||||||
module.exports = exports;
|
module.exports = exports;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user