Browse Source

上传文件至 'hangout-master/Pages/HGBot/Whisper/send1'

master
曹天怡 2 years ago
parent
commit
ba9e8164e0
11 changed files with 419 additions and 0 deletions
  1. +71
    -0
      hangout-master/Pages/HGBot/Whisper/send1/OK.js
  2. +3
    -0
      hangout-master/Pages/HGBot/Whisper/send1/OK.json
  3. +9
    -0
      hangout-master/Pages/HGBot/Whisper/send1/OK.wxml
  4. +19
    -0
      hangout-master/Pages/HGBot/Whisper/send1/OK.wxss
  5. +83
    -0
      hangout-master/Pages/HGBot/Whisper/send1/getMsg.js
  6. +3
    -0
      hangout-master/Pages/HGBot/Whisper/send1/getMsg.json
  7. +25
    -0
      hangout-master/Pages/HGBot/Whisper/send1/getMsg.wxml
  8. +75
    -0
      hangout-master/Pages/HGBot/Whisper/send1/getMsg.wxss
  9. +72
    -0
      hangout-master/Pages/HGBot/Whisper/send1/send.js
  10. +19
    -0
      hangout-master/Pages/HGBot/Whisper/send1/send.wxml
  11. +40
    -0
      hangout-master/Pages/HGBot/Whisper/send1/send.wxss

+ 71
- 0
hangout-master/Pages/HGBot/Whisper/send1/OK.js View File

@ -0,0 +1,71 @@
// Pages/HGBot/Whisper/send/OK.js
Page({
/**
* 页面的初始数据
*/
data: {
},
ret:function(){
wx.reLaunch({
url: '/Pages/HGBot/Home/Home',
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

+ 3
- 0
hangout-master/Pages/HGBot/Whisper/send1/OK.json View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

+ 9
- 0
hangout-master/Pages/HGBot/Whisper/send1/OK.wxml View File

@ -0,0 +1,9 @@
<!--Pages/HGBot/Whisper/send/OK.wxml-->
<view class="OK">
<view>憨憨</view>
<view>帮你传达了哟!</view>
</view>
<image class="hg" src="/asset/img/hangou1.png"></image>
<view class="ret" bindtap="ret">◀</view>

+ 19
- 0
hangout-master/Pages/HGBot/Whisper/send1/OK.wxss View File

@ -0,0 +1,19 @@
/* Pages/HGBot/Whisper/send/OK.wxss */
.OK{
font-size: 48px;
text-align: center;
margin-top: 100px;
}
.hg{
height: 350px;
width: 250px;
margin: 20px;
padding-left: 30px;
}
.ret{
color:#7B8B6F;
font-size: 45px;
margin-left: 30px;
}

+ 83
- 0
hangout-master/Pages/HGBot/Whisper/send1/getMsg.js View File

@ -0,0 +1,83 @@
// Pages/HGBot/Whisper/get/get.js
Page({
/**
* 页面的初始数据
*/
data: {
},
ret:function(){
wx.reLaunch({
url: '/Pages/HGBot/Home/Home',
})
},
navToNext:function(){
wx.navigateTo({
url: '/Pages/HGBot/Whisper/send/send',
})
},
onNext:function(){
wx.navigateTo({
url: '/Pages/HGBot/Whisper/received/total',
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

+ 3
- 0
hangout-master/Pages/HGBot/Whisper/send1/getMsg.json View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

+ 25
- 0
hangout-master/Pages/HGBot/Whisper/send1/getMsg.wxml View File

@ -0,0 +1,25 @@
<!--Pages/HGBot/Whisper/get/get.wxml-->
<!--TODO: css样式 与 navToNext函数-->
<view>
<view class="ask">
<view>哦呀,有秘密要告诉我吗?</view>
</view>
<view class="whisper">
<textarea placeholder="点击输入悄悄话" maxlength="-1" auto-focus="true">
</textarea>
</view>
<view class="OK">
<view bindtap="navToNext">好了</view>
</view>
<view class="list">
<text>之前的悄悄话都收在这里哦</text>
<button bindtap="onNext" style="color: #7B8B6F;" size="mini">>>></button>
</view>
<view>
<image class="hg" src="../../../../asset/img/hangou1.png" mode="heightFix"></image>
</view>
<view class="ret" bindtap="ret">◀</view>
</view>

+ 75
- 0
hangout-master/Pages/HGBot/Whisper/send1/getMsg.wxss View File

@ -0,0 +1,75 @@
/* Pages/HGBot/Whisper/get/get.wxss */
.ask{
width: 282px;
height: 58px;
position: absolute;
left: 40px;
top: 60px;
padding: 10px;
margin: 20px;
font-size: 23px;
text-align: center;
color: #000;
}
.whisper{
position: absolute;
left: 45px;
top: 150px;
font-size: 22px;
text-align: center;
color: #000;
background-color: #D8CAAF;
}
.OK{
position: absolute;
left: 145px;
top: 320px;
font-size: 22px;
text-align: center;
color: #000;
width: 102px;
height: 30px;
background: #d8caaf;
}
.list{
position: absolute;
left: 25px;
top: 360px;
padding-top: 10px;
font-size: 22px;
text-align: center;
color: #000;
}
button {
margin-left: 10px;
padding-left: 10px;
position: inherit;
background: inherit;
font-weight: bolder;
}
button:after {
content: none;
}
button::after {
border: none;
}
.hg{
position:absolute;
left: 100px;
top: 430px;
}
.ret{
color:#7B8B6F;
font-size: 45px;
margin-left: 30px;
position: absolute;
bottom: 20px;
}

+ 72
- 0
hangout-master/Pages/HGBot/Whisper/send1/send.js View File

@ -0,0 +1,72 @@
// Pages/HGBot/Whisper/send/send.js
Page({
/**
* 页面的初始数据
*/
data: {
},
send:function(){
wx.redirectTo({
url: '/Pages/HGBot/Home/Home',
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

+ 19
- 0
hangout-master/Pages/HGBot/Whisper/send1/send.wxml View File

@ -0,0 +1,19 @@
<!--Pages/HGBot/Whisper/send/send.wxml-->
<!--TODO: css样式 send函数 picker选择器中的内容-->
<view class="ask">
<text>悄悄话要讲给谁听?</text>
</view>
<view class="choice">
<picker style="width: 420rpx; height: 70rpx; display: block; box-sizing: border-box; background-color: #D8CAAF;">
<text decode="ture">未选择&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;▼</text>
</picker>
</view>
<view class="OK" bindtap="send">
<view>
<text>好了</text>
</view>
</view>
<view>
<image class="hg" mode="heightFix" src="../../../../asset/img/hangou1.png"></image>
</view>

+ 40
- 0
hangout-master/Pages/HGBot/Whisper/send1/send.wxss View File

@ -0,0 +1,40 @@
.ask{
width: 282px;
height: 58px;
position: absolute;
left: 40px;
top: 129px;
font-size: 22px;
text-align: center;
color: #000;
}
.choice{
position: absolute;
left: 80px;
top: 193px;
font-size: 24px;
font-weight: 700;
text-align: center;
color: rgba(0,0,0,0.5);
}
.OK{
position: absolute;
left: 135px;
top: 363px;
font-size: 22px;
text-align: center;
color: #000;
background-color: #d8caaf;
width: 102px;
height: 38px;
justify-items: center;
align-items: center;
}
.hg{
position:absolute;
left: 100px;
top: 430px;
}

Loading…
Cancel
Save