Commit f9542d84 authored by 罗超's avatar 罗超

修改部分样式

parent 660ae09b
......@@ -7,7 +7,7 @@
<view style="display: flex;flex-direction: row;align-items: center;">
<u-avatar :src="shopData.Logo" size="100" slot="addBtn"></u-avatar>
<view class="shopbox_l_text">
<text class="item_text" :style=" {'font-size': '30rpx','color': ad.fontColor,'font-size':'Bold'}">{{shopData.Name?shopData.Name:''}}</text>
<text class="item_text" :style=" {'font-size': ad.fontSize+'px','color': ad.fontColor,'font-weight':ad.isBold?'bold':'400'}">{{shopData.Name?shopData.Name:''}}</text>
<text class="item_text" :style=" {'font-size': '24rpx','color': ad.fontColor,}">{{shopData.Notice?shopData.Notice:''}}</text>
</view>
</view>
......
......@@ -78,7 +78,7 @@
@closeBtn="closeBtn"
></coupon>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
<!-- <official-account></official-account> -->
<official-account></official-account>
</view>
</view>
</template>
......
......@@ -7,7 +7,7 @@
.quick_slider {
padding: 5px 17px;
border-radius: 20px;
background-color: #ebebeb;
/* background-color: #ebebeb; */
color: #272727;
display: inline-block;
font-size: 12px;
......@@ -132,6 +132,15 @@
style="height:100vh;"
:style="{ 'height': `calc(100vh - ${paddingBottm})` }"
>
<view style="padding:5px 10px">
<u-search
v-model="conMsg.KeyWords"
:show-action="true"
action-text="搜索"
:animation="true"
@blur="goSearch"
></u-search>
</view>
<view class="quick-head">
<u-tabs
name="Name"
......@@ -143,22 +152,22 @@
:active-color="mainColor"
@change="getChild"
></u-tabs>
<!-- <scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:90%;margin:auto;"> -->
<view
style="white-space: nowrap;display: flex;margin:10px auto;background-color:#EBEBEB;border-radius:20px;width:95%;"
>
<scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:100%;">
<view
@click="getSecond(item,index)"
style="padding:8px 17px;margin-left:0;flex:1;text-align:center;"
:style="{ color: index==active2 ? '#fff' : '#272727',backgroundColor:index==active2 ? mainColor:'' }"
class="quick_slider"
v-for="(item,index) in dataSecond"
:key="index"
>{{item.Name}}</view>
</scroll-view>
</view>
<!-- </scroll-view> -->
<!-- <scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:90%;margin:auto;"> -->
<view
style="white-space: nowrap;display: flex;margin:10px auto;background-color:#EBEBEB;border-radius:20px;width:95%;"
>
<scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:100%;">
<view
@click="getSecond(item,index)"
style="padding:8px 17px;margin-left:0;flex:1;text-align:center;"
:style="{ color: index==active2 ? '#fff' : '#272727',backgroundColor:index==active2 ? mainColor:'' }"
class="quick_slider"
v-for="(item,index) in dataSecond"
:key="index"
>{{item.Name}}</view>
</scroll-view>
</view>
<!-- </scroll-view> -->
<view class="qr_Line"></view>
<view class="quick_top" v-if="dataThird.length>0">
<scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:90%">
......@@ -229,7 +238,11 @@
style="margin-right:5px;"
>
<!-- 分段显示 -->
<img :src="subItem" @click="previewImage(index, item.ImgList)" style="height:190rpx;width:190rpx;" />
<img
:src="subItem"
@click="previewImage(index, item.ImgList)"
style="height:190rpx;width:190rpx;"
/>
</view>
</view>
</view>
......@@ -282,7 +295,7 @@ export default {
msg: {
Name: "", //页面名称
pageIndex: 1,
pageSize: 10,
pageSize: 10
},
active: 0, //一级
active2: -1, //二级选中
......@@ -354,6 +367,11 @@ export default {
this.u = uni.getStorageSync("mall_UserInfo");
},
methods: {
goSearch() {
this.conMsg.pageIndex=1
this.dataList=[]
this.getContent();
},
getTabsHeight() {
let that = this;
const query = uni.createSelectorQuery().in(this);
......@@ -529,13 +547,13 @@ export default {
let arr = JSON.parse(JSON.stringify(this.images));
this.downLoadImage(arr);
},
//图片预览
previewImage(index, images) {
uni.previewImage({
urls: images,
current: index,
});
},
//图片预览
previewImage(index, images) {
uni.previewImage({
urls: images,
current: index,
});
},
downLoadImage(arr) {
let that = this;
uni.downloadFile({
......
......@@ -101,6 +101,7 @@
pageSize: 10,
GradeId: 1
},
titleDirect:1,
msg2: {
pageIndex: 1,
pageSize: 10,
......@@ -172,6 +173,8 @@
} else {
this.msg2.IsDirect = 0;
}
this.titleDirect=this.msg2.IsDirect
this.getUserMyTeamTitelListForFX();
this.init2(1);
},
getUserMyTeamTitelListForFX() {
......@@ -180,7 +183,9 @@
});
this.request2({
url: '/api/AppletUser/GerUserMyTeamTitelListForFX',
data: {}
data: {
IsDirect:this.titleDirect
}
},
(res) => {
......
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