12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <template>
- <view class="box">
- <view class="imgBox">
- <image class="scimg" :src="img" mode="widthFix"></image>
- </view>
- <view class="cont">
- <view class="name">活动名称展示区域</view>
- <view class="name2">活动时间展示区域</view>
- <view class="name3">这里展示活动说明,如果后台没填则不展示</view>
- </view>
- <view style="height: 98rpx;"></view>
- <view class="btn" @click="eadit" >编辑内容</view><!-- v-if="qxdata.indexOf('Q021')!=-1" -->
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- img:'',
- qxdata:'',
- }
- },
- onLoad(opt) {
- this.img=opt.img;
- let iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
- var qxnum=uni.getStorageSync("quanxian");
- //if()
- //console.log(this.qxdata)
- },
- onShow() {
-
- },
- methods: {
- eadit(){
- uni.removeStorageSync('shopckList');
- uni.removeStorageSync('ckmusic');
- uni.navigateTo({
- url:'eadit?img='+this.img
- })
- }
- }
- }
- </script>
- <style scoped>
- .imgBox{
- width: 750rpx;
- }
- .scimg{
- width: 750rpx;
- display: block;
- }
- .cont{
- background: #ffffff;
- border-radius: 24rpx 24rpx 0px 0px;
- margin-top: -30rpx;
- padding: 30rpx 24rpx;
- position: relative;
- }
- .name{
- color: #3C3C3C;
- line-height: 42rpx;
- font-weight: 500;
- font-size: 30rpx;
- }
- .name2{
- color: #3C3C3C;
- line-height: 36rpx;
- font-weight: 400;
- font-size: 26rpx;
- padding-top: 16rpx;
- }
- .name3{
- color: #999999;
- line-height: 36rpx;
- font-weight: 400;
- font-size: 26rpx;
- padding-top: 16rpx;
- }
- .btn{
- width: 750rpx;
- height: 98rpx;
- background: #3F90F7;
- position: fixed;
- left: 0;
- bottom: 0;
- line-height: 98rpx;
- text-align: center;
- color: #ffffff;
- font-size: 30rpx;
- }
- </style>
|