Commit 6039374a by Ken Nakahira

提交更新代码

parent bc955ebf
...@@ -371,8 +371,7 @@ ...@@ -371,8 +371,7 @@
<scroll-view <scroll-view
:scroll-y="true" :scroll-y="true"
:scroll-top="scrollTop_pangbai" :scroll-top="scrollTop_pangbai"
:scroll-with-animation="true" :style="{height: '215rpx'}"
:style="{height: '200rpx'}"
:scroll-into-view="bottomElement_pangbai" :scroll-into-view="bottomElement_pangbai"
class="pangbai_content" class="pangbai_content"
> >
...@@ -381,7 +380,9 @@ ...@@ -381,7 +380,9 @@
{{yyds_pangbai}} {{yyds_pangbai}}
</view> </view>
<!-- 最后一个元素,用于滚动定位 --> <!-- 最后一个元素,用于滚动定位 -->
<view id="bottomElement_pangbai"></view> <view id="bottomElement_pangbai">
<text class="npc">ㅤ ㅤ</text>
</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
...@@ -727,15 +728,17 @@ export default { ...@@ -727,15 +728,17 @@ export default {
} }
}).exec() }).exec()
}, },
scrollToBottom_pangbai(){
uni.createSelectorQuery().in(this).select('#scrollView').boundingClientRect((res)=>{ scrollToBottom_pangbai() {
// console.log('res1',res) this.$nextTick(() => {
if(res){ uni.createSelectorQuery().in(this).select('#scrollView').boundingClientRect((res) => {
if (res) {
this.scrollTop_pangbai=res.height*2; this.scrollTop_pangbai=res.height*2;
}else{ } else {
// this.scrollTop_pangbai=this.historyRecord.length*1000; //this.scrollTop_pangbai = this.historyRecord.length * 1000;
} }
}).exec() }).exec();
});
}, },
splitString(str) { splitString(str) {
...@@ -3194,7 +3197,7 @@ export default { ...@@ -3194,7 +3197,7 @@ export default {
.npc{ .npc{
word-break:break-all; word-break:break-all;
white-space:pre-wrap; white-space:pre-wrap;
font-size: 25rpx; font-size: 26rpx;
padding-right: 16rpx; padding-right: 16rpx;
} }
.confirm{ .confirm{
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<view class="wrapper data-v-86ffa444"><block wx:if="{{showUserInfo}}"><view class="ttt data-v-86ffa444"><button class="avatar-wrapper data-v-86ffa444" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar data-v-86ffa444" src="{{avatarUrl}}"></image></button><view class="tipUserHeader data-v-86ffa444">设置头像</view><input class="weui-input data-v-86ffa444" placeholder="请输入昵称" data-event-opts="{{[['input',[['__set_model',['','userName','$event',[]]]]]]}}" value="{{userName}}" bindinput="__e"/><button class="submit data-v-86ffa444" type="primary" disabled="{{disabledSubmit}}" data-event-opts="{{[['tap',[['handleSubmit',['$event']]]]]}}" bindtap="__e">提交</button></view></block><button data-event-opts="{{[['tap',[['handleUserDestory',['$event']]]]]}}" bindtap="__e" class="data-v-86ffa444">用户注销</button><view class="shadow data-v-86ffa444"></view><view class="section data-v-86ffa444"><view class="shadowBoard data-v-86ffa444" style="{{'background-image:'+('url('+photo[i]+')')+';'}}"></view><view class="swiper data-v-86ffa444"><image class="scaleToFill data-v-86ffa444" src="../../static/photo/left.png" mode="scaleToFill" data-event-opts="{{[['tap',[['preImage',['$event']]]]]}}" bindtap="__e"></image><image class="scaleToFill2 data-v-86ffa444" src="../../static/photo/left.png" mode="scaleToFill" data-event-opts="{{[['tap',[['nextImage',['$event']]]]]}}" bindtap="__e"></image><z-swiper class="swiper data-v-86ffa444 vue-ref" vue-id="58f3e230-1" options="{{options}}" data-ref="zSwiper" value="{{list}}" data-event-opts="{{[['^slideChange',[['onSlideChange']]],['^input',[['__set_model',['','list','$event',[]]]]]]}}" bind:slideChange="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><z-swiper-item vue-id="{{('58f3e230-2-'+index)+','+('58f3e230-1')}}" custom-style="{{slideCustomStyle}}" class="data-v-86ffa444" bind:__l="__l" vue-slots="{{['default']}}"><button data-event-opts="{{[['tap',[['NavTo',['$0'],[[['list','',index]]]]]]]}}" class="btn data-v-86ffa444" bindtap="__e"><image class="image data-v-86ffa444" src="{{'https://admin.mindepoch.com:8089/worlds/'+item.name+'.png'}}" mode="aspectFill"></image><view class="CardContent data-v-86ffa444"><view class="card data-v-86ffa444"><view class="header1 data-v-86ffa444">{{item.name}}</view><view class="header2 data-v-86ffa444"><view class="sdsd data-v-86ffa444">{{item.worldHeader}}</view><view class="distence data-v-86ffa444"></view><view class="detail data-v-86ffa444">{{item.description}}</view></view></view></view></button></z-swiper-item></block></z-swiper></view></view></view> <view class="wrapper data-v-86ffa444">
\ No newline at end of file <block wx:if="{{showUserInfo}}">
<view class="ttt data-v-86ffa444"><button class="avatar-wrapper data-v-86ffa444" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e">
<image class="avatar data-v-86ffa444" src="{{avatarUrl}}"></image>
</button>
<view class="tipUserHeader data-v-86ffa444">设置头像</view><input class="weui-input data-v-86ffa444" placeholder="请输入昵称" data-event-opts="{{[['input',[['__set_model',['','userName','$event',[]]]]]]}}" value="{{userName}}" bindinput="__e" /><button class="submit data-v-86ffa444" type="primary" disabled="{{disabledSubmit}}" data-event-opts="{{[['tap',[['handleSubmit',['$event']]]]]}}" bindtap="__e">提交</button>
</view>
</block><button data-event-opts="{{[['tap',[['handleUserDestory',['$event']]]]]}}" bindtap="__e" class="data-v-86ffa444">用户注销</button>
<view class="shadow data-v-86ffa444"></view>
<view class="section data-v-86ffa444">
<view class="shadowBoard data-v-86ffa444" style="{{'background-image:'+('url('+photo[i]+')')+';'}}"></view>
<view class="swiper data-v-86ffa444">
<image class="scaleToFill data-v-86ffa444" src="../../static/photo/left.png" mode="scaleToFill" data-event-opts="{{[['tap',[['preImage',['$event']]]]]}}" bindtap="__e"></image>
<image class="scaleToFill2 data-v-86ffa444" src="../../static/photo/left.png" mode="scaleToFill" data-event-opts="{{[['tap',[['nextImage',['$event']]]]]}}" bindtap="__e"></image>
<z-swiper class="swiper data-v-86ffa444 vue-ref" vue-id="58f3e230-1" options="{{options}}" data-ref="zSwiper" value="{{list}}" data-event-opts="{{[['^slideChange',[['onSlideChange']]],['^input',[['__set_model',['','list','$event',[]]]]]]}}" bind:slideChange="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}">
<block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<z-swiper-item vue-id="{{('58f3e230-2-'+index)+','+('58f3e230-1')}}" custom-style="{{slideCustomStyle}}" class="data-v-86ffa444" bind:__l="__l" vue-slots="{{['default']}}"><button data-event-opts="{{[['tap',[['NavTo',['$0'],[[['list','',index]]]]]]]}}" class="btn data-v-86ffa444" bindtap="__e">
<image class="image data-v-86ffa444" src="{{'https://admin.mindepoch.com:8089/worlds/'+item.name+'.png'}}" mode="aspectFill"></image>
<view class="CardContent data-v-86ffa444">
<view class="card data-v-86ffa444">
<view class="header1 data-v-86ffa444">{{item.name}}</view>
<view class="header2 data-v-86ffa444">
<view class="sdsd data-v-86ffa444">{{item.worldHeader}}</view>
<view class="distence data-v-86ffa444"></view>
<view class="detail data-v-86ffa444">{{item.description}}</view>
</view>
</view>
</view>
</button></z-swiper-item>
</block>
</z-swiper>
</view>
</view>
</view>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -1135,7 +1135,7 @@ to { ...@@ -1135,7 +1135,7 @@ to {
.npc.data-v-57280228{ .npc.data-v-57280228{
word-break:break-all; word-break:break-all;
white-space:pre-wrap; white-space:pre-wrap;
font-size: 25rpx; font-size: 26rpx;
padding-right: 16rpx; padding-right: 16rpx;
} }
.confirm.data-v-57280228{ .confirm.data-v-57280228{
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
}, },
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
"es6": false,
"postcss": false,
"minified": false,
"newFeature": true,
"bigPackageSizeSupport": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
......
<block wx:if="{{showPopup}}"><view class="{{['uni-popup',popupstyle,isDesktop?'fixforpc-z-index':'']}}"><view data-event-opts="{{[['touchstart',[['touchstart',['$event']]]]]}}" bindtouchstart="__e"><block wx:if="{{maskShow}}"><uni-transition vue-id="0c37304b-1" name="mask" mode-class="fade" styles="{{maskClass}}" duration="{{duration}}" show="{{showTrans}}" data-event-opts="{{[['^click',[['onTap']]]]}}" bind:click="__e" bind:__l="__l"></uni-transition></block><uni-transition vue-id="0c37304b-2" mode-class="{{ani}}" name="content" styles="{{transClass}}" duration="{{duration}}" show="{{showTrans}}" data-event-opts="{{[['^click',[['onTap']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="{{['uni-popup__wrapper',popupstyle]}}" style="{{'background-color:'+(bg)+';'}}" bindtap="__e"><slot></slot></view></uni-transition></view></view></block> <block wx:if="{{showPopup}}">
\ No newline at end of file <view class="{{['uni-popup',popupstyle,isDesktop?'fixforpc-z-index':'']}}">
<view data-event-opts="{{[['touchstart',[['touchstart',['$event']]]]]}}" bindtouchstart="__e">
<block wx:if="{{maskShow}}">
<uni-transition vue-id="0c37304b-1" name="mask" mode-class="fade" styles="{{maskClass}}" duration="{{duration}}" show="{{showTrans}}" data-event-opts="{{[['^click',[['onTap']]]]}}" bind:click="__e" bind:__l="__l"></uni-transition>
</block>
<uni-transition vue-id="0c37304b-2" mode-class="{{ani}}" name="content" styles="{{transClass}}" duration="{{duration}}" show="{{showTrans}}" data-event-opts="{{[['^click',[['onTap']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">
<view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="{{['uni-popup__wrapper',popupstyle]}}" style="{{'background-color:'+(bg)+';'}}" bindtap="__e">
<slot></slot>
</view>
</uni-transition>
</view>
</view>
</block>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment