7.21
This commit is contained in:
+3
@@ -13,4 +13,7 @@ wx-button:after{
|
||||
.u-image{
|
||||
background: none!important;
|
||||
}
|
||||
.u-steps-item__line{
|
||||
height:36px!important;
|
||||
}
|
||||
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;}
|
||||
+663
-593
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const useImg = ref("");
|
||||
const useImg = common_vendor.ref("");
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
@@ -66,7 +66,7 @@ const _sfc_main = {
|
||||
}),
|
||||
g: common_vendor.o(goHome),
|
||||
h: common_vendor.p({
|
||||
src: common_vendor.unref(useImg) ? common_vendor.unref(useImg) : common_vendor.unref(common_assets.headImg),
|
||||
src: useImg.value ? useImg.value : common_vendor.unref(common_assets.headImg),
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
radius: "50%"
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ const common_vendor = require("../../../../common/vendor.js");
|
||||
const base64Avatar = "data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCADIAMgDAREAAhEBAxEB/8QAcQABAQEAAwEBAAAAAAAAAAAAAAUEAQMGAgcBAQAAAAAAAAAAAAAAAAAAAAAQAAIBAwICBgkDBQAAAAAAAAABAhEDBCEFMVFBYXGREiKBscHRMkJSEyOh4XLxYjNDFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHbHFyZ/Dam+yLA+Z2L0Pjtyj2poD4AAAAAAAAAAAAAAAAAAAAAAAAKWFs9y6lcvvwQeqj8z9wFaziY1n/HbUX9XF97A7QAGXI23EvJ1goyfzR0YEfN269jeZ+a03pNe0DIAAAAAAAAAAAAAAAAAAAACvtO3RcVkXlWutuL9YFYAAAAAOJRjKLjJVi9GmB5/csH/mu1h/in8PU+QGMAAAAAAAAAAAAAAAAAAaMDG/6MmMH8C80+xAelSSVFolwQAAAAAAAHVlWI37ErUulaPk+hgeYnCUJuElSUXRrrQHAAAAAAAAAAAAAAAAABa2Oz4bM7r4zdF2ICmAAAAAAAAAg7zZ8GX41wuJP0rRgYAAAAAAAAAAAAAAAAAD0m2R8ODaXU33tsDSAAAAAAAAAlb9HyWZcnJd9PcBHAAAAAAAAAAAAAAAAAPS7e64Vn+KA0AAAAAAAAAJm+v8Ftf3ewCKAAAAAAAAAAAAAAAAAX9muqeGo9NttP06+0DcAAAAAAAAAjb7dTu2ra+VOT9P8AQCWAAAAAAAAAAAAAAAAAUNmyPt5Ltv4bui/kuAF0AAAAAAADiUlGLlJ0SVW+oDzOXfd/Ind6JPRdS0QHSAAAAAAAAAAAAAAAAAE2nVaNcGB6Lbs6OTao9LsF51z60BrAAAAAABJ3jOVHjW3r/sa9QEgAAAAAAAAAAAAAAAAAAAPu1duWriuW34ZR4MC9hbnZyEoy8l36XwfYBsAAADaSq9EuLAlZ+7xSdrGdW9Hc5dgEdtt1erfFgAAAAAAAAAAAAAAAAADVjbblX6NR8MH80tEBRs7HYivyzlN8lovaBPzduvY0m6eK10TXtAyAarO55lpJK54orolr+4GqO/Xaea1FvqbXvA+Z77kNeW3GPbV+4DJfzcm/pcm3H6Vou5AdAFLC2ed2Pjv1txa8sV8T6wOL+yZEKu1JXFy4MDBOE4ScZxcZLinoB8gAAAAAAAAAAAB242LeyJ+C3GvN9C7QLmJtePYpKS+5c+p8F2IDYAANJqj1T4oCfk7Nj3G5Wn9qXJax7gJ93Z82D8sVNc4v30A6Xg5i42Z+iLfqARwcyT0sz9MWvWBps7LlTf5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z";
|
||||
const _sfc_main = {
|
||||
name: "u-avatar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21],
|
||||
data() {
|
||||
return {
|
||||
// 如果配置randomBgColor参数为true,在图标或者文字的模式下,会随机从中取出一个颜色值当做背景色
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-badge",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props$32, common_vendor.mixin],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props$34, common_vendor.mixin],
|
||||
computed: {
|
||||
// 是否将badge中心与父组件右上角重合
|
||||
boxStyle() {
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-cell-group",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
|
||||
methods: {
|
||||
addStyle: common_vendor.addStyle
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ const _sfc_main = {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$22],
|
||||
computed: {
|
||||
titleTextStyle() {
|
||||
return common_vendor.addStyle(this.titleStyle);
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-gap",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
|
||||
computed: {
|
||||
gapStyle() {
|
||||
const style = {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-line",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$29],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31],
|
||||
computed: {
|
||||
lineStyle() {
|
||||
const style = {};
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-link",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$35],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$37],
|
||||
computed: {
|
||||
linkStyle() {
|
||||
const style = {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-list-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$23],
|
||||
data() {
|
||||
return {
|
||||
// 节点信息
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-list",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$22],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$24],
|
||||
watch: {
|
||||
scrollIntoView(n) {
|
||||
this.scrollIntoViewById(n);
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-loading-icon",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$32],
|
||||
data() {
|
||||
return {
|
||||
// Array.form可以通过一个伪数组对象创建指定长度的数组
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-picker",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
|
||||
data() {
|
||||
return {
|
||||
// 上一次选择的列索引
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-safe-bottom",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$26],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
|
||||
data() {
|
||||
return {
|
||||
safeAreaBottomHeight: 0,
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-status-bar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$25],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$27],
|
||||
data() {
|
||||
return {
|
||||
isH5: false
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-tabbar-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$23],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$25],
|
||||
data() {
|
||||
return {
|
||||
isActive: false,
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-tabbar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$24],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$26],
|
||||
data() {
|
||||
return {
|
||||
placeholderHeight: 0
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "up-text",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$34],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$35],
|
||||
emits: ["click"],
|
||||
computed: {
|
||||
wrapStyle() {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-toolbar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$36],
|
||||
emits: ["confirm", "cancel"],
|
||||
created() {
|
||||
},
|
||||
|
||||
Vendored
+1
-1
@@ -33,7 +33,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
// 将mixin挂在到组件中,实际上为一个vue格式对象。
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$27],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$29],
|
||||
watch: {
|
||||
show: {
|
||||
handler(newVal) {
|
||||
|
||||
+12
-1
@@ -74,6 +74,11 @@ const _sfc_main = {
|
||||
most_read_articles.value = res.data.data;
|
||||
});
|
||||
};
|
||||
const goPublish = () => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/publish/publish"
|
||||
});
|
||||
};
|
||||
common_vendor.onShow(() => {
|
||||
getStatic();
|
||||
goodList();
|
||||
@@ -196,7 +201,13 @@ const _sfc_main = {
|
||||
}),
|
||||
p: common_vendor.p({
|
||||
value: 2
|
||||
})
|
||||
}),
|
||||
q: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#fff",
|
||||
size: "18"
|
||||
}),
|
||||
r: common_vendor.o(goPublish)
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="upage data-v-4b2e7592"><nav-bar wx:if="{{a}}" class="data-v-4b2e7592" u-i="4b2e7592-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="databox data-v-4b2e7592"><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{b}}</view><view class="name data-v-4b2e7592">病例数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{c}}</view><view class="name data-v-4b2e7592">互动数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{d}}</view><view class="name data-v-4b2e7592">浏览量</view></view></view><view class="bar data-v-4b2e7592"></view><view class="box data-v-4b2e7592"><view wx:if="{{e}}" class="special mostread data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">精选病例</view><view class="more data-v-4b2e7592" bindtap="{{g}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{f}}" class="data-v-4b2e7592" u-i="4b2e7592-1" bind:__l="__l" u-p="{{f}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="cell data-v-4b2e7592" bindtap="{{item.c}}"><view class="circle data-v-4b2e7592"></view><view class="title ellipsis-two-lines data-v-4b2e7592">{{item.a}}</view></view></view></view><view class="bar data-v-4b2e7592"></view><view class="record special data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">最新收录</view><view class="more data-v-4b2e7592" bindtap="{{j}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{i}}" class="data-v-4b2e7592" u-i="4b2e7592-2" bind:__l="__l" u-p="{{i}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{k}}" wx:for-item="item" wx:key="B" class="cell data-v-4b2e7592"><view class="title ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.b}}">{{item.a}}</view><view class="doctor data-v-4b2e7592" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-4b2e7592" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-4b2e7592">{{item.e}}({{item.f}})</view></view><view class="content data-v-4b2e7592" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-4b2e7592" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" wx:key="c" class="imgcell data-v-4b2e7592"><up--image wx:if="{{unit.b}}" class="data-v-4b2e7592" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-4b2e7592" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-4b2e7592"><view wx:if="{{item.m}}" class="imgbox data-v-4b2e7592"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-4b2e7592" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.o}}" class="tagbox data-v-4b2e7592" bindtap="{{item.q}}"><view wx:for="{{item.p}}" wx:for-item="cell" wx:key="b" class="tag data-v-4b2e7592">{{cell.a}}</view></view><view class="deal data-v-4b2e7592" bindtap="{{item.A}}"><view class="left data-v-4b2e7592"><view class="eyebox item data-v-4b2e7592"><up-icon wx:if="{{l}}" class="data-v-4b2e7592" u-i="{{item.r}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-4b2e7592">{{item.s}}</view></view><view class="collect item data-v-4b2e7592"><up-icon wx:if="{{m}}" class="data-v-4b2e7592" u-i="{{item.t}}" bind:__l="__l" u-p="{{m}}"></up-icon><view class="num data-v-4b2e7592">{{item.v}}</view></view><view class="chat item data-v-4b2e7592"><up-icon wx:if="{{n}}" class="data-v-4b2e7592" u-i="{{item.w}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-4b2e7592">{{item.x}}</view></view></view><view class="time data-v-4b2e7592"><up-icon wx:if="{{o}}" class="data-v-4b2e7592" u-i="{{item.y}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-4b2e7592">{{item.z}}</view></view></view></view></view></view></view></view><tab-bar wx:if="{{p}}" class="data-v-4b2e7592" u-i="4b2e7592-9" bind:__l="__l" u-p="{{p}}"></tab-bar>
|
||||
<view class="upage data-v-4b2e7592"><nav-bar wx:if="{{a}}" class="data-v-4b2e7592" u-i="4b2e7592-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="databox data-v-4b2e7592"><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{b}}</view><view class="name data-v-4b2e7592">病例数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{c}}</view><view class="name data-v-4b2e7592">互动数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{d}}</view><view class="name data-v-4b2e7592">浏览量</view></view></view><view class="bar data-v-4b2e7592"></view><view class="box data-v-4b2e7592"><view wx:if="{{e}}" class="special mostread data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">精选病例</view><view class="more data-v-4b2e7592" bindtap="{{g}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{f}}" class="data-v-4b2e7592" u-i="4b2e7592-1" bind:__l="__l" u-p="{{f}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="cell data-v-4b2e7592" bindtap="{{item.c}}"><view class="circle data-v-4b2e7592"></view><view class="title ellipsis-two-lines data-v-4b2e7592">{{item.a}}</view></view></view></view><view class="bar data-v-4b2e7592"></view><view class="record special data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">最新收录</view><view class="more data-v-4b2e7592" bindtap="{{j}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{i}}" class="data-v-4b2e7592" u-i="4b2e7592-2" bind:__l="__l" u-p="{{i}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{k}}" wx:for-item="item" wx:key="B" class="cell data-v-4b2e7592"><view class="title ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.b}}">{{item.a}}</view><view class="doctor data-v-4b2e7592" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-4b2e7592" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-4b2e7592">{{item.e}}({{item.f}})</view></view><view class="content data-v-4b2e7592" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-4b2e7592" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" wx:key="c" class="imgcell data-v-4b2e7592"><up--image wx:if="{{unit.b}}" class="data-v-4b2e7592" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-4b2e7592" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-4b2e7592"><view wx:if="{{item.m}}" class="imgbox data-v-4b2e7592"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-4b2e7592" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.o}}" class="tagbox data-v-4b2e7592" bindtap="{{item.q}}"><view wx:for="{{item.p}}" wx:for-item="cell" wx:key="b" class="tag data-v-4b2e7592">{{cell.a}}</view></view><view class="deal data-v-4b2e7592" bindtap="{{item.A}}"><view class="left data-v-4b2e7592"><view class="eyebox item data-v-4b2e7592"><up-icon wx:if="{{l}}" class="data-v-4b2e7592" u-i="{{item.r}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-4b2e7592">{{item.s}}</view></view><view class="collect item data-v-4b2e7592"><up-icon wx:if="{{m}}" class="data-v-4b2e7592" u-i="{{item.t}}" bind:__l="__l" u-p="{{m}}"></up-icon><view class="num data-v-4b2e7592">{{item.v}}</view></view><view class="chat item data-v-4b2e7592"><up-icon wx:if="{{n}}" class="data-v-4b2e7592" u-i="{{item.w}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-4b2e7592">{{item.x}}</view></view></view><view class="time data-v-4b2e7592"><up-icon wx:if="{{o}}" class="data-v-4b2e7592" u-i="{{item.y}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-4b2e7592">{{item.z}}</view></view></view></view></view></view></view></view><tab-bar wx:if="{{p}}" class="data-v-4b2e7592" u-i="4b2e7592-9" bind:__l="__l" u-p="{{p}}"></tab-bar><view class="publish data-v-4b2e7592" bindtap="{{r}}"><up-icon wx:if="{{q}}" class="data-v-4b2e7592" u-i="4b2e7592-10" bind:__l="__l" u-p="{{q}}"></up-icon></view>
|
||||
@@ -23,6 +23,18 @@
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.publish.data-v-4b2e7592 {
|
||||
width: 92rpx;
|
||||
height: 92rpx;
|
||||
background: #3CC7C0;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
right: 30rpx;
|
||||
bottom: 180rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.upage.data-v-4b2e7592 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -131,6 +143,7 @@
|
||||
border-bottom: 2rpx solid #f3f4f6;
|
||||
}
|
||||
.special .list .cell .circle.data-v-4b2e7592 {
|
||||
flex-shrink: 0;
|
||||
margin-top: 15rpx;
|
||||
width: 15rpx;
|
||||
height: 15rpx;
|
||||
|
||||
+8
-8
@@ -147,7 +147,7 @@ const _sfc_main = {
|
||||
};
|
||||
const getUserPoint = () => {
|
||||
api_api.api.getUserPoint().then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:735", res.data.data);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:734", res.data.data);
|
||||
point.value = res.data.data;
|
||||
});
|
||||
};
|
||||
@@ -327,18 +327,18 @@ const _sfc_main = {
|
||||
};
|
||||
const close = () => {
|
||||
showCommentDialog.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:933", "close");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:932", "close");
|
||||
};
|
||||
const openDeal = () => {
|
||||
showDeal.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:938", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:937", "open");
|
||||
};
|
||||
const closeDeal = () => {
|
||||
showDeal.value = false;
|
||||
};
|
||||
const openMore = () => {
|
||||
showMore.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:946", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:945", "open");
|
||||
};
|
||||
const closeMore = () => {
|
||||
showMore.value = false;
|
||||
@@ -376,12 +376,12 @@ const _sfc_main = {
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1297", url);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1296", url);
|
||||
imgList.value = [url];
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1302", err);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1301", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -400,8 +400,8 @@ const _sfc_main = {
|
||||
return "unknown";
|
||||
};
|
||||
const afterRead = (file, lists, name) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1321", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1322", name);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1320", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1321", name);
|
||||
handleUpload(file);
|
||||
};
|
||||
const delImg = (index) => {
|
||||
|
||||
+1
-12
@@ -87,11 +87,6 @@ const _sfc_main = {
|
||||
url: "/pages/searchList/searchList?type=hospital&name=医院&id="
|
||||
});
|
||||
};
|
||||
const goPublish = () => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/publish/publish"
|
||||
});
|
||||
};
|
||||
common_vendor.onShow(() => {
|
||||
getStatic();
|
||||
getData();
|
||||
@@ -195,13 +190,7 @@ const _sfc_main = {
|
||||
b: item.doctor_id,
|
||||
c: common_vendor.o(($event) => goListBy(item.doctor_id, item.doctor_name, "doctor"), item.doctor_id)
|
||||
};
|
||||
}),
|
||||
z: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#fff",
|
||||
size: "18"
|
||||
}),
|
||||
A: common_vendor.o(goPublish)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar><view class="publish data-v-1cf27b2a" bindtap="{{A}}"><u-icon wx:if="{{z}}" class="data-v-1cf27b2a" u-i="1cf27b2a-10" bind:__l="__l" u-p="{{z}}"></u-icon></view>
|
||||
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name ellipsis-two-lines data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name ellipsis-two-lines data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar>
|
||||
+1
-12
@@ -70,6 +70,7 @@
|
||||
margin-top: 18rpx;
|
||||
width: 16rpx;
|
||||
height: 16rpx;
|
||||
flex-shrink: 0;
|
||||
background: #3cc7c0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
@@ -148,16 +149,4 @@
|
||||
margin-top: 18rpx;
|
||||
font-size: 28rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.publish.data-v-1cf27b2a {
|
||||
width: 92rpx;
|
||||
height: 92rpx;
|
||||
background: #3CC7C0;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
right: 30rpx;
|
||||
bottom: 180rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
+4
-2
@@ -6,12 +6,14 @@ const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
(_easycom_up__image2 + _easycom_u_icon2)();
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
(_easycom_up__image2 + _easycom_u_icon2 + _easycom_up_icon2)();
|
||||
}
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
(dNav + _easycom_up__image + _easycom_u_icon)();
|
||||
(dNav + _easycom_up__image + _easycom_u_icon + _easycom_up_icon)();
|
||||
}
|
||||
const dNav = () => "../../components/backNav/backNav.js";
|
||||
const _sfc_main = {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"usingComponents": {
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"d-nav": "../../components/backNav/backNav"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}({{c}}) </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{e}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{h}}" class="cell data-v-2f1ef635" bindtap="{{k}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{i}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{i}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{j}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{n}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{l}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{l}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{m}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{m}}"></u-icon></view><view wx:if="{{o}}" class="cell data-v-2f1ef635" bindtap="{{s}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{p}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{p}}"></up--image><view class="title data-v-2f1ef635">{{q}}临床病例库</view></view><u-icon wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{r}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{w}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{t}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{v}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{v}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{z}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{x}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{y}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{y}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{C}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{A}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{B}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{B}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{E}}"><u-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{D}}"></u-icon></view></view>
|
||||
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}({{c}}) </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{e}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{h}}" class="cell data-v-2f1ef635" bindtap="{{k}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{i}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{i}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{j}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{n}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{l}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{l}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{m}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{m}}"></u-icon></view><view wx:if="{{o}}" class="cell data-v-2f1ef635" bindtap="{{s}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{p}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{p}}"></up--image><view class="title data-v-2f1ef635">{{q}}临床病例库</view></view><u-icon wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{r}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{w}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{t}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{v}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{v}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{z}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{x}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{y}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{y}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{C}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{A}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{B}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{B}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{E}}"><up-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{D}}"></up-icon></view></view>
|
||||
+221
-116
@@ -5,32 +5,36 @@ const common_assets = require("../../common/assets.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
if (!Array) {
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
||||
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
||||
const _easycom_up_dropdown_item2 = common_vendor.resolveComponent("up-dropdown-item");
|
||||
const _easycom_up_dropdown2 = common_vendor.resolveComponent("up-dropdown");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
||||
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up_steps_item2 = common_vendor.resolveComponent("up-steps-item");
|
||||
const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps");
|
||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||
(_easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2)();
|
||||
(_easycom_up__image2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_u_icon2 + _easycom_up_steps_item2 + _easycom_up_steps2 + _easycom_up_popup2)();
|
||||
}
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
|
||||
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
|
||||
const _easycom_up_dropdown_item = () => "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item.js";
|
||||
const _easycom_up_dropdown = () => "../../node-modules/uview-plus/components/u-dropdown/u-dropdown.js";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
|
||||
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
|
||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_steps_item = () => "../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js";
|
||||
const _easycom_up_steps = () => "../../node-modules/uview-plus/components/u-steps/u-steps.js";
|
||||
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup)();
|
||||
(navBarSearch + _easycom_up__image + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_u_icon + _easycom_up_steps_item + _easycom_up_steps + _easycom_up_popup)();
|
||||
}
|
||||
const navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
|
||||
const _sfc_main = {
|
||||
__name: "search",
|
||||
setup(__props) {
|
||||
const paging = common_vendor.ref(null);
|
||||
const uDropdownRef = common_vendor.ref(null);
|
||||
const dataList = common_vendor.ref([]);
|
||||
const total = common_vendor.ref(0);
|
||||
const keyWord = common_vendor.ref("");
|
||||
@@ -42,95 +46,149 @@ const _sfc_main = {
|
||||
const doctor_name = common_vendor.ref("");
|
||||
const numInfo = common_vendor.reactive({});
|
||||
const searchInfo = common_vendor.reactive({});
|
||||
const freshKey = common_vendor.ref(0);
|
||||
const navName = common_vendor.ref("肝胆相照临床病例库");
|
||||
const dropTitle = common_vendor.ref("发布时间");
|
||||
const orderFilter = common_vendor.ref("1");
|
||||
const paging = common_vendor.ref(null);
|
||||
const uDropdownRef = common_vendor.ref(null);
|
||||
const options = common_vendor.ref([
|
||||
{
|
||||
label: "正序",
|
||||
value: "asc"
|
||||
label: "发布时间",
|
||||
value: "1"
|
||||
},
|
||||
{
|
||||
label: "倒序",
|
||||
value: "desc"
|
||||
label: "阅读次数",
|
||||
value: "2"
|
||||
}
|
||||
]);
|
||||
const isSearch = common_vendor.ref(true);
|
||||
const order = common_vendor.reactive({
|
||||
read_num: "",
|
||||
push_date: ""
|
||||
push_date: "desc"
|
||||
});
|
||||
const showCase = common_vendor.ref(false);
|
||||
const canOpenCase = common_vendor.ref(false);
|
||||
const caseValue1 = common_vendor.ref("");
|
||||
const caseValue2 = common_vendor.ref("");
|
||||
const caseValue3 = common_vendor.ref("");
|
||||
const caseValue1 = common_vendor.reactive({
|
||||
value: "",
|
||||
name: ""
|
||||
});
|
||||
const caseValue2 = common_vendor.reactive({
|
||||
value: "",
|
||||
name: ""
|
||||
});
|
||||
const caseValue3 = common_vendor.reactive({
|
||||
value: "",
|
||||
name: ""
|
||||
});
|
||||
const level = common_vendor.ref(1);
|
||||
const labelObj = common_vendor.reactive({
|
||||
list1: [],
|
||||
list2: [],
|
||||
list3: []
|
||||
});
|
||||
const openCaseLevel = (lev) => {
|
||||
freshKey.value++;
|
||||
level.value = lev;
|
||||
if (lev == 1) {
|
||||
caseValue2.name = "";
|
||||
caseValue2.value = "";
|
||||
labelObj.list2 = [];
|
||||
} else if (lev == 2) {
|
||||
labelObj.list3 = [];
|
||||
caseValue3.name = "";
|
||||
caseValue3.value = "";
|
||||
}
|
||||
};
|
||||
const groupChange1 = (e) => {
|
||||
caseValue1.value = e;
|
||||
for (var i = 0; i < labelObj.list1.length; i++) {
|
||||
if (labelObj.list1[i].app_iden == caseValue1.value) {
|
||||
caseValue1.name = labelObj.list1[i].label_name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
getCaseLabel(2, e);
|
||||
};
|
||||
const groupChange2 = (e) => {
|
||||
caseValue2.value = e;
|
||||
for (var i = 0; i < labelObj.list2.length; i++) {
|
||||
if (labelObj.list2[i].app_iden == caseValue2.value) {
|
||||
caseValue2.name = labelObj.list2[i].label_name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
getCaseLabel(3, e);
|
||||
};
|
||||
const groupChange3 = (e) => {
|
||||
caseValue3.value = e;
|
||||
level.value = 3;
|
||||
for (var i = 0; i < labelObj.list3.length; i++) {
|
||||
if (labelObj.list3[i].app_iden == caseValue3.value) {
|
||||
caseValue3.name = labelObj.list3[i].label_name;
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
const getCaseLabel = (lev, pid = 0) => {
|
||||
api_api.api.getCaseLabel({
|
||||
pId: pid
|
||||
}).then((res) => {
|
||||
level.value = lev;
|
||||
if (lev == 1) {
|
||||
labelObj.list1 = res.data.data;
|
||||
} else if (lev == 2) {
|
||||
labelObj.list2 = res.data.data;
|
||||
if (res.data.data.length == 0) {
|
||||
level.value = 1;
|
||||
}
|
||||
} else if (lev == 3) {
|
||||
labelObj.list3 = res.data.data;
|
||||
if (res.data.data.length == 0) {
|
||||
level.value = 2;
|
||||
}
|
||||
}
|
||||
level.value = lev;
|
||||
});
|
||||
};
|
||||
const openCase = () => {
|
||||
getCaseLabel(1, 0);
|
||||
showCase.value = true;
|
||||
};
|
||||
const cancelCase = () => {
|
||||
showCase.value = false;
|
||||
level.value = 1;
|
||||
caseValue1.name = "";
|
||||
caseValue1.value = "";
|
||||
caseValue2.name = "";
|
||||
caseValue2.value = "";
|
||||
caseValue3.name = "";
|
||||
caseValue3.value = "";
|
||||
labelObj.list2 = [];
|
||||
labelObj.list3 = [];
|
||||
};
|
||||
const confirmCase = () => {
|
||||
if (level.value == 1 && caseValue1.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||
common_vendor.index.showToast({ title: "请选择疾病选项", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
if (level.value == 2 && caseValue2.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
if (level.value == 3 && caseValue3.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
showCase.value = false;
|
||||
if (level.value == 1) {
|
||||
label_iden.value = caseValue1.value;
|
||||
}
|
||||
if (level.value == 2) {
|
||||
label_iden.value = caseValue2.value;
|
||||
if (!caseValue2.value) {
|
||||
label_iden.value = caseValue1.value;
|
||||
} else {
|
||||
label_iden.value = caseValue2.value;
|
||||
}
|
||||
}
|
||||
if (level.value == 3) {
|
||||
label_iden.value = caseValue3.value;
|
||||
}
|
||||
paging.value.reload();
|
||||
};
|
||||
const continueCase = () => {
|
||||
if (level.value == 1 && caseValue1.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
if (level.value == 2 && caseValue2.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
if (level.value == 3 && caseValue3.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
if (level.value == 1) {
|
||||
getCaseLabel(2, caseValue1.value);
|
||||
} else if (level.value == 2) {
|
||||
getCaseLabel(3, caseValue2.value);
|
||||
if (!caseValue3.value) {
|
||||
label_iden.value = caseValue2.value;
|
||||
} else {
|
||||
label_iden.value = caseValue3.value;
|
||||
}
|
||||
}
|
||||
paging.value.reload();
|
||||
showCase.value = false;
|
||||
};
|
||||
const closeCase = () => {
|
||||
showCase.value = false;
|
||||
@@ -172,26 +230,31 @@ const _sfc_main = {
|
||||
} else {
|
||||
canOpenCase.value = true;
|
||||
}
|
||||
getCaseLabel(1, 0);
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:321", e);
|
||||
order.read_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:326", e);
|
||||
order.push_date = "";
|
||||
if (e == 1) {
|
||||
order.push_date = "desc";
|
||||
order.read_num = "";
|
||||
dropTitle.value = "发布时间";
|
||||
} else {
|
||||
order.push_date = "";
|
||||
order.read_num = "desc";
|
||||
dropTitle.value = "阅读次数";
|
||||
}
|
||||
orderFilter.value = e;
|
||||
uDropdownRef.value.close();
|
||||
paging.value.reload();
|
||||
};
|
||||
const formatdate = (date) => {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
const goDetail = (id, isLink, src) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:334", isLink);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:462", isLink);
|
||||
if (isLink == 1) {
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/web/web?src=${src}`
|
||||
@@ -329,7 +392,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:482", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:610", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
@@ -357,7 +420,7 @@ const _sfc_main = {
|
||||
}, keyWord.value ? {
|
||||
k: common_vendor.t(keyWord.value)
|
||||
} : {}) : {}, {
|
||||
l: common_vendor.t(!isArticle.value ? "文章" : "视频"),
|
||||
l: common_vendor.t(!isArticle.value ? "视频" : "文章"),
|
||||
m: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.switchImg),
|
||||
width: "31rpx",
|
||||
@@ -373,26 +436,34 @@ const _sfc_main = {
|
||||
}),
|
||||
q: common_vendor.o(openCase)
|
||||
} : {}, {
|
||||
r: common_vendor.o(changeDate),
|
||||
s: common_vendor.o(($event) => order.push_date = $event),
|
||||
t: common_vendor.p({
|
||||
title: "发布时间",
|
||||
options: options.value,
|
||||
modelValue: order.push_date
|
||||
r: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-7-" + i0 + ",c10c040c-6",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0",
|
||||
label: item.label,
|
||||
name: item.value
|
||||
}),
|
||||
c: item.value,
|
||||
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
|
||||
};
|
||||
}),
|
||||
v: common_vendor.o(changeRead),
|
||||
w: common_vendor.o(($event) => order.read_num = $event),
|
||||
x: common_vendor.p({
|
||||
title: "阅读量",
|
||||
options: options.value,
|
||||
modelValue: order.read_num
|
||||
s: common_vendor.o(changeDate),
|
||||
t: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
v: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: orderFilter.value
|
||||
}),
|
||||
y: common_vendor.sr(uDropdownRef, "c10c040c-4,c10c040c-0", {
|
||||
w: common_vendor.p({
|
||||
title: dropTitle.value
|
||||
}),
|
||||
x: common_vendor.sr(uDropdownRef, "c10c040c-4,c10c040c-0", {
|
||||
"k": "uDropdownRef"
|
||||
}),
|
||||
z: canOpenCase.value ? 1 : "",
|
||||
A: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return {
|
||||
y: canOpenCase.value ? 1 : "",
|
||||
z: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(isArticle.value ? item.article_title : item.video_title),
|
||||
b: common_vendor.f(item.author, (tag, k1, i1) => {
|
||||
return {
|
||||
@@ -400,49 +471,76 @@ const _sfc_main = {
|
||||
b: tag.author_id
|
||||
};
|
||||
}),
|
||||
c: "c10c040c-7-" + i0 + ",c10c040c-0",
|
||||
c: "c10c040c-8-" + i0 + ",c10c040c-0",
|
||||
d: common_vendor.t(item.read_num),
|
||||
e: "c10c040c-8-" + i0 + ",c10c040c-0",
|
||||
f: common_vendor.t(item.collect_num),
|
||||
g: "c10c040c-9-" + i0 + ",c10c040c-0",
|
||||
h: common_vendor.t(formatdate(item.push_date)),
|
||||
i: index,
|
||||
j: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id, item.is_link, item.is_link_url) : goDetail(item.video_id, item.is_link, item.is_link_url), index)
|
||||
};
|
||||
e: item.collect_num > 0
|
||||
}, item.collect_num > 0 ? {
|
||||
f: "c10c040c-9-" + i0 + ",c10c040c-0",
|
||||
g: common_vendor.p({
|
||||
name: "heart",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
h: common_vendor.t(item.collect_num)
|
||||
} : {}, {
|
||||
i: "c10c040c-10-" + i0 + ",c10c040c-0",
|
||||
j: common_vendor.t(formatdate(item.push_date)),
|
||||
k: index,
|
||||
l: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id, item.is_link, item.is_link_url) : goDetail(item.video_id, item.is_link, item.is_link_url), index)
|
||||
});
|
||||
}),
|
||||
B: common_vendor.p({
|
||||
A: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
C: common_vendor.p({
|
||||
name: "heart",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
D: common_vendor.p({
|
||||
B: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
E: common_vendor.sr(paging, "c10c040c-0", {
|
||||
C: common_vendor.sr(paging, "c10c040c-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
F: common_vendor.o(queryList),
|
||||
G: common_vendor.o(($event) => dataList.value = $event),
|
||||
H: common_vendor.p({
|
||||
D: common_vendor.o(queryList),
|
||||
E: common_vendor.o(($event) => dataList.value = $event),
|
||||
F: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
I: common_vendor.o(($event) => showCase.value = false),
|
||||
J: common_vendor.o(continueCase),
|
||||
K: level.value != 3,
|
||||
L: common_vendor.o(confirmCase),
|
||||
M: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
G: common_vendor.o(cancelCase),
|
||||
H: common_vendor.o(confirmCase),
|
||||
I: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
J: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
K: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
L: caseValue1.name && labelObj.list2.length > 0
|
||||
}, caseValue1.name && labelObj.list2.length > 0 ? {
|
||||
M: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
N: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
O: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
} : {}, {
|
||||
P: caseValue2.name && labelObj.list3.length > 0
|
||||
}, caseValue2.name && labelObj.list3.length > 0 ? {
|
||||
Q: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
R: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
S: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
} : {}, {
|
||||
T: freshKey.value,
|
||||
U: common_vendor.p({
|
||||
current: level.value - 1,
|
||||
direction: "column"
|
||||
}),
|
||||
V: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-12-" + i0 + ",c10c040c-11",
|
||||
a: "c10c040c-20-" + i0 + ",c10c040c-19",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@@ -451,16 +549,18 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
N: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
O: common_vendor.p({
|
||||
W: common_vendor.o(groupChange1),
|
||||
X: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
Y: common_vendor.p({
|
||||
name: "group1",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
P: level.value == 1,
|
||||
Q: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
Z: level.value == 1,
|
||||
aa: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-14-" + i0 + ",c10c040c-13",
|
||||
a: "c10c040c-22-" + i0 + ",c10c040c-21",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@@ -469,16 +569,18 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
R: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
S: common_vendor.p({
|
||||
ab: common_vendor.o(groupChange2),
|
||||
ac: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
ad: common_vendor.p({
|
||||
name: "group2",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
T: level.value == 2,
|
||||
U: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
ae: level.value == 2,
|
||||
af: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-16-" + i0 + ",c10c040c-15",
|
||||
a: "c10c040c-24-" + i0 + ",c10c040c-23",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@@ -487,17 +589,20 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
V: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
W: common_vendor.p({
|
||||
ag: common_vendor.o(groupChange3),
|
||||
ah: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
ai: common_vendor.p({
|
||||
name: "group3",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
X: level.value == 3,
|
||||
Y: common_vendor.o(closeCase),
|
||||
Z: common_vendor.p({
|
||||
aj: level.value == 3,
|
||||
ak: common_vendor.o(closeCase),
|
||||
al: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
closeOnClickOverlay: false,
|
||||
show: showCase.value,
|
||||
mode: "bottom"
|
||||
})
|
||||
|
||||
+5
-2
@@ -3,12 +3,15 @@
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
|
||||
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
|
||||
"up-dropdown-item": "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item",
|
||||
"up-dropdown": "../../node-modules/uview-plus/components/u-dropdown/u-dropdown",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
|
||||
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-steps-item": "../../node-modules/uview-plus/components/u-steps-item/u-steps-item",
|
||||
"up-steps": "../../node-modules/uview-plus/components/u-steps/u-steps",
|
||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||
"nav-bar-search": "../../components/navBarSearch/navBarSearch"
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+31
-1
@@ -23,10 +23,39 @@
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.dropcontent.data-v-c10c040c {
|
||||
padding-top: 40rpx;
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
.dropcontent.data-v-c10c040c .u-radio {
|
||||
margin-bottom: 6px !important;
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
.dropcontent .column.data-v-c10c040c {
|
||||
padding: 0 30rpx;
|
||||
border-top: 2rpx solid #e5e7eb;
|
||||
}
|
||||
.dropcontent .column.data-v-c10c040c .u-radio__text {
|
||||
color: #333 !important;
|
||||
}
|
||||
.dropcontent .column.active.data-v-c10c040c .u-radio__text {
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.stepbox.data-v-c10c040c {
|
||||
padding: 10rpx 30rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
border-bottom: 2rpx dotted #f3f4f6;
|
||||
}
|
||||
.stepbox.data-v-c10c040c .u-steps-item__content {
|
||||
margin-top: -5rpx !important;
|
||||
}
|
||||
.stepbox .slot-content.data-v-c10c040c {
|
||||
width: 100%;
|
||||
margin-bottom: 25rpx;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
.bar.data-v-c10c040c {
|
||||
width: 100%;
|
||||
background: #f9fafb;
|
||||
@@ -178,6 +207,7 @@
|
||||
}
|
||||
.filterbox.data-v-c10c040c .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
}
|
||||
.filterbox.data-v-c10c040c .u-dropdown__menu__item {
|
||||
height: 74rpx;
|
||||
|
||||
Reference in New Issue
Block a user