Commit 2eb55fb0 by mamingqun

修改文案

parent b72c0328
File added
......@@ -9,8 +9,8 @@
<div class="upLoad">
<div class="list-default-img" @click.stop="addPicTemp" v-show="isPhoto">
<img src="./assets/images/icon_photo.png">
<p>上传一张美美的照片</p>
<p>优质的照片让夺冠更为轻松</p>
<!-- <p>上传一张美美的照片</p> -->
<p>笑脸面部特写才能参与评奖哦</p>
<input
type="file"
id="text"
......@@ -115,7 +115,7 @@
<group>
<x-textarea
v-model="memo"
placeholder="请务必注明被拍摄者姓名以及所在地..."
placeholder="请给您的作品添加描述..."
:show-counter="true"
@on-blur="goBottom"
:max="30"
......@@ -254,9 +254,24 @@ export default {
this.activeIndex = num;
},
addPicTemp() {
this.photoTipOn = true
if (localStorage.getItem("index")) {
var index = localStorage.getItem("index")
if (index >= 3) {
this.addPic()
} else {
this.photoTipOn = true
index++
localStorage.setItem("index", index)
}
} else {
localStorage.setItem("index", 1)
this.photoTipOn = true
}
},
addPic() {
this.photoTipOn = false
let vm = this;
// document.getElementById('text').click();
wx.ready(() => {
......@@ -827,16 +842,18 @@ body {
}
.photo-tip-wrap {
position: fixed;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0,0,0,0.3);
bottom: -1000px;
background: rgba(0,0,0,0.5);
// height: 1000px;
.photo-tip {
position: absolute;
top: 30%;
top: 650px;
left: 50%;
transform: translate(-50%, -50%);
// border: 1px solid black;
......
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 sign in to comment