优化页面
This commit is contained in:
@@ -134,10 +134,9 @@ const _sfc_main = {
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
|
||||
const _component_viewm = common_vendor.resolveComponent("viewm");
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
const _component_NewAddedPk = common_vendor.resolveComponent("NewAddedPk");
|
||||
(_easycom_uni_easyinput2 + _component_viewm + _easycom_uni_popup2 + _component_NewAddedPk)();
|
||||
(_easycom_uni_easyinput2 + _easycom_uni_popup2 + _component_NewAddedPk)();
|
||||
}
|
||||
const _easycom_uni_easyinput = () => "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
@@ -177,10 +176,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: common_vendor.t($options.TimeFormatting(item.pkTime)),
|
||||
d: common_vendor.t(item.coin),
|
||||
e: "9639f721-2-" + i0 + ",9639f721-1",
|
||||
f: common_vendor.o$1(($event) => $options.Select(item.id, index), index),
|
||||
g: $data.selectedId === item.id ? "#f6f6f6" : "#ffffff",
|
||||
h: index
|
||||
e: common_vendor.o$1(($event) => $options.Select(item.id, index), index),
|
||||
f: $data.selectedId === item.id ? "#b8ff8c74" : "#ffffff",
|
||||
g: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
@@ -193,7 +191,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
w: common_vendor.sr("createModule", "9639f721-3")
|
||||
w: common_vendor.sr("createModule", "9639f721-2")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{a}}"><image class="Return data-v-9639f721" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{c}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{d}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-9639f721">男</view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-9639f721">女</view></view></view><view class="nation data-v-9639f721">{{e}}</view></view><view class="Time data-v-9639f721">PK时间:{{f}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{g}}K</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{h}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view class="remark data-v-9639f721"><uni-easyinput wx:if="{{k}}" class="data-v-9639f721" style="{{i}}" u-i="9639f721-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></uni-easyinput></view><view wx:if="{{l}}" class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{m}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{n}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><view class="popup-text data-v-9639f721">请选择您要参与的主播</view><view wx:if="{{o}}" class="data-v-9639f721"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{p}}" wx:for-item="item" wx:key="h" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.f}}" style="{{'background:' + item.g}}"><view class="Avatarimg data-v-9639f721"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-9639f721"><view class="TimeMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view></view><view class="TimeMoney_Time data-v-9639f721"><view class="pkTimeimg data-v-9639f721"></view><view class="data-v-9639f721">{{item.c}}</view><viewm u-s="{{['d']}}" class="goldnb data-v-9639f721" u-i="{{item.e}}" bind:__l="__l"><view class="goldimg data-v-9639f721"></view>{{item.d}}K</viewm></view></view></view></view></scroll-view></view><view wx:if="{{q}}" class="noData data-v-9639f721">您还没有可参与的主播PK,快去新建一个吧!</view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-3" bind:__l="__l"></new-added-pk>
|
||||
<view class="container data-v-9639f721"><view class="background data-v-9639f721"><image class="data-v-9639f721" style="width:100%;height:100%" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Navigation data-v-9639f721"><view class="Return data-v-9639f721" bindtap="{{a}}"><image class="Return data-v-9639f721" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view></view><view class="Content data-v-9639f721"><view class="sender data-v-9639f721"><view class="sengderIcon data-v-9639f721"><image class="Icon data-v-9639f721" src="{{b}}" mode="scaleToFill"/></view><view class="Individual data-v-9639f721"><view class="name data-v-9639f721">{{c}}</view><view class="GenderAndAge data-v-9639f721"><view wx:if="{{d}}" class="male data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/male.png" mode="scaleToFill"/></view><view class="age data-v-9639f721">男</view></view><view wx:else class="female data-v-9639f721"><view class="data-v-9639f721"><image class="data-v-9639f721" style="width:20rpx;height:20rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/female.png" mode="scaleToFill"/></view><view class="age data-v-9639f721">女</view></view></view><view class="nation data-v-9639f721">{{e}}</view></view><view class="Time data-v-9639f721">PK时间:{{f}}</view><view class="SessionAndGoldCoin data-v-9639f721"><view class="goldCoin data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/gold.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{g}}K</view><view class="goldtext data-v-9639f721">金币</view></view></view><view class="Session data-v-9639f721"><image class="data-v-9639f721" style="width:72rpx;height:72rpx;margin-left:36rpx;margin-right:32rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/session.png" mode="scaleToFill"/><view class="goldcard data-v-9639f721"><view class="goldnumber data-v-9639f721">{{h}}</view><view class="goldtext data-v-9639f721">PK场数</view></view></view></view></view><view class="remark data-v-9639f721"><uni-easyinput wx:if="{{k}}" class="data-v-9639f721" style="{{i}}" u-i="9639f721-0" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></uni-easyinput></view><view wx:if="{{l}}" class="button data-v-9639f721"><button class="accept data-v-9639f721" bindtap="{{m}}">聊了个天</button><button class="reject data-v-9639f721" bindtap="{{n}}">立即邀请</button></view></view></view><uni-popup wx:if="{{v}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-1" bind:__l="__l" u-p="{{v}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><view class="popup-text data-v-9639f721">点击选择您要参与的主播</view><view wx:if="{{o}}" class="data-v-9639f721"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{p}}" wx:for-item="item" wx:key="g" class="card data-v-9639f721"><view class="card-content data-v-9639f721" bindtap="{{item.e}}" style="{{'background:' + item.f}}"><view class="Avatarimg data-v-9639f721"><image class="avatar data-v-9639f721" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-9639f721"><view class="TimeMoney data-v-9639f721"><view class="NameMoney_Name data-v-9639f721">{{item.b}}</view></view><view class="TimeMoney_Time data-v-9639f721"><view class="pkTimeimg data-v-9639f721"><image class="data-v-9639f721" style="width:31.49rpx;height:31.49rpx;margin-top:3rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png" mode="scaleToFill"/></view><view class="data-v-9639f721">{{item.c}}</view><view class="goldimg data-v-9639f721"><image class="data-v-9639f721" style="width:31.49rpx;height:31.49rpx;margin-top:4rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/></view><view class="goldnb data-v-9639f721">{{item.d}}K</view></view></view></view></view></scroll-view></view><view wx:if="{{q}}" class="noData data-v-9639f721">您还没有可参与的主播PK,快去新建一个吧!</view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{r}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{s}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-2" bind:__l="__l"></new-added-pk>
|
||||
@@ -66,6 +66,7 @@
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: rgb(127, 127, 127);
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.createModule.data-v-9639f721 {
|
||||
position: fixed;
|
||||
@@ -96,24 +97,22 @@
|
||||
}
|
||||
.goldnb.data-v-9639f721 {
|
||||
display: flex;
|
||||
margin-left: 40rpx;
|
||||
margin-left: 5rpx;
|
||||
}
|
||||
.TimeMoney_Time.data-v-9639f721 {
|
||||
display: flex;
|
||||
margin-top: 13rpx;
|
||||
align-items: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.pkTimeimg.data-v-9639f721 {
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png);
|
||||
background-size: 100% 100%;
|
||||
width: 31.49rpx;
|
||||
height: 31.49rpx;
|
||||
margin-right: 20rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.goldimg.data-v-9639f721 {
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png);
|
||||
background-size: 100% 100%;
|
||||
width: 31.49rpx;
|
||||
height: 35rpx;
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
.NameMoney.data-v-9639f721 {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user