master
laiiihz 5 years ago
parent a68bf8c0db
commit 767ef0bddb

@ -38,7 +38,7 @@ MobSDK {
SinaWeibo { SinaWeibo {
appKey "3484799074" appKey "3484799074"
appSecret "0cc08d31b4d63dc81fbb7a2559999fb3" appSecret "0cc08d31b4d63dc81fbb7a2559999fb3"
callbackUri "https://www.reecook.cn" callbackUri "https://reecook.cn"
} }
QZone { QZone {
appId "101876843" appId "101876843"

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<DevInfor> <DevInfor>
<SinaWeibo AppKey="3484799074" AppSecret="0cc08d31b4d63dc81fbb7a2559999fb3" RedirectUrl="https://www.reecook.cn" /> <SinaWeibo AppKey="3484799074" AppSecret="0cc08d31b4d63dc81fbb7a2559999fb3" RedirectUrl="https://reecook.cn" />
<TencentWeibo Enable="false" /> <TencentWeibo Enable="false" />
<Douban Enable="false" /> <Douban Enable="false" />
<QZone AppId="101876843" AppKey="6f367bfad98978e22c2e11897dd74f00" /> <QZone AppId="101876843" AppKey="6f367bfad98978e22c2e11897dd74f00" />

@ -297,7 +297,7 @@ class AttentionApi {
} }
class WebApi { class WebApi {
static const String recookHttp = "https://www.reecook.cn/"; static const String recookHttp = "https://reecook.cn/";
// static const String inviteRegist = "${recookHttp}download.html?code="; // static const String inviteRegist = "${recookHttp}download.html?code=";
static const String goodsDetail = "https://h5.reecook.cn/#/goods/detail/"; static const String goodsDetail = "https://h5.reecook.cn/#/goods/detail/";
static const String inviteRegist = static const String inviteRegist =

@ -1356,7 +1356,7 @@ class _HomePageState extends BaseStoreState<HomePage>
_mobShareInit() { _mobShareInit() {
ShareSDKRegister register = ShareSDKRegister(); ShareSDKRegister register = ShareSDKRegister();
register.setupSinaWeibo("3484799074", "0cc08d31b4d63dc81fbb7a2559999fb3", register.setupSinaWeibo("3484799074", "0cc08d31b4d63dc81fbb7a2559999fb3",
"https://www.reecook.cn"); "https://reecook.cn");
register.setupQQ("101876843", "6f367bfad98978e22c2e11897dd74f00"); register.setupQQ("101876843", "6f367bfad98978e22c2e11897dd74f00");
SharesdkPlugin.regist(register); SharesdkPlugin.regist(register);
} }

@ -519,21 +519,26 @@ class _LivePageState extends State<LivePage> with WidgetsBindingObserver {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
LiveBuyingWidget(key: _globalBuyingWidgetKey), LiveBuyingWidget(key: _globalBuyingWidgetKey),
Container( GestureDetector(
height: 300, onTap: () {
child: ListView.builder( _focusNode.unfocus();
reverse: true, },
controller: _scrollController, child: Container(
physics: AlwaysScrollableScrollPhysics( height: 300,
parent: BouncingScrollPhysics()), child: ListView.builder(
itemBuilder: (context, index) { reverse: true,
return LiveChatBox( controller: _scrollController,
sender: chatObjects[index].name, physics: AlwaysScrollableScrollPhysics(
note: chatObjects[index].message, parent: BouncingScrollPhysics()),
userEnter: chatObjects[index].enterUser, itemBuilder: (context, index) {
); return LiveChatBox(
}, sender: chatObjects[index].name,
itemCount: chatObjects.length, note: chatObjects[index].message,
userEnter: chatObjects[index].enterUser,
);
},
itemCount: chatObjects.length,
),
), ),
), ),
Container( Container(

@ -118,8 +118,8 @@ class _LivePickGoodsPageState extends State<LivePickGoodsPage>
controller: _tabController, controller: _tabController,
isScrollable: true, isScrollable: true,
tabs: [ tabs: [
Tab(text: '直播车'),
Tab(text: '热门商品'), Tab(text: '热门商品'),
Tab(text: '直播车'),
Tab(text: '历史直播'), Tab(text: '历史直播'),
Tab(text: '全部商品'), Tab(text: '全部商品'),
], ],
@ -141,12 +141,12 @@ class _LivePickGoodsPageState extends State<LivePickGoodsPage>
child: TabBarView( child: TabBarView(
controller: _tabController, controller: _tabController,
children: [ children: [
GoodsCartView( HotGoodsView(
onPick: () { onPick: () {
setState(() {}); setState(() {});
}, },
), ),
HotGoodsView( GoodsCartView(
onPick: () { onPick: () {
setState(() {}); setState(() {});
}, },

@ -112,7 +112,7 @@ class WeChatUtils {
var userId = UserManager.instance.user.info.id; var userId = UserManager.instance.user.info.id;
var model = fluwx.WeChatShareMiniProgramModel( var model = fluwx.WeChatShareMiniProgramModel(
path: "pages/goods/detail?goods_id=$goodsId&code=$invitationNo&userId=$userId", path: "pages/goods/detail?goods_id=$goodsId&code=$invitationNo&userId=$userId",
webPageUrl: "www.reecook.cn", webPageUrl: "reecook.cn",
miniProgramType: _wxType, miniProgramType: _wxType,
userName: AppConfig.WX_APP_MINIPRO_USERNAME, userName: AppConfig.WX_APP_MINIPRO_USERNAME,
// scene: fluWX.WeChatScene.SESSION, // scene: fluWX.WeChatScene.SESSION,

@ -2,7 +2,7 @@ name: recook
description: Recook Market App. description: Recook Market App.
publish_to: "none" publish_to: "none"
version: 1.3.5+195 version: 1.3.6+196
# sdk min version to 2.2.2 # sdk min version to 2.2.2
# to support ... feature # to support ... feature

Loading…
Cancel
Save