Commit 0c5fb1cf authored by 黄奎's avatar 黄奎

页面修改

parent 0140521f
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -56,8 +56,8 @@
</view>
<view class="editor">
<textarea placeholder="写入评价" v-model="msg[1].Content" maxlength="200"></textarea>
<u-upload :action="action" :file-list="fileList2" style="display:none;" @on-remove="onRemove2" max-count="9" :custom-btn="true"
@on-success="uploadSuccessHandler2">
<u-upload :action="action" :file-list="fileList2" style="display:none;" @on-remove="onRemove2" max-count="9"
:custom-btn="true" @on-success="uploadSuccessHandler2">
<view slot="addBtn" class="slot-btn">
<u-icon name="photograph" size="40" color="#888"></u-icon>
<view class="mian-title">上传图片</view>
......@@ -77,12 +77,11 @@
<u-loading mode="circle" style="margin-right: 5px;" v-if="submitStatus"></u-loading>提交评价
</u-button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
......@@ -113,7 +112,7 @@
action: this.host2 + "/api/File/UploadTencent",
fileList: [], //商品上传图
fileList2: [], //导游上传图
dataList: {} ,//商品详情数据
dataList: {}, //商品详情数据
};
},
onLoad(option) {
......@@ -135,8 +134,8 @@
});
this.mc = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary;
let MallBaseId = uni.getStorageSync("mall_UserInfo").MallBaseId ? uni.getStorageSync("mall_UserInfo").MallBaseId: 1;
this.action = this.host2+'/api/File/UploadTencent?MallBaseId='+MallBaseId
let MallBaseId = uni.getStorageSync("mall_UserInfo").MallBaseId ? uni.getStorageSync("mall_UserInfo").MallBaseId : 1;
this.action = this.host2 + '/api/File/UploadTencent?MallBaseId=' + MallBaseId
},
methods: {
uploadSuccessHandler(data, index, lists) {
......@@ -217,8 +216,8 @@
uni.navigateBack({
delta: 1,
success: function() {
if(res.msgType==2 && res.couponResultCode==1 ){
beforePage.$vm.getReceive(res.couponMessage,res.msgType); // 执行前一个页面的方法
if (res.msgType == 2 && res.couponResultCode == 1) {
beforePage.$vm.getReceive(res.couponMessage, res.msgType); // 执行前一个页面的方法
}
}
});
......@@ -226,7 +225,7 @@
that.submitStatus = false;
},
});
} else {
this.submitStatus = false;
this.$refs.uTips.show({
......@@ -238,7 +237,6 @@
}
);
},
}
};
</script>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<template>
<view class="privilegeStyle" :style="{'height':contentHeight}">
<view class="privilege_t">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/privilegebg.jpeg" mode='aspectFit' style="width: 100%;height: 250px;" ></image>
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/privilegebg.jpeg" mode='aspectFit' style="width: 100%;height: 250px;"></image>
</view>
</view>
</template>
......@@ -10,31 +10,30 @@
export default {
data() {
return {
contentHeight:0,
mainColor:'',
contentHeight: 0,
mainColor: '',
}
},
created(){
this.contentHeight = this.$utils.calcContentHeight(-40)+'px';
this.mainColor = this.$uiConfig.mainColor;
uni.setNavigationBarTitle({
title: '会员特权说明',
});
created() {
this.contentHeight = this.$utils.calcContentHeight(-40) + 'px';
this.mainColor = this.$uiConfig.mainColor;
uni.setNavigationBarTitle({
title: '会员特权说明',
});
},
methods: {
}
}
</script>
<style>
.privilegeStyle{
.privilegeStyle {
background: #fff;
}
.privilegeStyle .privilege_t{
.privilegeStyle .privilege_t {
width: 100%;
height: 250px;
}
</style>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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 to comment