修改名称,优化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"navigationBarTitleText": "我们去哪聚"
|
||||
"navigationBarTitleText": "点线得面"
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<view class="container">
|
||||
<view class="header">
|
||||
<view class="title">我们去哪聚</view>
|
||||
<view class="subtitle">找到你们的完美聚会点</view>
|
||||
<view class="title">点线得面</view>
|
||||
<view class="subtitle">找到大家的聚会好去处</view>
|
||||
<button class="primary-btn" bindtap="onCreateRoom">发起聚会</button>
|
||||
</view>
|
||||
|
||||
@@ -50,6 +50,6 @@
|
||||
</view>
|
||||
|
||||
<view class="desc-area">
|
||||
<view class="desc">分享给好友,共同寻找中间点</view>
|
||||
<view class="desc">分享给好友,共同寻找聚会好去处</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -100,7 +100,7 @@ Page({
|
||||
wx.hideLoading()
|
||||
|
||||
if (!res.result.success) {
|
||||
wx.showModal({ title: '错误', content: res.result.msg, showCancel: false })
|
||||
wx.showModal({ title: '提示', content: res.result.msg, showCancel: false })
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@ Page({
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '快来填位置,我们去找个中间点聚会!',
|
||||
title: '点线得面 - 找到大家的聚会好去处!',
|
||||
path: `/pages/room/room?roomId=${this.data.roomId}`
|
||||
}
|
||||
},
|
||||
@@ -431,9 +431,9 @@ Page({
|
||||
onEditRoomName() {
|
||||
wx.showModal({
|
||||
title: '修改聚会名称',
|
||||
content: '请输入新的聚会名称',
|
||||
content: this.data.roomName,
|
||||
editable: true,
|
||||
placeholderText: this.data.roomName,
|
||||
placeholderText: '请输入聚会名称',
|
||||
success: (res) => {
|
||||
if (res.confirm && res.content.trim()) {
|
||||
const newName = res.content.trim()
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
<text class="stat-divider">|</text>
|
||||
<text class="stat-item ready-count">已就位 {{readyCount}}人</text>
|
||||
</view>
|
||||
<view class="limit-tip">最多8人</view>
|
||||
</view>
|
||||
|
||||
<!-- 成员列表 -->
|
||||
@@ -94,10 +95,10 @@
|
||||
</block>
|
||||
</scroll-view>
|
||||
|
||||
<!-- 测试按钮(浮动) -->
|
||||
<view class="test-float-btn" bindtap="onAddTestMember" wx:if="{{true}}">
|
||||
<!-- 测试按钮(浮动) - 已注释 -->
|
||||
<!-- <view class="test-float-btn" bindtap="onAddTestMember" wx:if="{{true}}">
|
||||
<text>+</text>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<!-- 底部操作按钮 -->
|
||||
<view class="footer-actions">
|
||||
|
||||
@@ -126,6 +126,13 @@
|
||||
color: #07c160;
|
||||
}
|
||||
|
||||
.limit-tip {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
/* 成员列表 */
|
||||
.member-list {
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user