Commit dda2305e by mamingqun

修改标题

parent 0a96d84d
......@@ -94,10 +94,6 @@ export default {
box-shadow: 0px 0px 15px #888888;
margin-bottom: 50px;
.relative{
position: relative;
}
.titileBox {
height: 145px;
padding-left: 26px;
......@@ -195,51 +191,57 @@ export default {
}
}
img {
width: 100%;
}
.pictureInfo {
height: 70px;
line-height: 70px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-left: 20px;
padding-right: 20px;
position: absolute;
width: 100%;
bottom: 8px;
// top: -80px;
background: rgba($color: #000000, $alpha: 0.8);
// background: red;
color: white;
.relative {
position: relative;
min-height: 70px;
.text {
font-size: 24px;
max-width: 500px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dianzan {
font-size: 21px;
height: 60px;
line-height: 60px;
position: relative;
img {
width: 100%;
height: auto;
}
.dianzan::before {
content: "";
display: block;
width: 24px;
height: 24px;
background: url("~@/pages/index/assets/images/xinbai.png")
no-repeat;
background-size: 100% auto;
.pictureInfo {
width: 100%;
height: 70px;
line-height: 70px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-left: 20px;
padding-right: 20px;
position: absolute;
left: -35px;
top: 50%;
margin-top: -12px;
bottom: 8px;
// top: -80px;
background: rgba($color: #000000, $alpha: 0.9);
// background: red;
color: white;
.text {
font-size: 24px;
max-width: 500px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dianzan {
font-size: 21px;
height: 60px;
line-height: 60px;
position: relative;
}
.dianzan::before {
content: "";
display: block;
width: 24px;
height: 24px;
background: url("~@/pages/index/assets/images/xinbai.png")
no-repeat;
background-size: 100% auto;
position: absolute;
left: -35px;
top: 50%;
margin-top: -12px;
}
}
}
......
......@@ -181,7 +181,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
var shareData64onMenuShareTimeline = {
title: '最美万达摄影大赛', // 分享标题
title: '最美万达摄影大赛·回家', // 分享标题
link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: _this.pictureInfo.image, // 分享图标
success: function () {
......@@ -193,7 +193,7 @@ export default {
// 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
var shareData64onMenuShareAppMessage = {
title: '最美万达摄影大赛', // 分享标题
title: '最美万达摄影大赛·回家', // 分享标题
// desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.$randomText(), // 分享描述
desc: _this.pictureInfo.desc, // 分享描述
......@@ -212,7 +212,7 @@ export default {
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// wx.updateAppMessageShareData(
// {
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// // desc: '@'+ this.pictureInfo.nickname +', ' + _this.pictureInfo.desc, // 分享描述
// // desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
......@@ -228,7 +228,7 @@ export default {
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// wx.updateTimelineShareData(
// {
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: _this.pictureInfo.image // 分享图标
// },
......@@ -240,7 +240,7 @@ export default {
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareTimeline({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: _this.pictureInfo.image, // 分享图标
// success: function () {
......@@ -250,7 +250,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareAppMessage({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
......@@ -265,7 +265,7 @@ export default {
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQQ({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接
......@@ -282,7 +282,7 @@ export default {
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// wx.onMenuShareWeibo({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// // desc: this.pictureInfo.nickname +' ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接
......@@ -299,7 +299,7 @@ export default {
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQZone({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接
......
......@@ -41,25 +41,25 @@ export default {
// this.hiddenBar();
},
mounted() {
var tar_userinfo = localStorage.getItem('tar_userinfo');
if (tar_userinfo) {
var tar_openid = localStorage.getItem('tar-uuid-129831');
tar.init({
tar_debug: !1,
tar_token: "3fcfe0ef160eb53266161898524e1708",
tar_tid: "129831",
tar_userinfo: [{
openid: tar_openid }]
})
} else {
tar.init({
tar_debug: !1,
tar_token: "3fcfe0ef160eb53266161898524e1708",
tar_tid: "129831",
tar_scope: "snsapi_base",
tar_appid: "wxfa065f3046ad9c21"
})
}
// var tar_userinfo = localStorage.getItem('tar_userinfo');
// if (tar_userinfo) {
// var tar_openid = localStorage.getItem('tar-uuid-129831');
// tar.init({
// tar_debug: !1,
// tar_token: "3fcfe0ef160eb53266161898524e1708",
// tar_tid: "129831",
// tar_userinfo: [{
// openid: tar_openid }]
// })
// } else {
// tar.init({
// tar_debug: !1,
// tar_token: "3fcfe0ef160eb53266161898524e1708",
// tar_tid: "129831",
// tar_scope: "snsapi_base",
// tar_appid: "wxfa065f3046ad9c21"
// })
// }
},
methods: {
hiddenBar() {
......
......@@ -546,7 +546,7 @@ export default {
});
var data1 = {
title: '最美万达摄影大赛', // 分享标题
title: '最美万达摄影大赛·回家', // 分享标题
link: api.wrapHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: api.shareImg, // 分享图标
success: function () { }
......@@ -556,7 +556,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
var data2 = {
title: '最美万达摄影大赛', // 分享标题
title: '最美万达摄影大赛·回家', // 分享标题
desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link: api.wrapHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
......@@ -573,7 +573,7 @@ export default {
// // // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// wx.updateAppMessageShareData(
// {
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg // 分享图标
......@@ -586,7 +586,7 @@ export default {
// // // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// wx.updateTimelineShareData(
// {
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: '' // 分享图标
// },
......@@ -597,7 +597,7 @@ export default {
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareTimeline({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
// success: function () { }
......@@ -605,7 +605,7 @@ export default {
// // // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareAppMessage({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
......@@ -618,7 +618,7 @@ export default {
// // // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQQ({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接
// imgUrl: api.shareImg, // 分享图标
......@@ -632,7 +632,7 @@ export default {
// // // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// wx.onMenuShareWeibo({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接
// imgUrl: api.shareImg, // 分享图标
......@@ -646,7 +646,7 @@ export default {
// // // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQZone({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接
// imgUrl: api.shareImg, // 分享图标
......
......@@ -191,7 +191,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
var data1 = {
title: '最美万达摄影大赛', // 分享标题
title: '最美万达摄影大赛·回家', // 分享标题
link: api.wrapHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: api.shareImg, // 分享图标
success: function () { }
......@@ -201,7 +201,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
var data2 = {
title: '最美万达摄影大赛', // 分享标题
title: '最美万达摄影大赛·回家', // 分享标题
desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link: api.wrapHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
......@@ -218,7 +218,7 @@ export default {
// // // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// wx.updateAppMessageShareData(
// {
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg // 分享图标
......@@ -231,7 +231,7 @@ export default {
// // // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// wx.updateTimelineShareData(
// {
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg // 分享图标
// },
......@@ -242,7 +242,7 @@ export default {
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareTimeline({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
// success: function() {}
......@@ -250,7 +250,7 @@ export default {
// // // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareAppMessage({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
......@@ -263,7 +263,7 @@ export default {
// // // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQQ({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接
// imgUrl: api.shareImg, // 分享图标
......@@ -277,7 +277,7 @@ export default {
// // // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// wx.onMenuShareWeibo({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接
// imgUrl: api.shareImg, // 分享图标
......@@ -291,7 +291,7 @@ export default {
// // // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQZone({
// title: '最美万达摄影大赛', // 分享标题
// title: '最美万达摄影大赛·回家', // 分享标题
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接
// imgUrl: api.shareImg, // 分享图标
......
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